:root{
    --client: #e6d196;
    --gold: #e6d196;
    --red: #ff5447;
    --green: #1db954;
    --darkGrey: #212121;
    --lightGrey: #535353;
}
@font-face{
    font-family: 'Spotify Mix';
    src: url('fonts/SpotifyMix-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*{
    margin: 0;
    text-decoration: none;
    font-family: 'Spotify Mix', sans-serif;
    font-size: 100%;
    font-weight: bold;
    outline: none;
    transition: 0.2s;
    box-sizing: border-box;
    word-wrap: break-word;
    color: inherit;
    user-select: none;
    border-radius: 15px;
}
html, body{
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}
body{
    background-color: black;
    color: white;
}
@media screen and (max-width: 900px){
    body .game{
        width: 100%;
        gap: 10px;
    }
    body .game button{
        width: 100%;
    }
}
header{
    display: flex;
    justify-content: center;
    font-size: 150%;
    width: 100%;
    margin: 0;
    padding: 10px;
    text-align: center;
}
header h1{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
    background: linear-gradient(
        to right,
        var(--client) 80%,
        white 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 2s linear infinite;
}
header h1:hover{
    text-shadow: 0 0 20px var(--client);
}
header button{
    position: absolute;
    left: calc(100% + 10px);
    height: 25px;
    width: auto;
    color: var(--client);
    background-color: transparent;
    border: 3px solid var(--client);
    margin: 0 auto;
    outline: none;
    text-align: center;
    cursor: pointer;
    font-size: 50%;
}
header button:hover{
    color: black;
    background-color: var(--client);
}
header h1 img{
    position: absolute;
    right: calc(100% + 10px);
    height: 25px;
    width: auto;
    animation: spin 5s linear infinite;
}
.game{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    width: 30%;
    margin: 0 auto;
    padding: 30px;
    flex-grow: 1;
    overflow: scroll;
    font-size: 80%;
}
.game div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.game h1{
    width: 100%;
    text-align: center;
}
#releaseNotes{
    display: flex;
    width: 100%;
    max-height: 125px;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    padding: 10px 0;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black calc(0% + 20px),
        black calc(100% - 20px),
        transparent 100%
    );
}
.game #currentTrack, .game #winnerGif{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin: 0;
    padding: 30px;
    overflow: hidden;
    flex-grow: 1;
    /* border: 6px solid var(--client); */
}
.game #currentTrack img{
    min-width: 0; 
    min-height: 0;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    /* box-shadow: 0 0 30px var(--client); */
    /* border: 6px solid var(--client); */
}
.game #winnerGif img{
    min-width: 0; 
    min-height: 0;
    max-width: 100%;
    height: auto;
    /* box-shadow: 0 0 30px var(--lightGrey); */
    flex-grow: 1;
    object-fit: cover;
}
.game #currentTrack h1, .game #winnerGif h1{
    text-align: center;
    flex-shrink: 0;
    font-size: 150%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;

    background: linear-gradient(
        to right,
        white 80%,
        var(--client) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 2s linear infinite;
}
.game #currentTrack h2, .game #winnerGif h2{
    text-align: center;
    flex-shrink: 0;
    font-size: 100%;
}
.game #users{
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
    height: auto;
    flex-shrink: 0;
}
.game #users .user{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: black;
    background-color: var(--lightGrey);
    margin: 0;
    padding: 15px 20px;
    outline: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}
.game #users .user:hover{
    filter: brightness(0.75);
}
.game #users .user h1{
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.game input{
    display: block;
    width: 100%;
    color: var(--lightGrey);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--lightGrey);
    border-radius: 0;
    margin: 0 auto;
    padding: 15px 20px;
    outline: none;
    text-align: center;
}
.game input:not(:placeholder-shown), .game input:focus{
    color: var(--client);
    border: none;
    border-bottom: 2px solid var(--client);
    border-radius: 0;
}
.game input::placeholder{
    color: var(--lightGrey);
    text-align: center;
}
.game select{
    display: block;
    width: 100%;
    color: var(--client);
    background-color: transparent;
    border: 3px solid var(--client);
    margin: 0 auto;
    padding: 15px 20px;
    outline: none;
    text-align: center;
    cursor: pointer;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; 
}
.game select:hover{
    color: black;
    background-color: var(--client);
}
.game option{
    color: var(--client);
    background-color: black;
    border: 3px solid var(--client);
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
}
.game button{
    display: block;
    width: 100%;
    color: var(--client);
    background-color: transparent;
    border: 3px solid var(--client);
    margin: 0 auto;
    padding: 15px 20px;
    outline: none;
    text-align: center;
    cursor: pointer;
}
.game button:hover{
    color: black;
    background-color: var(--client);
}
.game #startTimeSelection{
    display: flex;
    width: 100%;
    color: var(--client);
    background-color: transparent;
    border: 3px solid var(--client);
    margin: 0 auto;
    padding: 5px 5px;
    outline: none;
    cursor: default;
    flex-direction: row;
    justify-content: space-between;
}
.game #startTimeSelection:hover{
    color: var(--client);
    background-color: var(--client);
}
.game #startTimeSelection:hover h1{
    color: black;
    background-color: transparent;
    border-color: var(--client);
}
.game #startTimeSelection:hover h2{
    color: var(--client);
    background-color: black;
    border-color: black;
}
.game #startTimeSelection h1{
    display: flex;
    width: 100%;
    padding: 10px 15px;
    cursor: pointer;
    justify-content: center;
    border-radius: 10px
}
.game #startTimeSelection h2{
    display: flex;
    width: 100%;
    padding: 10px 15px;
    cursor: pointer;
    justify-content: center;
    border-radius: 10px;
    color: black;
    background-color: var(--client);
}
#leaveButton{
    display: block;
    width: 100%;
    color: var(--red);
    background-color: transparent;
    border: 3px solid var(--red);
    margin: 0 auto;
    padding: 15px 20px;
    outline: none;
    text-align: center;
    cursor: pointer;
}
#leaveButton:hover{
    color: black;
    background-color: var(--red);
}
/*Footer*/
footer{
    display: flex;
    justify-content: center;
    font-size: 75%;
    width: 100%;
    margin: 0;
    padding: 10px;
    text-align: center;
    color: var(--lightGrey);
}
footer h1{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
}
#createdBy {
    color: var(--createdBy);
}
/*Scrollbar*/
::-webkit-scrollbar{
    width: 8px;
    display: none;
}
::-webkit-scrollbar-track{
    border-radius: 100px;
    background: var(--lightGrey);
}
::-webkit-scrollbar-thumb{
    background: var(--lightGrey);
    border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover{
    background: var(--darkGrey);
}
.patches::-webkit-scrollbar{
    display: none;
}
.patches{
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/*Arrow Buttons*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
/*Spinning Wheel*/
.loader{
    border: 8px solid var(--darkGrey);
    border-top: 8px solid var(--client);
    border-radius: 50%;
    width: 100px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    animation: spin 2s linear infinite;
}
@keyframes spin{
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes textShine{
    0%{
      background-position: 100% 50%;
    }
    100%{
      background-position: -100% 50%;
    }
}