.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
    /* Esconde o modal por padrão */
}

/* Conteúdo central do modal */
.modal-content {
    background: url(/images/Base_PopUp_Newsletter.png) center / contain no-repeat;
    border-radius: 8px;
    max-width: 485px;
    max-height: 345px;
    position: relative;
    overflow: hidden;
    padding: 35px;
    gap: 30px;
    align-content: flex-start;
}

.modal-content h2 {
    color: var(--cor2);
    font-size: 1.3rem;
    font-weight: bold;
    width: 58%;
    line-height: 1.4rem;
}

.modal-content p {
    color: var(--cor2);
    font-size: 1rem;
    width: 50%;
}

/* Botão de fechar */
.close-btn {
    position: relative;
    top: -155px;
    font-size: 50px;
    cursor: pointer;
    color: white;
}

/* Estilos do formulário */
#newsletter-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

#newsletter-email {
    flex: 2;
    padding: 10px;
    background-color: var(--cor3);
    border-radius: 4px;
    border: none;
}

#newsletter-form button {
    flex: 1;
    background-color: var(--cor4);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Classe para mostrar o modal */
.modal-container.show {
    display: flex;
}