html{
    min-width: 360px;
    min-height: 100%;
    overflow-x: hidden;
    font-family: 'Barlow Condensed' !important;
}

.space{
    height: 85px;
}

.instructions{
    font-size: 1.7rem;
    margin-left: 25px;
    position: absolute;
    z-index: -1;
}

.instructions h3{
    margin: 5px 0;
}

.instructions ul{
    margin: 10px;
    padding-right: 10px;
}

.conteiner{
    width: intrinsic; /* Safari */
    width: -moz-max-content; /* Firefox / Gecko */
    width: -webkit-max-content; /* Chrome */
    background-color: #bbc6c7;
    display: flex;
    margin: auto;
    padding: 20px;
    border-radius: 7px;
    flex-wrap: nowrap;
}

.gameMenu{
    position: absolute;
    z-index: 40;
    display: block;
    width: 200px;
    height: 500px;
    background-color: transparent;
    border: solid 3px #f98;
    border-radius: 7px;
    margin: auto;
}

.gameMenuFS {
    position: absolute;
    z-index: 40;
    display: block;
    width: 98%;
    height: 99%;
    background-color: transparent;
    border: solid 3px #f98;
    border-radius: 7px;
    margin: auto;
}

.menuTxt {
    display: block;
    margin-top: 80%;
    color: #ebf6f7;
    height: fit-content;
    text-align: center;
}

.optionsTxt {
    display: block;
    color: #ebf6f7;
    text-align: center;
}

.grid{
    width: 200px;
    height: 500px;
    background-color: #000;
    border: solid 3px #444;
    border-radius: 7px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    overflow: hidden;
}

.cell {
    height: 4%;
    width: 10%;
    box-sizing: border-box;
}

.cell-with-grid {
    border: solid 0.5px #111;
}

.cell-without-grid {
    border: none;
}

.tetrominos{
    border-style: outset !important;
    border-width: 4px !important;
    box-sizing: border-box;
}

#cont2{
    display: flex;
    flex-wrap: wrap;
    width: 100px;
    height: fit-content;
    margin-left: 20px;
}

#cont2 h2{
    color: #128;
    display: block;
    margin: auto;
    margin-top: 10px;
    text-align: center;
}

#next{
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.mini-grid{
    height: 80px;
    width: 80px;
    margin: auto;
    background-color: #000;
    border: solid 1px #444;
    border-radius: 7px;
    display: flex;
    flex-wrap: wrap;
}

.mini-grid div{
    height: 20px;
    width: 20px;
    box-sizing: border-box;
}

.mini-grid-mob {
    height: 80px;
    width: 80px;
    top: 10px;
    right: 35px;
    background-color: transparent;
    border-radius: 7px;
    display: none;
    flex-wrap: wrap;
    position: absolute;
    z-index: 20;
}

.mini-grid-mob div {
    height: 20px;
    width: 20px;
    box-sizing: border-box;
}

#lines{
    margin-bottom: 10px;
    text-align: center;
}

#start-button{
    display: block;
}

#options-button{
    display: block;
}

#pause-button {
    display: none;
}

#restart-button {
    display: none;
}

.btn {
    margin: auto;
    padding: 0 10px;
    margin-top: 20px;
    border: outset 3px #ebf6f7;
    font-family: 'Barlow Condensed', sans-serif;
    color: #000;
    font-weight: 600;
    font-size: 1.3rem;
    transition: 0.5s linear;
    outline: none;
}

.btn:hover{
    background-color: #9aa;
}

.btn:active{
    background-color: #47a;
}

.bot {
    display: none;
}

.mobInstructions {
    display: flex;
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    flex-direction: column;
}

#mobInstrTxt {
    color: red;
    display: block;
    margin: 0 auto;
}

#mobInstr {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 10px auto;
}

.mobBtns {
    position: absolute;
    top: 55%;
    left: 0;
    right: 0;
}

.in-game-btn-container {
    width: 90px;
    margin: auto;
    bottom: 180px;
    position: relative;
    height: 0;
}

.in-game-btn-container-FS {
    width: 110px;
    bottom: 270px;
    margin: auto;
    position: relative;
    height: 0;
}

.in-game-btn {
    border: none;
    position: absolute;
    width: 50%;
    z-index: 20;
    height: 60px;
}

#rotate-ccw-button {
    background-color: rgba(200, 200, 33, 0.2);
    left: 0;
}

#rotate-cw-button {
    background-color: rgba(33, 200, 33, 0.2);
    right: 0;
}

#hard-drop-button {
    position: relative;
    bottom: -60px;
    width: 100%;
    background-color: rgba(200, 33, 33, 0.2);
}

#move-left-button {
    bottom: 0;
    background-color: rgba(33, 33, 200, 0.2);
    left: 0;
}

#move-right-button {
    bottom: 0;
    background-color: rgba(200, 33, 200, 0.2);
    right: 0;
}

#info-mob {
    margin-left: 42px;
    margin-top: 27px;
    flex-direction: column;
    position: absolute;
    display: flex ;
    flex-wrap: wrap;
}

#score-mob {
    font-size: 27px;
    margin-top: 0;
    margin-bottom: 0;
    color: #ebf6f7;
    z-index: 20;
}

