@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


*{
    margin:0;
    padding:0;
    box-sizing: border-box;


}

body {
    font-family: 'Poppins', sans-serif;
    background: url(images/bg.jpg);
    background-size: cover;
}


ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #f9f9f9;
}

h1 {
    color: #fffffc;
    margin: 16px 0;
    font-weight: 800;
}

h3 {
    margin: 8px 0;
    font-weight: 800;
}

p {
    margin: 16px 0;
    line-height: 1.75;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
}

header {
    line-height: 100px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto;
}


nav ul li{
    display: inline;
    padding: 0 16px;

}

nav ul li a{
    color: #020202;
}

.mobile{
    display: none;
}

@media(max-width:768px){
    nav{
        position: static;
    }
    nav ul{
        width: 100%;
        background-color: gray;
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        height: 40vh;
        text-align: center;

    }

    nav ul li{
        display: block;
    }
    nav ul li a{
        color:#fffffc;
    }
    a.mobile{
        color: #020202;
        display: block;
        font-size: 32px;
    }

    
}


.container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: 100px auto 100px;
    height: 100vh;
    width: 70%;
    margin: 0 auto;
}


header {
    background-color: #f9f9f9;
    grid-column-start: span 3; 

}

aside {
    background-color: orange;
    grid-column-start: span 1;


}

main {
    background-color: tomato;
    grid-column-start: span 2;
}

footer {
    background-color: brown;
    grid-column-start: span 3;
}

@media (max-with:768px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: 100px auto 100px;
        width: 100%;

    }
    header,aside,main,footer{
        grid-column-start: span 1;
    }
}

