:root{
    --fuentePresentacion: 'Tai Heritage Pro', serif;
    --fuente: 'Source Sans Pro', sans-serif;
    --fuenteTit: 'Poly', serif;
    --azul: #0bf1dd;
    --azulSecundario: #026359;
    --azulTerciario: #52ACA3;
    --blanco: #fff;
    --negro: #000;
    --gris: #e1e1e1;
    --grisSecundario: #111;
    --grisTerciario: #5c5c5c;
}

html{
    box-sizing: border-box;
    font-size: 62.5%;
}

*, *:before, *:after{
    box-sizing: inherit;
}

body{
    font-family: var(--fuente);
    font-size: 1.6rem;
    line-height: 2;
    font-weight: 300;
}

/*--------------------------------------------Globales--------------------------------------------*/
.contenedor{
    max-width: 90%;
    margin: 0 auto;
}

a{
    text-decoration: none;
}

img{
    max-width: 100%;
}

/*--------------------------------------------Utilidades--------------------------------------------*/
.no-margin{
    margin: 0;
}

.no-padding{
    padding: 0;
}

.centrar-texto{
    text-align: center;
}

@media (min-width: 769px) {
    .header{
        opacity: 0;
    }
    
    .header:hover{
        opacity: 1;
    }
}

.animacion-entrada{
    opacity: 0.5;
    transition: all 1.5s;
}

.transform-up{
    transform: translateY(20%);
}

.transform-down{
    transform: translateY(-20%);
}

.transform-left{
    transform: translateX(20%);
}

.transform-right{
    transform: translateX(-20%);
}

.animacion-aparecer{
    opacity: 1;
    transform: none;
}

