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

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

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

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

:root {
    --trsn: all 0.5s ease 0s;
    --black: #000;
}

html {
    scroll-behavior: smooth;
}

/* GALERÍAS */
.bl-scroll-gallery {
    width: 100%;
    position: relative;
}

.bl-scroll-gallery#gallery_sf,
.bl-scroll-gallery#gallery_phil {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    /* height: 3030vh; */
    /*height: 1550vh; /8x150 + 8x11 > 1200 + 350 > 1550vh - 8 fotos*/
    height: 250vh !important;
}

/* IMÁGENES - STICKY */
.scroll-gallery-image {
    width: 100%;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
}

.scroll-gallery-image .scroll-gallery-item {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);

    width: 100%;
    height: 100%;

    opacity: 0;
    transition: all 0.5s linear;
}

.scroll-gallery-image .scroll-gallery-item.active {
    opacity: 1;
    transition: all 0.5s linear;
}

.scroll-gallery-image img.scroll-gallery-item,
.scroll-gallery-image video.scroll-gallery-item {
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

/* CARDS */
.scroll-gallery-content {
    position: absolute;
    top: 0px;
    left: 0px;

    width: 100%;
    height: auto;
}

.scroll-gallery-step {
    width: 100%;
    height: 100vh;
    /* margin-bottom: 50vh; */
}

.scroll-gallery-step {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .scroll-gallery-content .scroll-gallery-step:first-of-type {
                    margin-top: 40vh;
                }

                .scroll-gallery-content .scroll-gallery-step:last-of-type {
                    margin-bottom: 100vh;
                } */

.scroll-gallery-card {
    width: 100%;
    max-width: 340px;
    box-sizing: border-box;
    padding: 30px 30px 43px 30px;
    background-color: rgba(255, 255, 255, 0.5);
}

.scroll-gallery-card span {
    display: block;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5625rem;
    letter-spacing: -0.20px;
    text-align: left;
}

/* MEDIA QUERIES */
@media (min-width: 768px) {

    /* GALERÍAS */
    .scroll-gallery-step {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .scroll-gallery-card {
        margin-left: 8vw;
    }

    /* .scroll-gallery-step[data-index="1"] .scroll-gallery-card{
                        margin-left: inherit;
                        margin-right: 8vw;
                    } */
}

@media (min-width: 1001px) {

    /* GALERÍAS */
    .scroll-gallery-image img.scroll-gallery-item,
    .scroll-gallery-image video.scroll-gallery-item {
        object-fit: cover;
        max-height: none;
        object-position: top;
        top: 0px;
        transform: translateY(0px);
        aspect-ratio: unset;
        height: 100%;
    }
}