/* melhorar a interface do programa */

*{ box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

body {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 26px;
    background-color: rgb(226, 226, 226);
  }
   
  h1{
    background-image: linear-gradient(
      to right,
      rgb(149 114 252),
      rgb(67 231 173),
      rgb(226 212 92)
      );
      background-clip: text;
      color: transparent;
      font-family: 'Varela Round', sans-serif;
      font-size: 5rem;
      -webkit-text-stroke: 2px rgba(0, 0, 0, 0.286);
  }

  section{
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 20px;
    border: 5px solid white;
    border-image: linear-gradient(
      to right,
      rgb(138, 71, 224),
      rgb(67 231 173),
      rgb(226 212 92)
      ) 1;
  }

  #timer{
    margin-bottom: 15px;
    background-color: lightgrey;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.450);
  }

  .bckground{
    height: 250px;
    background-color: aqua;
    background-image: url("rainbowcolors.jpeg");
    border-radius: 10px;
    background-size: cover;
    background-position: center;
  }

  #word-display {
    padding-top: 70px;
    margin-top: 28px;
    font-size: 75px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.617);
  }

#game-container {
  position:relative;
  overflow: hidden;
  padding: 0px 70px;
  width: 750px;
  height: 620px;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.450);
  background-color: white;
  
}

.instructions a{
  display: inline-block;
  font-size: 14px;
  margin-top: 20px;
  padding: 5px;
  border: 2px solid black;
  text-align: center;
  text-decoration: none;
  color: black;
}

.buttons{
  margin-top: 30px;
}
.buttons-sr{
  margin: 50px;
}

#start, #reset{
  border-radius: 11px;
  width: 100px;
  height: 50px;
  cursor: pointer;
  font-family:"Roboto Slab","Droid Serif","Segoe UI",system-ui,Arial,sans-serif;
  font-size: 1.2rem;
  text-align: center;
  text-shadow: rgba(0, 0, 0, .3) 1px 1px 1px;
  border: none;
}

.red, .blue, .yellow, .green, .purple {
  border-radius: 11px;
  width: 110px;
  height: 70px;
  color: #fff;
  cursor: pointer;
  font-family:"Roboto Slab","Droid Serif","Segoe UI",system-ui,Arial,sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding: .8em 1em;
  text-align: center;
  text-shadow: rgba(0, 0, 0, .3) 1px 1px 1px;
  border: none;
}


.red:hover , .blue:hover, .yellow:hover, .green:hover, .purple:hover{
 opacity: 0.8;
}

.red{
  background-color: rgb(244, 51, 51);
}

.blue {
  background-color: blue;
}
.yellow{
  background-color: rgb(236, 236, 0);
}
.green{
  background-color:green;
}
.purple {
  background-color: purple;
}
