html{
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
}
body{
  background: #FFF6D2;
  color: #5F5C70;
}
h1{
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 1.25rem;
}
h2{
  font-size: 1rem;
  font-weight: bold;
}
h5{
  margin: 1rem 1rem 0.5rem 0;
}
h4{
  font-weight: bold;
}
p{
  color: #5F5C70;
  font-size: 1rem;
}
 /*color scheme BF5A53, FFF6D2, 6BC27D, 5F5C70, 474554*/
.stats{
  display: flex;
  justify-content: center;
  font-weight: bold;
  font-size: 2rem;
}
.card{
  position: relative;
  background: #BF5A53;
  border: 4px solid #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  font-size: 4.21rem;
  color:#fff;
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card::before{
  display: inline;
  content: '';
  padding-top:90%;
  padding-bottom:90%;
  font-weight: 400;
}
.reset{
  display: none;
  font-size: 2rem;
  padding: 1rem;
  width:90%;
  text-align: center;
  background: #6BC27D;
  border: 4px solid #fff;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  margin:1rem;
}
.win{
  display: none;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  width: 100%;
  height: 100%;
  margin: auto;
  text-align: center;
  align-items: center;
  background: #FFF6D2;
  font-size: 2rem;
  font-weight: bold;
}
.gif{
  background-repeat: no-repeat;
  height: 30%;
  background-position: center;
  background-size: contain;
  width: 100%;
}
.levels{
  display: flex;
  margin: auto;
  flex-flow: column;
  width: 70%;
  text-align: center;
  font-size: 2rem;
}
.one,
.two,
.three{
  cursor: pointer;
}
.next_one,
.next_two{
  font-size: 2rem;
  padding: 1rem;
  width: 90%;
  text-align: center;
  background: #BF5A53;
  border: 4px solid #fff;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  margin:1rem;
}
.next_banana{
  background: #FFF6D2;
  border: 4px solid #474554;
  color: #474554;
}
}
.levels_header{
  display: flex;
  flex-flow: row nowrap;
  /*text-align: center;*/
}
.levels_header h5{
  display: none;
  margin-right: 0;
}
.banana{
  display: inline;
  height: 2.5rem;
  width: 2.5rem;
  background-color: #fff;
  border: 3px solid #BF5A53;
  border-radius: 3rem;
  cursor: pointer;
}
.banana_button{
  background-color: #FFF6D2;
  border-color: #fff;
}
.banana_style{
  background: #BF5A53;
  color: #fff;
}
.banana_style_card{
  background: #FFF6D2;
  border: 4px solid #474554;
}
.banana_animate {
	animation-name: rotate;
	animation-duration: .69s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.congrats{
  font-size: 3rem;
  margin-top: 0.5rem;
}
@keyframes rotate {
	from {transform: scale( 1.5 );}
	to {transform: scale( 1 );}
}
@media only screen and (min-width:40rem){
  .card{
    font-size: 6rem;
  }
  .banana_style{
    background-size: 12%;
  }
  .card::before{
    display: inline;
    content: '';
    padding-top:40%;
    padding-bottom:40%;
    font-weight: 400;
  }
  .gif  {
    width: 31.25rem;
    margin: 2rem;
  }
  h4.again{
    width: 40rem;
    margin: 1rem;
    line-height: 1.2;
  }
  /*this rule is for the buttons*/
  .win h3{
    width: 31.25rem;
  }
  .levels{
    flex-direction: row;
    width: 100%;
  }
}
