body,
button {
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
}

body {
  width: 100vw;
  height: 100vh;
  font-size: calc(10px + 2vmin);
  text-align: center;
  margin: 0;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  cursor: pointer;
  background-color: #11aa44;
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.row {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.links-box {
  display: flex;
  justify-self: flex-start;
}

.buttons-box {
  display: flex;
  justify-content: flex-end;
}

.canvas-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.themes-box {
  display: flex;
}

.links {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.icon-box {
  cursor: pointer;
  width: 55px;
  height: 55px;
  flex-direction: column;
  align-items: center;
}

.icon {
  width: 45px;
  height: 45px;
  margin: 5px;
  z-index: 1;
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.buttons button {
  width: 45px;
  height: 45px;
  margin: 5px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.inDevelopment {
  display: flex;
  font-size: small;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 160px;
  background-color: rgba(0, 0, 0, 0.5);
}

.themes {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
}

@media only screen and (orientation: landscape) {
  body {
    background-color: #ffff00;
  }
}

.shake {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.farmBG {
  background-color: #ffffff;
  background-image: url("assets/bg/farm-bg.svg");
  background-attachment: fixed;
  background-size: cover;
}
.candyBG {
  background-color: #ffff00;
  background-image: url("assets/bg/candy-bg.svg");
  background-attachment: fixed;
  background-size: cover;
}
.webBG {
  background-color: #11aa44;
  background-image: url("assets/bg/web-bg.svg");
  background-repeat: repeat;
  background-attachment: scroll;
}
.foodBG {
  background-color: #f29e03;
  background-image: url("assets/bg/food-bg.svg");
}
.oceanBG {
  background-color: #00b7ff;
  background-image: url("assets/bg/ocean-bg.svg");
}

.credit {
  margin: 8px 0 0;
  font-size: 11px;
  opacity: 0.8;
}

.credit a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
