@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@100;400&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: AmericanTypewriter;
    src: url(../../fonts/american-typewritter.ttf);
}

.page {
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: 100svh;
    overflow-x: scroll;
    overflow-y: hidden;
}

.main {
    height: 100%;
    background: black;
    aspect-ratio: 16/9;
    width: auto;
}

.back-btn-wrapper {
    position: fixed;
    left: 2vw;
    top: 1vw;
    width: max-content;
    border-radius: 50%;
    z-index: 10;
    transition: .4s;
}

.back-btn-wrapper svg {
    transition: .4s;
    border-radius: 50%;
    width: 8vw;
    height: 8vw;
    max-width: 24px;
    max-height: 24px;
}

.back-btn-wrapper svg:hover {
    box-shadow: 2px 2px 50px #08f21e,
    -2px 2px 50px #08f21e,
    2px -2px 50px #08f21e,
    -2px -2px 50px #08f21e;
}

.page p {
    font-family: 'AmericanTypewriter', sans-serif;
    color: rgba(255, 255, 255, 0.84);
    font-size: .9rem !important;
    line-height: 1.1em !important
}

.page .main-img {
    min-width: 992px;
}

@media  only screen and (min-aspect-ratio: 16/9) {
    .main {
        aspect-ratio: 16/9;
        width: 100vw;
        height: max-content;
    }

    .page {
        width: 100%;
        min-height: 100svh;
        overflow-x: hidden;
        overflow-y: scroll;
    }
}

@media only screen and (min-width: 992px) {
    .back-btn-wrapper svg {
        max-width: 36px;
        max-height: 36px;
    }

    .page .main-img-wrapper {
        overflow-x: hidden;
    }
}

@media only screen and (min-width: 1540px) {
    .back-btn-wrapper svg {
        max-width: 48px;
        max-height: 48px;
    }
}


@media (hover: none) and (pointer: coarse) {
    .page {
        height: 100svh;
        scrollbar-color: #08f21e #C2D2E4;
    }

    /* width */
    ::-webkit-scrollbar {
        height: 10px !important;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        background: #3f3f3f;
        min-width: 100px !important;
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: #08f21e;
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

}