/* * {
    border: solid 1px red;
} */
video {
    max-width: 520px;
    height: 300px;
}

.vidio {
    height: 300px;
}

section {
    margin-top: 150px;
}

article {
    margin: auto;
    width: 65%;
    gap: 25px;
    margin-bottom: 150px;
    display: grid;
    grid-template: 400px / 320px 550px;
    justify-content: center;
    align-content: center;
}

.a__1_nombre {
    width: 100%;
    height: auto;
    grid-column: 1;
    grid-row: 1;
}


.name {
    font-size: 1.5rem;
    color: var(--naranja);
    width: 100%;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.name h2 {
    color: var(--gris);
    font-size: 2em;
    font-family: titu;
    transition: all 300ms ease-in-out;
    line-height: 0.8em;
}

.titu {
    color: var(--gris);
    font-size: 3em;
    font-family: titu;
    transition: all 300ms ease-in-out;
}

.a__1_nombre a {
    width: 100%;
    transition: all 300ms ease-in-out;
    text-decoration: none;
}

.a__1_nombre a img {
    width: 100%;
    transition: all 300ms ease-in-out;
}

.cuadro {
    position: relative;
}

.cuadro:hover img {
    transform: scale(1.05);
}

.cuadro:hover .carac h4 {
    opacity: 1;
    transform: scale(1.1);
}

.a__1_nombre:hover .titu {
    color: var(--naranja);
}

.carac {
    color: var(--amarillo);
    position: absolute;
    bottom: 20;
    transition: all 300ms ease-in-out;
    -webkit-text-stroke: 1px var(--gris);
}

.carac h4 {
    font-size: 1.9rem;
    font-weight: 700;
    transition: all 300ms ease-in-out;
    opacity: 0.8;
    filter: drop-shadow(0 0 0.75rem black);
}


/* mi modal */
.o_1 {
    cursor: pointer;
    background-position: 50% 50%;
    background-size: 100%;
    position: relative;
    /* margin: 150px auto; */
    height: 300px;
    width: auto;
    overflow: hidden;
    cursor: zoom-in;
}

.o_1:hover img {
    opacity: 0;
}

.o_1:hover {
    width: 100%;
}


.mi_modal {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 100px;
    position: fixed;
    top: 0;
    z-index: 2000000001 !important;
}

.mi_modal_closse {
    padding: 10px;
    color: var(--verde);
    font-size: 1.7rem;
    z-index: 21;
    cursor: pointer;
    transition: all 175ms ease-in-out;
}

.mi_modal_closse:hover {
    transform: rotate(0.25turn);
}

.mi_modal_c {
    width: 50%;
}

.mi_modal_c img {
    /* width: 90%; */
    height: 80vh;
}

.mi_modal_hidden {
    visibility: hidden;
    transition: all 175ms ease-in-out;
}

.mi_modal_visible {
    visibility: visible;
    transition: all 175ms ease-in-out;
}

.resalte {
    color: #FFFF00;
    text-align: right;
}

.no-scroll {
    max-height: 100vh;
    overflow: hidden;
    width: calc(100vw - 17px);
}

.carousel-control-prev,
.carousel-control-next {
    height: 50px;
    width: 20px;
    margin-top: auto;
    margin-bottom: 0px;
}

.p_parrafo {
    width: 80% !important;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
}

.p_parrafo p {
    width: 100%;
}


/* Modal */
.modal {
    z-index: 2000000001 !important;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #99CC66;
    border-radius: 10px;
    /* height: 90vh; */
    color: white;
    font-weight: 700;
}

.modal-content img {
    width: 100%;
}

.modal-header {
    padding: 10px;
    border: none;
}

.modal-body {
    margin: 0;
    border: none;
    justify-content: flex-start;
    padding: 20px;
    padding-top: 0;
}

.modal_inner {
    gap: 40px;
    padding: 10px;
    width: 100%;
}

.modal-body .modal_inner:nth-child(1) {
    gap: 20px;
}

.modal_inner div {
    width: 50%;
}

.modal_inner img {
    width: 65%;
}

.modal_inner ul {
    margin-left: 40px;
}

.modal_inner .titu {
    color: white;
}

.modal.fade .modal-dialog {
    transition: transform 0.7s ease-out;
    transform: scale(1);
}

@media screen and (max-width: 1200px) {
    .mi_modal_c {
        width: 95%;
    }

    .mi_modal_c img {
        width: 90%;
        height: auto;
    }
}

@media screen and (max-width: 900px) {
    section {
        padding: 0 5px;
    }

    article {
        width: 100%;
    }

    article div:nth-child(2) {
        height: auto;
    }

    video {
        width: 100%;
        height: auto;
    }

    .vidio {
        height: auto;
    }

    .vidiov video {
        height: 300px;
    }

    .a__1 {
        grid-template: auto auto / 100%;
        gap: 5px;
    }

    .a__1_nombre {
        width: 80%;
        grid-column: 1;
        grid-row: 1;
        margin: auto;
        margin-bottom: 25px;
    }

    .a__1_nombre a img {
        max-width: 250px;
    }

    .name {
        font-size: 1.5rem;
    }

    .galeria {
        grid-column: 1;
        grid-row: 2;
    }

    .tmb {
        grid-column: 1;
        grid-row: 3;
    }

    .a__1_gal {
        padding: 10px;
        width: 100%;
    }

    .splide__slide {
        width: 100%;
        max-height: auto;
    }

    .splide__track--nav>.splide__list {
        width: 100%;
    }

    .splide__arrow {
        font-size: 1rem;
    }

    .mi_modal {
        padding: 10px;
    }

    .mi_modal_c {
        width: 90%;
    }

    .modal_inner {
        width: 100%;
        flex-direction: column;
    }

    .modal_inner div {
        width: 100%;
    }

    .modal_inner .titu {
        font-size: 10vw;
    }
}