:root{
    --PCprefxWidth: 700px;
    --MinWidth: 320px;
    --prefixHeight: 100px;
    --prefBorderColor: solid black;
    --numberSize: 50px;
    --notWorkBGColor: rgba(255, 0, 0, 0.514);
}

body{
background-image: url(https://img-cdn.pixlr.com/pixlr-templates/64a26c58c4247e1cdde69e09/preview.webp);
background-repeat: no-repeat;
background-size: cover;	
background-attachment: fixed;
}

h1{
    font-size: 70px;
    font-family: sans-serif;
    color: rgb(255, 48, 48);
    text-shadow: 5px 4px 3px black;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 30px;
}

h3{
    color: red;
    font-family: sans-serif;
    font-size: 40px;
    border: 4px solid darkslategrey;
    border-radius: 20px;
    background-color: lightgray;
    text-align: center;
    width: auto;
    margin: 1%;
    padding: 6px;
}

h4{
    font-weight: bold;
    font-size: 20px;
}

footer{
background-color: rgba(136, 136, 136, 0.6);
border-radius: 10px;
margin-top: 2px;
padding-left: 10px;
padding-right: 10px;
}

#main-container{
    display: flex;
}


button{
    margin: 5px;
    border: 2px var(--prefBorderColor); border-radius: 10px;
    width: 90px;
    height: 56px;
    text-align: center;
    vertical-align: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 50px;
}

button:hover{
    background-color: rgb(168, 172, 177);
}

.setbut{
    width: 56px;
    border: 0px; background-color: inherit;
    margin: auto;
}
.setbut:hover{
    background-color: rgb(240, 199, 149);
}

.settings-btn{
    border: 2px solid rgb(221, 170, 112);
    background-color: inherit;
    height: fit-content;
    width: 100%;
    margin: auto;
}

.settings-btn:hover{
    background-color: rgb(240, 199, 149);
}

#set-button{
    width: auto;
    height: auto;
    background-color: transparent;
    border: none; border-radius: 20px;
    padding: 0px;
    margin: 0px;
}

#set-button:hover{
    background-color: rgb(168, 238, 150);
}

#settings-container{
    width: 20%;
    height: fit-content;
    border-radius: 20px;
    background-color: rgba(255, 248, 220, 0.6);
}

#settings{
    width: 100%;
    height: fit-content;
    display: none;
}

.settings-box{
    margin: auto;
    width: fit-content;
    height: fit-content;
    border: 2px solid black; border-radius: 15px;
    background-color: bisque;
    padding-left: 5px;  padding-right: 5px;
    text-align: center;
}

.sub-settings{
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
}

.explain-par{
    font-size: 25px;
    font-family: sans-serif;
    margin: auto;
}

.left-element{
    margin-left: 0px;
    margin-right: auto;
}

.right-element{
    margin-right: 0px;
    margin-left: auto;
}

#main-subcontainer{
width: 760px;
padding: 20px;
border-radius: 20px;
height: fit-content;
margin-left: 3%;
background-color: rgba(255, 248, 220, 0.6);
}

#rulbut:hover{
    background-color: var(--notWorkBGColor);
}
#comma:hover{
    background-color: var(--notWorkBGColor);
}

#page-title{
text-align: center;
font-family: sans-serif;
}

#How-To-Play{
background-color: rgba(225, 0, 0, 0.6);
font-family: monospace;
font-size: 15px;
font-weight: italic;
border-radius: 15px;
width: var(--PCprefxWidth);  height: fit-content;
padding-left: 10px;  padding-right: 10px;
padding-top: 5px;    padding-bottom: 5px;
margin: auto;
margin-top: 20px;
margin-bottom: 15px;
}

#second-container{
    margin: auto;    margin-top: 15px;
    width: var(--PCprefxWidth);
    background-color: grey;
    height: fit-content;
    border: var(--prefBorderColor); border-radius: 40px;
}

#score-streak-container{
    margin: auto;
    background-color: rgb(82, 82, 82);
    border-color: 2px var(--prefBorderColor); border: 2px; border-radius: 40px; 
    display: flex; justify-content: center;
    width: var(--PCprefxWidth);
    height: var(--prefixHeight);
}

#screen{
    margin: auto;  margin-top: 20px; margin-top: 20px;
    display: flex;  justify-content: center;  align-items: center;
    background-image: linear-gradient( to bottom right, rgb(128, 226, 226), rgb(72, 168, 224));
    border: 2px var(--prefBorderColor);  border-top-left-radius: 20px; border-top-right-radius: 20px; border-bottom-color: rgba(240, 248, 255, 0);
    height: 100px;  width: 600px;
    font-weight: bolder;  font-family: sans-serif;
    }

#display{
    font-size: 50px;
}

#keyboard{
    border: 2px var(--prefBorderColor); border-bottom-left-radius: 20px; border-bottom-right-radius: 20px;
    width: 600px;
    height: fit-content;
    margin: auto; margin-bottom: 40px;
    background-color: rgb(206, 206, 206);
    display: flex; align-items: center;
}

#main{
    margin: auto;
}

#start{
    height: 338px;
    width: 150px;
}

.strBut{
    height: 150px;
    width: 140px;
}

.row{
    margin: auto;
    width: fit-content;
}

#score{
    background-color: green;
    width: 400px;
    border-top-left-radius: 38px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--numberSize);
    display: flex;
    justify-content: center;
    align-items: center;
}


#streak{
    background-color: burlywood;
    width: 400px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--numberSize);
    display: flex;
    justify-content: center;
    align-items: center; 
}

#counter{
    background-color: coral;
    width: 200px;
    border-top-right-radius: 38px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--numberSize);
    display: flex;
    justify-content: center;
    align-items: center;
}

#submit{
    height: 56px;
}
#zero{
    height: 56px;
}
#gen{
    height: 56px;
}
img {
    width: 50px;
    height: 50px;
}
