@font-face {
    font-family: MiSans;
    src: url('./MiSans.ttf');
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    user-select: none;
    overflow-x: hidden;
    /* scrollbar-width: none; */
    font-family: 'MiSans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* body::-webkit-scrollbar {
            display: none;
        } */

body::-webkit-scrollbar {
    width: 0.01px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: transparent;
}

.cover-title {
    background-position-x: center;
    background-position-y: bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100%;
    min-height: 60vh;
    max-height: 512px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 8px;
}

.hyperplus-logo {
    /* background: rgb(255, 255, 255, 0.25); */
    mask-image: url(./logo.svg);
    mask-size: 100%;
    mask-position: bottom center;
    mask-repeat: no-repeat;
    width: 170px;
    height: 32px;
}

.hyperplus-logo::before {
    content: '';
    background: rgb(255, 255, 255, 0.35);
    mask-image: url(./logo.svg);
    mask-size: 100%;
    mask-position: bottom center;
    mask-repeat: no-repeat;
    width: 170px;
    height: 32px;
    position: absolute;
}

.hyperplus-logo::after {
    content: '';
    background: rgb(255, 255, 255, 1);
    mask-image: url(./logo.svg);
    mask-size: 100%;
    mask-position: bottom center;
    mask-repeat: no-repeat;
    width: 170px;
    height: 32px;
    position: absolute;
    top: 0;
    bottom: 0;
    mix-blend-mode: overlay;
}

.svg-box {
    width: 410px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

#capsule-logo {
    margin-top: 24px;
    margin-bottom: 48px;
    min-height: 48px;
}

#main {
    height: calc(80vh - 24px);
    width: calc(100% - 24px);
    padding: 12px;
    margin-top: -72px;
}

.content {
    display: flex;
    border-radius: 10px;
    border: solid 1px rgba(0, 0, 0, 0.1);
    background: rgba(231, 231, 235, 0.5);
    width: 100%;
    height: 100%;
}

.watchface-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding: 0 32px;
    margin-bottom: 32px;
}

.watchface-box svg {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 100px;
}

h1 {
    font-size: 28px;
    text-align: center;
    font-weight: normal;
    margin-top: -52px;
    margin-bottom: 64px;
    /* font-weight: bold; */
}

#mask {
    width: 100vw;
    height: 36px;
    position: fixed;
    left: 0;
    bottom: 0;
}

@media screen and (max-width: 420px) {
    h1 {
        font-size: 22px;
    }

    .svg-box {
        margin-bottom: 26px;
    }

    .svg-box svg {
        height: 86px;
    }

    .logo {
        height: 20px;
    }
}

@media (prefers-color-scheme: light) {
    .capsule-design {
        fill: #5D5D5D;
    }

    .ava-in-band-9 {
        fill: #7E7E7E;
    }

    body {
        background-color: #FFFFFF;
    }

    h1 {
        color: rgba(26, 27, 28, 0.7);
        font-weight: 575;
    }

    h1 span {
        color: #1a1b1c;
    }

    .cover-title {
        background-image: url('./hyperplus-background-light.png');
    }

    .cover-title svg path {
        fill: black;
    }

    #mask {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    }
}

@media (prefers-color-scheme: dark) {
    .capsule-design {
        fill: #d2d2d2;
    }

    .ava-in-band-9 {
        fill: #a2a2a2;
    }

    body {
        /* background-color: transparent; */
        background-color: #000000;
    }

    h1 {
        color: rgba(255, 255, 255, 0.7);
        font-weight: 500;
    }

    h1 span {
        color: #ffffff;
    }

    .cover-title {
        background-image: url('./hyperplus-background-dark.png');
    }

    .cover-title svg path {
        fill: white;
    }

    #mask {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0, 0, 0));
    }
}

.tab-link {
    text-decoration: none;
    padding: 10px 20px;
}

.tab-link.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.tab-content {
    padding: 20px;
}