
@import url('https://fonts.googleapis.com/css?family=Voltaire');


#world{
  position: absolute;
  width:100%;
  height: 100%;
  background-color:#7FFFD4;

  overflow: hidden;
}


#gameoverInstructions{
  position:absolute;
  font-family:'Pacifico', cursive;
  font-weight:bold;
  text-transform: uppercase;
  font-size:100px;
  text-align:center;
  color:#f80850;
  opacity:0;
  left:50%;
  top:50%;
  width:100%;
  transform : translate(-50%,-100%);
  user-select: none;
  transition: all 500ms ease-in-out;
  
  &.show{
    opacity:1;
    transform : translate(-50%,-50%);
    transition: all 500ms ease-in-out;
  };
}
.button {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    outline: none;
}

.green {
    background-color: green;
    color: white;
}

.red {
    background-color: red;
    color: white;
}

.blue {
    background-color: blue;
    color: white;
}


#dist{
  position:absolute;
  left:50%;
  top:50px;
  transform:translate(-50%,0%);
  user-select: none; 
}

.label{
  position:relative;
  font-family: 'Open Sans', sans-serif;
  text-transform:uppercase;
  color:#FF4500;
  font-size:23px;
  letter-spacing:2px;
  text-align:center;
  margin-bottom:5px;
  
}


#distValue{
  position:relative;
  text-transform:uppercase;
  color:#FF6347;
  font-size:40px;
  font-family:'Voltaire';
  text-align:center;
}



#credits{
  position:absolute;
  width:100%;
  margin: auto;
  bottom:0;
  margin-bottom:20px;
  font-family:'Arial', sans-serif;
  color:#544027;
  font-size:12px;
  letter-spacing:0.5px;
  text-transform: uppercase;
  text-align : center;
  user-select: none;  
}
#credits a {
  color:#544027;
  
}

#credits a:hover {
  color:#dc5f45;
}

#instructions{
  position:absolute;
  width:100%;
  bottom:0;
  margin: auto;
  margin-bottom:50px;
  font-family:'Roboto', sans-serif;
  color:hsl(315, 97%, 50%);
  font-size:16px;
  letter-spacing:1px;
  text-transform: uppercase;
  text-align : center;
  user-select: none;
}
.lightInstructions {
  color:#211ed4;
  font-family:'Roboto', sans-serif;
}
#controls {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#controls button {
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  color: white;
  border-radius: 50%; /* Makes the buttons round */
  transition: background-color 0.3s, transform 0.3s;
  width: 80px; /* Width and height for round buttons */
  height: 80px;
  text-align: center;
  line-height: 20px; /* Adjust line height to vertically center text */
}

#controls button:hover {
  transform: scale(1.1); /* Slightly enlarge the button on hover */
}

#replayButton {
  background-color: green;
}

#replayButton:hover {
  background-color: darkgreen;
}

#pauseButton {
  background-color: red;
}

#pauseButton:hover {
  background-color: darkred;
}

#resumeButton {
  background-color: blue;
}

#resumeButton:hover {
  background-color: darkblue;
}