/* =========================
   RESET
========================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

html, body{
    width: 100%;
    overflow-x: hidden;
    font-size: 22px;
}

body{
    padding-top: 60px;
}

header, section, footer {
    width: 100%;
}

/* =========================
   MENU
========================= */
main{
    position: relative;
}

header{
    height: 60px;
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 2;
}

header #logo{
    margin-left: 20px;
    font-size:22px;
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header #logo img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

header nav{
    margin-right: 20px;
}

.navlist{
      display: flex;
    justify-content: space-between;
    list-style: none;
    position: static;
    float: right;  
}

.navlist a{
    padding: 8px 28px;
    font-size: 18px;
    color: white;
}

.navlist a:hover{
    background: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
}

.mobileMenu{
    cursor: pointer;
    display: none;
}

.mobileMenu div{
    width: 28px;
    height: 2px;
    background: #fff;
    margin: 6px;
}

/* =========================
   MENU MOBILE
========================= */
@media (max-width: 999px) {

    .mobileMenu{
        display: block;
        z-index: 3;
    }

    .navlist{
        position: absolute;
        top: 55px;
        right: 0;
        width: 50vw;
        height: calc(100vh - 60px);
        background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
        
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;

        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    .navlist li{
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* MENU ATIVO */
    .navlist.active{
        transform: translateX(0);
    }

    .navlist.active li{
        opacity: 1;
    }
}

/* =========================
   SOBRE
========================= */
.sobre{
    background-image: url(img/im32.jpeg);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;

    width: 100%;
    height: auto;
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
}

.bio{
    background: #fff;
    width: 750px;
    height: 400px;
    margin: 10px;
    float: right;
}

.bio img{
    width: 100%;
    height: 100%;
}

/* =========================
   EQUIPE
========================= */
#parte1{
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    padding: 20px;
    gap: 40px;
}

.post{
    max-width: 400px;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.post h3{
    font-size: 30px;
}

.post p{
    font-size: 20px;
}

.post img{
    width: 100%;
    max-width: 220px;
    border-radius: 20px;
}

/* =========================
   MISSÃO / VISÃO
========================= */
.numeros {
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0, 0, 0, 0.618)),  url('img/AMP1.png ');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.item {
    display: flex;
    align-items: center;
    gap: 30px;
}

.barra {
    width: 80px;
    height: 180px;
}

.verde { background-color: #0fb36d; }
.azul { background-color: #1da1d2; }
.azul-escuro { background-color: #0d5ea8; }

.conteudo h2 {
    font-size: 30px;
    color: #eee;
}

.conteudo p, .conteudo li {
    color: #eee;
    font-size: 20px;
}

/* =========================
   CONTADORES
========================= */
.aba2{
    display: grid;
    grid-template-columns: repeat(3, 250px);
    justify-content: center;
    gap: 40px;
}

#funcionarios, #obras, #numero{
    font-size: 32px;
    font-weight: bold;
}

.cd{
    color: black;
}

/* =========================
   FOOTER
========================= */
footer{
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    font-size: 16px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 20px;
}

.cp{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}


.cor{
    color: white;
    margin: 10px;
}

.social-icons{
    font-size: 30px;
}

.co{
    color: white;
    margin: 10px;
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px){

    header #logo{
        width: auto;
        font-size: 14px;
    }

    header #logo p{
        display: none;
    }

    .bio{
        width: 100%;
        height: auto;
        float: none;
    }

    .item{
        flex-direction: column;
        align-items: flex-start;
    }

    .barra{
        width: 100%;
        height: 6px;
    }

    #parte1{
        flex-direction: column;
        align-items: center;
    }

    .aba2{
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 480px){

    header{
        height: 55px;
    }

    body{
        padding-top: 55px;
    }

    

    .sobre{
        font-size: 14px;
        padding-top: 80px;
        color: black;
    }

    .card-texto{
        color: black;
    }

    .bio img{
        max-height: 250px;
    }

    .aba2{
        grid-template-columns: 1fr;
    }

    #funcionarios,
    #obras,
    #numero{
        font-size: 26px;
        color: black;
    }

    .post img{
        max-width: 180px;
    }

     /* FOOTER */
    footer {
        height: auto;
        flex-direction: column;
        padding: 20px;
        text-align: center;
        font-size: 16px;
    }

    .cp {
        flex-direction: column;
        gap: 20px;
    }

    .cor {
        margin: 10px;
    }

    .social-icons {
        font-size: 30px;
    }

    .social-icons{
        font-size: 25px;
    }
}