/* Estilos para o modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal .box {
    display: flex;
    gap: 20px;
}

.modal .box h1,
.modal .box h3 {
    margin: 0;
}

.modal .box h1 {
    color: #008000;
}

.modal .box img {
    border-radius: 5px;
}

.modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 5px;
    align-self: center;
}

/* Estilos para fechar o modal */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 700px) {
    .modal .box {
        flex-direction: column;
    }

    .modal-content {
        width: 100%;
        height: 100%;
        overflow: auto;
    }

    .modal .box img {
        width: 100%;
        padding-top: 20px;
    }

    .close {
        position: absolute;
        top: 0;
        right: 10px;
        height: 50px;
        width: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3rem;
        color: red;
    }

    .close:hover {
        color: rgb(143, 0, 0);
    }
} /*AJUSTAR O LAYOUT DO MODAL NO MOBILE PARA TODOS OS CURSOS - PEGAR ENFERMANGEM COMMO BASE, POR SER O QUE TEM MAIS CONTEUDO... AJUSTAR O BOTÃO DE FECHAR MODAL*/