:root {
  --light-slate-blue: hsl(252, 100%, 67%);
  --light-royal-blue: hsl(241, 81%, 54%);

  --violet-blue: hsla(256, 72%, 46%, 1);
  --persian-blue: hsla(241, 72%, 46%, 0);

  --white: hsl(0, 0%, 100%);
  --pale-blue: hsl(221, 100%, 96%);
  --light-lavender: hsl(241, 100%, 89%);
  --dark-gray-blue: hsl(224, 30%, 27%);

  --light-red: hsl(0, 100%, 67%);
  --orangey-yellow: hsl(39, 100%, 56%);
  --green-teal: hsl(166, 100%, 37%);
  --cobalt-blue: hsl(234, 85%, 45%);
}

body {
  background: var(--pale-blue);
  color: var(--light-lavender);
  font-size: 1.1rem;
  min-height: 100vh;
  font-family: "Hanken Grotesk", Arial, Helvetica, sans-serif;
}

h2 {
  font-size: 1.5rem;
}

main {
  background: white;
  place-self: center;
}

button {
  background: none;
  border: none;
  font-size: 1rem;
  margin-top: 2rem;
}

button {
  width: 100%;
  background: var(--dark-gray-blue);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;

  &:hover {
    background: linear-gradient(
    to bottom,
    var(--light-slate-blue) 0%,
    var(--light-royal-blue) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  }
}

.result,
.summary {
  padding: 40px;
  display: flex;
  flex-direction: column;
  /* align-items: space-between; */
}

.result {
  justify-content: space-between;
  align-items: center;
  text-align: center;
      border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;


  background: linear-gradient(
    to bottom,
    var(--light-slate-blue) 0%,
    var(--light-royal-blue) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

  em {
    font-style: normal;
    color: white;
    font-size: 2rem;
    margin: 0 0 1rem 0;
  }
}

.score {
  margin: 0 0 40px 0;
  width: 138px;
  height: 138px;
  background: linear-gradient(
    to bottom,
    var(--violet-blue) 0%,
    var(--persian-blue) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  strong {
    display: block;
    font-size: 4rem;
    color: white;
    font-weight: bold;
  }
}

.summary {
  h2 {
    font-weight: bold;
    color: var(--dark-gray-blue);
  }

  ul {
    width: 100%;
  }

  li {
    margin-top: 1rem;
    padding: 1rem;
        padding-left: 3rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    position: relative;
    background-repeat: no-repeat;
    background-position: 1rem 50%;

    &::before {
        position: absolute;
        left: 1rem;
        display: inline-block;
        content:"";
        width: 20px;
        height: 20px;
    }
  }
}

  .note {
    color: #999;
    font-weight: bold;

    strong {
        color: var(--dark-gray-blue);
    }
  }
  
.reaction {
  color: var(--light-red);
  background-color: hsl(0, 100%, 67%, 0.1);
background-image:url("./images/icon-reaction.svg") ;

}
.memory {
  color: var( --orangey-yellow);
  background: hsl(39, 100%, 56%, 0.1);
  background-image:url("./images/icon-memory.svg") ;
}
.verbal {
  color: var(--green-teal);
  background: hsl(166, 100%, 37%, 0.1);
  background-image:url("./images/icon-verbal.svg") ;
}
.visual {
  color: var(--cobalt-blue);
  background: hsl(234, 85%, 45%, 0.1);
  background-image:url("./images/icon-visual.svg") ;
}

@media (min-width: 601px) {
  body {
    display: grid;
  }

  main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    width: 100%;
    max-width: 734px;
    margin: 0 auto;
  }

  .result {
    border-radius: 20px;
  }
}
