.apertura,
.apertura * {
  box-sizing: border-box;
}

#apertura {
  height: auto;
}

.apertura_contenedor {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  text-align: center;
}

.apertura_imagen {
  background: #000;
  position: relative;
  order: 1;
  width: 100%;
  min-height: 12.5rem;
}

.apertura_imagen img,
.apertura_imagen video {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.apertura_imagen video.escritorio {
    display: none
}

.apertura_imagen span {
  position: absolute;
  top: calc(100% + 0.625rem);
  left: 0.625rem;
  color: #878787;
  font-size: 0.75rem;
  line-height: 1;
  font-family: MarcinAntB;
  font-weight: normal;
  z-index: 1;
}

.apertura_texto h1 {
  font-family: MajritBn;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  font-size: 2.1875rem;
  letter-spacing: -0.03125rem;
  color: black;
  margin: 0 auto 0;
  opacity: 0;
  visibility: hidden;
  animation: opacidad 0.5s forwards;
  animation-delay: 0.5s;
}

.apertura_texto h2:after {
  content: '';
  display: block;
  width: 2.0625rem;
  height: 0.0625rem;
  background: black;
  margin: 1.5625rem auto;
}

.apertura_texto {
  margin: 3.125rem auto;
  padding: 0rem 1.25rem;
}

.apertura_texto h2 {
  font-family: MajritBn;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5;
  font-size: 1.625rem;
  letter-spacing: -0.01875rem;
  color: black;
  max-width: 19.375rem;
  margin: 0 auto 1.5625rem;
  opacity: 0;
  visibility: hidden;
  animation: opacidad 0.5s forwards;
  animation-delay: 0.15s;
}

.apertura_play {
  display: block;
  width: 5.625rem;
  margin: 0 auto 3.125rem;
}

.apertura_play span {
  display: block;
  width: 5.5rem;
  margin: 0 auto;
}

.apertura_play svg polygon {
  opacity: 0;
  animation: opacidad 0.5s forwards;
  animation-delay: 2s;
}

.apertura_play svg circle {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: linea 0.75s linear forwards;
  animation-delay: 1.5s;
}

.apertura_play strong {
  font-family: MarcinAntB;
  font-style: normal;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1;
  text-transform: uppercase;
  color: black;
  display: block;
  margin-top: 0.9375rem;
  opacity: 0;
  visibility: hidden;
  animation: opacidad 0.5s forwards;
  animation-delay: 2s;
  width: 13.75rem;
  transform: translateX(-50%);
  position: relative;
  left: 50%;
}

.apertura .bajar {
  display: none;
  text-align: left;
  margin: 1.25rem auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  visibility: visible;
  animation: bajar 3s infinite 2s, opacidad 1s forwards 2s;
}

.apertura .bajar span {
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  width: 0.9375rem;
  height: 0.9375rem;
  border-top: 0.0625rem solid black;
  border-right: 0.0625rem solid black;
  transform: rotate(135deg);
}

.apertura_video {
  background: black;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s;
  overflow: hidden;
  padding-top: 3.125rem;
  box-sizing: border-box;
}

.apertura_video.activo {
  opacity: 1;
  visibility: visible;
  z-index: 110;
  position: fixed;
}

.apertura_video_cerrar {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  width: 1.875rem;
  height: 1.875rem;
  color: white;
  cursor: pointer;
  text-indent: -6666rem;
  overflow: hidden;
  z-index: 9;
}

.apertura_video_cerrar:after,
.apertura_video_cerrar:before {
  content: '';
  display: block;
  width: 100%;
  height: 0.125rem;
  background: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.apertura_video_cerrar:before {
  transform: translateX(-50%) rotate(135deg);
}

.apertura_video_contenido {
  display: block;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.apertura_video_iframe {
  height: calc(100vh - 6.25rem);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 61.25rem;
  margin: auto;
}

.a .a_k,
.a .a_t {
  display: none;
}

.a .a_e {
  background: black;
  color: white;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 1.5625rem 1.5625rem 0.625rem;
  margin-bottom: 1.875rem;
  box-sizing: border-box;
}

.a .a_e .a_st {
  color: white;
  line-height: 1.4;
  max-width: 28.125rem;
}

/*
  SWIPER
*/
.swiper {
  position: relative;
  overflow: hidden;
  list-style: none;
  z-index: 1;
  width: 100%;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.swiper-android .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px,0,0);
}

.swiper-pointer-events {
  touch-action: pan-y;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  padding-top: 0;
}

.swiper-slide-invisible-blank {
  visibility: hidden;
}

.swiper-css-mode>.swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.swiper-horizontal.swiper-css-mode>.swiper-wrapper {
  scroll-snap-type: x mandatory;
}

.swiper-button-lock {
  display: none;
}

.swiper-pagination.swiper-pagination-hidden {
  opacity: 0;
}

.swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.625rem;
}

.swiper-pagination-bullet {
  cursor: pointer;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 0.125rem;
  display: block;
  position: relative;
}

.swiper-pagination-bullet:before {
  content: '';
  display: block;
  width: 0.1875rem;
  height: 0.1875rem;
  border-radius: 50%;
  background: #4a4a4a;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: all 0.15s;
}

.swiper-pagination-bullet-active:before {
  width: 0.4375rem;
  height: 0.4375rem;
  background: #00b1ff;
}

.swiper-button-next,
.swiper-button-prev {
  width: 2.625rem;
  height: 2.625rem;
  z-index: 10;
  cursor: pointer;
  display: block;
  align-items: center;
  justify-content: center;
  text-indent: -9999px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 38%;
  display: none;
  opacity: 0.75;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  display: none;
  cursor: auto;
  pointer-events: none;
}

.swiper-button-next {
  background-image: url('../img/next.svg?v2');
  right: 0.625rem;
}

.swiper-button-prev {
  background-image: url('../img/prev.svg?v2');  
  left: 0.625rem;
}

.galeria_imagen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.galeria_imagen.vertical img {
  width: 48.25%;
  margin-left: auto;
  margin-right: auto;
}

.galeria_pie {
  padding-top: 0.625rem;
}

.galeria_pie p {
  margin: 0;
  color: #111;
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: right;
}

.galeria_pie p strong {
  display: block;
  font-size: 0.625rem;
  font-weight: bold;
  text-transform: uppercase;
}


@media (min-width: 48em){
  .apertura_contenedor {
    min-height: calc(100vh - 3.3125rem);
    max-height: calc(100vh - 3.3125rem);
    flex-direction: row;
    align-items: normal;
  }

  .apertura_texto h2,
  .apertura_texto h1 {
    margin: 0px auto;
  }

  .apertura_imagen {
    order: 0;
    width: 50%;
    position: relative;
  }

  .apertura_imagen:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    animation: width 1s 1s forwards;
  }

  .apertura_imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .apertura_imagen video.escritorio {
        display:block
  }

  .apertura_imagen video.movil {
        display: none
  }

  .apertura_texto {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .a .a_e {
    padding-top: 2.5rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
    
}

@media (min-width: 62.5625em){
  .apertura_imagen img {
    max-height: calc(100vh - 3.3125rem);
  }

  .apertura_texto {
    position: relative;
  }

  .apertura_texto h1 {
    font-size: 3.3125rem;
    letter-spacing: -0.04375rem;
    margin-top: auto;
    max-width: 30rem;
  }

  .apertura_texto h2 {
    font-size: 1.75rem;
    letter-spacing: -0.019375rem;
  }

  .apertura_play {
    margin-bottom: auto;
  }

  .apertura .bajar {
    display: block;
    position: absolute;
    bottom: 0.625rem;
    left: 50%;
    margin-left: -0.6875rem;
  }

  .apertura .bajar span {
    width: 1.375rem;
    height: 1.375rem;
  }

  .a .a_e {
    padding-top: 3.75rem;
    padding-bottom: 2.5rem;
  }

  .a .a_e .a_st {
    max-width: 50rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: 41.5%;
  }

  .galeria_pie p {
    font-size: 0.875rem;
    line-height: 1.125rem;
  }

  .galeria_pie p strong {
    font-size: 0.75rem;
  }

}

@media (min-width: 74.9375em){
  .apertura_video_iframe {
    width: calc(100vw - 6.25rem);
    max-width: 80rem;
  }  
}

@media (min-width:  90em) {
  .apertura_texto h1 {
    font-size: 3.75rem;
    max-width: 35.625rem;
  }
}

/* ANIMACIONES */
@keyframes bajar {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-0.3125rem);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-0.15625rem);
  } 
}

@keyframes opacidad {
  100% {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes width {
  100% {
    width: 0;
  }
}

@keyframes linea {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}