*{
    font-family: 'Noto Sans', sans-serif;
    user-select: none;
    box-sizing: border-box;
    overflow: hidden;
}

html{
    transition: all 1s;
    background-color: black;
    height: 100%;
}

body{
    margin: 0;
}

#game-over-screen{
    transition: all 1s;
    opacity: 0;
    background-color: black;
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

#game-over{
    transition: opacity 1s;
    color: red;
    opacity: 0;
    margin: 0;
    font-size: 35px;
}

#easy, #medium, #hard{
    transition: border .3s ease-out, color .3s ease-out, opacity .5s;
    position: relative;
    font-size: 30px;
    text-align: center;
    cursor: pointer;
    margin: 15px 10px;
    border: 2px solid white;
    padding: 5px;
    max-height:25%;
}

#easy:hover{
    border: 2px solid #00db00;
    color: #00db00;
}

#medium:hover{
    border: 2px solid #d9dd00;
    color: #d9dd00;
}

#hard:hover{
    border: 2px solid #ff0000;
    color: #ff0000;
}

#difficulty{
    transition: opacity 1s;
    animation: entryAnim 1s;
    /* display: inline-block; */
    position: absolute;
    height: 250px;
    width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#back-btn-container{
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    line-height: 1;
    position: absolute;
    left: 5px;
    top: 5px;
    height: 4vh;
}

#back-btn-text{
    color:#4d0046;
    transition: color .2s;
}

.material-symbols-outlined{
    color: #590061;
    transition: all .2s ease-out;
    margin-left: 15px;
    font-size: 4vh !important;
}

#heart-container{
    position: absolute;
    right: 10px;
    top: 10px;
}

#select-theme{
    transition: all 1s;
    animation: entryAnim 1s 1;
    position: absolute;
    color: white;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#select-theme-title{
    text-align: center;
}

#select-theme p{
    cursor: pointer;
    transition: color .3s;
    font-size: 20px;
    text-align: center;
}

#change-theme-container{
    text-align: center;
    z-index: -10;
}

#change-theme{
    display: inline-block;
    cursor: pointer;
    margin: 15px 0px;
}

#color-picker-container{
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#color-picker{
    cursor: pointer;
    margin: 0px 5px;
    background-color: black;
    border: none;
}

#color-picker-submit-container{
    display: flex;
    justify-content: center;
}

#submit{
    transition: background-color .3s, color .3s;
    color: white;
    background-color: black;
    border: 1px solid white;
}

#submit:hover{
    background-color: #00db00;
    color: black;
}

#submit:active{
    transform: translateY(2px);
}

#purple{
    color: purple;
}

#purple:hover{
    color: #b900b9;
}

#aqua{
    color: #009c9c;
}

#aqua:hover{
    color:#00ffff
}

#sunset{
    color: #942a00;
}

#sunset:hover{
    color: #da3e00;
}

#circle{
    z-index: 10;
    animation: entryAnim 2s;
    cursor: crosshair;
    position: absolute;
    background-color: white;
    height: 10vw;
    width: 10vw;
    border-radius: 50%;
}

#square-container{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

#start{
    transition: border .3s ease-out, color .4s ease-out, opacity 1.5s;
    cursor: pointer;
    margin: 15px 10px;
    border: 2px solid white;
    padding: 5px;
}

#start-container{
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 35px;
}

#start:hover{
    color: #00db00;
    border: 2px solid #00db00;
}

#start:active{
    transform: translateY(3px);
    opacity: 0;
}

#restart{
    animation: entryAnim 2s;
    transition: border .2s ease-out, color .2s ease-out, margin .7s ease-out, transform .7s ease-out;
    border: 2px solid white;
    padding: 5px;
    cursor: pointer;
    margin: 15px 10px;
    bottom: 10px;
    z-index: 20;
}

#restart-container{
    position: absolute;
    display: flex;
    justify-content: center;
    font-size: 35px;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 20;
}

#restart:hover{
    color: red;
    border: 2px solid red;
}

#restart:active{
    transform: translateY(3px);
}

#counter{
    animation: entryAnim 2s;
    text-align: center;
    font-size: 30px;
    z-index: -10;
}

@keyframes entryAnim {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

@media (max-width: 414px){
    .heart{
        width: 15px;
    }
    #easy, #medium, #hard{
        font-size: 35px;
    }
    #circle{
        width: 10vw;
        height: 10vw;
    }
}
