@import url('https://fonts.googleapis.com/css2?family=Ephesis&family=Libre+Barcode+39+Extended+Text&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --index: calc(1vw + 1vh);
    --gutter: 20px;
    --side-small: 26;
    --size-big: 36;
    --depth: 4000px;
    --transition: 0.75s cubic-bezier(0.075, 0.5, 0, 1)
}

body {
    background-color: #fff;
    color: #000;
    font-size: calc(var(--index) * 0.8);
    font-family: sans-serif;
    line-height: 1.75;
    height: var(--depth);
    font-weight: 300;
}

.container {
    width: 100%;
    height: 100%;
    position: fixed;
    perspective: 1500px;
}

.galery {
    transform-style: preserve-3d;
    height: 100%;
}

.frame {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform-style: preserve-3d;
    opacity: 0;
}

.frame.init {
    transition: var(--transition), opacity 0.75s ease;
}

::-webkit-scrollbar {
    width: 0;
}

h1, h2, h3, h4 {
    font-weight: 100;
    text-transform: uppercase;
}

.frame h1 {
    text-align: center;
    font-size: calc(var(--index) * 6);
    line-height: 1;
    font-family: 'Libre Barcode 39 Extended Text', cursive;
}

h5 {
    text-align: center;
    font-size: calc(var(--index) * 4.75);
    font-family: 'Ephesis', cursive;
}

.frame h2 {
    text-align: center;
    font-size: calc(var(--index) * 4);
}

.frame h6 {
    text-align: center;
    font-size: calc(var(--index) * 1.75);
    font-family: 'Ephesis', cursive;
}

.frame__media {
    position: relative;
    height: calc(var(--index) * var(--side-small));
    width: calc(var(--index) * var(--size-big));
    background-position: center;
    background-size: cover;
}

.frame__media_left {
    right: calc(var(--size-big) / 2 * var(--index) + var(--gutter));
}
.frame__media_right {
    left: calc(var(--size-big) / 2 * var(--index) + var(--gutter));
}

.frame_bg {
    background-color: #fff;
}

.text-right > * {
    position: relative;
    left: 28vw;
}


.text-left > * {
    position: relative;
    right: 28vw;
}

.frame h3 {
    font-size: calc(var(--index) * 2);
    max-width: 40vw;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 5vh;
}

.frame h4 {
    font-size: calc(var(--index));
    max-width: 40vw;
    line-height: 1.25;
    text-align: left;
    margin-top: 3vh;
    margin-bottom: 1.5vh;
    font-weight: 600;
}

.frame p {
    max-width: 40vw;
    text-align: justify;
}

.frame_bg-darck {
    background-color: #fff;
}

.glass {
    width: 100vw;
    height: 100vh;

    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

    background-color: #fff;
    z-index: 100;

    overflow-y: scroll;
    opacity: 0;
}

.glass.active {
    opacity: 1;
}

.tour {
    position: absolute;
    bottom: 64px;
    right: 64px;
    height: 64px;
    width: 64px;

    border-radius: 16px;
    background-color: #f2f2f2;
    box-shadow: 10px 13px 11px -12px rgba(0,0,0,0.75);

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1b1b1b;
}



@media only screen and (max-width: 768px) {
    .frame__media_left {
        right: unset;
        bottom: calc(var(--size-big) / 2 * var(--index) + var(--gutter));
    }

    .frame__media_right {
        left: unset;
        top: calc(var(--size-big) / 2 * var(--index) + var(--gutter));
    }
    
    .text-right > * {
        position: relative;
        left: unset;
        top: 18vh;
    }
    .text-left > * {
        position: relative;
        bottom: 18vh;
        right: unset;
    }
    
    .frame h3 {
        max-width: 80%;
        left: 10%;
        text-align: center;
    }
    
    .frame p {
        left: 10%;
        max-width: 80%;
        text-align: justify;
    }

    .frame h4 {
        font-size: calc(var(--index));
        left: 10%;
        max-width: 80%;
        line-height: 1.25;
        text-align: left;
        margin-top: 3vh;
        margin-bottom: 1.5vh;
        font-weight: 600;
    }
    
}