section#video{
    min-height: 1040px;
    padding-bottom: 10px;
}

section#video .wrap{
    top: initial;
    margin-top: 190px;
    transform: translateY(0);
    position: relative;
    left: initial;
}

section#video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

section#video video.videoMovil{
    display: none;
}

section#video::after{
    opacity: 1;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 100%);
    height: 100%;
}

section#video p{
    color: var(--color-naranja);
    font-size: 2rem;
    margin: 17px 0 46px;
}

section#video p b{
    font-weight: 700;
}

section#video #tags{
    display: grid;
    grid-template-columns: 178px 1fr;
}

section#video #tags > div:nth-child(2){
    padding-top: 1px;
}

section#video #tags > div:nth-child(1){
    width: 178px;
    height: 178px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section#video #tags > div:nth-child(2) div{
    height: 48px;
    padding: 0 30px;
    border: 1px solid var(--color-naranja);
    border-left: none;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-naranja);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -1px;
}

h2{
    text-align: left;
    color: var(--color-blueS-reaktiva);
    font-size: 4rem;
    line-height: 4.4rem;
    margin: 330px 0 10px;
    max-width: 900px;
}

section#video #reto_mision_vision{
    display: flex;
    gap: 40px;
}

section#video #reto_mision_vision p{
    width: 290px;
    font-size: 1.6rem;
    line-height: 2rem;
    color: var(--color-blueS-reaktiva);
}

section.fotos .wrap{
    display: flex;
    flex-direction: column;
}

section.fotos img{
    width: 100%;

}

h3{
    font-size: 14rem;
    line-height: 14rem;
    text-align: center;
    margin: 150px 0 170px;
    color: var(--color-blueS-reaktiva);
}

h3 b{
    font-weight: 800;
    color: var(--color-blueS-reaktiva);
}

h4{
    font-size: 4rem;
    line-height: 4.4rem;
    text-align: center;
    font-family: "BionBook";
    color: var(--color-blueS-reaktiva);
}

h4 b{
    font-weight: 700;
}

section.titular{
    margin: 140px 0 110px;
}

.grid-item {
    width: 50%;
    float: left;
  }
  
  .grid-item img {
    display: block;
    max-width: 100%;
  }

section.titular p{
    max-width: 660px;
    width: 100%;
    color: var(--color-blueS-reaktiva);
    font-size: 1.6rem;
    line-height: 2rem;
    margin: 20px auto 0;
    text-align: center;
}

section.testimonios{
    margin: 200px 0;
    text-align: center;
}

h5{
    font-size: 1.6rem;
    line-height: 2rem;
    text-align: center;
    font-family: "BionBook";
    color: var(--color-blueS-reaktiva);
}

h5 b{
    font-weight: 700;
}

section.testimonios p{
    font-size: 4rem;
    line-height: 4.6rem;
    text-align: center;
    font-family: "BionBook";
    color: var(--color-blueS-reaktiva);
    margin: 50px auto 65px;
    max-width: 1000px;
    width: 100%;
}

section.testimonios img{
    margin-top: 22px;
}


footer{
    background-image: url(../img/re2_2.png);
    background-repeat: no-repeat;
    background-position: 0 bottom;
    background-size: 632px auto;
    text-align: center;
}

footer div.wrap{
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    position: relative;
}

footer > div img{
    margin: 0 0 25px;
    display: inline;
}

footer a{
    color: var(--color-naranja);
    display: flex;
    justify-content: right;
    font-size: 1.6rem;
}

.observer{
    opacity: 0;
    transform: translateY(50px);
    transition: 0.5s;
}

.observer.observed{
    opacity: 1;
    transform: translateY(0px);
}

@media only screen and (max-width: 1280px){
    section#video .wrap {
        width: 93%;
        padding-top: 0;
    }
}

@media only screen and (max-width: 1000px){
    h2 {
        margin: 160px 0 10px;
    }

    h3{
        font-size: 10rem;
        line-height: 10rem;
    }
}

@media only screen and (max-width: 770px) {
    section#video{
        min-height: 615px;
        padding-bottom: 710px;
        height: auto;
    }
}

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

    header > div a#logo {
        background-color: var(--color-blanco);
    }

    section#video{
        min-height: 615px;
        padding-bottom: 70px;
        height: auto;
    }

    section#video video.videoPC{
        display: none;
    }

    section#video video.videoMovil{
        display: block;
    }

    section#video #tags > div:nth-child(2){
        display: none;
    }

    section#video .wrap{
        top: 0px;
        width: 83%;
        left: 0px;
        right: 0px;
        text-align: center;
    }

    section#video .wrap h1{
        width: 80%;
        margin: 0 auto;
    }

    section#video p{
        font-size: 1.6rem;
        line-height: 2rem;
        margin: 27px 0 0px;
    }

    section#video #tags{
        grid-template-columns: 1fr;
        justify-items: center;
        margin-top: 240px
    }

    section#video #tags > div:nth-child(1) {
        width: 138px;
        height: 138px;
    }

    section#video .wrap img {
        width: 60%;
    }

    h2{
        max-width: 350px;
        margin: 50px auto 5px;
        font-size: 2.7rem;
        line-height: 2.7rem;
        text-align: center;
    }

    section#video #reto_mision_vision{
        flex-direction: column;
        max-width: 350px;
        margin: 0 auto;
        gap: 0;
    }

    section#video #reto_mision_vision p{
        width: 100%;
    }

    section.title{
        width: 90%;
        margin: 0 auto;
    }

    h3{
        font-size: 4rem;
        line-height: 4.3rem;
        margin: 80px 0;
    }

    section.titular{
        width: 90%;
        margin: 120px auto;
    }

    section.titular p {
        margin: 30px auto 0;
    }

    h4{
        font-size: 2.7rem;
        line-height: 2.7rem;
    }

    .grid-item{
        width: 100%;
    }

    section.testimonios{
        width: 90%;
        margin: 120px auto;
    }

    section.testimonios p {
        font-size: 2.7rem;
        line-height: 2.7rem;
        margin: 70px auto 65px;
        width: 90%;
    }

    footer a{
        justify-content: center;
    }
}