:root {
    --sat: 500%;

}


.img_sliders {
    height: 100%;
    filter: saturate(var(--sat));
}

.slide_info {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    padding: 20px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}

.modal_box {
    position: relative;
    padding: 0px;
    top: 0px;
    height: 100%;
    padding-bottom: 54px;
    bottom: 0px;
    position: fixed;
    width: 100%;
    overflow: scroll;
}


.ima {
    aspect-ratio: 16/18;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    opacity: 0.4;
    box-shadow: inset 0 -87px 50px 6px #0e0c08;
}

.titulo {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto;
    font-weight: 100;
    text-shadow: 3px 5px 10px #000000;
    text-align: center;
    line-height: 1;
    color: #f7f1e3;
    height: auto;
    top: 13px;
    align-items: flex-start;
    border: 0px solid #ffffffc2;
    padding: 10px 10px 30px 10px;
}

.resumen {
    top: 5px;
    position: relative;
    width: 80%;
    margin: 0 auto;
    display: flex;
    font-size: 20px;
    font-weight: 100;
    justify-content: center;
    text-shadow: 0 0 10px #000;
    text-align: center;
    color: #f7f1e3;
    margin-bottom: 85px;
    text-shadow: 4px 4px 8px #000000, -3px -3px 5px #000000;
}

.class_color {
    top: -261px;
    position: relative;
    background-color: #00aaff00;
    border-radius: 15px;
    margin-top: -0px;
    border: solid 1px #ffffff00;
}

.class_img {
    top: 0px;
    position: relative;
    background-color: #6a707400;
    border-radius: 35px;
    width: 100%;
    height: 240px;
    background-image: url('../image/logo.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 0 -15px 44px var(--colorfondo);
    transition: all 0.5s ease;
}

.class_img:hover {
    opacity: 0.9;
    scale: 0.98;
}

.class_txt {
    top: 0px;
    position: relative;
    background-color: #00aaff00;
    padding: 0px;
    border-radius: 8px;
    border: solid 1px #ffffff00;
    width: 101%;
    font-size: 17px;
    line-height: 1.7;
    color: #ffffff85;
    /* overflow: hidden; */
    height: auto;
}

.mas {
    cursor: pointer;
    color: #ffffff;
    font-size: 17.5px;
    background-color: #ffffff17;
    padding: 0px 6px 3px 5px;
    border-radius: 9px;
}

.mas:hover {
    opacity: 0.7;
}

.modal_overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-color: #0e0c08;
}

/* modal*/
.grupo1_modal {
    background-color: rgba(255, 0, 0, 0);
    display: flex;
    gap: 63px;
    margin: 0 auto;
    width: 75%;
    align-items: center;
    flex-direction: column;
}

.grupo2_modal {
    background-color: rgba(255, 0, 0, 0);
    display: flex;
    margin: 0 auto;
    width: 75%;
    margin-bottom: 59px;
    margin-top: 50px;
    gap: 50px;
    flex-direction: column;
    align-items: center;
}

.grupo3_modal {
    margin-top: 46px;
    position: relative;
    background-color: rgba(255, 0, 0, 0);
    display: flex;
    justify-content: space-evenly;
    width: 80%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    aspect-ratio: 12/6;
    box-shadow: inset 0px 0px 17px 4px #0e0c08, 0 0 1px 0px #0e0c08;
    margin: 0 auto;
    border-radius: 15px;
    border: 4px solid #0e0c08;
    margin-bottom: 50px;
}

.grupo4_modal {
    background-color: #4a537400;
    display: flex;
    justify-content: space-evenly;
    color: #534e3e;
    font-size: 15.5px;
    text-align: center;
    padding: 10px;
    width: 79%;
    margin: 0 auto;
}

.modal_cerrar {
    position: fixed;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: white;
    z-index: 9999999999;
}

.modal_cerrar:hover {
    opacity: 0.9;
    scale: 1.2;
}

