/* Base width: 390px */
:root {
    font-size: 2.56vw;
}

html {
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    display: flex;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    overflow-x: hidden;
    scroll-behavior: smooth;
    z-index: 10;
}

section {
    width: 100%;
}

* {
    /*position: relative;*/
    box-sizing: border-box;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: inherit;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;

    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
}

input[type="file"] {
    display: none;
}

.hidden {
    display: none !important;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}


/* ----------------------------------------- */
/* ----------------- Media ----------------- */

/* ----------------- Desktop 1728px ----------------- */
.tablet,
.mobile {
    display: none;
}

.tabletMobile {
    display: none;
}

:root {
    font-size: 0.579vw;
}


/* ----------------- 4K 1920px ----------------- */
/*@media only screen and (min-width: 1921px) {
    :root {
        font-size: 16.3px;
    }
}*/


/* ----------------- Tablet 864px ----------------- */
@media only screen and (max-width: 1000px) {
    .desktop,
    .mobile {
        display: none;
    }

    .tablet {
        display: block;
    }

    .desktopTablet {
        display: block;
    }

    .tabletMobile {
        display: block;
    }

    :root {
        font-size: 1.157vw;
    }
}


/* ----------------- Mobile 393px ----------------- */
@media only screen and (max-width: 500px) {
    .desktop,
    .tablet {
        display: none;
    }

    .desktopTablet {
        display: none;
    }

    .tabletMobile {
        display: block;
    }

    .mobile {
        display: block;
    }

    :root {
        font-size: 2.545vw;
    }
}