@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "hanken grotesk";
    text-align: center;
    background-color: #eee;
}
.summary-component {
    min-height: 400px;
    max-width: 600px;
    width: 100%;
    display: flex;
}
.summary-component > * {
    flex: 1;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}
.result {
  background-image: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
}
.result-title {
    color: hsla(0, 0%, 100%, .75);
    font-size: 1.1rem;
    justify-self: flex-start;
}
.result-score {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-image: linear-gradient(hsla(256, 72%, 46%, 1), hsla(241, 72%, 46%, 0));
    color: white;
    font-size: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.result-score::after {
    content: "of 100";
    font-size: 1rem;
    color: hsla(0, 0%, 100%, .5);
    position: absolute;
    bottom: 45px;
}
.result-response {
    color: white;
    font-size:  1.5rem;
    font-weight: 700;
}
.result p {
    color: hsla(0, 0%, 100%, .5);
    margin: 0 20px;
    font-size: .9rem;
}
.summary {
    background-color: white;
    position: relative;
}
.summary::before {
    content: "";
    display: block;
    width: 50px;
    height: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    left: -25px;
    z-index: -1;
}
.summary-title {
    align-self: flex-start;
    font-size: 1.1rem;
}
.summary-result {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}
.summary-result li {
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    padding: 10px;
}
.summary-reaction {
    background-color: hsla(0, 100%, 67%, .15);
    color: hsl(0, 100%, 67%);
}
.summary-memory {
    background-color: hsla(39, 100%, 56%, .15);
    color: hsl(39, 100%, 56%);
}
.summary-verbal {
    background-color: hsla(166, 100%, 37%, .15);
    color: hsl(166, 100%, 37%);
}
.summary-visual {
    background-color: hsla(234, 85%, 45%, .15);
    color: hsl(234, 85%, 45%);
}
.summary-score {
    display: flex;
    align-items: center;
    color: black;
}
.summary-score-of-100 {
    color: hsla(0, 0%, 0%, .4);
}
button {
    width: 100%;
    padding: 13px;
    margin-top: 25px;
    border: none;
    border-radius: 22px;
    background-color: hsl(224, 30%, 27%);
    color: white;
}
.reaction,
.memory,
.verbal,
.visual {
    margin-left: 20px;
    padding: 3px;
    position: relative;
}
.reaction::before,
.memory::before,
.verbal::before,
.visual::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 1px;
    left: -20px;
}
.reaction::before {
    background: url(../img/icon-reaction.svg) no-repeat;
}
.memory::before {
    background: url(../img/icon-memory.svg) no-repeat;
}
.verbal::before {
    background: url(../img/icon-verbal.svg) no-repeat;
}
.visual::before {
    background: url(../img/icon-visual.svg) no-repeat;
}