@font-face {
    font-family: 'Pusab';
    src: url("assets/pusab.otf") format("opentype");
}

:root { 
  --max: 1500px; 
}

html, body {
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
    touch-action: none;
}

p, h1, h2, a {
    color: #fff;
    font-family: 'Arial';
}

h1 {
    font-size: 45px;
}

h2 {
    font-size: 30px;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100svh;

    background-image: 
        linear-gradient(#000000a0, #000000a0),
        url("assets/editor-screenshot.png");
    background-size: cover;

    background-color: transparent;
    backdrop-filter: blur(5vmin);
    -webkit-backdrop-filter: blur(5vmin);
}

#content-layer {
    flex: 1;
    display: flex;
    max-width: var(--max); 
    margin-left: 5svh;
    margin-right: 5svh;
    height: 90svh;
    background-color: #272736;
    border-radius: 20px;
    box-shadow: 
        0 0 0 5px #000000,
        0 0 0 10px #ffffff;
    overflow: hidden;
    position: relative;
}

#content-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 
        inset 0 5px 0 0px #ffffff50,
        inset 0 -5px 0 0px #00000050;
    z-index: 10;
    pointer-events: none;
}

#sidebar-layer {
    padding: 40px;
    overflow-y: auto;
    box-sizing: border-box;

    background-color: #101016;
    scrollbar-gutter: auto;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

#sidebar-layer > * {
    padding: 0;
    margin: 0;
}

@keyframes CCMenuItemSpriteExtra-anim {
    0% { transform: scale(1); }
    36.36% { transform: scale(1.26); }
    54.55% { transform: scale(1.195); }
    72.73% { transform: scale(1.26); }
    81.82% { transform: scale(1.244); }
    90.91% { transform: scale(1.26); }
    95.45% { transform: scale(1.256); }
    100% { transform: scale(1.26); }
}

.CCMenuItemSpriteExtra {
    display: inline-block;
    user-select: none;
    transition: transform 0s;
}

.CCMenuItemSpriteExtra:active {
    animation: CCMenuItemSpriteExtra-anim 0.3s ease forwards;
}

#sidebar-layer a {
    text-decoration: none;
    font-size: 30px;
}

#sidebar-layer .selected {
    color: #f9ff00;
}

#sidebar > *:not(:last-child) {
    margin-bottom: 25px;
}

#sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#left-content-layer {
    display: flex;
    flex-direction: column;
    height: 90svh;
    width: 350px;
}

#right-content-layer {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 90svh;
    background-color: #1a1922;
}

.setting-info > * {
    margin: 0;
    padding: 0;
}

.setting-info {
    padding: 20px 30px;
}

.setting-info h2 {
    margin-bottom: 10px;
}

.setting-info p {
    font-size: 18px;
    padding-left: 0.02em;
}

.inline-icon {
    height: 1.5em;
    padding-right: 10px;
    width: auto;
    vertical-align: -0.38em;
  }

#main-header {
    display: flex;
    height: 100px;
    padding: 30px 30px 15px 35px;
}

#main-header > * {
    margin: 0;
    padding: 0;
}

#header {
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    background-color: #100f15;
}

#header > * {
    margin: 0;
    padding: 0;
}

#header h1 {
    margin-top: 8px;
    margin-bottom: 5px;
}

#header p {
    font-size: 20px;
    padding-left: 0.02em;
}

#title-line {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#sidebar-toggle {
    all: unset;
    cursor: pointer;
    display: none;
    padding: 0;
    margin-right: 20px;
}

#sidebar-toggle img {
    height: 40px;
}

#main-content-layer {
    overflow-y: auto;
    box-sizing: border-box;
    scrollbar-gutter: auto;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

#content > *:nth-child(odd) {
    background-color: #191821;
}

#content > *:nth-child(even) {
    background-color: #15141b;
}

.big-font {
    font-family: 'Pusab';
    font-weight: normal;
    -webkit-text-size-adjust: 100%;
    -webkit-text-stroke: 0.05em black;
    filter: drop-shadow(0.06em 0.06em 0px rgba(0, 0, 0, 0.35));
    line-height: 100%;
}

.gold-font {
    font-family: 'Pusab';
    font-weight: normal;
    -webkit-text-size-adjust: 100%;
    -webkit-text-stroke: 0.05em black;
    filter: drop-shadow(0.03em 0.03em 0px rgba(0, 0, 0, 0.35));
    line-height: 100%;

    background-image: -webkit-linear-gradient(#fda00c, #ffe348);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    #header p {
        font-size: 12px;
    }

    .setting-info p {
        font-size: 12px;
    }

    #left-content-layer {
        flex: 1;
    }

    #sidebar-toggle {
        display: block;
    }

    #title-line h1 {
        margin-bottom: 10px;
    }
}