*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    width: 100vw;
    height: 100vh;
    /* background: linear-gradient(to top, #b6da7d, #bfdf8d); */
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    position: relative;
}

.game-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: none;
}

.menu-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: flex;
}

.pause-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: none;
}

.gameover-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: none;
}

.menu{
    width: 600px;
    height: 300px;
    margin-top: -120px;
}

.menu-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.menu-content .heading .logo{
    font-size: 35px;
    text-shadow: 3px 0 10px rgba(0, 0, 0, .5);
}

.content{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .5);
}

.content .heading-content{
    color: black;
    background-color: rgba(255, 255, 255, .7);
    width: 100%;
    height: 100%;
    padding: 15px;
    border-radius: 10px;
}

.content .text-content{
    color: rgba(70, 70, 70, 1);
    padding: 15px 30px;
}

.content .input-group{
    padding: 15px;
    display: flex;
    gap: 5px;
}

.content .input-group input{
    flex: 5;
    padding: 0 10px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    color: gray;
    outline: none;
}

.content .input-group .btn-menu{
    flex: 1;
    padding: .7rem 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background-color: rgb(102, 102, 102);
    color: white;
    font-size: 18px;
    pointer-events: none;
}

.pause{
    width: 600px;
    height: 300px;
    margin-top: -120px;
}

.pause-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, .7);
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.pause-content .heading-content{
    color: black;
    font-size: 25px;
}

.pause-content .text-content{
    color: rgba(70, 70, 70, 1);
    margin-top: 20px;
}

.gameover{
    width: 600px;
    height: 300px;
    margin-top: -120px;
}

.gameover-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, .7);
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.gameover-content .heading-content{
    color: black;
    font-size: 25px;
}

.gameover-content .text-content{
    color: rgba(70, 70, 70, 1);
    margin-top: 20px;
}

.game-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 600px;
    margin-bottom: 10px;
}

.rewind-info{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 800px;
    margin-top: 10px;
}

.rewind-info .rewind{
    width: 100%;
    display: none;
}

.rewind-info button{
    padding: .5rem 1rem;
    border: none;
    border-radius: 10px;
    background-color: salmon;
    color: white;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

.rewind-info .btn-cancel{
    background-color: rgba(0, 0, 100, 1);
    display: none;
}

.rewind-info .btn-rewind{
    display: none;
}

.rewind-info .btn-open-rewind{
    display: block;
}

#background{
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    z-index: -999;
}