*,
*::before,
*::after {
  box-sizing: border-box;
  font: inherit;
}

* {
  margin: 0;
  font-family: "HankenGrotesk", sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

body {
  font-family: "HankenGrotesk", sans-serif;
  line-height: 1.5;
}

@font-face {
  font-family: "HankenGrotesk";
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/HankenGrotesk-VariableFont_wght.ttf");
}
.result__score, .card {
  display: flex;
  flex-direction: column;
}

.summary, .result {
  flex: 50%;
  display: grid;
  gap: 1rem;
}

main {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: start;
}
@media (min-width: 45rem) {
  main {
    align-items: center;
  }
}

.card {
  width: 22rem;
  background-color: hsl(0, 0%, 100%);
  border-radius: 2rem;
}
@media (min-width: 45rem) {
  .card {
    flex-direction: row;
    width: 45rem;
    margin: 2rem;
    box-shadow: 5px 5px 10px 8px hsl(221, 100%, 96%);
  }
}

.result {
  padding: 2rem 3rem;
  justify-items: center;
  align-items: self-start;
  text-align: center;
  text-wrap: wrap;
  border-radius: 0 0 2rem 2rem;
  background-image: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
}
@media (min-width: 45rem) {
  .result {
    border-radius: 2rem;
  }
}
.result .title {
  font-weight: 700;
  font-size: 1rem;
  color: hsl(241, 100%, 89%);
}
@media (min-width: 45rem) {
  .result .title {
    font-size: 1.15rem;
  }
}
.result__score {
  font-weight: 700;
  font-size: 1rem;
  color: hsl(241, 100%, 89%);
  justify-content: center;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background-image: linear-gradient(hsl(256, 72%, 46%), hsla(241, 72%, 46%, 0));
}
@media (min-width: 45rem) {
  .result__score {
    font-size: 1.15rem;
  }
}
.result__score span {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  color: hsl(0, 0%, 100%);
}
.result .flex-flow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.result__great {
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(221, 100%, 96%);
}
@media (min-width: 45rem) {
  .result__great {
    font-size: 1.5rem;
  }
}
.result__body {
  font-weight: 500;
  font-size: 1rem;
  color: hsl(241, 100%, 89%);
}
@media (min-width: 45rem) {
  .result__body {
    font-size: 1.15rem;
  }
}

.summary {
  padding: 2rem 2rem;
}
.summary .title {
  font-weight: 700;
  font-size: 1rem;
  color: hsl(224, 30%, 27%);
}
@media (min-width: 45rem) {
  .summary .title {
    font-size: 1.15rem;
  }
}
.summary .grid-flow {
  display: grid;
  gap: 1rem;
}
.summary .grid-flow [data-color=red] {
  background-color: hsla(0, 100%, 67%, 0.1);
}
.summary .grid-flow [data-color=yellow] {
  background-color: hsla(39, 100%, 56%, 0.1);
}
.summary .grid-flow [data-color=green] {
  background-color: hsla(166, 100%, 37%, 0.1);
}
.summary .grid-flow [data-color=blue] {
  background-color: hsla(234, 85%, 45%, 0.1);
}
.summary .summary-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 0.5rem;
}
.summary .summary-item__icon {
  stroke-width: 1.8;
}
.summary .summary-item__title--color-red {
  font-weight: 700;
  font-size: 1rem;
  color: hsl(0, 100%, 67%);
}
@media (min-width: 45rem) {
  .summary .summary-item__title--color-red {
    font-size: 1.15rem;
  }
}
.summary .summary-item__title--color-yellow {
  font-weight: 700;
  font-size: 1rem;
  color: hsl(39, 100%, 56%);
}
@media (min-width: 45rem) {
  .summary .summary-item__title--color-yellow {
    font-size: 1.15rem;
  }
}
.summary .summary-item__title--color-green {
  font-weight: 700;
  font-size: 1rem;
  color: hsl(166, 100%, 37%);
}
@media (min-width: 45rem) {
  .summary .summary-item__title--color-green {
    font-size: 1.15rem;
  }
}
.summary .summary-item__title--color-blue {
  font-weight: 700;
  font-size: 1rem;
  color: hsl(234, 85%, 45%);
}
@media (min-width: 45rem) {
  .summary .summary-item__title--color-blue {
    font-size: 1.15rem;
  }
}
.summary .summary-item__score {
  font-weight: 800;
  font-size: 1rem;
  color: hsla(224, 30%, 27%, 0.596);
}
@media (min-width: 45rem) {
  .summary .summary-item__score {
    font-size: 1.15rem;
  }
}
.summary .summary-item__score span {
  font-weight: 800;
  font-size: 1rem;
  color: hsl(224, 30%, 27%);
}
@media (min-width: 45rem) {
  .summary .summary-item__score span {
    font-size: 1.15rem;
  }
}
.summary .flex-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.summary .button {
  font-weight: 700;
  font-size: 1rem;
  color: hsl(0, 0%, 100%);
  background-color: hsl(224, 30%, 27%);
  padding: 1rem 2rem;
  border: none;
  border-radius: 20rem;
}
@media (min-width: 45rem) {
  .summary .button {
    font-size: 1.15rem;
  }
}
.summary .button:hover, .summary .button:focus {
  background-image: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
  cursor: pointer;
}/*# sourceMappingURL=style.css.map */