html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

* {
    box-sizing: border-box;
    overflow: hidden;
}

button {
    all: unset;
    cursor: pointer;
}
/*colors: 
Black(1e1e1e)
Grey(2d2d2d)
*/

body {
    width: 100vw;
    height: 100vh;
    font-family: "VT323", monospace;
    font-weight: 400;
    font-style: normal;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    background-color: #2d2d2d;
}
.mainSection {
    width: 100%;
    height: 95%;
}


main{
    width: 100%;
    height: 100%;
    background-color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
footer {
    width: 100%;
    height: 5%;
    display: flex;
    
    justify-content: center;
    align-items: center;
    background-color: inherit;
}
.mainBox {
    display: flex;
    background-color: #1e1e1e;
    border-radius: 5%;
}

#welcomeScreen {
    width: 50%;
    height: 50%;
    
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#welcomeScreen h1 {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: white;
    
}
#welcomeScreen div {
    
    width: 100%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#playButton {
    width: 70%;
    height: 30%;   
    border-radius: 5%;
    background-color: #d98b00;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4em;
    font-weight: 900;
    transition: 100ms;
}

#playButton:hover {
    background-color: #2596be;
}


#gameSelector {
    width: 50%;
    height: 50%;
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#gameSelector h1 {
    display: flex;
    font-size: 3em;
    color: white;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 20%;
    border: 1px solid #2596be;
}
#gameSelector #gameList {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70%;
    margin-bottom: 10px;

    
}
#gameSelector #gameList button{
    

    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    height: 20%;
    background-color: #d98b00;
    font-size: 2em;
    border-radius: 5px;
    transition: 300ms;
}
#gameSelector #gameList button:hover{
    background-color: inherit;
    color: white;
}

#gameSelector #gameSelectorButtons {
    height: 10%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
}
#gameSelector #gameSelectorButtons button{
    height: 100%;
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2596be;
    border-radius: 5px;
    font-size: 100%;
    font-weight: 900;
    font-style: italic;
    margin-left: 10px;
    margin-right: 10px;
    border: 1px solid #2596be;
    transition: 300ms;
}
#gameSelector #gameSelectorButtons button:hover{
    background-color: inherit;
    color: white;
}

footer div {
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: inherit;
    border: 1px solid #2596be;
    transition: 300ms;
}
footer div img {
    width: 30px;
    height: 30px;
}
footer div:hover {
    width: 50px;
    
}


#infoBox {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: white ;
    width: fit-content;
    height: fit-content;
    font-size: 1.5em;
    border-radius: 5%;
}

#canvasSection {

    width: 100%;
    height: 90%;
}
#gameSectionReturn {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;

    width: 100%;
    height: 5%;
}

#gameInfo {
    width: 100%;
    height: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#gameWarning{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    min-width: 50%;
    min-height: 50%;
    max-width: 100%;
    max-height: 100%;
    font-size: 1em;
    overflow: scroll;
    overflow-x: scroll;
}
#startGameButton {
    width: 50%;
    height: 10%;
    
    border: 2px solid #d98b00;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    transition: 300ms;
}
#startGameButton:hover {
    width: 100%;
}

