/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins: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&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
    /*========== Colors ==========*/
    --vermelho: #b80f15;
    --vermelho-escuro: #5c0000;
    --branco: hsl(0, 0%, 98%);
    --cinza: hsl(0, 0%, 24%);
    --cinza-escuro: hsl(0, 8%, 13%);
    --verde-formulario: hsl(133, 61%, 33%);

    /*========== Font and typography ==========*/
    --normal-font: .938rem;
    --titulo-font: 2.5rem;

    /*========== Font weight ==========*/
    --font-medio: 500;
    --font-seminegrito: 600;
    --font-negrito: 700;
}

.carousel-indicators {
    z-index: 0;
}

@media (width >=1920px) {
    .carousel-inner {
        height: 43rem;
    }
}

@media (width < 1920px) {
    /* .carousel-inner {
        height: 33rem;
    } */
}

#carrousselId1 {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
}

@media (width > 2000px) {
    #carrousselId1 {
        background-image: url(https://comercial.faculdademalta.edu.br/wp-content/uploads/2024/05/pagina-inicial-copiar.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 100%;
    }
}

#carrousselId2 {
    background-image: url(https://comercial.faculdademalta.edu.br/wp-content/uploads/2024/05/HOME-POS-2-2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

#carrousselId3 {
    background-image: url(https://comercial.faculdademalta.edu.br/wp-content/uploads/2024/04/pos-combo.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

/* botões do carrossel */
.custom-carousel-control-prev,
.custom-carousel-control-next {
    width: 60px;
    height: 60px;
    /* background-color: rgb(180, 0, 0); */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.custom-carousel-control-prev {
    left: 10px;
}

.custom-carousel-control-next {
    right: 10px;
}

.custom-carousel-control-prev-icon,
.custom-carousel-control-next-icon {
    background-color: #ffffff;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background-size: 50%;
}

.custom-carousel-control-prev:hover,
.custom-carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Lista Dinâmica */
.texto-importancia {
    color: white;
    text-align: center;
}

.listaDinamica {
    display: flex;
    justify-content: center;
    height: 30rem;
    padding-top:5rem;
    /* background-image: url("{% static 'assets/images/bg-jornada-aluno.jpg' %}"); */
    background-size: cover;
    gap: 2rem;
    background-color: darkgray;
    flex-direction: column;
    align-items: center;
}

#button-container {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.button-container-mobile {
    display: none;
    width: 100%;
    margin-bottom: 1rem;
}

#button-container button {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-weight: var(--font-negrito);
    padding: 10px 20px;
    font-size: 1rem;
    width: 15rem;
    height: 5rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    color: white;
    background-color: transparent;
    border: 0px;
    text-align: left;
    padding: 2rem;
}

.botoes-mobile {
    background-color: rgba(255, 255, 255, 0.356);
    font-size: medium;
    padding: 7px 10px 7px 10px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    color: white;
    width: 100%;
    text-align: center;
}

#button-container button:focus {
    background-color: #ba0f14;
    transition: 0.90s;
}

#button-container button:not(:focus) {
    background-color: #ffffff2c;
    transition: 0.90s;
}

.content-container {
    perspective: 1000px;
    position: relative;
    width: 30rem;
    height: 20rem;
}

