:root {
  --adown: #3771d754;
  --rojo: #9c0312;
  --azul: #1d3968;
  --rdown: #c11627;
  --gris: #515151;
  --multa: #e85f62;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
}

main {
  height: auto;
  padding: 15px;
  position: relative;
  min-height: 100vh;
  display: flex;
  padding-bottom: 30px;
  background-color: white;
}

main .container {
  position: relative;
  display: block;
  width: 97.5%;
  min-height: 850px;
  /*Separación fuera del elemento*/
  margin: 0 auto;
  /*Separación dentro del elemento*/
  padding: 5px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  color: white;
  background-color: var(--gris);
  border-radius: 10px;
}

main .container img {
  display: flex;
  height: 30vh;
  justify-content: space-between;
}

main .yellow {
  color: yellow;
}

main .gorditas {
  font-weight: bold;
}

main .multa {
  color: rgb(255, 40, 40);
  background-color: black;
}

main .titulo {
  font-size: 50px;
  font-weight: bold;
}

main .reglas {
  display: flex;
  padding: 0;
  margin: 0 auto;
  font-size: 40px;
  justify-content: space-evenly;
}

main .reglas img {
  display: flex;
  height: 30vh;
}

main .reglas ol {
  /*Posicionar en el centro*/
  align-self: center;
  list-style-position: inside;
}

main ul {
  list-style-position: inside;
  text-align: center;
  list-style-image: url("http://localhost/HomePage/img/T con la liebre.png");
}

main ul li {
  margin: 0 15px;
  font-size: 30px;
}

main .back {
  width: auto;
  margin: 20px 0;
  font-size: 4vh;
  background-color: var(--rojo);
  border-radius: 10px;
  border: 2px solid black;
}

main .back a {
  color: white;
  text-align: center;
  text-decoration: none;
}

main .back :hover {
  background-color: white;
  color: black;
  box-shadow: 0 0 5px 5px black;
  border-radius: 10px;
}

/* media queries */
@media screen and (max-width: 1000px) {
  /*Main*/
  main .container {
    text-align: center;
  }

  main .container img {
    height: 20vh;
  }

  main .titulo{
    font-size: 35px;
  }

  main .reglas {
    font-size: 30px;
  }
}

@media screen and (max-width: 550px) {
  /*Main*/
  main {
    width: 93.5vh;
  }

  main .container img {
    height: 15vh;
  }

  main .reglas {
    font-size: 29px;
  }
}
