@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

body {
  background-color: #4158D0;
  background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
  color: white;
  margin: 0;
}

th, td {
    padding: 8px;
}

tbody, tr {
}

h1 {
  font-size: 100px;
  color: white !important;
  margin: 5px !important;
}

h3 {
  font-size: 50px;
  color: white !important;
  margin: 5px !important;
  margin-bottom: 20px !important;
}

.center {
  margin: 0;
  width: 35vw;
  height: 35vw;
  background: rgb(35,35,35);
  border-radius: 4px;
}

.controls {
    width: 45vw;
    height: 45vw;
    background: rgb(35,35,35);
    display: none;
    margin-top: 8px;
    border-radius: 4px;
    padding: 4px;
}

.control-left {
    width: 33.3%;
    height: 33.3%;
    background: rgb(45,45,45);
    margin-top: 33.3%;
    border-radius: 6px;
}

.control-up {
    width: 33.3%;
    height: 33.3%;
    background: rgb(45,45,45);;
    margin-left: 33.3%;
    margin-bottom: -99.9%;
    border-radius: 6px;
}

.control-down {
    width: 33.3%;
    height: 33.3%;
    background: rgb(45,45,45);;
    margin-left: 33.3%;
    border-radius: 6px;
}

.control-right {
    width: 33.3%;
    height: 33.3%;
    background: rgb(45,45,45);;
    margin-left: 66.6%;
    border-radius: 6px;
}

.snek_lb {
    background: rgb(35,35,35);
    color: white;
    border-radius: 4px;
    width: 35vw;
    margin-top: 8px;
}

@media only screen and (max-width: 768px) {
    .center {
        width: 70vw;
        height: 70vw;
    }

    .controls {
        display: block;
    }

    .snek_lb {
        width: 70vw;
    }
}

.main-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 94vh;
}

.snek_img {
  width: 100%;
  height: 100%;
  outline: none;
  position: relative;
  object-fit: contain;
}

.grid-container {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-rows: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%;
  grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%;
}

.grid-item {
  background: none;
  width: 100%;
  height: 100%;
}

input {
    margin-top: 25px !important;
    margin-bottom: 25px!important;
    border: none;
    background-color: white;
    height: 3vh;
    width: 12.5vw;
    border-radius: 2px;
    box-shadow: 0 0 2px 0 rgb(85,85,85);
}

.navbar {
    width: 100%;
    height: 6vh;
    background: rgb(45,45,45);
    box-shadow: 0 0 6px 0 rgb(0,0,0);
    display: flex;
}

.navbar > form {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar > form > input {
    background: none !important;
    box-shadow: none !important;
    height: 100%;
    width: 10vw;
    color: white;
    margin: none;
}

*:focus {
    outline: none;
}