body {
    overflow-x: hidden;
}

h1.title-descubre {
    display: block;
    margin: auto;
    color: #414141;
    text-transform: none;
    font-family: 'amino-light', sans-serif !important;
    font-weight: unset;
    font-size: 3em;
}

h1.title-descubre span {
    color: #bababa;
    line-height: 0;
    font-size: 3.7em;
    margin-right: -10px;
    vertical-align: -webkit-baseline-middle;
    font-family: 'andale_monoregular', sans-serif !important;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: auto;
    gap: 1.5rem;
    padding-right: 3em;
    padding-left: 3em;
}

.gallery-container div {
    position: relative;
    height: 100%;
}

.img-persona {
    border-radius: 1rem;
}

div.nombre-container {
    position: absolute;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    opacity: 0;
}

.name-persona {
    font-family: 'amino-light', sans-serif !important;
    color: #F3C52C;
    font-size: 1.1rem;
    font-weight: 800;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
    text-transform: capitalize !important;
    text-align: center;
}

.title-puesto {
    font-family: 'amino-light', sans-serif !important;
    color: #FFFFFF;
    font-size: 1.1rem;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
    margin-top: -7px;
}

.ver-video {
    background-color: #F1232BC4;
    font-family: 'amino-light', sans-serif !important;
    color: #FFFFFF;
    font-size: 1rem;
    border-radius: 3rem;
    text-align: center;
    padding: -0.9rem .3rem;
    display: flex;
    justify-content: center;
    padding: .1rem 1.9rem;
    border: transparent;
    font-weight: 900;
}

.hover-img:hover .nombre-container {
    opacity: 1;
    transition: 0.5s ease-out;
    z-index: 5;
    background-color: #505050BF;
    border-radius: 1rem;
}

div.info-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    bottom: -100px;
}

div.info-container a {
    color: #ffffff;
}

.ver-video:hover {
    border: 3px solid #ffff;
    transition: .3s ease-in-out;
    background: transparent;
}

.ver-video:hover .fa-play {
    display: block;
}

.ver-video:hover .fa-book-open {
    display: block;
}

.ver-video.mas:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.ver-video:hover {
    color: #FFFFFF;
    text-decoration: none;
}

video {
    width: 100%;
    border-radius: 1.2rem;
    cursor: pointer;
}

.modal-dialog {
    background: transparent !important;
}

.modal-content {
    background: transparent !important;
    border: 0 !important;
}

.modal-header {
    border-bottom: 0 !important;
}

.modal-body {
    background: transparent !important;
}

/* triangle button */
.modal-body div.thumb {
    position: relative;
    display: block;
    height: 100px;
    width: 100px;
    box-shadow: 0 0 0 5px white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
}

.modal-body .button-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.modal-body div.thumb .triangle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-30%, -50%);
    z-index: 0;
    border: solid white;
    border-right-width: 0;
    border-left-width: 40px;
    border-top-width: 25px;
    border-bottom-width: 25px;
    border-top-color: transparent;
    border-bottom-color: transparent;
    height: 0;
    width: 0;
    transition: 0.6s, 0s border-color;
}

/* end triangle button */
/*button.close {
    background-color: #FFFFFF8F;
    position: absolute;
    top: 65px;
    right: 35px;
    z-index: 1;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    margin: 0!important;
    padding: 0!important;
    font-size: 2rem;
    line-height: 1;
    color: #000;
    opacity: 1;
    font-weight: normal;
}*/

button.close {
    position: absolute;
    z-index: 99;
    cursor: pointer;
    top: 120px;
    right: 50px;
    display: inline-block;
    width: 40px;
    margin: 0 !important;
    padding: 0 !important;
    height: 40px;
    overflow: hidden;
    border: none;
    background: #ffffff;
    text-align: center;
    border-radius: 23px;
}

button.close:before {
    transform: rotate(45deg)
}

button.close:after {
    transform: rotate(-45deg)
}

button.close:before,
button.close:after {
    content: '';
    position: absolute;
    height: 3px;
    width: 50%;
    top: 50%;
    left: 9px;
    margin-top: -1px;
    background: #000000;
    border-radius: 5px;
}
button.close:focus{
    outline: none;
}

.fa-play {
    margin-top: .2em;
    margin-right: .5em;
    display: none;
}

.fa-book-open {
    margin-top: .2em;
    margin-right: .5em;
    display: none;
}

