* {
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: "Hanken Grotesk", serif;
}

main {
  width: 100%;
  max-width: 42rem;
  display: flex;
  box-shadow: 0px 30px 60px 0px rgba(61, 108, 236, 0.15);
  border-radius: 10%;
}

.left-box,
.right-box {
  width: 50%;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
}

/* CSS for left box */

.left-box {
  border-radius: 10%;
  background: linear-gradient(to bottom, hsl(252, 100%, 67%), hsl(241, 81%, 54%));
  color: azure;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.left-box div {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  background: linear-gradient(to bottom, hsl(256, 72%, 46%), hsla(241, 72%, 46%, 0));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score {
  font-size: 3.5rem;
  font-weight: 800;
}

.left-box h3,
.score-label,
.left-box p {
  color: hsl(0, 7%, 82%);
}

.left-box p {
  width: 90%;
}

.left-box h2 {
  margin: 25px 0 10px;
}
/*CSS for left box end */

/*CSS for right box start */

.right-box {
  text-align: left;
  align-items: flex-start;
}

.right-box ul {
  list-style-type: none;
  width: 100%;
  padding: 0px;
}

.right-box li {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.icon-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

li:first-of-type {
  background-color: hsla(0, 100%, 67%, 0.1);
  color: hsl(0, 100%, 67%);
  font-weight: 700;
}

li:nth-of-type(2) {
  background-color: hsla(39, 100%, 56%, 0.1);
  color: hsl(39, 100%, 56%);
  font-weight: 700;
}

li:nth-of-type(3) {
  background-color: hsla(166, 100%, 37%, 0.1);
  color: hsl(166, 100%, 37%);
  font-weight: 700;
}

li:last-of-type {
  background-color: hsla(234, 85%, 45%, 0.1);
  color: hsl(234, 85%, 45%);
  font-weight: 700;
}

li .marks {
  color: hsl(0, 7%, 82%);
  display: flex;
  gap: 6px;
  font-weight: 600;
}

.marks span {
  color: black;
  font-weight: 700;
}

.button {
  align-self: center;
  width: 90%;
  padding: 13px;
  color: azure;
  font-weight: 700;
  text-decoration: none;
  background-color: hsl(224, 30%, 27%);
  text-align: center;
  border-radius: 20px;
}

.button:active {
  background: linear-gradient(to bottom, hsl(252, 100%, 67%), hsl(241, 81%, 54%));
}

/*CSS for right box end */

@media (max-width: 500px) {
  body {
    margin: 0px;
    font-size: 15px;
  }

  main {
    flex-direction: column;
    width: 100%;
    height: 108%;
  }

  .left-box,
  .right-box {
    width: 100%;
    padding: 15px 25px;
  }

  .left-box div {
    width: 100px;
    height: 100px;
  }

  .right-box h3 {
    margin: 0px;
  }
}
