html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'OpenSans', sans-serif;
    background-color: black;
}

@font-face {
    font-family: "Korolev Compressed W04 Medium";
    src: url("https://db.onlinewebfonts.com/t/fcd315fc7303e0dbb2d252449742c84c.eot");
    src: url("https://db.onlinewebfonts.com/t/fcd315fc7303e0dbb2d252449742c84c.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/fcd315fc7303e0dbb2d252449742c84c.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/fcd315fc7303e0dbb2d252449742c84c.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/fcd315fc7303e0dbb2d252449742c84c.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/fcd315fc7303e0dbb2d252449742c84c.svg#Korolev Compressed W04 Medium")format("svg");
}

body::-webkit-scrollbar {
    height: 12px;
    background-color: black;
}

body::-webkit-scrollbar-thumb {
    background-color: transparent;
}


/* PC */
@media (min-width: 900px) {
    .menu-button {
        display: none;
    }


    .page {
        display: flex;
        flex-direction: column;
        height: 81em;
    }

    .header {
        padding: 2vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        color: black;
        width: 100%;
        z-index: 100;
        text-align: center;
    }


    .header-content {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header a {
        color: #000;
        text-decoration: none;
        margin: 1.2em;
    }

    .header h1 {
        font-size: 3vh;
        margin: 0;
    }

    .logo {
        text-align: left;
        margin-right: 2em;
    }

    .links {
        justify-content: center;
        text-align: center;
    }

    nav {
        flex: 1;
        text-align: center;
    }

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
    }

    nav ul li {
        margin-right: 1.5em;
    }

    nav ul li:last-child {
        margin-right: 0em;
    }

    nav ul li a {
        text-decoration: none;
        color: #fff;
        font-size: 1.5vh;
    }

    .top-link {
        position: relative;
        text-decoration: none;
        color: #000;
    }

    .top-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 0.13em;
        background-color: #000;
        transition: width 0.8s ease-in-out;
        transform: translateX(-50%);
    }

    .top-link:hover::before {
        width: 100%;
    }

    .first-section {
        overflow-x: hidden;
        overflow-y: hidden;
        white-space: nowrap;
        display: flex;
        align-items: center;
        background-color: black;
    }

    .image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        transition: transform 0.3s;
        position: relative;
        z-index: 0;
        margin-left: 2vh;
        transition: transform 0.5s ease;
    }

    .image-container img {
        padding-top: 22vh;
        margin: 0 80px;
        vertical-align: middle;
        object-fit: contain;
        max-height: 100%;
        transition: transform 0.8s ease;
        z-index: 0;
    }

    .scrolling-text {
        color: white;
        font-size: 7vh;
        width: 60%;
        transform: scaleX(1.2);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .zoomable-image {
        transition: transform 0.3s;
        width: 40vh;
        height: 40vh;
    }

    .zoomable-image:hover {
        transform: scale(1.5);
        z-index: 1;
    }
    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: black;
        text-align: center;
        padding: 2vh 0;
    }

    .scrolling-text h1 {
        color: white;
        font-size: 7vh;
        width: 100%;
        transform: scaleX(1.4);
        white-space: nowrap;
        justify-content: center;
        align-items: center;
        font-family: 'Solitreo', cursive;
        margin-left: 55%;
    }

    .scrollbar-container {
        width: 60%;
        margin: 0 auto;
    }

    .scrollbar {
        -webkit-appearance: none;
        width: 100%;
        height: 10px;
        border-radius: 5px;
        background-color: #4e4e4e;
    }

    .scrollbar::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 25px;
        height: 10px;
        border-radius: 5px;
        background-color: #ffffff;
    }

    #fullscreen-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1000000;
        cursor: pointer;
        overflow: hidden;
    }

    #fullscreen-image {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        cursor: zoom-out;
        z-index: 1000000000;
    }
}

/* PC */
@media (max-width: 899px) {
    #toggle-menu {
        color: black;
        background-color: white;
        font-size: 1.5vh;
        border-color: black;
    }
    .menu-button {
        display: block;
        float: left;
        margin-top: 10px;
    }

    .links ul {
        display: none;
        text-align: center;
        justify-content: center;
        font-size: 2vh;
    }

    .links ul.show-menu {
        display: block;
    }

    .page {
        display: flex;
        flex-direction: column;
    }

    .header {
        padding: 2vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        color: black;
        width: 100%;
        z-index: 100;
        text-align: center;
    }


    .header-content {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header a {
        color: #000;
        text-decoration: none;
        margin: 1.2em;
    }

    .header h1 {
        font-size: 3vh;
        margin: 0;
    }

    .logo {
        text-align: left;
        margin-right: 2em;
    }

    .links {
        justify-content: center;
        text-align: center;
    }

    nav {
        flex: 1;
        text-align: center;
    }

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
    }

    nav ul li {
        margin-right: 1.5em;
    }

    nav ul li:last-child {
        margin-right: 0em;
    }

    nav ul li a {
        text-decoration: none;
        color: #fff;
        font-size: 1.5vh;
    }

    .top-link {
        position: relative;
        text-decoration: none;
        color: #000;
    }

    .top-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 0.13em;
        background-color: #000;
        transition: width 0.8s ease-in-out;
        transform: translateX(-50%);
    }

    .top-link:hover::before {
        width: 100%;
    }

    .first-section {
        overflow-x: hidden;
        overflow-y: hidden;
        white-space: nowrap;
        display: flex;
        align-items: center;
        background-color: black;
    }

    .image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        transition: transform 0.3s;
        position: relative;
        z-index: 0;
        margin-left: 2vh;
        transition: transform 0.5s ease;
    }

    .image-container img {
        padding-top: 22vh;
        margin: 0 10px;
        vertical-align: middle;
        object-fit: contain;
        max-height: 100%;
        transition: transform 0.8s ease;
        z-index: 0;
    }

    .scrolling-text {
        color: white;
        font-size: 7vh;
        width: 60%;
        transform: scaleX(1.2);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .zoomable-image {
        transition: transform 0.3s;
        width: 40vh;
        height: 40vh;
    }

    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: black;
        text-align: center;
        padding: 2vh 0;
    }

    .scrolling-text h1 {
        color: white;
        font-size: 5vh;
        width: 100%;
        transform: scaleX(1.4);
        white-space: nowrap;
        justify-content: center;
        align-items: center;
        font-family: 'Solitreo', cursive;
        margin-left: 55%;
    }

    .scrollbar-container {
        width: 60%;
        margin: 0 auto;
    }

    .scrollbar {
        -webkit-appearance: none;
        width: 100%;
        height: 10px;
        border-radius: 5px;
        background-color: #4e4e4e;
    }

    .scrollbar::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 25px;
        height: 10px;
        border-radius: 5px;
        background-color: #ffffff;
    }

    #fullscreen-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1000000;
        cursor: pointer;
        overflow: hidden;
    }

    #fullscreen-image {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        cursor: zoom-out;
        z-index: 1000000000;
    }
}