@-moz-document url-prefix() { /* Disable scrollbar Firefox */
    html{
        scrollbar-width: none;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

::-webkit-scrollbar {
    display: none !important;
}

:root {
    --darkModeBG: #333;
    --lightModeBG: #eee;
    --darkModeBorder: #666;
}

body {
    margin: 0;
    background: var(--darkModeBG);
    scrollbar-width: none;
}

#desktopWatch {
    display: none;
}

h1 {
    font-family: 'Whitney';
    color: #52c9ff;
    font-size: 20vh;
}

h1#PCClock {
    position: absolute;
    bottom: 40vh;
    left: 50%;
    width: max-content;
    transform: translate(-50%, 50%);
    text-shadow: 0 0 1vh black;

    transition: left 0.2s ease-in-out;
}

h1#PC24HClock {
    position: absolute;
    bottom: 28vh;
    left: 50%;
    width: max-content;
    transform: translate(-50%, 50%);
    text-shadow: 0 0 1vh black;
    color: hsl(0, 100%, 66%);

    font-size: 7vh;

    transition: left 0.2s ease-in-out;
}

h1#PCClock.open {
    left: 35%;
}

h1#PC24HClock.open {
    left: 35%;
}

div.skyboxChooser {
    right: calc(5vh - 25vw);

    border-top-left-radius: 2vh;
    border-bottom-left-radius: 2vh;
    padding-left: 7vh;
    padding-top: 8vh;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    height: 80vh;
    width: 25vw;
    background: hsla(0, 0%, 40%, 40%);

    transition: right 0.2s ease-in-out;
}

div.skyboxChooser > h1 {
    top: 0;
    font-size: 5vh;
    position: absolute;
    width: -moz-available;
    width: -webkit-fill-available;
    text-align: center;
    white-space: nowrap;
}

div.skyboxChooser button {
    top: 0;
    background: #333;
    color: white;
    border: none;
    font-family: 'Whitney';
    cursor: pointer;
    border-top-left-radius: 2vh;
    border-bottom-left-radius: 2vh;
    width: 5vh;
    left: 0;
    position: absolute;
    height: 100%;
    transition: background 0.2s ease-in-out;
}

div.skyboxChooser button:hover {
    background: #444;
}

div.skyboxChooser.open {
    right: 0;
}

div.skyboxHolder {
    width: 100%;
    height: 100%;
    display: block;
    overflow-x: hidden;
    overflow-y: scroll;
}

div.skyboxSelector {
    cursor: pointer;
    margin: 1vh;
    height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1vh;
    transition: background 0.2s ease-in-out;
}

div.skyboxSelector:hover {
    background: rgba(0, 0, 0, 25%);
    border-radius: 1vh;
}

div.skyboxSelector > img {
    height: 70%;
    border: 0.2vh white solid;
}

div.skyboxSelector > p {
    color: white;
    font-family: 'Whitney';
    font-size: 3vh;
}

p.topLeftSkyboxName {
    font-family: 'Whitney';
    color: hsl(199, 100%, 66%);
    font-size: 3vh;

    position: absolute;
    top: 2vh;
    left: 2vw;

    text-shadow: 0 0 1vh black;
}

p.bottomLeftHideGUI {
    font-family: 'Whitney';
    color: hsl(199, 100%, 66%);
    font-size: 3vh;

    position: absolute;
    
    bottom: 2vh;
    left: 2vw;
    
    text-shadow: 0 0 1vh black;
    font-weight: bold;
}

@media (orientation: landscape) {
    #desktopWatch {
        display: block;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: var(--lightModeBG);
    }
}