body {
    margin: 0;
}

.book-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    padding: 10px;
    transform: translate(0, 0);
    transition: all 0.1s ease;
    pointer-events: all;
    cursor: pointer;
    &:hover {
        transform: translate(5px, -5px);
    }
}

.is-on-images .book-button {
    display: none;
}

.backgrounds {
    position: fixed;
    top: 0;
    left: 0;
    /* min-width: 100vw; */
    /* width: calc(100vw -var(--scrollbar-width, 20px)); */
    min-height: 100vh;
    right: 0;
    z-index: -100;
}

.backgrounds > video {
    position: relative;
    min-width: calc(100vw - var(--scrollbar-width, 20px));
    object-fit: cover;
    left:50%;
    transform: translate(-50%, 0);
    object-position: center;
    /* min-height: 100vh; this makes problems on ios, not correct when urlbar shows / hides */
    max-height: 100.3vh;
    margin: 0;
    padding: 0;
}

.backgrounds.landscape > video {
    min-height: 100.3vh;
}

.opaques {
    margin-top: -25px;
    width: 100vw;
    max-width: calc(100vw - var(--scrollbar-width, 20px));
    display: flex;
    flex-direction: column;
    gap:0px;
}
.opaques img{
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}
.calendar__wrapper {
    margin-bottom: 2rem;
}

/* media query landscape format */
@media (orientation: landscape) {
    .landscape {
        display: block;
    }

    .portrait {
        display: none;
    }
}

@media screen and (orientation: portrait) {
    .landscape {
        display: none;
    }
    .portrait {
        display: block;
    }
}



body {
    overflow-x: hidden;
}
/* not the opaques */
.foregrounds > img {
    max-width: calc(100vw - var(--scrollbar-width, 20px));
    min-width: calc(100vw - var(--scrollbar-width, 20px));
    height: auto;
    object-fit: cover;
}



.spacer {
    height: 100vh;
}
@media screen and (orientation: landscape) {
    .spacer.half {
        height: 50vh;
    }
    
}

.spacer.half {
    height: 50vh;
}

.next {
    height: 20px;
    text-align: center;
    color: black;

    >span {
        display: none;
    }
}


.fadein {
    opacity: 1;
    transition: opacity .7s linear;

}

.fadein.inview {
    opacity: 1;
}
