@charset "utf -8";

*, :after, :before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto-Regular', Sans-Serif; /* Updated font-family */
    font-size: 14px;
    font-weight: 400;
    color: #202124;
    line-height: 1.5em;
    background: #f1f3f6;
}

a {
    text-decoration: none;
    font-style: italic;
    outline: 0;
    color: #1184ff;
}

a:hover {
    color: #ff0dc7;
    font-size: small;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

/*** 2.0 - Global Styles ***/

h1 {
    text-transform: uppercase;
    font-size: 26px;
}

h2, h3 {
    font-weight: 500;
}

h2 {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 700;
}

h2 i {
    vertical-align: bottom;
    margin-left: 10px;
}

h3 {
    color: #1a73e8;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 18px;
}

article {
    margin-bottom: 40px;
}

p span {
    color: #8f9293;
    margin-bottom: 15px;
    display: block;
}

ul li {
    background: url("../../images/arrow.png") 0 9px no-repeat;
    padding-left: 15px;
    line-height: 28px;
}

/*** 3.0 - Fonts ***/

@font-face {
    font-family: 'Roboto-Regular';
    src: url('fonts/Roboto-Regular.eot');
    src: local('☺'), url('fonts/Roboto-Regular.woff') format('woff'), url('fonts/Roboto-Regular.ttf') format('truetype'), url('fonts/Roboto-Regular.svg') format('svg');
    font-weight: 400;
    font-style: normal;
}

/*** 4.0 - Body ***/

#wrapper {
    display: grid;
    grid-template-columns: 1.2fr 2.5fr; /* 2-column grid */
    grid-template-rows: .1fr 2fr; /* 2-row grid */
    grid-template-areas: "header header"
                         "aside main";
    grid-gap: 25px; /* gap between the columns */
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 1px 10px 5px 1px rgba(0, 218, 214, 0.08);
    border-top: 1px solid #eaeaea;
    padding: 40px;
    margin: 20px auto; /* center in the viewport */
    max-width: 960px; /* max-width of the layout */
}

header {
    display: flex;
    align-items: center; /* Align items vertically center */
    justify-content: space-between; /* Distribute items evenly */
    grid-area: header;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px; /* Add padding to separate from the content below */
}

header h1 {
    margin: 0; /* Remove default margin */
    font-size: 24px; /* Adjust font size */
    font-weight: 700; /* Increase font weight */
}

header p {
    margin: 0;
    font-size: 14px;
    color: #8f9293; /* Adjust color for contacts */
}

header a {
    color: #0606da;
    text-decoration: none;
}

header a:hover {
    color: #000000;
}

aside {
    grid-area: aside;
}

main {
    grid-area: main;
}

/*** 5.0 - Mediaqueries ***/

@media (min-width: 320px) and (max-width: 991px) {

    h1 {
        color: #fff;
        margin-bottom: 20px;
    }

    h2 {
        background: #f0f0f0;
        padding: 10px;
        border-radius: 5px;
    }

    #wrapper {
        padding: 20px;
        grid-template-columns: 1fr;
        grid-template-areas: "header"
                             "aside"
                             "main";
        grid-gap: 10px;
    }

    header {
        display: block;
        border-radius: 5px;
        background: #49c0f0;
        background: -moz-linear-gradient(45deg, #49c0f0 0, #2d5ae2 100%);
        background: -webkit-linear-gradient(45deg, #49c0f0 0, #2d5ae2 100%);
        background: linear-gradient(45deg, #49c0f0 0, #2d5ae2 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#49c0f0', endColorstr='#2d5ae2', GradientType=1);
        border-bottom: 0;
        padding: 20px 20px 5px;
    }

    header p a {
        color: #fff;
    }

}