@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
/*Resets padrões da página*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body{
    font-size: 62.5%;
    scroll-behavior: smooth;
    width: 100%;
}

body{
    background-color: white;
    padding-top: 16rem;
}
/*Algumas correções de código*/

/* Estilização do topo */
.topo{
    width: 100vw;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100vw;
    display: flex;
    flex-direction: column;
    position: fixed; /* Fixa o topo no topo da tela */
    top: 0;
    left: 0;
    z-index: 10; /* Garante que fique acima dos outros elementos */
}

.topo .topoBlack{
    background-color: #0D0D0D;
    width: 100%;
    height: 7rem;
    display: flex;
}

.topoMap{
    width: fit-content;
    margin-left: 5rem;
    display: flex;
    align-items: center;
    height: 7rem;
}
.topoMap svg{
    fill: #b30303;
    width: 2rem;
}

.topoLocation{
    margin-left: 1rem;
    display: flex;
    align-items: center;
    color: white;
}

.topoLocation a{
    font-family: roboto, sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: rgb(212, 212, 212);
    text-decoration: none;
    transition: 0.5s;
}

.topoLocation a:hover{
    color: white;
}

.topoBlackw{
    display: flex;
    width: 100%;
    height: 9rem;
    background-color: #1b1b1b;
    border-bottom: 3px solid #DAA520;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.74);
}

/*estilização link portal*/

.portal-aluno{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8rem;
}
.portal-aluno i{
    color: #DAA520;
}
.portal-aluno a{
    
    font-family: roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: whitesmoke;
}
.portal-aluno span{
    color: #DAA520;
}
.portal-aluno a:hover span {
    color: #FFD700; 
}

.portal-aluno a:hover i {
    color: #FFD700; 
}


/* Estilização links Redes sociais */
.redesociais{
    display: flex;
    align-items: center;
    margin-left: 8rem;
}
.redesociais ul{
    display: flex;
    gap:2rem;
}

.redesociais ul a{
    text-transform: uppercase;
    text-decoration: none;
    font-family: roboto, sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFFF;
    transition: 0.5s;
    padding: 0rem 3rem;
}

.redesociais ul li:not(:last-child){
    border-right: 2px solid #FFC20E;
}
.redesociais ul a:hover{
    color: #FFC20E;

}

/*Estilização menu*/
.menu{
    display: flex;
    align-items: center;
}

.menu ul{
    display: flex;
    margin-left: 16rem;
    gap: 2rem;
}

.menu ul a{
    font-family: roboto, sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    color: rgb(212, 212, 212);
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 5px;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
} 
.menu ul a:hover{
    color: white;
}
.menu ul a::before,
.menu ul a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #FFC20E;
    transition: all 0.5s;
}
  
.menu ul a::before {
    top: 0;
    left: 0;
}
  
.menu ul a::after {
    bottom: 0;
    right: 0;
}
  
.menu ul a:hover::before {
    width: 100%;
    transition: width 0.25s ease-in-out;
}
  
.menu ul a:hover::after {
    width: 100%;
    transition: width 0.25s ease-in-out 0.25s;
}
.menuHamburguer{
    display: none;
    border: none;
    background: none;
    border-top: 3px solid #DAA520;
    cursor: pointer;
    transition: all 0.6s ease;
}

.menuHamburguer::before,.menuHamburguer::after{
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    background: #DAA520;
    margin-top: 5px;
    transition: all 0.6s ease;
}
/*Estilização botão experimental e logo*/
.button_exp{
    display: flex;
    align-items: center;

}
.experimental{
    font-family: roboto, sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 1.3rem;
    margin-left: 15rem;
    border: none;
    border-radius: 1.5rem;
    outline: none;
    background-color: #FFC20E;
    color: black;
    cursor: pointer;
    transition: 0.5s;
}

.experimental:hover{
    background-color: #ffd24d;
}

.logo {
    position: absolute;
    top: 1.3rem; /* Ajusta para centralizar sobre topoBlack e topoBlackw */
    right: 5%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.9s ease;
}

.logo img {
    width: 230px; /* Ajuste conforme o tamanho desejado */
    height: auto;
    transition: all 0.9s ease;
}

.division-color{
    height: 3px;
    color: #FFC20E;
    background-color: #FFC20E;
}