.content {
    color: white;
    height: 100%;
    opacity: 0;
    transform: rotateX(90deg);
    transition: opacity 0.5s, transform 0.50s;
    position: absolute;
    backface-visibility: hidden;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conteudo {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.content.show {
    opacity: 1;
    transform: rotateX(0deg);
}

@media screen and (max-width: 940px) {
    .listaDinamica {
        background-color: gray;
        flex-direction: column;
        align-items: center;

    }

    #button-container {
        display: none;
        /* Esconde os botões em telas menores */
    }

    .button-container-mobile {
        display: block;
    }

    .conteudo {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 0;
    }

    .content p {
        text-align: justify center;
    }

    .content h2 {
        text-align: center;
        padding-bottom: 0.5rem;
    }
}


/* ########## MOBILE ########## */
@media screen and (max-width: 768px) {

    /* carrossel */
    #carouselExampleDark {
        width: 100%;
    }

    #carrousselId1 {
        background-image: url(https://comercial.faculdademalta.edu.br/wp-content/uploads/2024/05/pagina-inicial.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 100%;
    }

    #carrousselId2 {
        background-image: url(https://comercial.faculdademalta.edu.br/wp-content/uploads/2024/05/HOME-POS-2-2.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 100%;
    }

    #carrousselId3 {
        background-image: url(https://comercial.faculdademalta.edu.br/wp-content/uploads/2024/04/pos-combo.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 100%;
    }

    /* cards */
    .cards {
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
    }

    .home-card {
        width: 9.7rem;

    }

    .home-card:hover {
        background-size: 170%;
        transition: 0.30s;

        .card-text {
            scale: 1;
            transition: 0.50s;
            padding-bottom: 16px;
        }

    }


    /* listaDinamica */
    #cardContainer {
        display: flex;
        flex-wrap: wrap;
        /* justify-content: center; */
    }

    .links {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* .logo {
        margin-left: 30%;
    } */

    .atendimento-estudantes {
        padding-left: 1rem;
    }

    .apoio-docente {
        text-align: right;
        padding-right: 1rem;
    }

    .align-items-center {
        display: flex;
        align-items: center;
    }
}

.acesso-rapido {
    background-color: #f9f9f9;
    align-self: center;
    display: flex;
    flex-direction: row;
    left: 0;
    position: absolute;
    border-radius: 0 7px 7px 0;
    padding: 8px;
}

.acesso-rapido-link {
    display: flex;
    gap: 6px;
    text-decoration: none;
}

.acesso-rapido-link h3 {
    font-size: 15px;
    text-align: center;
    align-self: baseline;
    color: #ba0f14;
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
    padding-top: 6.5px;
}

.paragrafos {
    display: flex;
    flex-wrap: wrap;
}

#banner-nap {
    background-image: url('');
    background-size: cover;
    margin-top: 0.5rem;
    padding: 6rem;
    background-color: #ba0f14;
}

@media screen and (max-width: 768px) {
    #banner-nap {
        margin-top: 0.5rem;
        padding: 2.5rem;
        background-color: #ba0f14;
    }
}

.como-acessar-nap {
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: right;
}


.accordion-button:not(.collapsed) {
    color: white;
    background-color: #ba0f14;
}

.accordion-button:focus {
    box-shadow: none;
}

.maxima-mec {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.texto-mec {
    max-width: 30rem;
    text-align: justify;
}

#container_mec {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Estilos da Tabela */
.table {
    width: 100%;
    border-collapse: collapse;
    /* border: 2px solid #ccc; */
}

.table th,
.table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.table th {
    background-color: #f2f2f2;
    text-align: center;
}

/* Estilos Específicos para Linhas Alternadas */
.table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

@media screen and (min-width: 769px) {
    .links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

    }

    .cards {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        flex-direction: row;
        padding-bottom: 2rem;
    }
}

@media screen and (min-width: 1000px) {
    .links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }
}

#btn_enviar {
    width: 5rem;
    align-self: center;
}

/* .form-control {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
} */

@media screen and (min-width: 768px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        background-color: var(--vermelho);
        border-color: white;
        background-color: var(--vermelho);
    }

    .nav-item.dropdown .dropdown-menu a {
        color: rgb(255, 255, 255);
        background-color: var(--vermelho);
    }

    .nav-item.dropdown .dropdown-menu a:hover {
        color: yellow;
        background-color: var(--vermelho);
    }


    .dropdown-toggle::after {
        display: inline-block;
        margin-left: .255em;
        vertical-align: 0.2em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
    }

    #lista-proc-seletivo:hover,
    #lista-institucional:hover,
    #btn-egresso:hover {
        background-color: white;
        border: 0;
        color: black;
        font-weight: 500;
    }

    #subdropdowncorpo {
        display: none;
    }

    .subdropdown:hover #subdropdowncorpo {
        display: block;
        top: 100px;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        border-radius: 0.25rem;
    }

}

#lista-proc-seletivo,
#lista-institucional,
#btn-egresso {
    background-color: transparent;
    border: 0;
    color: white;
    font-weight: 500;
}

.dropdown-item {
    font-size: var(--normal-font);
}

.conjunto-faixa {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}

.aside-mobile {
    display: none;
}


