#container{
    height: 320px;
    width: 320px;
    margin: auto;
    margin-top: 100px;
}
#container h1{
    text-align: center;
    font-size: 50px;
    margin-bottom: 50px;
}
body{
    background-color: rgb(209, 235, 245);
    background-repeat: repeat;   
}
.cell{
    height: 100px;
    width: 100px;
    margin: 0;
    padding: 0;
    float: left;
    cursor: pointer;
    text-align: center;
    padding-bottom: 2%;
    font-family: sans-serif;
    font-size: 100px;
}
#q0,#q1,#q2,#q3,#q4,#q5{
    border-bottom: 10px solid black;
}
#q0,#q1,#q3,#q4,#q6,#q7{
    border-right: 10px solid black;
}
.startgame{
    display:block;
    width:inherit;
    height: inherit;
    background-color: rgb(197, 236, 205);
    opacity: 0.9;
    position: absolute;
    padding-top: 50px;
    padding-bottom: 15px; 
    margin-bottom: 50vh;
    border-radius: 5px;
    text-align: center;
    color: gray;
    font-size: 2em;
}
.startgame .difficulty .text{
    text-align: center;
    font-size: 20px;
    padding: 10px;
}
.startgame .difficulty .level{
    align-self: center;
    text-align: center;
    margin: 10px 20px 10px 20px;
    border-radius: 5px;
    border: solid black;
    border-width: 1px;
    color: white;
    background-color: black;
    cursor: pointer;
}
.startgame .difficulty .level:hover{
    color: black;
    background-color: white;
}

.startgame .player{
    display: inline;
    font-size: 50px;
    font-style: normal;
    color: darkslategray;
    margin: 25px 40px ;
    align-items: center;
    cursor: pointer;
}
.startgame button{
    display: block;
    cursor: pointer;
    margin: 0 auto;
    font-size: 20px;
    padding: 15px 30px;
    border-radius: 15px;
    border-collapse: collapse;
    color:whitesmoke;
    background-color:limegreen;
}
.startgame button:disabled{
    background-color: gray;
}
.startgame button:hover:disabled{
    background-color: gray;
}
.startgame button:hover{
    background-color:rgb(5, 114, 5);   
}


.startgame .player:hover{
    color:maroon;
}
.endgame{
    display: none;
    width: inherit;
    height: inherit;
    background-color: rgb(197, 236, 205);
    opacity: 0.9;
    position: absolute;
    padding-top: 50px;
    padding-bottom: 15px; 
    margin-bottom: 50vh;
    border-radius: 5px;
    text-align: center;
    color: black;
    font-size: 2em;
}
.endgame .replay{
    padding-top: 30px;
}
.endgame .replay button{
    background-color: teal;
    display: block;
    cursor: pointer;
    margin: 0 auto;
    font-size: 20px;
    padding: 15px 30px;
    border-radius: 15px;
    border-collapse: collapse;
    color:whitesmoke;
    
}
@media screen and (max-width:319px){
    #container {
       height:150px;
       width:150px;
       margin-top: 50px;
    }
    #container h1{
       
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .cell{
        height: 45px;
        width:45px;
        padding-bottom: 1%;
        font-size: 40px;
    }
    #q0,#q1,#q2,#q3,#q4,#q5{
        border-bottom: 5px solid black;
    }
    #q0,#q1,#q3,#q4,#q6,#q7{
        border-right: 5px solid black;
    }
    .startgame .difficulty .text{
        
        font-size: 19px;
        padding: 0px;
    }
    .startgame .difficulty .level{
        margin: 5px 10px 5px 10px;
        font-size: 10px;
    }
    .startgame .player{
        font-size: 20px;
        margin: 12px 20px ;
    }
    .startgame button{
        font-size: 10px;
        padding: 7px 15px;
        border-radius: 7px;
    }
    
    
}
