@font-face {
    font-family: MajritBn;
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Bold.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Black.woff) format("woff")
}

@font-face {
    font-family: MajritBn;
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Light.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Light.woff) format("woff")
}

@font-face {
    font-family: MajritBn;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Black.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Black.woff) format("woff")
}


@font-face {
    font-family: MarcinAntB;
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-regular-webfont.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-regular-webfont.woff) format("woff")
}

@font-face {
    font-family: MarcinAntB;
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-bold-webfont.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-bold-webfont.woff) format("woff")
}

@font-face {
    font-family: Majrit Text;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black.woff) format("woff")
}

@font-face {
    font-family: Majrit Txt;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Medium.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Medium.woff) format("woff")
}

@font-face {
    font-family: Majrit Txt;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black.woff) format("woff")
}

@font-face {
    font-family: Majrit Txt;
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black-Italic.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black-Italic.woff) format("woff")
}

.mw {
    background: #f7f7f3;
}
#main-content {
    background: #f7f7f3;
}
body .a_md_a {
  display: none;
}


/* apertura */

.apertura {
    height: 100vh;
    position: relative;
    background: #f7f7f3;
  
  }

  .apertura_contenedor {
    display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  }
  
  .apertura_textos{
    position: relative;
    padding: 20px 20px;
    box-sizing: border-box;
    text-align: left;
    align-self: flex-start;
  }


  .apertura h1 {
    font-family: MajritBn;
    font-style: normal;
    font-weight: 300;
    font-size: 45px;
    pointer-events: none;
    place-items: center;
    margin: 0;
    line-height: 1;
    color: black;
    text-transform: uppercase;
  }

  .apertura h1 span {
    display: block;
    font-size: 100px;
  }

  .gallery {
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 50%;
    height: 100%;
    order: 0;
    overflow: hidden;
    position: relative;
  }

.gallery:after {
    height: 100px;
    width: 100%;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(247, 247, 243,0) 0%, rgba(247, 247, 243,1) 100%);
     z-index: 9999999999;
}


  @media only screen and (max-width: 47.938em) {
    .gallery {
      width: 100%;
    }

    .col:nth-child(3) {
      display: none;
    }
    .movil {
        display: block;
    }

    body .a_e_txt {
      text-align: left;
    }

}
  
  .col {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 33.3333%;
    align-self: flex-start;
    justify-self: flex-start;
  }
  
  .col:nth-child(2) {
    align-self: flex-end;
    justify-self: flex-end;
  }
  
  .imagen {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

    .imagen img {
    width: auto;
    height: 170px;
    object-fit: contain;
    overflow: hidden;
    padding: 1rem 0;
    }
  
  .imagen:hover {
    z-index: 99999999999 !important;
    /*filter: saturate(1);*/
  }
  
  
  .contenedor {
    height: 2000vh;
  }



/* boton bajar */

  .apertura .bajar {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    visibility: visible;
    animation: bajar 3s infinite 3s, opacidad 1s forwards 2s;
    bottom: -7px;
  }
  
  .apertura .bajar span {
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    width: 15px;
    height: 15px;
    border-top: 1px solid black;
    border-right: 1px solid black;
    transform: rotate(135deg);
  }
  






@media (min-width: 48em){
  
  .apertura_contenedor {
    display: flex;
  flex-direction: row;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  }

  .gallery {
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 50%;
    height: 100%;
    order: 1;
    overflow: hidden;
  }

  .movil {
    display: none;
  }

    .apertura .bajar span {
      width: 22px;
      height: 22px;
    }
  
  
  
    .apertura .bajar {
      bottom: -25px;
    }

}


@media (min-width:62.5625em) {
   .apertura h1 {
    font-size: 80px;
    margin: 0;
    line-height: 1;
  }

  .apertura_contenedor {
    display: flex;
  flex-direction: row;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  }

    .apertura_textos{
    align-self: center;
  }

  .gallery {
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 50%;
    height: 100%;
    order: 1;
    overflow: hidden;
  }

  .movil {
    display: none;
  }

}

@media (min-width: 74.9375em) {

}


/* ANIMACIONES */
@keyframes aparece {
    from {
      opacity: 0;
      visibility: hidden;
    }
    to {
      opacity: 1;
      visibility: visible;
    }
}

@keyframes opacidad {
    100% {
      opacity: 1;
    }
}
  
@keyframes bajar {
    0%, 100% {
      transform: translateY(0rem);
    }
    25% {
      transform: translateY(-0.5rem);
    }
    50% {
      transform: translateY(0rem);
    }
    75% {
      transform: translateY(-0.25rem);
    } 
}
/* FIN - ANIMACIONES*/