@import url('https://fonts.googleapis.com/css2?family=Autour+One&display=swap');

/* Geral */
* {
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

body {
    display: grid;
}

p, a {
    color: #3B1F1B;
}   

/* Barra de navegação */

#inicio {
    background-image: url("./img/img_cabecalho.png");
    height: 55vw;
    width: 99.14vw;
    background-size: cover;
}

#nav-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 99.1vw;
}

#cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    line-height: 121%;
    border-radius: 0px 0px 0px 200px;
    border-color: #E7C897;
    border-style: solid;
    border-top: 0;
    border-right: 0;
    border-width: 0.15vw;
    opacity: 0.7;
    background-color: #CEBB9F;
    width: 55vw;
    height: 5.3vw;
    padding: 0 2vw;
}

.nav-item:hover>span {
    text-decoration: underline;
    text-decoration-color: #FEF0DA;
    text-decoration-thickness: 0.5vw;
}

.dropdown-menu-inclusao .nav-item:hover{
    text-decoration: underline;
    text-decoration-color: #FEF0DA;
    text-decoration-thickness: 0.5vw;
}

#image-logo-container {
    display: flex;
    align-items: flex-end;
    margin-top: 15px;
    margin-left: 15px;
}

#imglogo {
    width: 16vw;
    height: 9vw;
}

#letreiro {
    line-height: 2.8vw;
    text-align: center;
}

#sopa {
    font-size:  4.5vw;
    color: var(--Marrom, #7E4B27);
    font-family: 'Autour One';
}

#dos {
    font-size: 3vw;
    color: #CEBB9F;
    text-align: end;
    padding-right: 2.5vw;
    font-family: 'Autour One';
}

#pobres {
    font-size: 4.5vw;
    color: #A38955;
    font-family: 'Autour One';
}

/* Itens da barra de menu */
.nav-item {
    color: #7E4B27;
    font-size: 1.2vw;
    font-weight: 400;
}

/* Conteúdo principal */
.mid-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.box {
    margin: 5%;
    background-color: #CEBB9F;
    border-radius: 20px;
    border-width: 0.1vw;
    padding: 2%;
    color: #3B1F1B;
    text-align: justify;
    line-height: 1.2vw;
    font-size: 1vw;
    width: 350px;
}
.box h3 {
    color: #7E4B27;
    text-align: center;
    margin-bottom: 1.5vw;
}

.first-box {
    background-color: #FEF0DA;
}

.second-box {
    background-color: #E7C897;
}

.third-box {
    background-color: #FEF0DA;
}

.midlower-section {
    display: flex;
    justify-content: center;
}

.infoMain {
    background-image: url("./img/imgeditada.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 40vw;
    width: 90%;
}

#textos {
    display: flex;
    flex-direction: column;
    height: 3vw;
}

.infoMain-text {
    width: 25vw;
    font-size: 1.1vw;
    text-align: justify;
    color: #3B1F1B;
    z-index: 999;
}

.infoMain-text h1{
    text-align: center;
    line-height: 4vw;
    font-size: 1.8vw;
    color: #7E4B27;
}


.lowerText {
    display: flex;
    justify-content: space-around;
    margin-top: 2vw;
}

#donateIcon {
    height: 3vw;
}

.saibaComoDoarBtn {
    background-color: #59BB74;
    border-radius: 10px;
    border-color: #59BB74;
    width: 10vw;
    color: #F4F3F0;
    font-size: 1vw;
    cursor: pointer;
    padding: 7%;
}


/* Rodapé */
footer {
    margin-top: 4vw;
    background-color: #E7C897;
    border-radius: 40px 40px 0px 0px;
    border-color: #d8bd90;
    border-style: solid;
    border-width: 0.20vw;
    border-bottom: 0;
}

#contact-area {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

#logo-footer {
    width: 8vw;
    height: 6vw;

}

.descricao-footer {
    font-size: 1.1vw;
    line-height: 1.3vw;
}



