body {
    margin: auto;
    height: 100%;
}

/*** HERO ***/

.bg-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center top;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -100;
}

.gradient-bg {
    display: inline-block;
}

.gradient-bg::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: -100px;
    height: 800px;
    background: linear-gradient(0deg, rgba(0,0,0,0), black);
    z-index: -1;
}

.hero-text {
    padding: 325px 60px 0px;
}

.title {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 70px;
    font-weight: bold;
    color: white;
}

.subtitle {
    margin-top: -40px;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    font-weight: lighter;
    color: white;
}

.contact-btn {
    background-color: #33845C;
    font-family: Gothic A1, Tahoma, Geneva, Verdana, sans-serif;
    border: none;
    border-radius: 4px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.hero {
    height: 750px;
}

/*** QUIÉNES SOMOS ***/

.quienes-somos {
    color: white;
    background: #33845C;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
}

.quienes-somos h2 {
    font-family: Gothic A1, sans-serif;
    font-size: 30px;
    text-align: center;
    font-weight: lighter;
    flex: 0 0 800px;
}

/*** MISIÓN Y VISIÓN ***/

.mision-vision {
    color: black;
    background: white;
    width: 100%;
    height: auto;
    left: 0;
    padding-bottom: 100px;
}

.mision, .vision {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mision-text, .vision-text {
    text-align: center;
    font-family: Gothic A1, Tahoma, sans-serif;
    flex: 0 0 30%;
}

.mision-text {
    padding-right: 18%;
}

.vision-text {
    padding-left: 20%;
}

.mision-image, .vision-image {
    max-width: 70%;
    max-height: 100%;
}

.mision-image {
    padding-left: 28%;
}

.mision h2, .vision h2{
    font-size: 50px;
    font-weight: bold;
}

.mision h3, .vision h3 {
    font-size: 20px;
    font-weight: lighter;
}

/*** VALORES ***/

.valores-bg {
    background: white;
    height: 400px;
    padding-bottom: 120px;
}

/* Título de los valores */
.titulo-valores {
    color: black;
    height: 100%;
    width: 60%; 
    font-size: 50px;
    font-weight: bolder;
    text-align: center;
    font-family: Gothic A1, Tahoma, sans-serif;
    margin: 0 20% -140px; 
}
  
/* Slider de los valores */
.slider {
    font-family: Gothic A1, Arial, sans-serif;
    color: black;
    font-weight: 100;
    max-height: 100vh;
    max-width: 100vw;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}
.slider__slide {
    height: 100vh;
    min-width: 100vw;
    font-size: 4rem;
    display: flex;
    flex: none;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
}  
/* Esconde el scrollbar */
.slider::-webkit-scrollbar {
    display: none; /* Safari, Google Chrome, Opera,  */
}
.slider {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
  
/* Flechas */
.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    /*Tamaño de las flechas*/
    padding: 1%;
}
.right-arrow {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    /*Padding derecho de la flecha*/
    right: 15rem;
}
.left-arrow {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    /*Padding izquierdo de la flecha*/
    left: 15rem;
}
.right-arrow, .left-arrow {
    position: absolute;
    margin-top: 300px;
    z-index: 2;
    cursor: pointer;
}
/* Flechas responsive */
@media screen and (max-width: 720px) {
    .right-arrow::before,
    .right-arrow::after,
    .left-arrow::before,
    .left-arrow::after {
      width: 32px;
      height: 12px;
    }
    .right-arrow::after,
    .left-arrow::after {
      bottom: 16px;
    }
    .right-arrow::before,
    .left-arrow::before {
      top: 20px;
    }
    .right-arrow::before,
    .right-arrow::after {
      right: 0;
    }
}

/*Texto de los valores*/
.valor-texto {
    font-family: Gothic A1, Tahoma, sans-serif;
    opacity: 100%;
}
.valor-texto h3 {
    font-size: 30px;
    font-weight: bold;
}
.valor-texto p {
    font-size: 20px;
    font-weight: lighter;
}
.valor1, .valor2, .valor3, .valor4, .valor5 {
    float: right;
    width: 30%;
    margin-right: 15%;
    margin-top: 30px;
}
  
/*Imágenes de los valores*/
.valor-imagen img {
    float: left;
    margin-left: 15%;
    width: 30%;
    height: 80%;
}

/*** INSTAGRAM ***/

.instagram {
    background-color: white;
    height: 600px;
    padding-top: 100px;
}

/*** TRANSITIONS ***/

/*Los elementos de esta clase empiezan con una opacidad 0 hasta que se llega al 40% de estos y se activa la función que los muestra*/
.fade-in {
    opacity:0;
    transform: translateY(40%);
    transition: all 2s ease-out;
}

/*Cuando se agrega esta clase al activarse la función, la opacidad se cambia de 0 a 4*/
.active {
    opacity: 4;
    transform: translateY(0);
}

.valorAnimacion {
    animation: valorAnimacion 3s;
    /*Cuando se acaba la animación vuelve a su estado original (opacity: 0;) entonces se debe poner la opacidad a 100%*/
    opacity: 100%;
}

@keyframes valorAnimacion {
    from {opacity: 0;}
    to {opacity: 100%;}
}

/*Cuando la página se refresca, se activa la función de los keyframes 'fadeIn'*/
.fade-in-text {
    animation: fadeIn 2s;
    -webkit-animation: fadeIn 2s;
    -moz-animation: fadeIn 2s;
    -o-animation: fadeIn 2s;
    -ms-animation: fadeIn 2s;
}
  
/*Keyframes de lo que ocurre (en este caso se cambia la opacidad de 0 a 1) al activar la función*/
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
  
@-moz-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
  
@-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
  
@-o-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
  
@-ms-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}