* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #030325;
  color: white;
  text-align: center;
  font-family: 'Roboto';
  line-height: 1.5;
}

h1 {
  font-size: 10vh;
  font-family: 'Montserrat';
  text-shadow: 2px 2px 3px red, 0 0 1em blue, 0 0 0.2em blue;
}

.container {
  height: 100vh;
}

a {
  height: 25vh;
  text-decoration: none;
  color: #fff;
  border-radius: 6vh;
  background-color: #474ae2;
  padding: 3vh 6vh;
  font-size: 5.5vh;
  position: relative;
  bottom: 2rem;
  font-weight: bold;
  text-shadow: 2.5px 2.5px 4px #000;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

a:hover {
  background-color: #1a1ca9;
  box-shadow: 0 0 30px 4px #777edf;
}

.heading-container {
  height: 50vh;
  margin: 0 auto;
  width: 80%;
  position: relative;
  top: 1.6rem;
}

.num-icon {
  margin-top: 0.5rem;
  display: block;
  font-size: 12vh;
}

.game-rules {
  height: 25vh;
  background-color: transparent;
  font-size: 4vh;
  width: 85%;
  margin: 1.5rem auto 5rem;
  text-shadow: 1.5px 1.5px 3px red, 0 0 0.8em rgb(101, 101, 251), 0 0 2em #fff;
}

/* RESPONSIVE  */
@media screen and (min-height: 900px) and (max-width: 1500px) {
  .heading-container {
    width: 92%;
  }
  h1 {
    font-size: 8vh;
  }
  .game-rules {
    font-size: 3.5vh;
    width: 90%;
  }
  body {
    line-height: 1.3;
  }
  a {
    font-size: 4.8vh;
    border-radius: 5vh;
    padding: 2.5vh 5vh;
  }
}

@media screen and (min-height: 900px) and (max-width: 920px) {
  h1 {
    font-size: 6vh;
  }
  .game-rules {
    font-size: 3vh;
    margin-bottom: 6.5rem;
  }
  body {
    line-height: 1.2;
  }
  a {
    font-size: 4.2vh;
    border-radius: 4vh;
    padding: 2vh 4vh;
    bottom: 0;
  }
}

@media screen and (max-height: 900px) and (max-width: 1150px) {
  h1 {
    font-size: 7vh;
  }
  .game-rules {
    font-size: 3.5vh;
  }
  a {
    font-size: 5vh;
    border-radius: 5vh;
    padding: 2.5vh 5vh;
  }
}

@media screen and (max-height: 900px) and (max-width: 650px) {
  h1 {
    font-size: 5.7vh;
  }
  body {
    line-height: 1.2;
  }
  .game-rules {
    font-size: 3vh;
    width: 96%;
  }
  a {
    font-size: 3.5vh;
    border-radius: 5vh;
    padding: 2vh 4vh;
    bottom: 0.5rem;
  }
  .num-icon {
    margin-top: 0;
  }
}

@media screen and (max-height: 700px) and (max-width: 650px) {
  h1 {
    font-size: 6.4vh;
  }
  .game-rules {
    font-size: 3.4vh;
  }
}

@media screen and (max-height: 520px) and (max-width: 920px) {
  .container {
    height: 100vh;
  }
  .heading-container {
    height: 40vh;
  }
  a {
    height: 25vh;
    bottom: 2.5rem;
  }
  h1 {
    font-size: 7vh;
  }
  .game-rules {
    height: 20vh;
  }
}

@media screen and (max-height: 520px) and (min-width: 1150px) {
  a {
    bottom: 2rem;
  }
}
