@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url("style-menu.css");

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    background-color: #f9f9f9;
    color: #333;
}

/* Área principal */
.content-principal {
    /* width: 100%; */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Container principal */
.section-edital {
    width: 100%;
    max-width: 1000px;
    padding: 60px 30px;
    margin-top: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Avisos */
.avisos-edital {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
}

/* Título */
.title-edital {
    width: 100%;
    font-size: 1.7rem;
    text-align: center;
    font-weight: 500;
    color: black;
}

.title-intro {
    width: 100%;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
    color: black;
}

.text-ler {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
}

/* Regras */
.regras-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Checkbox */
.div-input-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 400px;
    height: 60px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(200, 200, 200, 0.64);
    border-radius: 10px;
    transition: .1s ease-out  ;
}

.div-input-check:hover {
    border: 1px solid rgba(0, 0, 0, 0.438);
    width: 450px;
}

.input-check {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Botões */
.btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px;
}

.btn-edital {
    padding: 8px 14px;
    font-weight: 600;
    background-color: #FF3877;
    border-radius: 6px;
    font-size: 1em;
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-edital:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-edital-conti {
    background-color: #007E70;
}

.link-edital {
    text-decoration: none;
    color: white;
} 

/* Modal */
.modal-erro {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-erro.ativo {
    display: flex;
}

.modal-conteudo {
    position: relative;
    background-color: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    text-align: center;
    max-width: 420px;
    width: 100%;
    animation: fadeIn 0.3s ease;
}


.fechar-modal {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    transition: color 0.2s ease;
}

.fechar-modal:hover {
    color: #FF3877;
}

/* Animação modal */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsividade */
@media screen and (max-width: 768px) {

    .modal-conteudo p {
        font-size: 10;
    }

    .section-edital {
        padding: 40px 20px;
        margin-top: 100px;
    }

    .regras-container {
        width: 100%;
    }

    .btns {
        flex-direction: column;
        align-items: center;
    }

    .div-input-check {
        width: 300px;
        font-size: .8rem;
    }

    .div-input-check:hover {
        width: 300px;
    }
}

@media screen and (max-width: 500px) {

    .modal-conteudo p {
        font-size: 10px;
    }

    .title-edital {
        flex-direction: column;
    }

    .text-ler {
        font-size: 1rem;
    }

    .modal-conteudo {
        padding: 25px 20px;
    }
}