@media screen and (max-width: 880px) {
    .menu-mobile {
        display: none;
    }

    .navbar {
        display: none;
    }

    .navbar-burger-mobile {
        display: none;
    }

    .navbar-aside-mobile {
        display: flex;
    }

    .aside-mobile {
        position: fixed;
        z-index: 2;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        width: 95%;
        height: 100%;
        padding: 5rem 15px 40px;
        background-color: var(--vermelho);
        /* box-shadow: 0 0 20px rgb(0 0 0 / 70%); */
        translate: 100% 0;
        transition: 0.3s;
        overflow: auto;
    }

    .aside-mobile nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        font-size: 20px;
    }

    .aside-mobile nav a {
        color: white;
        text-decoration: none;
        max-width: max-content;
    }

    .dropdown-conjunto {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .navbar-aside-mobile {
        z-index: 3;
        position: absolute;
        top: 3rem;
        right: 1px;
        display: grid;
        place-items: center;
        width: 88px;
        height: 88px;
        background-image: url(../img/menu.svg);
        background-repeat: no-repeat;
        background-position: center;
    }

    body.open .navbar-aside-mobile {
        background-image: url("../img/close.svg");
    }

    body.open .aside-mobile {
        translate: 0;
    }

    .dropdown-item {
        text-wrap: wrap;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    #collapseTwo .dropdown-item {
        font-size: 14px;
    }

    .accordion-button {
        background-color: #ba0f14;
        color: white;
    }
}

.col-12 {
    width: 100%;
    display: flex;
    justify-content: center;
}

.eventos {
    min-height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.eventos .eventos-container div img {
    border: 1px solid gray;
    object-fit: cover;
}

.eventos .eventos-container {
    display: flex;
    align-items: flex-end;
    padding: 1rem 3rem 2rem 3rem;
    width: 80%;
    gap: 2rem;
    scroll-snap-align: start;
    overflow-x: auto;
    position: relative;
    text-align: center;

}

.eventos .eventos-container .self-evento {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1;
    max-width: 18rem;
}

.eventos .eventos-container .self-evento h3{
    font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
    .eventos .eventos-container {
        width: 100%;
        padding: 2rem 1rem 2rem 1rem;
        gap: 1rem;
    }

    .eventos .eventos-container div img {
        width: 93vw;
        height: 22rem;
        border: 1px solid gray;
    }

}

.eventos .eventos-container::-webkit-scrollbar {
    height: 0px;
}

.eventos #botao-eventos {
    background-color: var(--vermelho);
    color: white;
}

.eventos .nossos-eventos {
    color: var(--vermelho);
    text-align: center;
}

.eventos .nossos-eventos-texto {
    text-align: center;
}

.eventos-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 90%;
}

.eventos-controls .btn {
    background-color: var(--vermelho);
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color 0.3s;
}

.eventos-controls .btn:hover {
    background-color: darkred;
}

.eventos .botao-eventos {
    background-color: var(--vermelho);
    color: white;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
}

.eventos a {
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .eventos-controls {
        display: none;
    }
}

.cabecalho {
    display: flex;
    justify-content: center;
    padding: 2rem 5rem 2rem 5rem;
    color: white;
    background-color: darkred;
    border-radius: 3px;
}

@media screen and (min-width: 999px) {
    .container-evento {
        padding: 0 15rem;
        display: flex;
        flex-direction: column;
    }

    .container-evento .corpo {
        display: flex;
        padding: 1rem 0rem;
        gap: 3rem;
        justify-content: space-between;
    }

    .container-evento .corpo h3 {
        color: var(--vermelho-escuro);
    }

    .container-evento .corpo h4 {
        font-weight: 600;
    }

    .container-evento .corpo p {
        text-align: justify;
        font-size: 1.3rem;
    }

    .container-evento .corpo .info {
        padding: 3rem 0;
    }

    .container-evento .corpo img {
        border-radius: 0 3px 0 0;
    }

    .container-evento .corpo #btn-inscreva {
        display: flex;
        gap: 0.1rem;
        width: max-content;
        align-self: center;
        background-color: #b80f15;
        color: white;
        padding: 0.5rem;
    }

    .container-evento .corpo #btn-inscreva:hover {
        background-color: darkred;
    }
}

