/* Google Fonts import */
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
/* General style rules */

body {
  max-width: 1500px;
  margin-right: auto;
  margin-left: auto;
  font-family: "Roboto", sans-serif;
  background-image: url("../images/forest-path.png");
  background-size: cover;
}

.header {
  background-color: #f8f9fa;
  border: 3px solid;
  text-align: center;
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  font-weight: bold;
  padding-top: 10px;
  margin: 10px;
}

h2 {
  font-family: Libre Baskerville, serif;
}

p {
  font-size: 16px;
}

/* Wizard image styling */

.wizard-logo {
  width: 70px;
  height: auto;
}

/* Container styling */

#gameContent {
  margin: 40px;
  padding: 20px;
  border: 3px solid;
  border-radius: 5px;
  background-color: #f8f9fa;
}

#choicesContent {
  margin-top: 30px;
  text-align: center;
}

#endingContent {
  text-align: center;
}

#diceContent {
  text-align: center;
}

/* Button styling */
button {
  border: 2px solid;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 5px;
  font-family: "libre Baskerville", serif;
  font-size: 14px;
  cursor: pointer;
}

button:hover {
  box-shadow: inset 0 0 5px #000000;
}

/* Dice button styling */
.dice-button {
  background-image: url("../images/outline-style-dice.jpg");
  background-size: cover;
  background-position: center;
  width: 45px;
  height: 45px;
  border: 2px solid;
}

/* Audio player styling */
audio {
  max-width: 200px;
}

.audio-content {
  margin: 40px;
  padding: 20px;
  text-align: center;
}

/*Re-size header and main h2 on smaller screens*/
@media screen and (max-width: 576px) {
  header h1 {
    font-size: 20px;
  }

  header .wizard-logo {
    width: 50px;
  }

  header p {
    font-size: 12px;
  }

  main h2 {
    font-size: 18px;
  }

  audio {
    max-width: 150px;
  }
}
