@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600&display=swap');
/*font-family: 'Chakra Petch', sans-serif;*/

:root{
    --font: 'Chakra Petch', sans-serif;
    --Azul: #0568A6;
    --Azul-Claro: #0798F2;
    --Azul-Escuro: #0D375D; 
    --Cinza: #1F1F1F;
    --Branco: #FFFFFF;
}

html{
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--Cinza);
    color: var(--Branco);
    max-width:100vw;
    height: 100vh;
    font-family: var(--font);
    font-size: 24px;
    display: flex;
    flex-direction: column;
}

.header{
    height: 70px;
    width: 100%;
    background-color: var(--Azul);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0px 0px 7px 3px rgb(62, 63, 66);
}

.logo{
    width: 220px;
}

.nav{
    margin-right: 30px;
    display: flex;
    gap: 30px;
}

.nav-item{
    color: var(--Branco);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.15rem;
    display: inline-block;
    padding: 3px 20px;
    position: relative;
    font-size: 20px;
}

.nav-item::after{
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: var(--Branco);
    transition: width 0.5s ease 0s, left 0.5s ease 0s;
    width: 0;
}

.nav-item:hover::after{
    width: 100%;
    left: 0;
}

.Menu{
    cursor: pointer;
    display: none;
}

.bar{
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background-color: var(--Cinza);
    margin: 5px auto;
    transition: all 0.5s;
}

.articles{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--Azul-Escuro);
    max-width: 60vw;
    margin: 10px auto;
    border-radius: 30px;
    margin-bottom: 50px;
}

#articles{
    background-color: var(--Azul-Claro);
    width: 300px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    margin: 30px auto;
    margin-bottom: 50px;
}

.main-articles{
    display: flex;
    gap: 50px;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.link-card{
    text-decoration: none;
    color: var(--Branco);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.card-articles{
    display: flex;
    width: 60%;
    height: 300px;
    background-color: var(--Azul);
    border-radius: 15px;
    box-shadow: 0px 0px 10px 4px var(--Cinza);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.card-articles:hover{
    opacity: 1;
    scale: 1.01;
}

.imgs-cards{
    max-width: 100%;
    max-height: 100%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.descript-cards{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
}

.title-cards{
    font-size: 17px;
    display: flex;
    text-align: center;
    justify-content: center;
    width: 80%;
    margin: 10px auto;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--Branco);
}

.link-button{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--Azul-Claro);
    width: 170px;
    height: 45px;
    border-radius: 10px;
    border: transparent;
    text-decoration: none;
    color: var(--Branco);
    margin: 15px auto;
    font-size: 23px;
    transition: 0.4s;
    cursor: pointer;
}

.link-button:hover{
    background-color: var(--Azul-Escuro);
}

#cript{
    width: 100%;
}

.footer{
    height: 95px;
    width: 100%;
    background-color: var(--Azul);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 7px 3px rgb(62, 63, 66);
}

#suport{
    margin-right: 50px;
}

#logoFooter{
    width: 301px;
}


@media (max-width: 1300px){
    .articles{
        max-width: 80vw;
    }
    .card-articles{
        flex-direction: column;
        min-height: 500px;
    }
    .imgs-cards{
        max-height: 65%;
        border-top-right-radius: 15px;
        border-bottom-left-radius: 0px;
    }
    .rights{
        font-size: 20px;
    }
}

@media (max-width: 768px){
    .header{
        height: 75px;
    }
    .logo{
        width: 240px;
    }
    .Menu{
        display: block;
        margin-right: 25px;
    }
    .Menu.ativo .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .Menu.ativo .bar:nth-child(2){
        opacity: 0;
    }
    .Menu.ativo .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav{
        margin-right: 0px;
        position: fixed;
        right: -100%;
        top: 75px;
        width: 100%;
        height: 300px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        flex-direction: column;
        align-items: center;
        background-color: var(--Azul);
        transition: all 0.5s;
    }
    .nav-item{
        width: 220px;
        margin: 10px;
    }
    #home{
        width: 115px;
    }
    #artigos{
        width: 155px;
    }
    .nav.ativo{
        right: 0;
    }
    .card-articles{
        width: 70%;
        opacity: 1.0;
    }
    .card-articles:hover{
        scale: 1.0;
    }
    #articles{
        width: 200px;
        font-size: 25px;
    }
    .footer{
        height: 76px;
        gap: 10px;
    }
    #suport{
        width: 160px;
        margin-right: 0px;
    }
    #logoFooter{
        width: 240px;
    }
}

@media (max-width: 500px){
    .nav-item{
        font-size: 20px;
        width: 200px;
    }
    #home{
        width: 105px;
    }
    #artigos{
        width: 140px;
    }
    .articles{
        max-width: 90vw;
    }
    .card-articles{
        width: 75vw;
        height: 530px;
    }
    .rights{
        display: none;
    }
    #suport{
        width: 145px;
        margin-right: 20px;
    }
}

@media (max-width: 415px){
    .container{
        width: 415px;
    }
    #artigos{
        width: 140px;
    }
    .articles{
        max-width: 100vw;
    }
    .card-articles{
        width: 85vw;
    }
}

@media (max-width: 320px){
    .articles{
        max-width: 115vw;
    }
    .card-articles{
        width: 100vw;
        height: 530px;
    }
}