.contenido {
    text-align: center;
    font-family: sans-serif;
}

.modal {
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: hsla(0, 1%, 14%, 0.733);
    top: 0;
    left: 0;
    display: flex;
    animation: modal 1s 1s;
    -webkit-animation: modal 1s 1s;
    animation-fill-mode: forwards;
    visibility: hidden;
    opacity: 0;
}

.contenido {
    width: 40%;
    height: 40%;
    margin: auto;
    background-color: hsla(360, 100%, 100%, 0.94);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    box-shadow: 2px 5px 1px rgb(34, 34, 34);
    font-size: 10vmax;
}

.contenido img {
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    box-shadow: 1px 1px 3px #000;
}

.contenido h1 {
    padding-top: 10px;
    padding-bottom: 25px;
    font-size: 5rem;
    color: green;
    text-shadow: 2px 4px 1px #000;
}

.contenido h2 {
    padding-bottom: 30px;
    font-weight: bold;
}

.contenido img {
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    box-shadow: 1px 2px 5px hsla(0, 0%, 0%, 1);
}

@media screen and (max-width: 760px) {
    .contenido h1,
    h2 {
        font-size: 1.5rem;
    }
}

#cerrar {
    display: none;
}

#cerrar+label {
    text-align: center;
    position: fixed;
    top: 11rem;
    color: white;
    text-shadow: 2px 2px 7px #fff;
    font-size: 1.5625rem;
    z-index: 9999999;
    background: rgb(100, 9, 9);
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    right: 15rem;
    cursor: pointer;
    animation: modal 1s 3s;
    -webkit-animation: modal 1s 1s;
    animation-fill-mode: forwards;
    visibility: hidden;
    opacity: 0;
    box-shadow: 1px 1px 15px #000;
}

#cerrar+label:hover {
    box-shadow: 1px 1px 15px rgb(192, 185, 185);
}

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

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

@media screen and (max-width:1300px) {
    .contenedor-modal {
        display: none;
    }
}