@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 60%;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  height: 100vh;
  color: #333;
  background-image: linear-gradient(to top left, #365282 0%, #4ac06b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem;
}

main {
  position: relative;
  width: 100rem;
  height: 60rem;
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(200px);
  filter: blur();
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.25);
  border-radius: 9px;
  overflow: hidden;
  display: flex;
}

.player {
  flex: 50%;
  padding: 9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.75s;
}

.name {
  position: relative;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  word-spacing: 2px;
  font-weight: 300;
  margin-bottom: 1rem;
}

.health {
  font-size: 8rem;
  font-weight: 300;
  color: #333336;
  margin-bottom: auto;
}

.current {
  background-color: #32be5a;
  opacity: 0.8;
  border-radius: 9px;
  color: #fff;
  width: 65%;
  padding: 2rem;
  text-align: center;
  transition: all 0.75s;
  margin: 2rem;
}

.current-label {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 1.7rem;
  color: #ddd;
}

.current-score {
  font-size: 3.5rem;
}

.btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #444;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.8rem;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 400;
  transition: all 0.2s;

  background-color: white;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);

  padding: 0.7rem 2.5rem;
  border-radius: 50rem;
  box-shadow: 0 1.75rem 3.5rem rgba(0, 0, 0, 0.1);
}

.btn::first-letter {
  font-size: 2.4rem;
  display: inline-block;
  margin-right: 0.7rem;
}

.btn--shoot {
  top: 39.3rem;
  font-weight: bold;
  font-style: italic;
}
.btn--reset {
  top: 4rem;
  font-weight: bold;
  font-style: italic;
}

.btn:active {
  transform: translate(-50%, 3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.btn:focus {
  outline: none;
}

.result {
  position: absolute;
  left: 41%;
  font-weight: bolder;
  font-size: large;
  font-style: italic;
  color: rgb(10, 10, 10);
}

.Score-Board {
  border: 1px solid black;
  background-color: black;
  padding: 3px;
  display: flex;
  flex-direction: column;
  margin-left: 2rem;
  align-content: center;
}

.playerscore {
  display: inline-flex;
  font-weight: bolder;
  text-align: center;
  font-style: italic;
  color: rgb(10, 10, 10);
  background-color: wheat;
  border: 2px solid black;
  padding: 10px;
  font-size: 20px;
}
