:root{
    --mainColor: rgb(189, 10, 15);
    --mainColorHover: rgb(145, 10, 15);
    --headerBgColor: #f5f5f5;
    --headerFontColor: #212325;
    --headerHeight: 20vh;
    --bodyHeight: 80vh;
}





.header {
    width: 100%;
    min-height: var(--headerHeight);
    padding: 2vh 5vw;
    background: var(--headerBgColor);
    position: sticky;
    top: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.menuLogo{
    height: 16vh;
}

.headerMenu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2vw;
}

.headerMenu li a {
    color: var(--textColor);
    font-size: var(--fontSizeCmd);
    transition: opacity 0.2s ease;
    opacity: 0.8;
}

.headerMenu li a:hover {
    opacity: 1;
    font-weight: 600;
}

.headerMenu li a i {
    font-size: 4vh;
}

.menuButton {
    display: none;
}

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

    .menuButton {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .headerMenu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--headerBgColor);
        padding: 2vh 0;
        gap: 1.5vh;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        max-height: 500px;
        opacity: 1;
        overflow: hidden;
        transition: max-height 0.35s ease-in-out, opacity 0.25s ease-in-out, padding 0.35s ease-in-out;
    }

    .headerMenu.fechado {
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
        pointer-events: none;
    }

    .headerMenu li {
        width: 100%;
        padding: 1.5vh 5vw 0 5vw;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .headerMenu li:first-child {
        border-top: none;
        padding-top: 0;
    }
}


.capa{
    width: 100%;
    height: var(--bodyHeight);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    background-position: top 60% left 50%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(Imagens/ImagensGerais/capa.png);
}


.textoPrincipal{
    width: 100%;
    padding: 5vh 20vw;
}

.textoPrincipalTitle{
    padding: 2vh 3vw;
    margin-bottom: 4vh;
    background-color: var(--mainColor);
}

.textoPrincipalTitle h1{
    width: 100%;
    color: white;
}

.textoPrincipal p{
    text-align: justify;
}

.nossosParceirosTitle{
    border-bottom: 1px solid #ababab; 
    margin-top: 4vh; 
    padding: 1vh 3vw;
}

.nossosParceirosContent img{
    margin: 2vh 2vw;
    height: min(20vh, 20vw);
}

@media  screen and (max-width: 1024px) {
    .capa{
        height: 60vh;
    }
    .textoPrincipal{
        padding: 5vh 15vw;
    }

    .nossosParceirosContent img{
        height: min(20vh, 18vw);
    }
}

@media  screen and (max-width: 768px) {
    .textoPrincipal{
        padding: 5vh 10vw;
    }

    .nossosParceirosContent img{
        height: min(20vh, 20vw);
    }

    .textoPrincipalTitle {
        text-align: center;
    }

    .textoPrincipalTitle h1 {
        text-align: center;
    }
}

@media  screen and (max-width: 600px) {
    .textoPrincipal{
        padding: 5vh 5vw;
    }

    .nossosParceirosContent img{
        height: min(20vh, 22vw);
    }
}

@media  screen and (max-width: 500px) {
    .capa{
        height: 50vh;
    }
    
    .nossosParceirosContent{
        flex-direction: column;
    }
    
    .nossosParceirosContent img{
        height: min(20vh, 35vw);
        width: min(20vh, 35vw);
    }
}

.NossosCursosFundo{
    background-image: url(Imagens/ImagensGerais/CapaCursosLicardio.JPG);
    height: var(--bodyHeight);
    width: 100%;
    padding: 3vh 3vw;
    /* filter: blur(1px); */
}

.NossosCursos{
    height: 70vh;
    background: #fff;
    border-radius: 20px;
    border: 1px solid black;
    display: flex;
    align-items: center;
}

.NossosCursosFoto img{
    height: calc(70vh - 2px);
    border-radius: 20px 0 0 20px;
}

.NossosCursosMenu{
    padding: 3vh 3vw;
    width: calc(60vw - 56vh);
    min-width: 400px;
    gap: 1.5vh
}

.NossosCursosMenu h2{
    text-align: center;
    font-size: var(--fontSizeTitle);
}

.NossosCursosMenu div p{
    text-align: center;
    font-size: var(--fontSizeText);
    margin-bottom: 2vh;
}

@media (max-width: 1024px) {
    .NossosCursosFundo{
        height: auto;
    }
    
    .NossosCursos{
        height: auto;
        flex-direction: column;
        border-radius: 20px;
        width: auto;
        padding: 2vh 3vw;
        width: 80vw;
        padding: 3vh 4vw;
    }

    .NossosCursosFoto{
        margin-bottom: 3vh;
    }

    .NossosCursosFoto img{
        height: 40vh;
        max-height: 80vw;
        border-radius: 20px;
    }

    .NossosCursosMenu{
        padding: 0;
        width: 100%;
        min-width: 0;
    }
}



.menuNavegacao{
    height: 8vh; 
    width: 100%; 
    background: var(--mainColor);
    display: flex;
    position: sticky;
    top: var(--headerHeight);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menuNavegacao ul{
    width: 100%;
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menuNavegacao ul li{
    flex: 1;
    height: 100%;
    transition: 0.4s;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.menuNavegacao ul li:last-child{
    border-right: 0;
}

.menuNavegacao ul li button {
    color: white;
    font-size: var(--fontSizeCmd);
    border: none;
    padding: 1.5vh 1vw;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: 0.4s;
    background: var(--mainColor);
}

.menuNavegacao ul li button:hover {
    background: var(--mainColorHover);
}

#NossaHistoria img{
    border-radius: 20px; margin-top: 3vh; margin-bottom: 2vh;
}

#NossaHistoria, #Diretoria, #GaleriaPresidentes {
    display: flex;
}

#NossaHistoria.fechado, #Diretoria.fechado, #GaleriaPresidentes.fechado {
    display: none;
}

@media screen and (max-width: 768px) {
    .menuNavegacao {
        height: auto;
        position: relative;
        top: 0;
    }

    .menuNavegacao ul {
        flex-direction: column;
    }

    .menuNavegacao ul li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .menuNavegacao ul li:last-child {
        border-bottom: none;
    }

    .menuNavegacao ul li button {
        padding: 1.8vh 3vw;
    }
}