/*
    Estilos pagina Descripción
*/
.descripcion-container {
    height: 560px;
    overflow-x: hidden;
    overflow-y: auto;
}
.descripcion-container::-webkit-scrollbar
{
	width: 6px;
	background-color: #70707026;
}
.descripcion-container::-webkit-scrollbar-track
{
	
	border-radius: 10px;
	background-color: #70707026;
}
.descripcion-container::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: #70707076;
}

.img-persona.desc {
    height: 600px;
    object-fit: cover;
    border-radius: 2rem;
}

.title-name {
    font-family: 'amino-light', sans-serif !important;
    color: #414141;
    border-bottom: 3px solid #C91826;
    width: max-content;
    max-width: max-content;
    font-size: 1.6rem;
}

.title-descripcion-puesto {
    font-family: 'amino-light', sans-serif !important;
    color: #707070;
    font-size: 1.2rem;
    margin-top: -10px;
}

.tile-descripcion {
    font-family: 'amino-light', sans-serif !important;
    color: #707070 !important;
    font-weight: bolder;
    line-height: 23px;
}

.tile-descripcion span {
    font-family: 'amino-light', sans-serif !important;
    color: #707070;
    font-weight: bolder;
    font-size: 2rem;
}

.p-descripcion {
    font-family: 'amino-light', sans-serif !important;
    color: #414141;
}

.p-interesar {
    font-family: 'amino-light', sans-serif !important;
    color: #E2211C;
    font-size: 3rem;
    text-align: center;
    display: block;
    margin: auto;
    line-height: 1.1;
    font-weight: normal;
}

.button-regresar {
    font-family: 'amino-light', sans-serif !important;
    color: #E2211C;
    background: #F5D101;
    padding: .2em 2.2em;
    border-radius: 2rem;
    font-size: 1.5rem;
    font-weight: bolder;
}

.button-regresar:hover {
    color: #E2211C;
    text-decoration: none;
}

.pagination {
    text-align: center;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    font-family: 'amino-light', sans-serif !important;
}

.pages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    width: 230px;
}

.page-number {
    cursor: pointer;
    background-color: #F3C52C;
    color: white;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s ease;
}

.active {
    font-size: 1.3em;
    height: 40px;
    width: 40px;
    background-color: red;
    color: white;
}



button {
    width: 120px;
    padding: 8px 16px;
    background-color: #ffffff00;
    color: #ff0000;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

button:hover {
    color: #F3C52C;
}

button:disabled {
    background-color: #ffffff00;
    color: #ccc;
    cursor: not-allowed;
}

#prevPage {
    margin-right: 20px;
}

#nextPage {
    margin-left: 20px;
}

.arrow {
    font-size: 1.2em;
}

.nav-text {
    font-size: 0.7em;
    letter-spacing: 0.3em;
}


.ribbon {
  width: 200px;
  height: 40px;
  background: #F3C52C;
  left: 0;
  border-radius: 0 23px 23px 0;
  position: absolute;

}

/* MEDIA QUERIES */
@media(max-width: 767px) {
    h1.title-descubre {
        font-size: 1.5rem;
    }

    .gallery-container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .title-name {
        font-size: 1.8rem;
        max-width: 340px;
    }

    /* triangle button */
    .modal-body div.thumb {
        height: 60px;
        width: 60px;
    }

    .modal-body .button-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }

    .modal-body div.thumb .triangle {
        border-left-width: 20px;
        border-top-width: 15px;
        border-bottom-width: 15px;
    }

    button.close{
        top: 66px;
        right: 18px;
        width: 30px;
        height: 30px;
    }
    button.close:before, button.close:after {
        left: 8px;
    }

    #prevPage {
        margin-right: auto;
    }

    #nextPage {
        margin-left: auto;
    }

    button {
        width: auto;
        padding: 8px 5px;
    }

    .arrow {
        font-size: 1em;
    }

    .nav-text {
        margin-left: 8px;
    }

    .pages {
        width: 210px;
    }
    .descripcion-container{
        height: auto;
    }
    .ribbon{
        height: 40px;
        width: 20px;
    }
}

@media(max-width: 1200px) {
    div.nombre-container {
        opacity: 1 !important;
    }

    div.info-container {
        bottom: -90x;
    }

    .name-persona {
        font-size: 1.2rem;
    }

    .img-persona.desc {
        height: auto !important;
    }

    .p-interesar {
        font-size: 1.5rem;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 1000px !important;
        margin: 1.75rem auto;
    }
}