@font-face {
    font-family: 'VT323';
    font-style: normal;
    font-weight: 400;
    src: url('../css/fonts/vt323-v17-latin-regular.woff') format('woff') /* Modern Browsers */
}

a{
    text-decoration: none;
    color: #fff;
}

a:hover{
    color:#C30000 ;
}
body{
    background-color: #222222;
    margin: 0;
    color: #fff;
}

h1, h2, p{
    font-family: 'VT323' !important;
} 

h1{
    font-size: 3vw;
}

h2{
    font-size: 2vw;
}

p{
    font-size: 1.5vw;
}

nav{
    padding: 0 2%;
    background-color: #1b1b1b;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navLogo h1{
    font-size: 3.7vw;
}

.switcher{
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

button{
    margin: .5%;
    border: 1px solid #fff;
    background-color: #1b1b1b;
    color: #fff;
    border-radius: 30px;
    font-family: 'VT323';
    font-size: 1.5vw;
    padding: 5px 15px;
    width: max-content;
}

#timer{
    display: none;
    padding-bottom: 1%;
    background-color: #C30000;
}

#connected{
    color: #C30000 !important;
    display: none;
}

#waitingText{
    display: none;
    text-align: center;
}
#waitingText img{
    max-width: 5%;
}

button:hover{
    color: #C30000;
    border-color: #C30000;
}

.message{
    color: #C30000;
    font-family: 'VT323';
    font-size: 1.6vw;
}

.item button{
    padding: 5px 10px;
}

.navitems{
    display: flex;
}

.navElement{
    align-self: flex-end;
}

.mainHeading{
    padding: 1%;
    padding-bottom: 0;
    text-align: center;
}

.connect{
    border: 1px solid #fff;
    border-radius: 30px;
}

.connect:hover{
    color: #C30000;
    border-color: #C30000 ;
}

.imageGrid {
    text-align: center;
    margin: 2% 10%;
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

.imageGrid .items {
    display: block;
    max-width: 100%;
    height: auto;
}

.imageGrid img{
    max-width: 80%;
}

.item{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
	align-items: center;
}

#switcher{
    display: none;
}
.twitterimage{
    max-width: 8% !important;
    margin-bottom: 10px;
}


@media only screen and (max-width: 991px) {
    h1{
        font-size: 3em;
    }
    
    h2{
        font-size: 1.2em;
    }
    
    p{
        font-size: 1em;
    }

    .navLogo h1{
        font-size: 2em;
    }
    nav{
        padding: 3%;
    }
    button{
        font-size: 1em;
    }

    .imageGrid{
        grid-template-columns: 50% 50%;
        
    }
    #switcher h2{
        margin: 0;
    }
    #waitingText img{
        max-width: 15%;
    }

}


.leaderboard{
    padding: 3%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 1.5em;
    font-family: 'VT323';
}

table{
    width: 100vw;
}

.mainTableHeading{
    border: 3px solid #fff ;
    font-size: 1.5em;
    padding:10px;
    color: #C30000 ;
    font-weight: 500;
}

td{
    border: 1px solid #fff ;
    padding:10px;
}


@media only screen and (max-width: 991px){

    .leaderboard{
        font-size: 1em;
    }
}

#leaderboardID {
    display: none;
}