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

body {
  font-family: 'Hanken Grotesk', sans-serif;
  background-color: hsl(221, 100%, 96%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  background-color: white;
  border-radius: 25px;
  overflow: hidden;
  width: 700px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.result {
  background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
  color: hsl(241, 100%, 89%);
  width: 50%;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 25px 0 0 25px;
}

.result h2 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  margin-top: -50px;
}

.score-circle {
  background: linear-gradient(hsla(256, 72%, 46%, 1), hsla(241, 72%, 46%, 0));
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  margin-top: 10px;
}

.score-main {
  font-size: 3rem;
  font-weight: 800;
  color: white;
}

.score-sub {
  font-size: 0.9rem;
  color: hsl(241, 100%, 89%);
}

.result h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.result-description {
  font-size: 0.9rem;
  padding: 0 1rem;
}

.summary {
  width: 50%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary h2 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: hsl(224, 30%, 27%);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reaction {
  background-color: hsla(0, 100%, 67%, 0.1);
  color: hsl(0, 100%, 67%);
}
.memory {
  background-color: hsla(39, 100%, 56%, 0.1);
  color: hsl(39, 100%, 56%);
}
.verbal {
  background-color: hsla(166, 100%, 37%, 0.1);
  color: hsl(166, 100%, 37%);
}
.visual {
  background-color: hsla(234, 85%, 45%, 0.1);
  color: hsl(234, 85%, 45%);
}

.score {
  color: hsl(224, 30%, 27%);
}

.gray {
  color: gray;
  font-weight: 400;
}

button {
  margin-top: 1rem;
  padding: 1rem;
  background-color: hsl(224, 30%, 27%);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
}

@media (max-width: 700px) {
  .container {
    flex-direction: column;
    width: 90%;
    border-radius: 0;
  }

  .result,
  .summary {
    width: 100%;
    border-radius: 0;
    padding: 2rem 1.5rem;
  }

  .result {
    border-radius: 0 0 25px 25px;
  }
}
