/* general */
body {
  padding: 0;
  margin: 0;
  background-color: #646e84;
  color: white;
  font-family: "Mukta", sans-serif;
}

h2 {
  font-family: "Nerko One", cursive;
  font-size: 3em;
  margin-top: 0;
  text-align: center;
}

footer {
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}

/* game presentation */
#homepage {
  background-image: url(../img/splash_screen.png);
  background-size: cover;
  background-position: center;
  height: 60vh;
}

#homepage ul {
  list-style-type: none;
  padding: 0;
  padding-top: 230px;
  margin: 0;
}

#homepage a {
  font-family: "Nerko One", cursive;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 1.2em;
  color: #393229;
  background-color: #e5e7e8cc;
  width: 200px;
  margin: auto;
  margin-bottom: 1em;
  border: 5px solid #393229;
  border-radius: 15px;
}

#homepage a:hover {
  color: #258bfd;
  background-color: #e5e7e8;
  transition: all 0.3s;
}

#homepage .start {
  animation: 2s ease-in-out infinite alternate float,
    2s ease infinite alternate changeColor;
  background-color: transparent;
  border: none;
  font-size: 3em;
  margin-bottom: 0.5em;
}

#homepage .start:hover {
  background-color: transparent;
}

@keyframes float {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}

@keyframes changeColor {
  0% {
    color: #e5e7e8;
  }
  100% {
    color: #258bfd;
  }
}

/* sandbox */
#sandbox {
  background-color: #4e5a6d;
  padding: 1.5em 2em;
}

.feature1,
.feature2 {
  width: 100%;
}

.feature2 {
  margin-top: 2em;
}

#sandbox a {
  color: #95a9f9;
}

/* media queries */
@media screen and (min-width: 960px) {
  /* general */
  h2 {
    font-size: 4em;
  }

  /* game presentation */
  #homepage {
    height: 100vh;
  }

  #homepage ul {
    padding-top: 520px;
  }

  #homepage a {
    font-size: 2em;
    width: 300px;
    padding: 0.2em;
  }

  #homepage .start {
    font-size: 4em;
  }

  /* sandbox */
  #sandbox {
    padding: 1.5em 3em;
  }

  .container {
    width: 960px;
    margin: auto;
  }

  .container h3 {
    font-size: 1.5em;
  }

  .container p {
    font-size: 1.2em;
  }

  .feature1,
  .feature2 {
    width: 400px;
  }

  .feature1 {
    float: right;
    margin-left: 5em;
  }

  .feature2 {
    float: left;
    margin-right: 5em;
  }

  .versions {
    height: 300px;
  }
}
