@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body{
  background: #FFF6F9;
}

.container{
  width: 100%;
  background: #ff0a54;
  color: #fff;
  border-radius: 7px;
  margin: 10rem  0 3rem;
  display: inline-block;
  justify-content: center;
}

.container h2{
  font-size: 25px;
  font-weight: 500;
  padding: 18px 25px;
  border-bottom: 1px solid #ccc;
}

.container .content{
  margin: 25px 26px 35px;
}

.content .word{
  font-size: 33px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 20px;
  margin: 0 24px;
}

.content .details{
  margin: 25px 0 20px;
}

.details p{
  font-size: 18px;
  margin-bottom: 10px;
}

.details p b{
  font-weight: 500;
}

.content input{
  width: 100%;
  height: 60px;
  outline: none;
  padding: 0 16px;
  border-radius: 5px;
  border: 1px solid #aaa;
  font-size: 18px;
  margin-bottom: 1rem;
}

.content .buttons{
  display: flex;
  justify-content: space-between;
}


.buttons button{
  border: none;
  outline: none;
  padding: 15px 0 10px;
  width: 50%;
  font-size: 17px;
  border-radius: 5px;
  /* color: #fff; */
  cursor: pointer;
  /* background: hsl(0, 0%, 0%); */
  margin-left: 1rem;
  cursor: pointer;
}

.refresh-word,
.check-word{
  background: hsl(0, 0%, 0%);
  color: #fff;
}

.refresh-word:hover,
.check-word:hover{
  background: hsl(0, 0%, 25%);
}

/* .buttons button:hover{
  background: hsl(0, 0%, 15%);
} */

.reveal-word{
  background: rgb(83, 136, 22);
  color: #fff;
}

.reveal-word:hover{
  background: hsl(88, 72%, 41%);
}

.score-container {
  font-size: 1.5em;
  margin: 10px 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  width: 100%;
}


.para{
  margin: 0 0.5rem 0.5rem;
}

#result{
  margin: 0 3rem 1.5rem;
  text-align: center;
  font-size: 1.3rem;
}


@media (width > 768px){

  body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #FFF6F9;
  }
  
  .container{
    width: 50%;
    border-radius: 7px;
    background: #ff0a54;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
    color: #fff;
  }

  .container h2{
    font-size: 25px;
    font-weight: 500;
    padding: 18px 25px;
    border-bottom: 1px solid #ccc;
  }
  
  .container .content{
    margin: 25px 26px 35px;
  }
  
  .content .word{
    font-size: 33px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 24px;
    margin: 0 24px;
  }
  
  
}

