* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-image: url('../images/dice.jpg');
  background-repeat: repeat;
}

header {
  display: flex;
  background-color: #ffc8dd;
  justify-content: center;
  align-items: center;
  gap: 2em;
  padding: 1em;
}

header>img {
  width: 50px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  padding: 1em;
  max-width: 1000px;
  margin: 0 auto;

}

h2 {
  font-size: 1.3rem;
  text-align: center;
}

p {
  line-height: 1.5;
}

span {
  color: brown;
  font-weight: 600;
}

.rules {
  padding: 1em;
  background-color: #f4f1bb;
}

button {
  padding: .5em 1em;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #C05746;
  color: #eaeaea;
  border: solid #eaeaea 2px;
  border-radius: 10px;
  margin: 1em;
}

#gamecontrol,
#score {
  background-color: aliceblue;
  width: 60%;
  margin: 0 auto;
  text-align: center;
}

#game {
  background-color: #eaeaea;
  text-align: center;
}

#game>P {

  margin: 1em;
  font-weight: 600;
}

#game>img {

  width: 40%;
  max-width: 100px;
  margin: 1em;
}

#actions {
  background-color: silver;
}

#score {
  display: flex;
  flex-direction: column;
}