/*----------------------------------------------Promocion-------------------------------------------*/
.promocion{
    width: 100%;
    background-color: var(--azulSecundario);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.nombre-promo{
    color: var(--blanco);
    font-weight: 400;
    font-size: 2rem;
    text-align: center;
}

@media (max-width: 530px) {
    .nombre-promo{
        font-size: 1.6rem;
    }
}

.overlay-promo{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 100;
    display: none;
}

.overlay{
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 75%;
    background-color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    -webkit-box-shadow: 0px 0px 35px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 35px -10px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 35px -10px rgba(0,0,0,0.75);
}

.campo img{
    vertical-align: top;
}

.botones{
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.descargar{
    background-color: var(--azulSecundario);
    color: var(--blanco);
    font-weight: 400;
    padding: 1rem;
    cursor: pointer;
}

.cerrar{
    background-color: var(--grisTerciario);
    color: var(--blanco);
    font-weight: 400;
    padding: 1rem;
    cursor: pointer;
}

.fijar-body{
    overflow: hidden;
}

@media (max-width: 900px) {
    .overlay{
        height: 60%;
    }
}

@media (max-width: 768px) {
    .overlay{
        width: 75%;
    }
}

@media (max-width: 600px) {
    .overlay{
        height: 50%;
    }
}

@media (max-width: 500px) {
    .overlay{
        width: 90%;
    }
}

/*--------------------------------------------Presentacion------------------------------------------*/
.galeria{
    width: 100%;
}

.galeria-cont{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flecha-izquierda,
.flecha-derecha {
    position: absolute;
    border: none;
    background-color: transparent;
    top: calc(100% - 50%);
    cursor: pointer;
    z-index: 9;
}

.flecha-izquierda{
    left: 2%;
}

.flecha-derecha{
    right: 2%;
}

.galeria-slider{
    width: 100%;
}

.slider-img{
    width: 100%;
    height: 100vh;
    display: none;
    animation-name: example;
    animation-duration: 1.5s;
}

.slider-img:first-child{
    display: block;
}

@keyframes example {
    from {opacity: 0.3;}
    to {opacity: 1;}
}

.slider-fondo{
    width: 100%;
    display: block;
    height: inherit;
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.paginas{
    position: absolute;
    bottom: 5%;
    display: flex;
    gap: 2rem;
}

.pagina{
    border: 0.1rem solid var(--blanco);
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    cursor: pointer;
}

.active{
    border: none;
    background-color: var(--blanco);
}

@media (max-width: 820px) {
    .paginas{
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .paginas{
        display: grid;
        grid-template-columns: repeat(20, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 500px) {
    .paginas{
        grid-template-columns: repeat(15, 1fr);
    }
}

@media (max-width: 400px) {
    .paginas{
        grid-template-columns: repeat(10, 1fr);
    }
}

/*----------------------------------------------Bienvenida--------------------------------------------*/
.bienvenida{
    background-color: var(--blanco);
    padding: 15rem 0;
}

.b-contenedor{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.b-foto{
    background-color: var(--gris);
    display: flex;
    justify-content: center;
    align-items: center;
}

.b-foto img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: top;
}

.b-texto{
    background-color: var(--gris);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem;
    border-right: 5rem solid var(--azulSecundario);
}

.tit-b{
    text-align: center;
}

.tit-b{
    font-size: 3.2rem;
    font-family: var(--fuenteTit);
    letter-spacing: 0.5rem;
}

.par-b{
    font-size: 1.8rem;
    text-align: justify;
}

@media (max-width: 1100px) {
    .b-contenedor{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .b-texto{
        grid-column: 2 / 4;
    }

    .tit-b{
        font-size: 3rem;
    }
    
    .par-b{
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .b-contenedor{
        display: flex;
        flex-direction: column;
    }

    .b-texto{
        border-right: 2rem solid var(--azulSecundario);
    }
}

/*----------------------------------------------Acerca--------------------------------------------*/
.acerca{
    background-color: var(--gris);
    padding: 3rem 0;
}

.a-contenedor{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
}

.a-texto{
    background-color: var(--blanco);
    height: 70vh;
    grid-column: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    -webkit-box-shadow: 0px 0px 35px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 35px -10px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 35px -10px rgba(0,0,0,0.75);
}

.tits-b{
    font-size: 2.2rem;
}

.ancla-acerca{
    position: relative;
    display: block;
    padding: 1rem;
    color: var(--azulSecundario);
    font-weight: 600;
}

.border {
    position: absolute;
    left: 0;
    background: var(--azulSecundario);
    transition: transform 0.3s ease-in-out;
}

.border-top,
.border-bottom {
  width: 100%;
  height: 1px;
  transform: scaleX(0);
}

.border-left,
.border-right {
  width: 1px;
  height: 100%;
  transform: scaleY(0);
}

.border-top,
.border-left,
.border-right {
  top: 0;
}

.border-bottom {
  bottom: 0;
  transform-origin: bottom right;
}

.border-top {
  transform-origin: top left;
}

.border-left {
  transform-origin: bottom left;
}

.border-right {
  left: auto;
  right: 0;
  transform-origin: top right;
}

.ancla-acerca:hover .border-top,
.ancla-acerca:hover .border-bottom {
  transform: scaleX(1);
}

.ancla-acerca:hover .border-left,
.ancla-acerca:hover .border-right {
  transform: scaleY(1);
}

.ancla-acerca:hover .border-right {
  transition-delay: 0.2s;
}

.ancla-acerca:hover .border-bottom {
  transition-delay: calc(0.2s * 2);
}

.ancla-acerca:hover .border-left {
  transition-delay: calc(0.2s * 3);
}

.a-texto[data-animation="diagonal"] .border-left {
    transform-origin: top left;
  }
  
.a-texto[data-animation="diagonal"] .border-right,
.menu[data-animation="diagonal"] .border-bottom {
    transform-origin: bottom right;
}
  
.a-texto[data-animation="diagonal"] .ancla-acerca:hover [class^=border]{
    transition-delay: 0s;
}

.a-foto img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: top;
}

@media (max-width: 768px) {
    .a-contenedor{
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .a-texto{
        height: auto;
    }
}

/*-----------------------------------------------Galeria----------------------------------------------*/
.galerias{
    width: 100%;
    padding: 12.5rem 0 0rem 0;
}

.titulo-g{
    background-color: var(--blanco);
    padding: 2.5rem 0;
}

.hr{
    width: 80%; 
    border-color: var(--gris);
}

.tit-g{
    text-align: center;
    font-size: 3rem;
    font-family: var(--fuentePresentacion);
    letter-spacing: 0.5rem;
}

.galeria-ancla{
    width: 100%;
    position: relative;
}

.galeria-fondo{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.galeria-info{
    background-color: var(--blanco);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.tit-info{
    font-size: 2.5rem;
    color: var(--negro);
    text-align: center;
    font-family: var(--fuenteTit);
}

.cont-info{
    color: var(--negro);
    text-align: justify;
}

.anc-info{
    color: var(--azulSecundario);
    border: 0.1rem solid var(--azulSecundario);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

@media (min-width: 769px) {
    .tit-g{
        font-size: 4rem;
    }

    .galeria-info{
        position: absolute;
        z-index: 1;
        top: 0;
        bottom: 0;
        width: 35%;
        justify-content: center;
        border-top: 1rem solid var(--azulSecundario);
        border-bottom: 1rem solid var(--azulSecundario);
        background-color: rgba(255, 255, 255, 0.8);
    }

    .galeria-ancla:nth-child(odd) > .galeria-info{
        right: 0rem;
    }

    .galeria-ancla:nth-child(even) > .galeria-info{
        left: 0rem;
    }

    .anc-info:hover{
        transition: all .3s ease;
        transform: scale(1.1, 1.1);
    }
}

/*------------------------------------------Pantallas Grandes-----------------------------------------*/
@media (min-width: 1500px) {
    .tit-g{
        font-size: 4.2rem;
    }

    .tit-b{
        font-size: 3.4rem;
    }

    .tit-info{
        font-size: 2.7rem;
    }

    .tits-b{
        font-size: 2.4rem;
    }

    .nombre-promo{
        font-size: 2.2rem;
    }

    .par-b{
        font-size: 2rem;
    }

    .descargar, .cerrar, .ancla-acerca, .cont-info, .anc-info{
        font-size: 1.8rem;
    }
}

@media (min-width: 1750px) {
    .tit-g{
        font-size: 4.4rem;
    }

    .tit-b{
        font-size: 3.6rem;
    }

    .tit-info{
        font-size: 2.9rem;
    }

    .tits-b{
        font-size: 2.6rem;
    }

    .nombre-promo{
        font-size: 2.4rem;
    }

    .par-b{
        font-size: 2.2rem;
    }

    .descargar, .cerrar, .ancla-acerca, .cont-info, .anc-info{
        font-size: 2rem;
    }
}

@media (min-width: 2000px) {
    .tit-g{
        font-size: 4.6rem;
    }

    .tit-b{
        font-size: 3.8rem;
    }

    .tit-info{
        font-size: 3.1rem;
    }

    .tits-b{
        font-size: 2.8rem;
    }

    .nombre-promo{
        font-size: 2.6rem;
    }

    .par-b{
        font-size: 2.4rem;
    }

    .descargar, .cerrar, .ancla-acerca, .cont-info, .anc-info{
        font-size: 2.2rem;
    }
}

@media (min-width: 2250px) {
    .tit-g{
        font-size: 4.8rem;
    }

    .tit-b{
        font-size: 4rem;
    }

    .tit-info{
        font-size: 3.3rem;
    }

    .tits-b{
        font-size: 3rem;
    }

    .nombre-promo{
        font-size: 2.8rem;
    }

    .par-b{
        font-size: 2.6rem;
    }

    .descargar, .cerrar, .ancla-acerca, .cont-info, .anc-info{
        font-size: 2.4rem;
    }
}

@media (min-width: 2500px) {
    .tit-g{
        font-size: 5rem;
    }

    .tit-b{
        font-size: 4.2rem;
    }

    .tit-info{
        font-size: 3.5rem;
    }

    .tits-b{
        font-size: 3.2rem;
    }

    .nombre-promo{
        font-size: 3rem;
    }

    .par-b{
        font-size: 2.8rem;
    }

    .descargar, .cerrar, .ancla-acerca, .cont-info, .anc-info{
        font-size: 2.6rem;
    }
}

@media (min-width: 2750px) {
    .tit-g{
        font-size: 5.2rem;
    }

    .tit-b{
        font-size: 4.4rem;
    }

    .tit-info{
        font-size: 3.7rem;
    }

    .tits-b{
        font-size: 3.4rem;
    }

    .nombre-promo{
        font-size: 3.2rem;
    }

    .par-b{
        font-size: 3rem;
    }

    .descargar, .cerrar, .ancla-acerca, .cont-info, .anc-info{
        font-size: 2.8rem;
    }
}

@media (min-width: 3000px) {
    .tit-g{
        font-size: 5.4rem;
    }

    .tit-b{
        font-size: 4.6rem;
    }

    .tit-info{
        font-size: 3.9rem;
    }

    .tits-b{
        font-size: 3.6rem;
    }

    .nombre-promo{
        font-size: 3.4rem;
    }

    .par-b{
        font-size: 3.2rem;
    }

    .descargar, .cerrar, .ancla-acerca, .cont-info, .anc-info{
        font-size: 3rem;
    }
}

@media (min-width: 3250px) {
    .tit-g{
        font-size: 5.6rem;
    }

    .tit-b{
        font-size: 4.8rem;
    }

    .tit-info{
        font-size: 4.1rem;
    }

    .tits-b{
        font-size: 3.8rem;
    }

    .nombre-promo{
        font-size: 3.6rem;
    }

    .par-b{
        font-size: 3.4rem;
    }

    .descargar, .cerrar, .ancla-acerca, .cont-info, .anc-info{
        font-size: 3.2rem;
    }
}

@media (min-width: 3500px) {
    .tit-g{
        font-size: 5.8rem;
    }

    .tit-b{
        font-size: 5rem;
    }

    .tit-info{
        font-size: 4.3rem;
    }

    .tits-b{
        font-size: 4rem;
    }

    .nombre-promo{
        font-size: 3.8rem;
    }

    .par-b{
        font-size: 3.6rem;
    }

    .descargar, .cerrar, .ancla-acerca, .cont-info, .anc-info{
        font-size: 3.4rem;
    }
}