*{
    box-sizing: border-box;
    text-align: center;
    margin: 0;
}
body{
    margin: 0%;
    background-image: url('./img/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    font-family:  'Work Sans', sans-serif;
    background-color: #000;
}
.grid{
    display: flex;
    width: 47.5vw;
    height: 67.5vh;
    flex-wrap: wrap;
    margin: auto;
    border: solid black 2px;
    background-color:rgb(39, 39, 39);
    position: relative;
}
.tile{
    border: solid black 0.5px;
}
#counter{
    display: flex;
    flex-wrap: wrap;    
    justify-content: space-around;
}
#app{
    color: wheat;    
    display: flex;
    flex-direction: column;
    height: 95vh;
    margin-top: 2.5vh;
}
#game{
    margin-top: 10px;
}
#arrowsBox{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 150px;
    height: 67vh;
    margin: 0px 15px 0px 30px;
}
.arrows{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}
.aBox0, .aBox1{
    display: flex;
    flex-direction: row;
    max-width: 150px;
    max-height: 150px;
}
.aBox0{
    align-self: center;
}
.arrow{
    max-width: 50px;
    max-height: 50px;
}
.arrow button{
    padding: 0px;
    background-color: #000;
    border-style: none;    
    max-height: 50px;
}
#gridBox{
    display: flex;
    margin: 0%;
    align-content: center;
}
#gameInfoControl{
    width: 50%;
}
#gameInfoBox{
    display: flex;
    height: 7.5vh;
    width: 47.5vw;
    border: white solid 0.1px;
}
img{
    width: 100%;
    height: 100%;
}
#diamondCounter{
    border: solid white 0.1px;
    display: flex;
    align-content: center;
    font-size: 1em;
    width: 25%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#gameTimer, #levelBox{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    width: 25%;
    border: solid white 0.1px;
}
.headerImg{
    display: flex;
    align-self: center;
    width: 3vw;
    height: 5.2vh;
    margin-right: 2vw;
}
.styleinfo{
    display: flex;
    justify-content: space-around;
    flex-flow: row wrap;    
    align-items: center;
}
.imgbox{
    display: flex;
    justify-content: space-around;
    flex-flow: row wrap;
    margin: 5px;
    max-width: 200px;
}
#gameScreen{
    height: 68vh;
    width: 47.5vw;
    margin-top: 0vh;
}
#themeGallery{
    margin: 0px 30px;
}
#themeMenu{
    margin-top: 1vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

@media screen and  (max-width: 1330px){
    #themeMenu{
        flex-direction: row;
    }
}
#startGameButton{
    font-size: 3vh;
    height: 7.5vh;
    width: 11.9vw;
    background-color: rgba(67, 190, 83, 0.61);
    color: white;
}
#resetGameButton{
    font-size: 3vh;
    height: 7.5vh;
    width: 11.9vw;
    background-color: rgba(139, 9, 9, 0.534);
    color: white;
}
#scoreBox{
    display: flex;
    justify-content: center;
    align-content: center;
    width: 47.5vw;
    height: 2vh;
    margin: 1%;
}
#scoreOutput{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: center;
    font-size: 1.5em;
    margin-top: 2vh;
    margin-bottom: 0.3vh;
    width: 47.5vw;
}
#keyGuide{
    display: flex;
    flex-direction: column;
    align-self: center;
    background-color:#595856;
    font-size: 14px;
    border-radius: 10px;
    padding: 5px;
    margin: 0px 30px;
    min-width: 150px;
    max-width: 300px;
}
.keyCodeList{
    list-style: none;
    text-align: left;
    padding: 5px;
}
.keyCodeList li{
    text-align: left;
    margin: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #78df4e;
}
.label{
    width: 40px;
    text-align: left;
}
.keyGuideList{
    background-color: #918c8c;
    opacity: 0.9;
    border-radius: 10px;
}
.keybImg{
    width: 25px;    
    margin: 0px 10px;
}