#lines-mob {
    font-size: 21px;
    margin-top: 5px;
    margin-bottom: 0;
    color: yellowgreen;
    z-index: 20;
}

#level-mob {
    font-size: 21px;
    margin-top: 5px;
    margin-bottom: 0;
    color: indianred;
    z-index: 20;
}

#combos-mob {
    font-size: 21px;
    margin-top: 5px;
    margin-bottom: 0;
    color: royalblue;
    z-index: 20;
}

#info-display {
    display: flex ;
    flex-wrap: wrap;
    flex-direction: column;
}

#info-display * {
    margin-top: 5px;
    margin-bottom: 0;
}

#combos {
    color: royalblue;
}

.gameOvTxt {
    margin: auto;
    display: flex ;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: magenta;
}

/* colors */

/* #5194cc #e6e6fa #e15454 */
.colorSet-0-1 {
    background-color: #5194cc;
    border-color: #5194cc;
}

.colorSet-0-2 {
    background-color: #e6e6fa;
    border-color: #e6e6fa;
}

.colorSet-0-3 {
    background-color: #e15454;
    border-color: #e15454;
}

/* #6a5acd	#e6e6fa	#98fb98 */
.colorSet-1-1 {
    background-color: #6a5acd;
    border-color: #6a5acd;
}

.colorSet-1-2 {
    background-color: #e6e6fa;
    border-color: #e6e6fa;
}

.colorSet-1-3 {
    background-color: #98fb98;
    border-color: #98fb98;
}

/* #20b2aa #fff0f5 #f49883 */
.colorSet-2-1 {
    background-color: #20b2aa;
    border-color: #20b2aa;
}

.colorSet-2-2 {
    background-color: #fff0f5;
    border-color: #fff0f5;
}

.colorSet-2-3 {
    background-color: #f49883;
    border-color: #f49883;
}

/* #00ced1	#e6e6fa	#6a5acd */
.colorSet-3-1 {
    background-color: #00ced1;
    border-color: #00ced1;
}

.colorSet-3-2 {
    background-color: #e6e6fa;
    border-color: #e6e6fa;
}

.colorSet-3-3 {
    background-color: #6a5acd;
    border-color: #6a5acd;
}

/* #9370db	#f0f8ff	#b0e0e6 */
.colorSet-4-1 {
    background-color: #9370db;
    border-color: #9370db;
}

.colorSet-4-2 {
    background-color: #f0f8ff;
    border-color: #f0f8ff;
}

.colorSet-4-3 {
    background-color: #b0e0e6;
    border-color: #b0e0e6;
}

/* #5f9ea0	#f0fff0	#d8bfd8 */
.colorSet-5-1 {
    background-color: #5f9ea0;
    border-color: #5f9ea0;
}

.colorSet-5-2 {
    background-color: #f0fff0;
    border-color: #f0fff0;
}

.colorSet-5-3 {
    background-color: #d8bfd8;
    border-color: #d8bfd8;
}

/* #7fffd4	#fffacd	#8a2be2 */
.colorSet-6-1 {
    background-color: #7fffd4;
    border-color: #7fffd4;
}

.colorSet-6-2 {
    background-color: #fffacd;
    border-color: #fffacd;
}

.colorSet-6-3 {
    background-color: #8a2be2;
    border-color: #8a2be2;
}

/* #feac4e	#e6e6fa	#e44537 */
.colorSet-7-1 {
    background-color: #feac4e;
    border-color: #feac4e;
}

.colorSet-7-2 {
    background-color: #e6e6fa;
    border-color: #e6e6fa;
}

.colorSet-7-3 {
    background-color: #e44537;
    border-color: #e44537;
}

/* #3cb371 #fff0f5 #add8e6 */
.colorSet-8-1 {
    background-color: #3cb371;
    border-color: #3cb371;
}

.colorSet-8-2 {
    background-color: #fff0f5;
    border-color: #fff0f5;
}

.colorSet-8-3 {
    background-color: #add8e6;
    border-color: #add8e6;
}

/* #66cdaa #f0f8ff #87cefa */
.colorSet-9-1 {
    background-color: #66cdaa;
    border-color: #66cdaa;
}

.colorSet-9-2 {
    background-color: #f0f8ff;
    border-color: #f0f8ff;
}

.colorSet-9-3 {
    background-color: #87cefa;
    border-color: #87cefa;
}

/* animation on tetris */

@keyframes tetrisAnim {
    0% {
        background-color: #cbd6d7;
    }

    20% {
        background-color: #333;
    }

    40% {
        background-color: #cbd6d7;
    }

    60% {
        background-color: #333;
    }

    100% {
        background-color: #bbc6c7;
    }
}

.on-Tetris-Anim {
    animation: tetrisAnim 0.4s;
}

/* fullscreen mobile tetris anim */
@keyframes tetrisFSAnim {
    0% {
        background-color: #bbb;
    }

    20% {
        background-color: #444;
    }

    40% {
        background-color: #bbb;
    }

    60% {
        background-color: #444;
    }

    80% {
        background-color: #bbb;
    }

    100% {
        background-color: #000;
    }
}

.on-Tetris-Anim-FS {
    animation: tetrisFSAnim 0.3s;
}
