body {
    background-image: url(../img/jornada\ do\ aluno.jpg);
    background-size: cover;
}

/* Estilize o loader para centralizá-lo na tela */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.478);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Garante que o loader apareça na frente de outros conteúdos */
}

.button-group {
    display: none;
    margin-top: 10px;
}


.button-group.active {
    display: block;
}

#cardContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-top: 10rem;
    padding-bottom: 10rem;
    background-color: rgba(0, 0, 0, 0.727);
}

.btn_div {
    padding-bottom: 5rem;
    background-color: rgba(0, 0, 0, 0.727);
}

.card {
    background-color: white;
    width: 17rem;
    overflow: hidden;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(255, 255, 255, 0.323);
    transition: all 0.30s;
}

.card:not(:hover) {
    transform: translateY(0);
    box-shadow: none;
    transition: all 0.30s;
}

header {
    z-index: 1;
}

#backButton {
    display: none;
    width: 5.5rem;
    height: 2.5rem;
    color: white;
    font-size: x-large;
    padding-bottom: 2px;
}

#backButton:hover {
    scale: 1.07;
    transition: 0.1s;
}

a {
    text-decoration: none;
}

/* Classe para a animação de deslizar */
.animate-left {
    animation: slideLeft 0.50s linear;
}

/* Keyframes para a animação */
@keyframes slideLeft {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0%);
    }
}

/* ########## mobile ########## */
@media screen and (max-width: 768px) {

    .card {
        width: 9rem;
        height: 13rem;
    }

    body {
        background-image: url('/assets/img/bg-jornada-aluno.jpg');
        background-size: cover;
    }

    #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%;
    }
}




.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;
}

.boas-vindas {
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 769px) {
    .links {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
    }

}

@media screen and (min-width: 1000px) {
    .links {
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1; 
    padding-top: 4rem;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    z-index: 3;
    overflow: hidden;
    transition: 1s;
  }
  
  .modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 850px;
  }
  
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  .close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: transparent;
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 1000; /* Para garantir que o botão fique acima do conteúdo */
}

.close-btn:hover {
    color: red; /* Cor ao passar o mouse */
}
@media (max-width: 550px) {
    .modal-body iframe {
        position: absolute;
        width: 85%;
        height: 270%;
        margin-top: 50%;
    }
}