.regulamento-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    background: url(./img/fundo-modal.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    width: 76rem;
    height: 39.8rem;
}

.regulamento-modal p {
    margin-bottom: 1rem;
    font-style: italic;
}

.regulamento-modal-close {
    position: absolute;
    top: 0px;
    right: 0.1px;
    font-size: 42px;
    cursor: pointer;
    padding: 0.7rem 1.2rem;
    color: #fff;
    background-color: #ff0069;
}

/* Estilo do overlay semi-transparente */
.regulamento-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998; /* Coloque um z-index menor que o modal para que fique por trás dele */
}

/* Estilo do conteúdo principal desfocado */
.regulamento-modal-blur {
    filter: blur(5px); /* Altere o valor do desfoque se desejar mais ou menos desfocado */
}

/* Estilo do conteúdo do modal, para que não seja afetado pelo filtro de desfoque */
.regulamento-modal-content {
    background:url(./img/fundo-texto.png);
    position: relative;
    z-index: 10000;
    width: 63.6rem;
    margin: auto;
    height: 28.4rem;
    overflow: auto;
    margin-top: 11rem;
}
#regulamento-logo {
    background: url(./img/logo-campanha.png);
    background-size: contain;
    height: 11rem;
    width: 64rem;
    float: right;
}

.regulamento-modal-body {
    padding: 2rem;
    color: #fff;
}
#regulamento-modal h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 1rem;
}
#regulamento-modal h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1rem;
}
#regulamento-modal ol {
    list-style-type: lower-alpha;
    padding-left: 3rem;
    margin-bottom: 1rem;
}
#regulamento-modal ol li {
    margin-bottom:1rem;
}
#regulamento-modal strong {
    font-weight: bold;
    font-style: normal;
}

@media (max-width: 768px) {
    .regulamento-modal {
        width: 20rem;
        height: 39.8rem;
    }
    .regulamento-modal-content {
        width: 19.6rem;
    }
    #regulamento-logo {
        background: url(./img/logo-campanha-vertical.png);
        background-size: cover;
        height: 10rem;
        width: 18rem;
        float: right;
    }
    #regulamento-modal h1 {
        font-size: 28px;
    }
}