* {
  padding: 0;
  margin: 0;
  transition: 0.5s;
  font-family: "Lato", sans-serif;
}

body {
  background-color: #caefd1;
  overflow: hidden;
}

.main_container {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-evenly;
  overflow: visible;
}

.rotation_box {
  transform: rotate(-90deg);
  margin: 20px;
}

.inner_container {
  position: relative;
  flex-shrink: 0;
  /* fixed width crucial for board */
  min-width: 605px;
  max-width: 605px;
  transform: scale(0.8);
  aspect-ratio: 1/1;
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
  flex: 1;
}

@media (max-width: 761px) {
  .rotation_box {
    transform: scale(0.5) rotate(-90deg);
  }

  .inner_container {
    transform: scale(1);
  }
}
