.paralax {
    background: white fixed no-repeat 0% 0%;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portada {
    background-image: url('/imagenes/areasdepractica/banner1920.jpg');
    height: 600px;

}

.coverpage__col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coverpage__title {
    text-transform: uppercase;
    color: #c49c39;
    font-size: 60px;
    background-color: rgba(0, 0, 0, .8);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1010px;
    height: 200px;
}

.video-background{
    position: relative;
    width: 100%;
    background-color: rgba(0,0,0,0.2);
}

.video-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
    align-items: center
}
#video {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
  z-index: -1000;
}
video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translateX(-50%) translateY(-50%);
  background: url('') no-repeat;
  background-size: cover;
  transition: 1s opacity;
}

.portada_index {

    width: 100vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center
}


#video{
    z-index: -1;
    position: fixed;
    width: auto;
    height: auto;
    min-height: 100%;
    min-width: 100%;
}

.pya__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pya__title {
    font-size: 48px;
    color: #c49c39;
}

.pya__div-subtext {
    width: 50%;
}

.pya__subtext {
    font-size: 25px;
    text-align: justify;
}

@media (max-width: 768px) {
    .coverpage__title {
        font-size: 50px;
        width: 400px;
        height: 150px;
    }

    .pya__ilustration {
        width: 30vh;
    }

    .pya__title {
        font-size: 38px;
    }

    .pya__div-subtext {
        width: 80%;
    }

    .pya__subtext {
        font-size: 20px;
    }
}

@media (max-width: 468px) {
    .coverpage__title {
        font-size: 40px;
        width: 300px;
    }

    .pya__title {
        font-size: 28px;
    }

    pya__div-subtext {
        width: 100%;
    }

    .pya__subtext {
        font-size: 20px;
        text-align: left;
    }
}


@media (max-width: 767px) {
    #video{
        transform: translateX(-42%) translateY(0%);
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    #video{
        transform: translateX(-20%) translateY(0%);
    }
}
@media (min-width: 1024px) and (max-width: 1200px) {
    #video{
        transform: translateX(0%) translateY(0%);
    }
}
@media (min-width: 1200px) and (max-width: 1500px) {
    #video{
        transform: translateX(0%) translateY(0%);
    }
}
@media (min-width: 1500px) {
    #video{
        transform: translateX(0%) translateY(0%);
    }
}

@media (max-width: 575.98px) {
    .title-m {
        font-size: 30px !important;
    }
}
