body,
* {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
  color: black;
}


main {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255, 211, 89);
}

.con-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 30%;
  max-width: 40%;
  height: 100vh;
}

.h1-hangman-heading {
  font-size: 35px;
  background-color: transparent;
}

.con-word {
  width: 100%;
  height: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.btn-letter-word {
  width: 60px;
  font-size: 25px;
  height: 50px;
  color: black;
  background: transparent;
  font-weight: bold;
  border: none;
  border-bottom: 2px solid black;
  margin-right: 10px;
  text-transform: uppercase;
}

.con-letter-options-lives {
  margin-top: 40px;
  margin-bottom: 15px;
  display: flex;
  border-radius: 10px;
  padding: 15px;
  width: 100%;
  height: 100%;
}

.con-letters {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 10px;
  padding: 20px;
  border-radius: 5px;
  background-color: white;
}

.con-letters button {
  font-size: 20px;
  border-radius: 5px;
  background: rgb(216, 216, 216);
  border: none;
  padding: 5px;
  cursor: pointer;
}

.con-letters button:hover {
  background: rgb(184, 184, 184);
}

.con-lives {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.con-live-count {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.con-counter {
  position: absolute;
  right: 0;
  width: 50px;
  height: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid darkcyan;
  background-color: rgb(235, 235, 235);
}

.con-counter p {
  padding: 0;
  margin: 0;
  font-size: 20px;
  font-weight: bold
}

.btn-letter:hover {
  background-color: rgb(253, 196, 38);
}

.btn-try-again {
  border: none;
  width: 200px;
  height: 70px;
  border-radius: 5px;
  font-size: 18px;
  color: black;
  margin-top: 20px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.btn-try-again:hover {
  background-color: rgb(253, 196, 38);
}

@media only screen and (min-width: 250px) and (max-width: 500px) {

  .con-main {
    min-width: 90%;
    height: 100vh;
  }

  .con-letters {
    grid-gap: 5px;
    padding: 5px;
  }

  .con-counter {
    width: 50px;
    height: 50px;
  }

  .con-counter p {
    font-size: calc(14px + 0.5vw);
  }


}

@media only screen and (min-width: 501px) and (max-width: 700px) {

  .con-main {
    max-width: 100%;
  }

}

@media only screen and (min-width: 701px) and (max-width: 1000px) {


  .con-main {
    max-width: 100%;
  }

}