/* Importing Fonts */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("./assets/fonts/HankenGrotesk-VariableFont_wght.ttf");
}
/* Variables */
:root {
  --pale-blue: hsl(221, 100%, 96%);
  --light-lavender: hsl(241, 100%, 89%);
  --dark-gray-blue: hsl(224, 30%, 27%);
  --slate-blue: hsl(252, 100%, 67%);
  --royal-blue: hsl(241, 81%, 54%);
  --violet-blue: hsla(256, 72%, 46%, 1);
  --persian-blue: hsla(241, 72%, 46%, 0);
  --base-font: 18px;
  --main-font: "Hanken Grotesk", sans-serif;
  --main-margin: 20px;
}
/* Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: var(--main-font);
  background: var(--pale-blue);
}
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  background: white;
  border-radius: 10px;
  width: 800px;
}
.container .left-side {
  padding: 20px;
  background: linear-gradient(180deg, var(--slate-blue), var(--royal-blue));
  border-radius: 10px;
  text-align: center;
  display: grid;
  place-items: center;
  width: 400px;
  height: 492px;
}
.container .left-side > p {
  color: var(--light-lavender);
  font-weight: 600;
  margin-bottom: var(--main-margin);
}
.container .left-side .result {
  background: linear-gradient(180deg, var(--violet-blue), var(--persian-blue));
  border-radius: 50%;
  width: 200px;
  height: 200px;
  padding: 20px;
  display: flex;
  align-items: center;
  margin-bottom: var(--main-margin);
  justify-content: center;
  flex-direction: column;
}
.container .left-side .result h2 {
  font-size: 75px;
  color: white;
}
.container .left-side .result .out-of {
  color: var(--light-lavender);
  font-size: var(--main-font);
}
.container .left-side .article h3 {
  color: white;
}
.container .left-side .article > p {
  color: var(--light-lavender);
}
.container .right-side {
  padding: 20px;
  width: 400px;
}
.container .right-side .summary {
  color: var(--dark-gray-blue);
  margin-bottom: var(--main-margin);
}
.container .right-side .subjects {
  margin-bottom: var(--main-margin);
  padding: 10px;
}
.container .right-side .subjects .subject {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  margin-bottom: var(--main-margin);
}
.container .right-side .subjects .subject .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.container .right-side .subjects .subject.reaction {
  background: hsla(0, 100%, 50%, 0.08);
  border-radius: 10px;
}
.container .right-side .subjects .subject.reaction .title {
  color: hsl(0, 61%, 49%);
}
.container .right-side .subjects .subject.memory {
  background: hsla(60, 100%, 50%, 0.08);
  border-radius: 10px;
}
.container .right-side .subjects .subject.memory .title {
  color: hsl(40, 85%, 67%);
}
.container .right-side .subjects .subject.verbal {
  background: hsla(120, 61%, 50%, 0.08);
  border-radius: 10px;
}
.container .right-side .subjects .subject.verbal .title {
  color: hsl(164, 60%, 44%);
}
.container .right-side .subjects .subject.visual {
  background: hsla(240, 100%, 50%, 0.08);
  border-radius: 10px;
}
.container .right-side .subjects .subject.visual .title {
  color: hsl(235, 54%, 49%);
}
.container .right-side .subject .result span {
  color: hsla(0, 0%, 0%, 0.4);
}
.container .right-side .btn button {
  border: none;
  background: var(--dark-gray-blue);
  padding: 20px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  transition: all 300ms ease;
  width: 100%;
  font-weight: 600;
}
.container .right-side .btn button:hover {
  background: linear-gradient(180deg, var(--violet-blue), var(--royal-blue));
}
@media (max-width: 600px) {
  .container {
    flex-direction: column;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
  }
  .container .left-side {
    border-radius: 0 0 20px 20px;
    width: 100%;
  }
  .container .right-side {
    width: 100%;
  }
}
