* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    color:#1F1F1F;
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    transition: all 0.4s ease;
    height: 100%;
}

h1 {
    font-size: 40px;
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h2 {
    font-size: 20px;
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
}


.open-sans-bionas {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.bloque-header {
    position: fixed;
    z-index: 4;
    background: #FFFFFF;
    top: 0;
}

.cont-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.cont-header .logo-Biomas {
    background: url(../images/LogoBiomasChile.svg) no-repeat;
    width: 340px;
    height: 100px;
}

.cont-header .menu ul {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
}

.cont-header .menu li {
    margin-left: 10px;
}

.cont-header .menu li a {
    color: #1F1F1F;
    text-decoration: none;
    padding: 4px 24px;

}

.cont-header .menu li:hover a {
    transition: all 0.4s ease;
    color:#ffffff;
    background-color: #609436;
    border-radius: 16px;
}

.cont-header .menu .selected a {
    background-color: #609436;
    border-radius: 16px;
    color:#FFFFFF;
}

.cont-header .menu li.select a {
    color: #ffffff
}


/* Banner */

.bloque-banner {
    min-height: 520px;
    background-color: #215711;
    
}

.bloque-banner .container-fluid {
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

.bloque-banner .container-fluid .container {
    position: relative; 
    z-index: 3;
}

.video-container {
    width: 100%;
    height: 520px;
    position: absolute;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1;
    top: 0;
    right: 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    text-align: right;
}

video {
    width: auto;
    height: 520px;
    object-fit: cover;
    right: -60px;
    position: relative;
}

.overLight-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #215610 55%, rgba(96, 148, 54, 0.10) 100%);
} 

.fraseCTA {
    position: relative;
    z-index: 3;
    max-width: 550px;
    padding: 103px 0;
}

.fraseCTA .destacado {
    color: white;
    text-align: left;
    font-size: 30px;
}

.fraseCTA .bajada {
    font-size: 20px;
    font-weight: 100;
    color:#ffffff;
}

.urbanist {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.btn {
    display: block;
    width: auto;
    padding: 16px 24px;
    color:#1F1F1F;
    font-size: 16px;
    text-align: center;
    font-weight: 700;
}

.btn-principal {
    border-radius: 8px;
    background: #F0E36B;
}
.btn-principal:hover {
    background: #E7D850;
}


/* Servicios */

.bloque-servicios {
    padding-bottom: 50px;
    background: url(../images/bg-servicios2.png) no-repeat;
    background-size: cover;
}

.servicio {
    display: flex;
    flex-direction: row;
    margin: 50px auto 0;
    max-width: 1040px;
}

.tit-servicios {
    position: relative;
    top: -60px;
}

.servicio.left {
    display: flex;
    margin: 50px auto 0;
    max-width: 1040px;
    flex-direction: row;
}

.servicio.right {
    display: flex;
    margin: 50px auto 0;
    max-width: 1040px;
    flex-direction: row-reverse;
}

.servicio .images {
    display: flex;
    flex-direction: row;
}

.servicio.left .images img {
    margin-right: 20px;
    max-width: 220px;
    max-height: 220px;

}

.servicio.right .images img {
    margin-left: 20px;
    max-width: 220px;
    max-height: 220px;
}

.servicio .descrpcion h2 {
    color: #2C8FD6;
    font-weight: 600;
    font-size: 28px;
}

.servicio.left .descrpcion {
text-align: left;
}

.servicio.right .descrpcion {
    text-align: right;
}

/* En qué nos diferenciamos */

.bloque-diferencia {
    background: linear-gradient(103deg, #20360E 13.62%, #609436 83.54%);
}

.bloque-diferencia .col-lg-12 {
    padding: 30px 24px;
}

/* Equipo */

.equipo {
    display: flex;
    flex-direction: row;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.tit-nosotros {
    position: relative;
    top: -20px;
}

.equipo .integrante {
    display: flex;
    width: 50%;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.equipo .integrante .nombre {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.equipo .integrante .foto-perfil {
    margin: 24px auto;
}

.equipo .integrante .descrpcion {
    padding: 0 24px;
    font-size: 14px;
}

.equipo .integrante .descrpcion>b {
    width: 100%;
    text-align: center;
    font-size: 18px;
    display: block;
}


/* Footer contacto */

.grass {
    display: flex;
    background-image: url(../images/grass.png);
    background-size: cover;
    align-items: center;
    justify-content: center;
    padding: 24px;
    margin-top: 50px;
    text-align: center;
}

.contactanos {
    background: linear-gradient(103deg, #20360E 13.62%, #609436 83.54%);
    padding: 80px 0 60 0;
}

.datos-contacto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto 50px;
}

.datos-contacto .DatoContacto {
    display: flex;
    color: #FFFFFF;
    margin: 0 auto 24px;
    font-weight: 300;
}

.datos-contacto .DatoContacto .name {
    width: 125px;
}

.datos-contacto .DatoContacto .email {
    width: 225px;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
}

.datos-contacto .DatoContacto .fono {
    color: #FFFFFF;
    text-decoration: none;
}

.datos-contacto .DatoContacto .email:hover, .datos-contacto .DatoContacto .fono:hover {
    text-decoration: underline;
    color:#F0E36B
}

.datos-contacto .DatoContacto img {
    margin-left: 16px;
    margin-right: 8px;
    height: 24px;
    width: auto;
}

.datos-contacto .DatoContacto .group2data {
    display: flex;
}


.emailTeam {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.emailTeam span {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.emailTeam span img {
    margin-left: 16px;
    margin-right: 0px;
    height: 24px;
    width: auto;
}

.emailTeam  a  {
    width: 213px;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
}

.emailTeam  a:hover {
    text-decoration: underline;
    color: #F0E36B;
}

.derechos {
    background: #D9D9D9;
}

.derechos .logo-Biomas {
    background: url(../images/LogoBiomasChile.svg);
    background-size: contain;
    width: 166px;
    height: 50px;
    margin: 0 auto 10px;
}

.derechos p {
    font-size: 12px;
}

.section {
    padding-top: 148px;
}

/* CSS para efectos de aparecer bloques al scroll */

.reveal {
    position: relative;
    opacity: 0;
}

.reveal.active {
    opacity: 1;
}

.active.fade-bottom {
    animation: fade-bottom 1s ease-in;
}

.active.fade-left {
    animation: fade-left 1s ease-in;
}

.active.fade-right {
    animation: fade-right 1s ease-in;
}

.active.fade-in {
    animation: fadeIn 2s ease-in;
}

@keyframes fade-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes fade-left {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-right {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
  

/* Para carrusel de imágenes */

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 16)); /* velocidad de avance */
    }
}

.slider {
    height: 130px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/*.slider::before, .slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 200px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}*/

.slider .slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}

.slider .slide {
    height: 200px;
    width: inherit;
    text-align: center;
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}


.slider .slide img {
	width: fit-content;
	height: initial;
	max-height: 200px;
	vertical-align: middle;
}

/* Media Querys */

@media screen and (max-width:980px) {

    .cont-header {
        display: flex;
        flex-direction: column;
        padding: 24px 0;
        align-items: center;
    }

    .cont-header .logo-Biomas {
        background: url(../images/LogoBiomasChile.svg);
        background-size: cover;
        width: 180px;
        height: 50px;
        margin: 0 auto 20px;
    }

    .grass {
        padding: 16px;
    }

    .servicio.left,.servicio.right {
        flex-direction: column;
        align-items: center;
    }

    .servicio.left .descrpcion, .servicio.right .descrpcion {
        margin-top: 32px;
        text-align: center;
    }
    .overLight-video {
        background: linear-gradient(90deg, #215610 18.41%, rgba(96, 148, 54, 0.40) 65.96%);
    } 
}

@media screen and (max-width:768px) {
    .equipo {
        flex-direction: column;
    }
    .equipo .integrante {
        width: 100%;
        margin-bottom: 32px;
    }
    .datos-contacto {
        flex-direction: column;
        align-items: center;
    }
    .datos-contacto .fono {
        margin-bottom: 32px;
    }
    .servicio .images img {
        width: 160px;
        height: auto;
    }
    .cont-header .menu li {
        margin-left: 2px;
    }
    .cont-header .menu li a {
        color: #1F1F1F;
        text-decoration: none;
        padding: 4px 16px;
    }
    .fraseCTA {
        position: relative;
        padding: 60px 0;
    }
    .fraseCTA .destacado {
        font-size: 33px;
    }
    .fraseCTA .bajada {
        font-size: 18px;
        margin-bottom: 40px;
    }
    .datos-contacto .DatoContacto {
        flex-direction: column;
    }
    .datos-contacto .DatoContacto .name {
        margin-bottom: 10px;
        margin-left: 20px;
    }
    
}

@media screen and (max-width:576px) {
    .fraseCTA {
        padding: 30px 0;
    }
    .overLight-video {
        background: linear-gradient(180deg, #215610 52%, rgba(96, 148, 54, 0.40) 70.48%);
    }
    .video-background {
        top: auto;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }
    .video-background {
        top: auto;
        left: 0;
        bottom: 0;
        right: 0;
    }
    video {
        width: auto;
        height: 250px;
        right: 0;
        top: 269px;
        position: relative;
    }
    .tit-servicios {
        position: relative;
        top: 0px;
    }
    .datos-contacto .DatoContacto .group2data {
        flex-direction: column;
    }
    .datos-contacto .DatoContacto .groupdata {
    margin-bottom: 16px;
    }

}