/*Section Dunamis Team*/
.dunamisTeam{
    margin-top: 8rem;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.citacao{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    margin: 0;
    padding: 0;
}
.citacao_princ{
    width: 50%;
    font-family: barlow, sans-serif;
    font-size: 4.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgb(0, 0, 0);

}


.text_artes{
    color: rgb(99, 99, 99);
    margin-top: 4rem;
    width: 50%;
    font-weight: bold;
    font-family: roboto, sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: justify;

}

.container-video {
    margin-top: 5rem;
    width: 100%;
    max-width: 50%;
    height: auto;
}

.container-video .video-doc {
    width: 100%;
    aspect-ratio: 16 / 9; /* Define a proporção do vídeo */
    height: auto;
    border-radius: 20px;
}

.beneficios-title{
    font-family: roboto,sans-serif;
    margin-top: 10rem;
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}

.beneficios-title span{
    font-weight: 1000;
}

.beneficios-cards{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 60%;
    margin-top: 7rem;
}

.cards_beneficios{
    box-shadow: 1px 1px 5px black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-family: roboto,sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    background-color: #1b1b1b;
    width: 30rem;
    height: 15rem;
    transition: transform 0.3s ease;
    position: relative;
}


.cards_beneficios:hover {
    transform: scale(1.1); /* Aumenta o card */
    color: #ffd24d;
}

.cards_beneficios::after {
    content: "";
    position: absolute;
    top: .6rem;
    right: .6rem;
    width: 4rem;
    height: 4rem;
    background-color: #ffd24d;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.dtexplicacao{
    margin-top: 8rem;
    margin-bottom: 0px;
    width: 100%;
    height: 320px;
    background-color: #1b1b1b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 3px solid #ffd24d;
    border-bottom: 3px solid #ffd24d;
}


.title-quemsomos{
    font-family: barlow, sans-serif;
    margin-top: 2rem;
    font-size: 4rem;
    color:white;
    text-transform: uppercase;

}

.p-quemsomos{
    margin-top: 4rem;
    font-family: roboto, sanserif;
    font-size: 1.5rem;
    color: white;
    width: 80%;
    letter-spacing: 2px;
    line-height: 3rem;
    text-transform: uppercase;

}

.p-quemsomos span{
    color: #ffd24d;
    text-shadow: 1px 1px 5px #ffd24d;
}

/*Section Nossas Modalidades*/

.modalidades{
    margin-top: 10rem;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.modalidades .title{
    scroll-margin-top: 200px;
    font-family: barlow, sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .3rem;
    margin-bottom: 10rem;

}

.modalidades .title span{
    font-weight: 1000;
}

.cards-modalidades{
    font-family: roboto, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: 2px 2px 6px black;
    color: rgb(255, 255, 255);
    width: 90%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
}

.cardsm{
    margin-top: 1rem;
    position: relative;
    width: 25rem;
    height: 35rem;
    cursor: pointer;
}

.cardsm:hover .flip{
    transform: rotateY(180deg);

}

.cardsm:hover .tras {
    z-index: 2; /* Coloca a parte traseira na frente no hover */
}

.flip{
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: .5s;
    cursor: pointer;
}

.frente,.tras{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.459);
    backface-visibility: hidden;
}

.frente{
    display: flex;
    align-items: end;
    justify-content: center;
    background-color: #1b1b1b;
    backface-visibility: hidden;
    z-index: 2; /* Garante que esteja acima */
}

.frente p{
    margin-bottom: 3rem;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.274);
    position: absolute;
    font-weight: 500;
    z-index: 2;
}
.frente img{
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    opacity: 80%;
    position: absolute;
    z-index: 1;

}

.tras{
    background-color: #1b1b1b;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    z-index: 1; /* Garante que esteja abaixo */
}

.tras p{
    font-weight: 300;
    text-align: center;
}

.tras .button-cards-modalidades{
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 2rem;
    background-color: #1b1b1b;
    border: 2px solid white;
    border-radius: .5rem;
    color: white;
    padding: 1.2rem;
    transition: .5s;
    font-size: 1.5rem;
}

.tras .button-cards-modalidades:hover{
    color: #ffd24d;
    border:2px solid #ffd24d;
}

/*Seção Nossa história*/
.nhistoria{
    scroll-margin-top: 200px;
    margin-top: 20rem;
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 650px;
    background-color: #DAA520;
    border-radius: 0rem 3rem 3rem 0rem;
    position: relative;
    align-items: center;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.685);
    
}

.nhistoria::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 20%;
    background-color: #1b1b1b;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.title-historia{
    margin-top: 8rem;
    font-family: barlow,sans-serif;
    text-transform: uppercase;
    font-size: 4rem;
    color: #1b1b1b;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.486);
    z-index: 2;
}