@media (min-width: 768px) {
    .modal_box {
        position: relative;
        padding: 0px;
        top: 0px;
        padding-bottom: 54px;
        bottom: 0px;
        position: fixed;
        width: 100%;
        overflow: scroll;
    }

    .class_color {
        top: -201px;
        position: relative;
        background-color: #00aaff00;
        border-radius: 15px;
        margin-top: -0px;
        border: solid 1px #ffffff00;
    }

    .resumen {
        width: 90%;
    }


    .class_img {
        height: 180px;
        width: 43%;
    }

    .ima {
        aspect-ratio: 16/9;
    }

    .class_txt {
        top: 0px;
        position: relative;
        background-color: #00aaff00;
        padding: 0px;
        border-radius: 8px;
        border: solid 1px #ffffff00;
        width: 45%;
        font-size: 17px;
        line-height: 1.7;
        color: #ffffff85;
        /* overflow: hidden; */
        height: auto;
    }

    .grupo1_modal {
        display: flex;
        flex-wrap: wrap;
        width: 75%;
        flex-direction: row;
        justify-content: center;
    }

    .grupo2_modal {
        background-color: rgba(255, 0, 0, 0);
        display: flex;
        justify-content: space-evenly;
        align-items: flex-start;
        margin: 0 auto;
        width: 75%;
        margin-bottom: 59px;
        margin-top: 50px;
        gap: 40px;
        flex-direction: row;
    }

    .grupo3_modal {
        border: 4px solid #0e0c08;
        margin-bottom: 50px;
    }

}

@media (min-width: 1024px) {
    .modal_box {
        position: relative;
        padding: 0px;
        top: 0px;
        padding-bottom: 54px;
        bottom: 0px;
        position: fixed;
        width: 100%;
        overflow: scroll;
    }

    .class_color {
        top: -222px;
        position: relative;
        background-color: #00aaff00;
        border-radius: 15px;
        margin-top: -0px;
        border: solid 1px #ffffff00;
    }

    .resumen {
        width: 90%;
    }


    .class_img {
        height: 180px;
        width: 18%;
    }

    .ima {
        aspect-ratio: 16/8;
    }

    .class_txt {
        top: 0px;
        position: relative;
        background-color: #00aaff00;
        padding: 0px;
        border-radius: 8px;
        border: solid 1px #ffffff00;
        width: 48%;
        font-size: 17px;
        line-height: 1.7;
        color: #ffffff85;
        /* overflow: hidden; */
        height: auto;
    }

    .grupo1_modal {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        flex-direction: row;
        gap: 50px;
        justify-content: center;
    }

    .grupo2_modal {
        background-color: rgba(255, 0, 0, 0);
        display: flex;
        justify-content: space-evenly;
        align-items: flex-start;
        margin: 0 auto;
        width: 85%;
        margin-bottom: 59px;
        margin-top: 50px;
        gap: 50px;
        flex-direction: row;
    }

    .grupo3_modal {
        border: 4px solid #0e0c08;
        margin-bottom: 50px;
    }

}

@media (min-width: 1440px) {
    .modal_box {
        position: relative;
        padding: 0px;
        top: 0px;
        padding-bottom: 54px;
        bottom: 0px;
        position: fixed;
        width: 100%;
        overflow: scroll;
    }

    .class_color {
        top: -482px;
        position: relative;
        background-color: #00aaff00;
        border-radius: 15px;
        margin-top: -0px;
        border: solid 1px #ffffff00;
    }

    .titulo {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        font-size: 80px;
        margin: 0 auto;
        font-weight: 100;
        text-shadow: 3px 5px 10px #000000;
        text-align: center;
        line-height: 1;
        color: #f7f1e3;
      
    }

    .resumen {
        width: 90%;
        font-size: 23px;
    }


    .class_img {
        height: 180px;
        width: 18%;
    }

    .ima {
        aspect-ratio: 16/9;
    }

    .class_txt {
        top: 0px;
        position: relative;
        background-color: #00aaff00;
        padding: 0px;
        border-radius: 8px;
        border: solid 1px #ffffff00;
        width: 48%;
        font-size: 20px;
        line-height: 1.7;
        color: #ffffff85;
        /* overflow: hidden; */
        height: auto;
    }

    .grupo1_modal {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        flex-direction: row;
        gap: 50px;
        justify-content: center;
        margin-bottom: 80px;
    }

    .grupo2_modal {
        background-color: rgba(255, 0, 0, 0);
        display: flex;
        justify-content: space-evenly;
        align-items: flex-start;
        margin: 0 auto;
        width: 78%;
        margin-bottom: 80px;
        margin-top: 50px;
        gap: 100px;
        flex-direction: row;
    }

    .grupo3_modal {
        border: 4px solid #0e0c08;
        margin-bottom: 80px;
    }

    .grupo4_modal {
        font-size: 20px;
    }
}