* {
    margin: 0;
    padding: 0;
    font-family: Poppins;
    -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;
    /* Non-prefixed version, currently */
    scrollbar-color: #181818 #3f3f3f;
    ;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #3f3f3f;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #181818;
}

html {
    color: rgb(238, 238, 238);
    background: rgb(31, 31, 31);
}

/* this overflow: hidden stuff fixes overflow in safari */

body {
    background-image: url("index_image_files/screenshot-background.png");
    background-size: cover;
    background-repeat: no-repeat;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

li {
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}

h1 {
    color: rgb(143, 143, 143);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: absolute;
    top: 25px;
    left: 40px;
}

.display-none {
    display: none !important;
}

a:link, a:visited {
    color: white;
    text-decoration: none;
}

#main-container {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

#choose-version-container {
    width: 50%;
    min-width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.753);
    backdrop-filter: blur(6px) contrast(0.5);
    -webkit-backdrop-filter: blur(6px) contrast(0.5);
    position: relative;
}

#version-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.version-button {
    height: 40px;
    width: 120px;
    background: rgb(255, 63, 63);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.version-button:hover {
    background: rgb(255, 95, 95);
}

.version-button:active {
    background: rgb(151, 41, 41);
    transform: scale(0.9);
}

.old-version-button {
    height: 30px;
    width: 120px;
    background: rgb(65, 65, 65);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-top: 0px;
    color: rgb(179, 179, 179);
    font-size: 0.7rem;
}

.old-version-button:hover {
    background: rgb(90, 90, 90);
}

.old-version-button:active {
    background: rgb(65, 65, 65);
    transform: scale(0.9);
}

.front-page-img {
    height: 300px;
    width: 300px;
    margin-bottom: 0;
}

.disclaimer {
    width: 250px;
    text-align: center;
    font-size: 0.8rem;
    color: rgb(165, 165, 165);
}

.info-window-container {
    height: 100%;
    width: 50%;
    min-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-window {
    height: 80%;
    width: 80%;
    min-height: 400px;
    background-color: rgba(31, 31, 31, 0.466);
    border-radius: 10px;
    backdrop-filter: blur(6px) contrast(0.8);
    -webkit-backdrop-filter: blur(6px) contrast(0.5);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.322);
}

.info-window-tabs-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-btn {
    background-color: rgb(27, 27, 27);
    height: 40px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(107, 107, 107);
}

.tab-btn:hover {
    background-color: rgb(20, 20, 20);
}

.tab-btn:active {
    background-color: rgb(12, 12, 12);
}

.news-tab-btn {
    border-radius: 10px 0px 10px 0px;
}

.roadmap-tab-btn {
    border-radius: 0px 10px 0px 10px;
}

.tab-btn-active {
    background-color: rgba(94, 94, 94, 0);
    pointer-events: none;
    color: rgb(218, 218, 218);
    box-shadow: none;
}

.text-box {
    display: block;
    margin: 40px;
    margin-top: 50px;
    justify-content: center;
    flex-direction: column;
    color: rgb(202, 202, 202);
    font-size: 0.8rem;
    padding-left: 15px;
    padding-right: 30px;
    overflow-y: auto;
    height: 75%;
}

.heading {
    text-align: center;
    font-size: 1.3rem;
    color: rgb(97, 179, 255);
}

.screenshot {
    display: none;
}

.date {
    text-align: center;
    font-size: 0.8rem;
    color: rgb(179, 179, 179);
}

.news-text {
    color: rgb(216, 216, 216);
    font-size: 0.9rem;
}

.news-article {
    margin-bottom: 100px;
}

#screen-too-small {
    position: absolute;
    height: 100vh;
    width: 100vw;
    background: rgb(26, 26, 26);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: none;
}

.large-link-icon {
    height: 35px;
    margin: 5px;
}

.large-link-icon:hover {
    filter: brightness(1.5);
}

#links-container {
    position: absolute;
    bottom: 35px;
    right: 40px;
}

.discord-link:hover {
    color: #4e62ee;
}

.patreon-link:hover {
    color: #f7404b;
}

.patreon-link, .discord-link {
    font-weight: 600;
}

@media screen and (max-width: 800px) {
    #main-container {
        flex-direction: column;
        justify-content: flex-start;
    }

    #choose-version-container {
        /* height: 800px; */
        min-height: 100vh;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .front-page-img {
        margin-bottom: 0;
        margin-top: 20px;
    }

    #version-buttons-container {
        margin-top: 40px;
        margin-bottom: 70px;
    }

    .info-window-container {
        height: auto;
        width: 100%;
        margin-top: 0;
        min-width: 0px;
    }

    .info-window {
        height: 100%;
        width: 100%;
    }

    .version-button {
        margin-bottom: 10px;
    }

    h1 {
        display: none;
    }

    .tab-btn:hover {
        background-color: #3f3f3f00;
    }

    .tab-btn:active {
        background-color: #3f3f3f00;
    }

    .tab-btn-active {
        background-color: #3f3f3f00;
    }

    html, body {
        overflow: visible;
    }

    .text-box {
        height: 600px;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 20px;
    }

    .screenshot {
        display: flex;
        width: 100%;
        margin-bottom: 100px;
    }
}