:root {
  /* ### Primary */

  --LightRed: hsl(0, 100%, 67%);
  --OrangeyYellow: hsl(39, 100%, 56%);
  --GreenTeal: hsl(166, 100%, 37%);
  --CobaltBlue: hsl(234, 85%, 45%);

  /* ## Gradients */

  --LightSlateBlueBackground: hsl(252, 100%, 67%);
  --LightRoyalBlueBackground: hsl(241, 81%, 54%);
  --VioletBlueCircle: hsla(256, 72%, 46%, 1);
  --PersianBlueCircle: hsla(241, 72%, 46%, 0);

  /* ### Neutral */

  --White: hsl(0, 0%, 100%);
  --grey: hsl(0, 1%, 75%);
  --PaleBblue: hsl(221, 100%, 96%);
  --LightLavender: hsl(241, 100%, 89%);
  --DarkGrayBlue: hsl(224, 30%, 27%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  height: 100vh;
  background-color: var(--PaleBblue);
  font-family: Hanken Grotesk;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.outer-container {
  display: flex;
  width: 800px;
  height: 500px;
  border-radius: 30px;
  background-color: var(--White);
  box-shadow: 20px 20px 20px rgba(78, 72, 255, 0.1);
}

.results-container {
  display: flex;
  flex-direction: column;
  width: 50%;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  padding: 50px;
  border-radius: 30px;
  background-image: linear-gradient(
    to bottom,
    var(--LightSlateBlueBackground),
    var(--LightRoyalBlueBackground)
  );
}

.results-container h1 {
  color: var(--grey);
  font-size: 1.7rem;
}

.results-circle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  border-radius: 100px;
  background-image: linear-gradient(
    to bottom,
    var(--VioletBlueCircle),
    var(--PersianBlueCircle)
  );
}
.results-container h2 {
  font-size: 2rem;
  color: var(--White);
}
.results-container p {
  color: var(--grey);
}
.results-circle h2 {
  font-size: 5rem;
  color: var(--White);
}
.results-circle p {
  color: var(--grey);
}

.summary.hidden {
  opacity: 0;
}

.summary-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 50%;
  padding: 50px;
}

.summary-container h2 {
  margin-right: auto;
}

.stat-bar {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  height: 50px;
  align-items: center;
  padding: 0 15px 0 15px;
  border-radius: 12px;
}

.stat-bar img {
  margin-right: 10px;
}

.stat-bar p {
  margin-left: auto;
}
.score-container {
  display: flex;
  margin-left: auto;
}
.score {
  margin-right: 6px;
}

#stat-bar-one {
  background-color: rgba(255, 102, 102, 0.1);
}
#stat-bar-two {
  background-color: rgba(255, 179, 25, 0.1);
}
#stat-bar-three {
  background-color: rgba(0, 189, 143, 0.1);
}
#stat-bar-four {
  background-color: rgba(47, 59, 202, 0.1);
}

#stat-bar-one h3 {
  color: var(--LightRed);
}
#stat-bar-two h3 {
  color: var(--OrangeyYellow);
}
#stat-bar-three h3 {
  color: var(--GreenTeal);
}
#stat-bar-four h3 {
  color: var(--CobaltBlue);
}

button {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  border: none;
  background-color: var(--DarkGrayBlue);
  color: var(--White);
}

button:hover {
  background-image: linear-gradient(
    to bottom,
    var(--LightSlateBlueBackground),
    var(--LightRoyalBlueBackground)
  );
  border: none;
  cursor: pointer;
}

@media (max-width: 800px) {
  .outer-container {
    flex-direction: column;
    width: 350px;
    height: 800px;
  }
  .results-container {
    width: 100%;
    height: 50%;
    padding: 30px;
    box-shadow: 20px 20px 20px rgba(78, 72, 255, 0.1);
  }

  .summary-container {
    width: 100%;
    height: 50%;
    padding: 10px 30px 30px 30px;
  }
}
