body{
    background-color: #202124;
    color: white;
    overflow: hidden;
}

div.main{
    height: 100vh;
    align-items: center;
    display: grid;
}

#map{
    margin: auto;
    background-color: transparent;
}
#map tr td{
    height: 30px;
    width: 30px;
}
@media only screen and (max-width: 540px) {
    #map tr td{
        height: 25px;
        width: 25px;
    }
}
@media only screen and (max-width: 390px) {
    #map tr td{
        height: 20px;
        width: 20px;
    }
}

div.cell{
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.575);
}
div.cell.fruit{
    background-color: #E7471D;
}
div.cell.snake{
    background-color: #4876EB;
}

.text-center{text-align: center !important;}
.text-left{text-align: left !important;}
.text-right{text-align: right !important;}

.score{
    top: 0px;
    padding: 10px 100px 15px 30px;
    text-align: left;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    right: 0px;
    border-radius: 0px 0px 0px 20px;
}
.score > p{
    margin: 0px;
}

.vertical-margin {
    margin: 15px 0px;
}

.btn-mobile-controller {
    width: 110px;
    height: 110px;
    background-color: transparent;
    border: 2px solid #4876EB;
    color: #4876EB;
    font-size: 40px;
}
@media only screen and (max-width: 368px) {
    .btn-mobile-controller {
        width: 100px;
        height: 100px;
    }
}
@media only screen and (max-width: 368px) {
    .btn-mobile-controller {
        width: 90px;
        height: 90px;
    }
}
@media only screen and (max-width: 309px) {
    .btn-mobile-controller {
        width: 80px;
        height: 80px;
    }
}
.btn-mobile-controller.ghost{
    border-color: transparent;
    color: transparent;
    box-shadow: none !important;
}

.no-padding {
    padding: 0px !important;
}