/* ESTILOS MODAL */
.ventana_modal {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    overflow-y: auto;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ventana_modal:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}


.ventana_modal>div {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 90%;
    width: 50%;
    max-height: 90%;
    background: #f5f5f5;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}

.encabezado_modal {
    width: 100%;
    height: 20%;
    overflow: hidden;
    margin: 20px 0;
}

h2 {
    font-size: 150%;
    margin: 0 0 15px;
}

.btn_cerrar {
    color: #fff;
    background-color: #f03636;
    padding: 0 20px;
    line-height: 50px;
    font-size: 80%;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;

    text-decoration: none;
}

.informacion {
    color: #fff;
    background-color: #f03636;
    border-radius: 10px;
    text-decoration: none;
    padding: 10px 20px;
}


/*ESTILOS MODAL PEQUEÑO*/

.ventana_modal_small {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    overflow-y: auto;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ventana_modal_small:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ventana_modal_small>div {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 90%;
    width: 50%;
    max-height: 90%;
    background: #f5f5f5;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}