
*{
    box-sizing: border-box;
}

html {
  font-family: open-sans, arial, sans-seriff;
  font-size: 20px;
}

body {
    align-items: center;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

main{
  display:flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
  background-color: white;
  position: relative;
}
main .game-container{
  width: 50%;
  margin:0 auto;
    position: relative;
}
#help{
  display: inline-block;
  padding: 0 10px;
  margin-left: 1rem;
  font-weight: bold;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid blue;
  user-select: none;
  transition: all 300ms ease;
}
#help.open{
  transform: rotate(180deg);
}
#help:hover{
  background-color: blue;
  color: white
  }
.toggle{
  display: flex;
  justify-content: start;
  align-items: center;
}
#instructions.init{
  position: absolute;
  z-index: -1;
  opacity: 0;
  height: auto;
}
#instructions{
  position:relative;
 overflow:hidden;
  height:0;
  transition: height 300ms ease;
}
@media (max-width: 768px){
  main{
    flex-direction: column;
    width: 100%;
    
  }
  main section:nth-of-type(2){
  width: 100%;
}

}