.p-historia{
    color: #1b1b1b;
    margin-top: 5rem;
    font-family: roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    width: 60%;
    text-transform: uppercase;
    line-height: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.486);
    z-index: 2;
    text-align: justify;
}
.namefund{
    font-weight: 1000;
    font-size: 2rem;
}
.nhistoria video{
    border-radius: 2rem;
    height: 600px;
    position: absolute;
    top: 2.5rem;
    right: -15%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.685);
}

.contato{
    margin-top: 15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-contato{
    font-family: barlow,sans-serif;
    color: #0D0D0D;
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 1000;
}

.subtitle-contato{
    margin-top: 5rem;
    font-family: barlow,sans-serif;
    color: #0D0D0D;
    font-size: 2.5rem;
    font-weight: 400;
}

footer{
    width: 100%;
    margin-top: 20rem;
    color: white;
    background-color: #1b1b1b;

}

.footer-content{
    background-color: #1b1b1b;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem 3.5rem;
    font-family: barlow, sans-serif;
}

.footer_contacts{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #FFC20E;
}
.footer_contacts p{
    margin: 1rem 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #FFC20E;
    text-shadow: 1px 1px 2px #FFC20E;
}
.footer_contacts img{
    width: 150px;
}

.footer_contacts .social_medias{
    display: flex;
    gap: 1rem;
    margin-top: .5rem;
}

.social_medias .footer_link{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    color: white;
    font-size: 3rem;
    text-decoration: none;
    transition: .5s;
}

.social_medias .footer_link:hover{
    color: #FFC20E;
}

.endereco{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.endereco h3{
    font-size: 2rem;
    color: #FFC20E;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.endereco p{
    font-size: 1.6rem;
    width: 50%;
    line-height: 2rem;
}

.footer-contatos{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-contatos h3{
    font-size: 2rem;
    color: #FFC20E;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.footer-contatos p{
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.footer-subscribe{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-subscribe h3{
    font-size: 2rem;
    color: #FFC20E;
    margin-bottom: 2rem;  
    text-transform: uppercase;
}

.footer-subscribe p{
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.input_group{
    display: flex;
    align-self: center;
    background-color: #dadada;
    border-radius: 4px;
    width: 70%;
}

.input_group input{
    all: unset;
    padding: 1.2rem;
    width: 100%;
    font-size: 1.5rem;
    color: #0D0D0D;
}

.input_group button{
    background-color: #FFC20E;
    border: none;
    outline: none;
    color: black;
    padding: 0;
    width: 100px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 2rem;
}

.input_group button:hover{
    background-color: #ffd900;
}

.copyrights_footer{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 8vh;
    background-color: #0D0D0D;
    font-size: 1.5rem;
    font-family: barlow, sans-serif;
    text-transform: uppercase;
}
/*Responsividade - site*/

@media (max-width: 1550px) {
    /* Diminui o recuo exagerado do menu */
    .menu ul {
        margin-left: 5rem;
    }

    /* Reduz a logo para ocupar menos área horizontal */
    .logo img {
        width: 180px;
    }

    /* Aproxima as redes sociais da esquerda */
    .redesociais {
        margin-left: 2rem;
    }

    /* Diminui o padding das redes sociais para encurtar a linha */
    .redesociais ul a {
        padding: 0 1.5rem;
    }
}



/*-------*/

@media(max-width: 1531px){
    .cards-modalidades{
        width: 70%;

    }

}

@media(max-width: 1312px){
    .cards-modalidades{
        width: 80%;
    }

}

@media (max-width: 1731px){
    .cardsm{
        width: 22rem;
        height: 32rem;
    }

}
@media (max-width: 1634px){
    .logo{
        right:2%;
    }

    .experimental{
        font-size: 1.3rem;
        margin-left: 5rem;
    }

}

@media (max-width: 1456px){
    .logo{
        right:-7%;
    }

}

@media (max-width: 1330px){
    .logo{
        right:-11%;
    }

    .menu ul a{
        font-size: 1.2rem;
    }
    
    .menu ul{
        margin-left: 10rem;
    }
    .redesociais ul a{
        font-size: 1.1rem;
    }

    .topoLocation a{
        font-size: 1.4rem;
    }

    .redesociais{
        margin-left: 5rem;
    }

}

@media (min-width: 960px) and (max-width: 1166px){
    .logo{
        right: 4%;
        top: 0.2rem;
    }

    .logo img{
        width: 80px;
    }

    .redesociais{
        display: none;
    }

}

@media(max-width: 959px){
    .redesociais{
        display: none;
    }
    .menuHamburguer{
        margin-left: 15px;
        display: block;
        z-index: 1;
    }
    .nav-list{
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: #1b1b1b;
        clip-path: circle(100px at 10% -28%);
        transition: 1s ease-out;

        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        gap: 0;
        pointer-events: none;
    } 

    .menu.active .nav-list{
        clip-path: circle(1920px at 10% -15%);
        pointer-events: all;
    }

    .logo{
        right: 2%;
        top: 0.2rem;
    }

    .logo img{
        width: 80px;
    }
    .experimental{
        margin-left: 17rem;
    }
}

@media (min-width: 697px) and (max-width:959px){
    .logo{
        right: -5%;
        top: 3rem;
    }

    .logo img{
        width: 80px;
    }
}

@media(max-width: 959px){
    .dunamisTeam{
        margin-top: 8rem;
    }
    .citacao_princ{
        width: 80%;
        font-family: roboto, sans-serif;
        font-size: 2rem;
    }
    
    .text_artes{
        color: rgb(49, 49, 49);
        margin-top: 4rem;
        width: 80%;
        font-size: 1.5rem;   
    }
    .container-video {
        margin-top: 2rem;
        width: 100%;
        max-width: 80%;
        height: auto;
    }

}

@media(max-width: 600px){
    .dtexplicacao{
        width: 100%;
        height: 220px;
    }


    .title-quemsomos{
        margin-top: 1rem;
        font-size: 1.5rem;
    }

    .p-quemsomos{
        margin-top: 2rem;
        font-size: 1rem;
        line-height: 12px;
    }
    

    .modalidades .title{
        font-size: 1.5rem;
    }
}

@media(min-width: 970px) and (max-width:1399px){

    .title-quemsomos{
        margin-top: 1rem;
        font-size: 2rem;
    }

    .p-quemsomos{
        margin-top: 2rem;
        font-size: 1.5rem;
        line-height: 25px;
    }
}

@media(min-width: 601px) and (max-width:970px){
    .title-quemsomos{
        margin-top: 1rem;
        font-size: 1.7rem;
    }

    .p-quemsomos{
        margin-top: 1.8rem;
        font-size: 1.2rem;
        line-height: 15px;
    }


    .dtexplicacao{
        width: 100%;
        height: 200px;
    }



    .img-dt{
        height: 100%;
    }
}

@media(max-width: 696px){
    .experimental{
        display: none;
    }

    .logo{
        right: -5%;
        top: 7.5rem;
    }
}


/*Responsividade seção  (minha história) */

@media (max-width: 1486px){
    .nhistoria{
        margin-top: 20rem;
        display: flex;
        flex-direction: column;
        width: 80%;
        height: 650px;
        background-color: #DAA520;
        border-radius: 0rem 3rem 3rem 0rem;
        position: relative;
        align-items: center;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.685);
        
    }
    
    .nhistoria::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 60%;
        height: 20%;
        background-color: #1b1b1b;
        clip-path: polygon(0 0, 100% 0, 0 100%);
        z-index: 1;
    }
    
    .title-historia{
        margin-top: 8rem;
        font-family: barlow,sans-serif;
        text-transform: uppercase;
        font-size: 3rem;
        color: #1b1b1b;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.486);
    }
    
    .p-historia{


        font-size: 1.2rem;
        font-weight: 500;
        letter-spacing: 2px;
        width: 60%;
        line-height: 2.5rem;
        text-align: justify;
    }
    .nhistoria video{
        border-radius: 2rem;
        height: 500px;
        position: absolute;
        top: 8rem;
        right: -15%;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.685);
    }
}


@media(max-width:1189px){
    .nhistoria{
        margin-top: 20rem;
        display: flex;
        flex-direction: column;
        width: 80%;
        height: 650px;
        background-color: #DAA520;
        border-radius: 0rem 3rem 3rem 0rem;
        border-top: 2rem solid #1b1b1b;
        border-bottom: 2rem solid #1b1b1b;
        position: relative;
        align-items: flex-start;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.685);
    }
    .nhistoria::before {
        display: none;
    }
    .p-historia{
        margin-left: 2rem;
        font-size: 1.2rem;
        font-weight: 500;
        letter-spacing: 1px;
        width: 70%;
        line-height: 2.8rem;
        text-align: justify;
    }

    .title-historia{
        margin-left: 5rem;
    }


}
@media(max-width:1100px){
    .nhistoria{
        margin-top: 20rem;
        display: flex;
        flex-direction: column;
        width: 80%;
        height: 650px;
        background-color: #DAA520;
        border-radius: 0rem 3rem 3rem 0rem;
        border-top: 2rem solid #1b1b1b;
        border-bottom: 2rem solid #1b1b1b;
        position: relative;
        align-items: flex-start;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.685);
    }
    .nhistoria::before {
        display: none;
    }
    .p-historia{
        margin-left: 2rem;
        font-size: 1.2rem;
        font-weight: 500;
        letter-spacing: 1px;
        width: 70%;
        line-height: 2rem;
        text-align: justify;
    }

    .title-historia{
        margin-left: 5rem;
    }


}

@media(max-width: 1039px){
    .nhistoria{
        margin-top: 20rem;
        width: 100%;
        border-top: 2rem solid #1b1b1b;
        border-bottom: 2rem solid #1b1b1b;
        border-radius: 0;
        align-items: center;
        justify-content: center;
    }
    .nhistoria video{
        display:none
    }
    .title-historia{
        margin-top: 2rem;
    }
    .p-historia{
        font-size: 1.5rem;
        font-weight: 500;
        letter-spacing: 1px;
        width: 90%;
        line-height: 2rem;
        text-align: justify;
    }
}

@media(max-width: 550px){

    .portal-aluno{
        margin-left: 2rem;
        margin-right: 1rem;
    }
    .portal-aluno a{
        font-size: 1.2rem;
    }
    .historia{
        width: 100%;
    }
    .nhistoria{
        margin-top: 20rem;
        width: 100%; /* Garante que o contêiner ocupa toda a largura */
        border-top: 2rem solid #1b1b1b;
        border-bottom: 2rem solid #1b1b1b;
        border-radius: 0;
        display: flex; /* Garante que é um flex container */
        flex-direction: column; /* Organiza os itens em coluna */
        align-items: center; /* CENTRALIZA horizontalmente os itens flex */
        justify-content: center; /* CENTRALIZA verticalmente os itens flex (se houver espaço) */
    }
    .nhistoria video{
        display:none
    }
    .title-historia{
        margin-top: 2rem; /* Mantém a margem superior */
        font-size: 2rem; /* Aumenta um pouco para melhor legibilidade em 550px, ou ajuste conforme preferir */
        text-align: center; /* **CRUCIAL:** Centraliza o texto dentro do título */
        width: 90%; /* Define uma largura para o título, permitindo que ele seja centralizado pelo pai */
        margin-left: auto; /* Garante centralização horizontal do bloco do título */
        margin-right: auto;
    }
    .p-historia{
        font-size: 1.2rem; /* Levemente maior que 0.8rem para melhor leitura, ou ajuste conforme preferir */
        font-weight: 500;
        letter-spacing: 0.5px; /* Reduz o espaçamento entre letras, pode ajudar na aparência do justify */
        width: 90%; /* Mantém a largura para o parágrafo */
        line-height: 1.4rem; /* Ajuste o line-height para não ficar muito espaçado, um pouco menor que 1.5rem */
        text-align: justify; /* Mantém o texto justificado, como você pediu */
        margin: 2rem auto; /* Centraliza o bloco do parágrafo horizontalmente */
        padding: 0 1rem; /* Adiciona um pequeno padding horizontal para evitar que o texto 'grude' nas bordas em telas muito pequenas */
    }

    .namefund{
        font-size: 1.5rem;
    }
}

@media(max-width:1024px) and (min-width: 768px){
    .input_group{
        width: 100%;
    }
}

@media(max-width:767px){
    .input_group{
        width: 100%;
    }
    .footer-content{
        grid-template-columns: repeat(2, 1fr);
    }
    .copyrights_footer{
        font-size: 1rem;
    }
}
@media(max-width:480px){

    .cards-modalidades{
        width: 100%;
    }
    .modalidades .title{
        margin-bottom: 5rem;
    }
    .cardsm{
        width: 17rem; 
        height: 25rem;
        font-size: 1.3rem;   
    }

    .beneficios-cards{
        max-width: 90%;
    }
    .cards_beneficios{
        width: 100%;
    }
}

@media(max-width:1033px){
        .beneficios-cards{
        max-width: 90%;
    }
    .cards_beneficios{
        width: 100%;
    }
}

@media(max-width:768px){

    .cards-modalidades{
        width: 100%;
    }
    .modalidades .title{
        margin-bottom: 5rem;
    }
    .cardsm{
        width: 17rem; 
        height: 25rem;
        font-size: 1.3rem;   
    }
    .beneficios-cards{
        max-width: 90%;
    }
    .cards_beneficios{
        width: 100%;
    }
}
@media(max-width:426px){
    .input_group{
        width: 100%;
    }
    .footer-content{
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }
    .footer_contacts{
        border: none;
    }
    .copyrights_footer{
        font-size: 1rem;
    }

    .copyrights_footer p{
        text-align: center;
    }
}