:root {
  --border:#5d7da6;
  --red:#d7919a;
  --pageBackground: #95d5a9;
  --greenButton: #cff6da; 
  --redButton: #e9b2b9;
  /* --buttonBorder: #a1e0b4; */  
  --buttonBorder: #6a8672;  
  --redButtonBorder: #ca6976;
  --gameBackground:rgb(255, 254, 248);
  --gradient1:#9bb1cd;
  --gradient2:#7a98bf;
}
html {  
  font-family: "Domine", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: 11px;
  color: #212560;

}
body{
  background: var(--pageBackground)
}
#wrapper {
  font-size: 1.6rem;
  padding-top: 3rem;
}
.imageArea, .stats{
  min-height: 30vh;
}
.imageArea {
  background: linear-gradient(70deg, var(--gradient1), var(--gradient2));
  border-radius: 0 0 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}
h1 {
  margin-top: 0;
  font-size: 2.4rem;
}
h3 {
  margin-top: 0;
  font-size: 2rem;
}
p.items {
  font-size: 2rem;
}
button {
  width: 8rem;
  border: none;
  border-radius: 3rem;
  padding: 1rem;
  background: transparent;
  border: 2px solid var(--buttonBorder);
  background-color: var(--greenButton);
  cursor: pointer;
}
button:nth-child(2) {
  background-color: var(--redButton);
  border: 2px solid var(--redButtonBorder)
}
.stats {
  background: var(--gameBackground);
  border: 2px solid var(--border);
  border-radius: 3rem 3rem 0 0;
  display:flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
  text-align: center;
}
.space-y {
  font-size: 1.6rem;
  margin: 3rem 0;

}
#gameTitle, #ruleIntro { font-style: italic; }
img {
  width: 100%;
  border-radius: 3rem;
}
.fadeIn {
  animation-name: fadeIn;
  animation-duration: .6s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media all and (min-width: 600px) {
  #gameArea {
    display:flex;
  }
 .stats {
    min-height: 50vh;
  }
  .imageArea {
    border-radius: 3rem;
    transform: translate(-3rem, 0);
    flex: 2;    
  }
  .stats {
    flex: 1;
    border-radius: 3rem 0 0 3rem;
    margin-left: 3rem;
    padding-right: 3rem;
  }

}
