html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    overflow-x: clip;
}

main {
    padding-top: 80px;
}



#landing {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.btn {
    text-align: center;
    text-decoration: none;
    border-radius: 100px;
    padding: 24px 34px;
    cursor: pointer;
    border: 1px solid #114f84;
    color: #114f84;
    background-color: #f0f0f0;
    font-size: 3vh;
}

.btn:hover {
    font-size: 3.2vh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Barra de navegacao */
.navbar {
    width: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;


    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;

    font-size: 20px;

    background: #ffffffba;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar a {
    text-decoration: none;
    padding-left: 2%;
    color: black;
    font-weight: 500;
}


.subject {
    display: flex;
    justify-content: center;
    margin: 0 10vw;
    scroll-margin-top: 50px;
}

.subject h1 {
    font-size: 3vw;
    margin-bottom: -4vh;
}

.subject h3 {
    font-size: 3vw;
    color: #114f84;
}

.subject p {
    margin-bottom: 7vh;
    font-size: 1.4vw;
}

#banner-img {
    position: absolute;
    transform: translateX(-40vw);
}

#banner-text {
    margin-left: 40%;
    font-size: 1.5vw;
    margin-right: 5%;
}

#banner-text p {
    line-height: 5vh;
}

.highlight {
    color: #114f84;
    font-size: 5vw;
    font-weight: 700;
}

img {
    overflow: hidden;
}

.left {
    margin: 0 10vw 0 10vw;
    color: white;
}

/* styles.css */
@keyframes fadeOutIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animacao_opacity {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animacao_opacity.show {
    opacity: 1;
    transform: translateY(0);
}

.imagens {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-right: 2vw;
    margin-left: 2vw;
}

.imagens img {
    width: 400px;
    height: 380px;
    border-radius: 50%;
}


.display-mobile {
    display: none;
}

.hide-mobile {
    display: flex;
}
#btn-btn{
    text-align: center;
    margin-bottom: 3%;
}

#comunidade-display {
    display: flex;
    justify-content: space-between; /* separa esquerda e direita */
    align-items: flex-start;
    gap: 40px;
}

footer{
    position: absolute;
    width: 100%;
    font-size: 3vh;
    background-color: white;
    padding-left: 2%;
}


.vid-ct{
    display: flex;
    justify-content: space-around;
}

.video-if{
    width: 600px;
    height: 400px;
    margin: 0 auto;
}
#divulgacao{
    display: flex;
    flex-direction: row;
}


@media (max-width: 1200px){
    .no-mobile{
        display: none;
    }

    .container-forms-cursos{
        display: flex;
        flex-direction: column;
    }

    #comunidade-display, #divulgacao{
        flex-direction: column;
    }
    p, #texto-comunidade p{
        font-size: 2.5vh;
    }

    #banner-text{
        margin-left: 5%;
    }
    #g-Aln{
        justify-content: space-around;
    }

    .subject p {
    margin-bottom: 7vh;
    font-size: 2.5vw;
    }

}



/*
@media (max-width: 1200px) {
    #landing {
        flex-direction: column;
    }

    #banner-img {
        position: initial;
        transform: none;
        display: flex;
        justify-content: center;
    }

    #banner-img img {
        width: 70%;
    }

    #banner-text {
        margin-left: 0;
        display: flex;
        text-align: center;
        flex-direction: column;
    }


    #navbar {
        display: none;
    }

    .subject {
        flex-direction: column;
        margin: 0 10vh 0 10vh;
    }

    .subject p {
        font-size: 2.4vw;
    }

    .subject h1 {
        margin-bottom: 0;
    }

    .display-mobile {
        display: flex;
    }

    .hide-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    #landing {
        flex-direction: column;
    }

    #banner-img {
        position: initial;
        transform: none;
        display: flex;
        justify-content: center;
    }

    #banner-img img {
        width: 70%;
    }

    #banner-text {
        margin-left: 0;
        display: flex;
        text-align: center;
        flex-direction: column;
        font-size: 7vw;
    }

    .highlight {
        font-size: 11vw;
    }

    #banner-text p {
        line-height: 9vh;
    }

    #navbar {
        display: none;
    }

    .subject {
        flex-direction: column;
        margin: 0 10vh 0 10vh;
    }

    .subject p {
        font-size: 2.6vw;
    }

    .subject h1 {
        font-size: 7vw;
    }

    .subject h3 {
        font-size: 5vw;
    }
}


@media (max-width: 530px) {
    .subject p {
        font-size: 3.6vw;
    }

    .imagens {
        display: none;
    }
}*/

/* imagens defundo verde e azul em degrade */
.skewed-background {
    position: relative;
    /* necessário para posicionar o pseudo-elemento */
    background-color: transparent;
    /* cor de fundo transparente */
    padding-top: 20px;
    /* espaçamento interno */
}

.skewed-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 130%;
    height: 100%;
    background-image: linear-gradient(to bottom, #9cda5a, #044eaa);
    transform: skewY(-2deg);
    /* inclinação vertical */
    z-index: -1;
    /* posiciona atrás do texto */
}


/* tema claro/escuro */
body.dark{
    background-color: #121212;
    color: #e0e0e0;
}

body.dark footer{
    background-color: #121212;
    color: #e0e0e0;
}

body.dark .navbar {
    background: #1f1f1fba;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

body.dark .navbar a {
    color: #e0e0e0;
}

body.dark .btn_toggle_theme {
    border: 1px solid #e0e0e0;
    color: #e0e0e0;
}

body.dark .btn_toggle_theme:hover {
    background-color: #2c2c2c;
}

.btn_toggle_theme {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    padding: 12px 16px;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, color 0.3s;
}

.btn_toggle_theme:hover {
    background-color: #0d3c64;
}

body,
.navbar,
.btn,
.btn_toggle_theme {
    transition: background-color 0.4s ease, color 0.4s ease, border 0.4s ease;
}

#projetos {
    margin: 0 10vh 0 10vh;
}

#projetos h1 {
    font-size: 5vw;
    margin-bottom: -5vh;
}

.container-cards {
    column-count: 3;
    column-gap: 20px;
    margin: 40px 0;
}

.card {
    display: inline-block;
    width: 100%;
    margin: 0 0 20px;
    border-radius: 10px;
    overflow: hidden;
    break-inside: avoid;
    transition: transform 0.2s;

    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.48);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    display: block;
}

.card a {
    display: block;
    padding: 10px;
    color: #114f84;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

.card a:hover {
    color: #0d3c64;
}

.card h3 {
    text-align: center;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
/*
@media (max-width: 1000px) {
    .container-cards {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .container-cards {
        column-count: 1;
    }
}*/

.container-forms-cursos {
    width: 100%;
    min-height: 100vh;    /* ✔ altura mínima, não fixa */
    height: auto;         /* ✔ deixa o conteúdo expandir */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0;      /* ✔ dá respiro vertical */
}


.container-forms-cursos h1 {
    font-size: 5vw;
    width: 40%;
    color: white;
}

.container-forms-cursos div {
    width: 40%;
    height: 75vh;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    break-inside: avoid;
    transition: transform 0.2s;

    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.48);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
}
/*
@media (max-width: 768px) {

    .container-forms-cursos {
        flex-direction: column;
    }

    .container-forms-cursos div {
        width: 80%;
    }

}*/