body {
    text-align: center;
    font-family: sans-serif;
    margin: 0;
}

.modal-container {
    width: 100%;
    height: 100vh;
    background: rgba(250, 248, 248, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    animation: modal 2s 3s forwards;
    visibility: hidden;
    opacity: 0;
}

.modal {
    margin: auto;
    width: 40%;
    height: 50%;
    background: white;
    border-radius: 10px;
}

#cerrar {
    display: none;
}

#cerrar+label {
    position: fixed;
    color: #fff;
    font-size: 25px;
    z-index: 50;
    background: darkred;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    right: 150px;
    top: 150px;
    cursor: pointer;
    animation: modal 2s 3s forwards;
    visibility: hidden;
    opacity: 0;
}

#cerrar:checked+label,
#cerrar:checked~.modal {
    display: none;
}

@keyframes modal {
    100% {
        visibility: visible;
        opacity: 1;
    }
}

.btn {
    background-color: #fffcfc;
    padding: 10px 21px;
    color: rgb(168, 166, 166);
    border-radius: 10%;
}

.btn:hover {
    background-color: #eb5252;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: RGBA(0, 0, 0, 0.60);
}