.dropdown-menu-inclusao{
    position: absolute;
    display: none;
    padding: 1.2vw 2.8vw 1.2vw 2vw;
    background-color: #CEBB9F;
    border-radius: 0px 0px 20px 20px;

}


.dropdown-menu-inclusao a {
    display: block;
    padding: 1vw 0;
}



.dropdown:hover .dropdown-menu-inclusao {
    display: block;
}

#doacoes-menu,
#seguranca-info-menu
{
    padding-left: 1vw;
}

#gvv-menu,
#oficinas-menu,
#cursos-menu,
#info-inclusao-menu{
    padding-left: 1.5vw;
}

#imgVianna{
    width: 26rem; 
    height: auto;
}

.nav-toggle {
    display: none; /* Oculta o menu em telas maiores */
}

.mobile{
    display: none;
}

/* Estilos para telas menores que 768px (smartphones em modo retrato) */
@media (max-width: 768px) {
    /*MENU*/
        .nav-toggle {
        display: inline-block; 
        font-size: 40px; 
        cursor: pointer;
        margin-right: 10px; 
        margin-top: 10px;
    }

    .nav-toggle.active {
        align-items: center;
        padding-top: 20px; 
    }
    
    .nav-menu .nav-item {
        display: block;
        margin-top: 1.5rem;
        font-size: 1.5rem;
        font-weight: bold;
        color: black;

    }
    .nav-item br {
        display: none;
    }
    
    #cabecalho {
        display: flex;
        flex-direction: column;
        background-color: #ffff;
        height: 50%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .dropdown-menu-inclusao {
        position: absolute;
        display: none;
        background-color: #fff;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        padding: 10px;
        width: 200px;
        text-align: center; 
        left: 50%; 
        transform: translateX(-50%); 
    }
    
    .dropdown-menu-inclusao.active {
        display: block;
    }
    
    .dropdown-menu-inclusao .nav-item {
        display: block;
        padding: 10px;
        color: #333;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .dropdown-menu-inclusao .nav-item:hover {
        background-color: #ffffff;
    }
    /*LOGO*/

    #imglogo {
        width: 20vw;
        height: auto;
    }
    
    #letreiro {
        line-height: 2.8vw;
        text-align: center;
    }
    
    #sopa {
        font-size:  10vw;
        color: var(--Marrom, #7E4B27);
        font-family: 'Autour One';
        margin-top: 1vw;
    }
    
    #dos {
        font-size: 7vw;
        color: #CEBB9F;
        text-align: end;
        padding-right: 2.5vw;
        font-family: 'Autour One';
        padding-top: 3vw;
        padding-bottom: 3vw;
    }
    
    #pobres {
        font-size: 10vw;
        color: #A38955;
        font-family: 'Autour One';
    }

    /*ESPECÍFICOS DA PAG*/
    .box {
        font-size: 0.9rem; 
        width: 100%; 
        margin: 15px;
        padding: 10px;
        line-height: 1.3; 
    }

    .infoMain-text{
        font-size: 0.7rem;
    }
    .mobile{
        display: block;
    }
    .midlower-section{
        display: none;
    }

    #indexmobile {
        width: 100%;
        height: 250px; 
        object-fit: cover; 
    }

    .fourth-box{
        background-color: #FEF0DA;
        text-align: center;
    }
    .saibaComoDoarBtn {
        font-size: 1rem;
        padding: 0.4rem;
        width: 50vw;
        height: auto;
    }

    /*footer*/
    #imgVianna {
        max-width: 200px; 
        width: auto; 
        height: auto; 
    }      
}

@media (min-width: 769px) and (max-width: 991px) {
    .box {
        font-size: 1.2rem; 
        width: 100%; 
        margin: 15px;
        padding: 10px;
        line-height: 1.3; 
    } 
    
    .mobile{
        display: none;
    }
    
    
    .midlower-section {
        display: flex;
        justify-content: center;
    }
}


@media (min-width: 769px) {
    .nav-menu {
        display: flex !important; 
    }

}