*,
*::before,
*::after {
    box-sizing: border-box;
    position: relative;
    animation-timing-function: linear;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    border: 0;
}

body {
    font-family: 'Acme', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #7768AE;

}

h1 {
    font-size: 40px;
    margin: 10px;
    color: #E1BC29;
}

h3 {
    font-size: 20px;
    margin: 10px;
}

p {
    font-size: 15px;
}

.upNext {
    margin-top: 5px;
    font-size: 15px;
    color: #FFF;
}

.container {
    display: flex;
    flex-direction: column;
    position: relative;
}

button {
    cursor: pointer;
    margin: auto;
    padding: 10px;
    background-color: #E15554;
    border: none;
    border-radius: 10px;
    font-family: 'Acme', sans-serif;
    font-size: 12px;
}

button:hover {
    transform: translateY(-2px);
    transition: 200ms ease-in-out;
}

button:focus,
button:active {
    padding: 10px;
    border: none;
    border-radius: 10px;
}

.background {
    width: 200px;
    height: 345px;
    padding-top: 20px;
    background-color: rgb(13, 22, 39);
    border-radius: 10px;
}

.grid {
    width: 150px;
    height: 300px;
    margin: auto;
    background-color: rgb(13, 22, 39);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.grid div {
    width: 15px;
    height: 15px;
    background-color: #30343f5b;
    border: 1px solid rgb(13, 22, 39);
    border-radius: 3px;
}

.tetromino {
    border: 1px solid #30343f;
}

.scoreDiv {
    margin-top: 15px;
    width: 200px;
    height: 80px;
    display: flex;


}

.startResetBtn {
    margin: auto;
}

.miniContainer {
    width: 60px;
    height: 60px;
    /* padding-bottom: 50px; */
    background-color: rgb(13, 22, 39);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.miniGrid {
    width: 40px;
    height: 40px;
    background-color: rgb(13, 22, 39);
    display: flex;
    flex-wrap: wrap;
    border-radius: 3px;
}

.miniGrid div {
    width: 10px;
    height: 10px;
    background-color: #30343f5b;
    border: 1px solid rgb(13, 22, 39);
    border-radius: 3px;

}

/* .gameOverImg {
    width: 420px;
    height: 450px;
    background-image: url(game-over.png);
    background-repeat: no-repeat;
    position: absolute;
    display: flex;
    z-index: 99;
} */

#score {
    margin-left: 5px;
    color: #3BB273;
}

/* .gameOver {
    margin-left: 5px;
    color: #ffffff;
    background-color: #E15554;
} */

.arrowControls {
    width: 180px;
    height: 90px;
    margin-top: 20px;
    margin-left: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.arrowControls div {
    width: 30px;
    height: 30px;

    text-align: center;
}

.control {
    width: 30px;
    height: 30px;

    background-color: #E1BC29;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.control span {
    color: #0D1627;
    font-weight: 900;
    font-size: 14px;
    text-align: center;

}

/* .rotateBtn {
    width: 60px;
    height: 60px;
    margin: 0;
} */