:root {
    --accent: #fad948;
    --text-color: #fffaee;
    --text-secondary: #aaa0cc;
    --bg-bottom: #0a0520;
    --bg-top: #4b232f;
}

@font-face {
    font-family: "Segment";
    src: url("./SevenSegment.ttf");
}

html,
body {
    height: 100%;
    padding: 0px;
    margin: 0px;
    background-color: var(--bg-bottom);
    overflow: hidden;
}

body {
    box-sizing: border-box;
    padding: 10px;
    font-family: 'Space Mono', monospace;
    text-align: center;
    height: 100%;
    color: var(--text-color);
    background-image: linear-gradient(var(--bg-top), var(--bg-bottom));
}

img {
    width: 27.5em;
}

button:hover {
    cursor: pointer;
}
button {
    border: none;
    letter-spacing: 0;
    text-transform: none;
    padding: 0.5rem 1.5rem;
    font-size: 1.3vw;
    transition: background-color 0.2s;
    background-color: #4dc4ff;
    font-family: 'Space Mono', monospace;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 5px #0ff;
    margin-top: 0.5em;
}

buton:hover {
    background-color: darken(#4dc4ff, 10%);
}

buton:active {
    background-color: darken(#4dc4ff, 20%);
}

#title {
    font-size: 3em !important;
    text-shadow: 0px 0px 10px var(--accent),
        0px 0px 30px var(--accent),
        0px 0px 80px var(--accent);
}

label {
    font-size: 1.3vw;
    color: #fff;
}

i {
    color: var(--text-secondary);
}

a {
    color: #fff;
    text-decoration: underline;
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 51%, #f2f2f2 50%) right;
    background-size: 200%;
    transition: .2s ease-out;
}

a:hover {
    color: #000;
    background-position: left;
}

#countdownTimer {
    margin: auto;
    width: 60%;
    margin-bottom: -2em;
    margin-top: -1em;
}

#time {
    font-size: 3.2vw;
    color: var(--accent);
    font-family: 'Segment', monospace;
}

#mainContent {
    line-height: 1.5em;
}

#infoContainer {
    width: 60%;
    margin: auto;
    height: 10em;
    margin-bottom: -3em;
}


#particles-js, #mainContainer {
    position: absolute;
    width: 100%;
    height: 100%;
}

#mainContainer {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    height: fit-content;
}

.infoDiv h3 {
    font-size: 1.4em;
}

.infoDiv a {
    color: var(--accent);
    font-size: 1.1em;
}

.infoDiv a:hover {
    color: #000;
}

.infoDiv {
    height: 10em;
    width: 47.5%;
    border-radius: 25px;
}

.left {
    float: left;
}

.right {
    float: right;
}

.sponsorLogo {
    position: relative;
    top: 50%;
    transform: translateY(-70%);
    -webkit-transform: translateY(-70%);
    width: 30%;
    margin-left: 1em;
}

#sponsorContainer {
    margin-top: 20%;
}

@media only screen and (max-height: 900px) {
    body {
        overflow: auto;
    }

    #mainContainer {
        position: relative;
        top: 0%;
        transform: translateY(0%);
        height: fit-content;
    }
}

@media only screen and (max-width: 801px) {
    img {
        width: 60%;
    }

    .infoDiv h3 {
        font-size: 1.2em;
    }

    label {
        font-size: 0.4em;
        color: #fff;
    }

    #countdownTimer {
        margin: auto;
        width: 95%;
        margin-bottom: -3em;
        margin-top: -1.5em;
    }

    #time {
        font-size: 5vw;
    }

    #infoContainer {
        width: 95%;
        margin: auto;
        height: auto;
    }

    .infoDiv {
        width: 100%;
        height: auto;
        border-radius: 25px;
    }

    .sponsorLogo {
        transform: translateY(-10%);
        -webkit-transform: translateY(-10%);
    }

    #sponsorContainer {
        margin-top: 5%;
    }

    .left {
        float: none;
    }

    .right {
        float: none;
    }
}

p {
    font-size: 0.9em;
}
