@import url('https://fonts.googleapis.com/css2?family=Anek+Malayalam:wght@400;500;600;700;800&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: 'Anek Malayalam', sans-serif;
    text-decoration: none;
    color: #333131;
}



/* NAVBAR E FOOTER */

a:hover{
    color: rgb(235, 179, 76);
    text-decoration: none;
}

.tarja-cores{
    width: 100%;
    height: 20px;
}


/* NAVBAR */

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 10%;
    height: auto;
    min-height: 80px;
    background-color: #fff;
}

nav img{
    width: 160px;
}

nav a{
    display: flex;
    justify-content: center;

}


.links{
    display: flex;
    justify-content: space-between;
}

.links a{
    margin-left: 30px;
    font-weight: bold;
}

/* FOOTER */

footer{
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

footer .container{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: auto;
    padding-top: 10px;
}

.container h2{
    text-align: center;
    font-size: 20px;
}

footer{
    padding: 20px 10%;
    background-color: rgb(192, 188, 188);
}

.logo{
    width: 200px;
}

footer p{
    text-align: center; 
    font-size: 13px;
    font-weight: bolder;
    padding: 2px 0;
}

#endereco{
    font-size: 10px;
}

figure{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}


/* FOOTER */


.container h2{
    text-align: center;
    font-size: 20px;
    margin: 0 20px;
}

.footer-sobre{
    margin-left: 0px;
}

#endereco{
    font-size: 10px;
    margin-left: 0px;
}




/* 830 px */

@media screen and (max-width: 830px){
    footer{
        padding: 20px 5%;
    }
}


/* 740 px */

@media screen and (max-width: 745px){

    #logo{
        width: 150px;
    }
    figure p{
        width: 200px;
    }
    nav{
        margin: 0 5%;
    }
}


/* 680 px */

@media screen and (max-width: 680px){

    footer{
        padding: 20px 0%;
    }

}

/* 655px */

@media(max-width: 655px) {
    nav{
        margin: 0 10px;
    }
    
}

/* 610 px */

@media screen and (max-width: 610px){
    nav{
        flex-direction: column;
        text-align: center;
        margin:0;
        padding: 0;
    }
    nav .links{
        flex-direction: column;
    }
    nav .links a{
        margin: 5px 0;
        font-size: 18px;
        padding: 0;
    }
    nav img{
        width: 350px;
    }

    footer{
        flex-direction: column;
    }
    footer .container{
        flex-direction: column;
    }
    .logo{
        display: flex;
        width: 350px;
    }
    figure p{
        width: auto;
    }
    .container div{
        margin: 5px;

    }
}

@media(max-width: 375px) {
    .logo{
        width: 250px;
    }
    
}