@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Regular.ttf');
}

html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

html, body {
    background-color: #282828;
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
}

#wrapper {
    max-width: 414px;
    position: relative;
    margin: 0 auto;
    min-height: 100vh;
    transition: all 0.3s;
    top: 0;
    color: #fff;
}

#main {
    position: absolute;
    top: 67px;
    bottom: 0;
}

.bg-quiz-primary {
    background-color: #FFD200;
}

.text-quiz-primary {
    color: #01214d !important;
}

/* Floating */
@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(14px);
    }
    100% {
        transform: translatey(0px);
    }
}

.float-icons {
    top: 0px;
    right: 88px;
    position: absolute;
    transform: translatey(0px); animation: float 3s ease-in-out infinite;
}

#buy-coins-tnc {
    position: absolute;
    top: 40%;
    left: 8%;
    width: 84.5%;
    height: 55%;
}

#buy-coins-tnc ol li {
    margin-left: -20px;
}

@media (max-width: 575.98px) {
    #buy-coins-tnc {
        overflow-y: scroll;
    }
}

/* Oct 28, 2021 */
.bg-home-en {
/*    background: url(../img/bg-home-en.png) no-repeat center bottom; */
    background-size: cover;
    background-color: #FFD200;
}

.bg-home-sw {
    background: url(../img/bg-home-sw.png) no-repeat center bottom;
    background-size: cover;
}

/* Large devices (desktops, less than 1200px) */
@media (min-width: 1200px) {
    #main {
        min-height: 100vh;
    }
}

@media (max-width: 320px) {
    #main {
        min-height: 100vh;
    }
}

@media (max-width: 360px) {
    #main {
        min-height: 100vh;
    }
}

/* ------------------------------------------------------------------------
 * Top navigation (season 2 header)
 *
 * Lives here rather than in mtn-home.css because the header also renders on
 * pages that do not load the home stylesheet.
 * ---------------------------------------------------------------------- */

.lq-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    max-width: 414px;
    width: 100%;
    margin: 0 auto;
    padding: 0.625rem 1rem;
    background-color: #FFD200;
    font-family: Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.lq-nav__brand {
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1;
    color: #01214d;
    text-decoration: none;
    white-space: nowrap;
}

.lq-nav__brand:hover,
.lq-nav__brand:focus {
    color: #01214d;
    text-decoration: none;
}

.lq-nav__brand-chip {
    display: inline-block;
    padding: 0.14em 0.4em 0.2em;
    background-color: #01214d;
    color: #FFD200;
    border-radius: 7px;
}

.lq-nav__lang {
    position: relative;
    flex: 0 0 auto;
}

/*
 * Hide the native disclosure marker WITHOUT touching `display`. Setting
 * summary's display (to flex, block, anything but list-item) breaks toggling
 * in Chrome < 89 and Safari < 15, which covers a lot of Android WebView.
 */
.lq-nav__lang-summary {
    list-style: none;
    cursor: pointer;
}

.lq-nav__lang-summary::-webkit-details-marker {
    display: none;
}

.lq-nav__lang-summary::marker {
    content: '';
}

.lq-nav__lang-current {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    height: 34px;
    padding: 0 0.5rem;
    border: 2px solid #01214d;
    border-radius: 9px;
    background-color: rgba(1, 33, 77, 0.06);
}

.lq-nav__lang-summary:focus-visible .lq-nav__lang-current {
    outline: 3px solid #01214d;
    outline-offset: 2px;
}

.lq-nav__lang-current img {
    display: block;
    width: 28px;
    height: auto;
    border-radius: 2px;
}

.lq-nav__lang-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #01214d;
    transition: transform 0.12s ease;
}

.lq-nav__lang[open] .lq-nav__lang-caret {
    transform: rotate(180deg);
}

.lq-nav__lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    min-width: 10.5rem;
    padding: 0.25rem;
    background-color: #fff;
    border: 2px solid #01214d;
    border-radius: 12px;
    box-shadow: 0 6px 0 0 rgba(1, 33, 77, 0.18);
}

.lq-nav__lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #01214d;
    text-decoration: none;
    white-space: nowrap;
}

.lq-nav__lang-option img {
    display: block;
    width: 24px;
    height: auto;
    border-radius: 2px;
}

.lq-nav__lang-option:hover,
.lq-nav__lang-option:focus {
    color: #01214d;
    text-decoration: none;
    background-color: rgba(1, 33, 77, 0.07);
}

.lq-nav__lang-option.is-active {
    background-color: #01214d;
    color: #FFD200;
}

@media (prefers-reduced-motion: reduce) {
    .lq-nav__lang-caret {
        transition: none;
    }
}

@media (max-width: 359px) {
    .lq-nav {
        padding: 0.5rem 0.75rem;
    }

    .lq-nav__brand {
        font-size: 0.9375rem;
    }

    .lq-nav__lang-current {
        padding: 0 0.375rem;
    }
}
