@import url("https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@100..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Inter", sans-serif;
  background-color: #9bbf23;
}

main {
  height: 100vh;
  display: flex;
  flex: auto;
  flex-direction: column;
  position: relative;
  justify-content: space-evenly;
  gap: 1rem;
}

/* LEVEL 0 CONFIGURE SCORE */

.lvl-0 {
  position: relative;
  align-self: flex-end;
}

.lvl-0::before {
  content: url("/assets/Level Quotation Bubble.png");
  position: absolute;
  right: 11rem;
  top: -2rem;
}

.lvl-0-score {
  position: absolute;
  right: 17.5rem;
  top: 0rem;
  font-weight: bold;
}

/* LEVEL 1 CONFIGRUATION SCORE AND DIALOGUE BUBBLE */

.lvl-1 {
  position: relative;
  align-self: flex-start;
}

.lvl-1::before {
  content: url("/assets/Level Quotation Bubble.png");
  width: 10px;
  position: absolute;
  right: -14rem;
  transform: rotateY(0.5turn);
  top: -1rem;
}

.lvl-1-score {
  position: absolute;
  right: -10rem;
  top: 1rem;
  font-weight: bold;
}

.lvl-2 {
  position: relative;
  align-self: flex-end;
}

.lvl-2::before {
  content: url("/assets/Level Quotation Bubble.png");
  position: absolute;
  right: 14rem;
  top: 2rem;
}

.lvl-2-score {
  position: absolute;
  right: 20.5rem;
  top: 4rem;
  font-weight: bold;
}

.line {
  background-color: white;
  width: 3rem;
  height: auto;
  justify-self: end;
  position: absolute;
  transform: translateX(4rem) translateY(-4rem);
  z-index: -1;
}

.title-section {
  margin-bottom: 4rem;
  text-align: center;
}

.title-section p {
  font-size: small;
}
h1 {
  font-size: 4.8rem;
  font-weight: 800;
  color: black;
  text-shadow: 3px 3px 2px #d7e6a5, -3px 3px 2px #d7e6a5, -3px -3px 0 #d7e6a5,
    3px -3px 0 #d7e6a5;
  margin-top: 5rem;
}

.restart--btn {
  width: 26rem;
  min-height: 6rem;
  font-size: 2.4rem;
  font-weight: 800;

  justify-self: flex-start;
  color: #000000;
  background-color: #d9d9d9;
  border: 8px solid #637623;
  border-radius: 43px;
  text-align: center;
  margin-top: 2.5rem;
}

.restart--btn:hover {
  background-color: #c3c3c3;
}

.restart--btn:active {
  background-color: #b6b5b5;
}

/* MEDIA QUERIES */

@media (min-width: 45em) {
  .lvl-0,
  .lvl-1,
  .lvl-2 {
    align-self: center;
  }
  .lvl-image {
    width: 150%;
  }

  .lvl-0::before {
    content: url("/assets/Level Quotation Bubble.png");
    position: absolute;
    right: 10rem;
    top: 0rem;
  }

  .lvl-0-score {
    position: absolute;
    right: 16.5rem;
    top: 2rem;
    font-weight: bold;
  }

  /* LEVEL 1 CONFIGRUATION SCORE AND DIALOGUE BUBBLE */

  .lvl-1::before {
    content: url("/assets/Level Quotation Bubble.png");
    width: 10px;
    position: absolute;
    right: -14rem;
    transform: rotateY(0.5turn);
    top: -1rem;
  }

  .lvl-1-score {
    position: absolute;
    right: -10rem;
    top: 1rem;
    font-weight: bold;
  }

  .lvl-2::before {
    content: url("/assets/Level Quotation Bubble.png");
    position: absolute;
    right: 14rem;
    top: 2rem;
  }

  .lvl-2-score {
    position: absolute;
    right: 20.5rem;
    top: 4rem;
    font-weight: bold;
  }

  .line {
    background-color: white;
    width: 3rem;
    height: auto;
    justify-self: end;
    position: absolute;
    transform: translateX(4rem) translateY(-4rem);
    z-index: -1;
  }

  .title-section {
    margin-bottom: 4rem;
    text-align: center;
  }

  .title-section p {
    font-size: small;
  }
  h1 {
    font-size: 4.8rem;
    font-weight: 800;
    color: black;
    text-shadow: 3px 3px 2px #d7e6a5, -3px 3px 2px #d7e6a5, -3px -3px 0 #d7e6a5,
      3px -3px 0 #d7e6a5;
    margin-top: 5rem;
  }

  .restart--btn {
    width: 26rem;
    min-height: 6rem;
    font-size: 2.4rem;
    font-weight: 800;

    justify-self: flex-start;
    color: #000000;
    background-color: #d9d9d9;
    border: 8px solid #637623;
    border-radius: 43px;
    text-align: center;
    margin-top: 2.5rem;
  }

  .restart--btn:hover {
    background-color: #c3c3c3;
  }

  .restart--btn:active {
    background-color: #b6b5b5;
  }
}
