* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

:root {
  --Light-red: hsl(0, 100%, 67%);
  --Orangey-yellow: hsl(39, 100%, 56%);
  --Green-teal: hsl(166, 100%, 37%);
  --Cobalt-blue: hsl(234, 85%, 45%);
  /*    background     */
  --Light-slate-blue: hsl(252, 100%, 67%);
  --Light-royal-blue: hsl(241, 81%, 54%);
  /*    circle    */
  --Violet-blue: hsla(256, 72%, 46%, 1);
  --Persian-blue: hsla(241, 72%, 46%, 0);
  /*netural*/
  --White: hsl(0, 0%, 100%);
  --Pale-blue: hsl(221, 100%, 96%);
  --Light-lavender: hsl(241, 100%, 89%);
  --Dark-gray-blue: hsl(224, 30%, 27%);
}
a {
  text-decoration: none;
  color: var(--Light-lavender);
}

.hanken-grotesk {
  font-family: "Hanken Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.fw-500 {
  font-weight: 500;
}
.fw-700 {
  font-weight: 700;
}
.fw-800 {
  font-weight: 800;
}

body {
  background-color: var(--Pale-blue);
  font-family: "Epilogue", sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  display: flex;
  gap: 20px;
  background-color: var(--White);
  border-radius: 20px;
  max-width: 600px;
  margin: auto;
}

.result {
  background-image: linear-gradient(
    to bottom,
    var(--Light-slate-blue),
    var(--Light-royal-blue)
  );
  border-radius: 20px;
  text-align: center;
  padding: 40px;
}

.result > span {
  color: var(--Pale-blue);
}
.result .rate {
  background-image: linear-gradient(
    to top,
    var(--Light-slate-blue),
    var(--Light-royal-blue)
  );
  border-radius: 50%;
  height: 130px;
  width: 130px;
  margin: 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.result .rate h1 {
  margin: 0;
  color: var(--White);
  font-size: 50px;
}
.result .rate span {
  color: var(--Light-lavender);
  font-size: 14px;
}
.result h2 {
  color: var(--White);
  margin: 15px 0;
}
.result p {
  width: 220px;
  color: var(--Pale-blue);
  line-height: 1.5;
}
.summary {
  padding: 10px;
  width: 250px;
}
.summary div {
  margin-top: 1rem;
}
.summary div p {
  margin: 0;
  display: inline;
  color: var(--Light-lavender);
  padding-left: 5px;
}
.box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 15px;
  padding: 18px 14px;
}

.red {
  background-color: rgb(255 87 87 / 10%);
}
.yellow {
  background-color: rgb(255 176 31 / 10%);
}
.green {
  background-color: rgb(0 189 145 / 10%);
}
.blue {
  background-color: rgb(17 37 212 / 10%);
}
label {
  display: flex;
  align-items: center;
}
label img {
  margin-right: 5px;
}
.box label:nth-child(2) span {
  color: var(--Dark-gray-blue);
  font-weight: 800;
}
.box label:nth-child(2) p {
  color: var(--Dark-gray-blue);
  opacity: 80%;
  font-weight: 700;
}

.continue-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: var(--Dark-gray-blue);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
}

.continue-btn:hover {
  background-image: linear-gradient(
    to bottom,
    var(--Light-slate-blue),
    var(--Light-royal-blue)
  );
}
@media (max-width: 570px) {
  .container {
    flex-direction: column;
  }
  .summary {
    width: 100%;
  }
}
