/* Estilo do modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px 40px 40px 40px;
    border-radius: 5px;
    text-align: center;
    width: 500px;
    height: auto;
}

.modal-content h1 {
    color: #961e8f;
    font-size: 36px;
    font-weight: bold;
    padding-top: 20px;
}

.modal-content p {
    font-size: 18px;
    padding: 20px;
    font-weight: bold;
}

.modal-content strong {
    font-size: 20px;
    font-weight: bold;
    color: #961e8f;
}

.modal-content button {
    width: 80%;
    height: 50px;
    border-radius: 5px;
    background-color: #961e8f;
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.modal-content button:hover {
    background-color: black;
}

.modal-content button img {
    margin: 0 20px 0 -20px;
}

/* Estilo do botão de fechar */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    text-align: end;
    padding-bottom: 20px;
}

.close:hover,
.close:focus {
    color: black;
}

/* Adicione estas linhas para o efeito de fade-in */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@media only screen and (max-width: 500px) {
    .modal-content {
        width: 350px;
        padding: 10px 20px 40px 20px;
    }

    .modal-content h1 {
        font-size: 32px;
    }

    .modal-content p {
        font-size: 16px;
    }

    .modal-content strong {
        font-size: 18px;
    }

    .modal-content button {
        width: 90%;
        font-size: 20px;
    }

    .modal-content button img {
        margin: 0 10px 0 -10px;
    }

    /* Estilo do botão de fechar */
    .close {
        padding-bottom: 10px;
    }

}