@font-face {
    font-family: 'Hanken Grotesk';
    font-display: swap;
    font-weight: 100 900;
    src: url('HankenGrotesk-VariableFont_wght.ttf') format('truetype');
}

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

body {
    width: 100%;
    max-width: 1440px;
    height: 100vh;
    font-family: 'Hanken Grotesk', sans-serif;
}

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

@media (min-width: 600px){
    body {
        min-height: 100vh;
        display: grid;
        place-items: center;
    }
}

.result-summary {
    max-width: 46rem;
    display: grid;
}

@media (min-width: 600px) {
    .result-summary {
        grid-template-columns: 1fr 1fr ;
    }
}

.your-results {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    max-width: 280px;
    max-height: 400px;
    background: linear-gradient( hsl(252, 100%, 67%) 1%, hsl(241, 81%, 54%));
    border-radius: 0 0 25px 25px;
    z-index: 1;
}

@media (min-width: 600px) {
    .your-results {
        border-radius: 25px;
    }
}

#result-header {
    color: hsl(241, 100%, 89%);
    margin-top: -10px;
}

.score {
    position: relative;
    margin-top: 20px;
    margin-bottom: 40px;
    aspect-ratio: 1/1;
    width: 160px;
    background: linear-gradient(hsla(256, 72%, 46%, 1) 1%, hsla(241, 72%, 46%, 0) 100%);
    border-radius: 50%;
}

#score {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 55px;
    font-weight: 800;
    padding-top: 20%;
    color: #fff;
}

#points {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    margin-top: -8px;
    color: hsl(241, 100%, 80%);
}

#comment {
    margin: -20px 0 10px 0;
    font-size: 25px;
    color: #fff;
}

#phrase {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: hsl(241, 100%, 89%);
}

.summary {
    display: flex;
    padding: 2rem;
    width: 100%;
    height: 100vh;
    max-width: 280px;
    max-height: 400px;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 10px 10px 25px 2px  hsl(221, 100%, 96%);
    border-radius: 0 25px 25px 0;
}

.summary h3 {
    color: hsl(224, 30%, 27%);
    margin-bottom: 22px;
}

.grid-flow {
    display: grid;
    align-items: start;
    gap: .9rem;
}

.flex-group {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.icons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: .7rem;
    border-radius: .5rem;
    font-size: 14px;
    font-weight: 400;
}

.icons[data-item-type="accent-1"] {
    background-color: hsl(0, 100%, 67%, 0.05);
}

.reaction {
    color: hsl(0, 100%, 67%);
    font-weight: 500;
}

.icons[data-item-type="accent-2"] {
    background-color: hsl(39, 100%, 56%, 0.05);
}

.memory {
    color: hsl(39, 100%, 56%);
    font-weight: 500;
}

.icons[data-item-type="accent-3"] {
    background-color: hsl(166, 100%, 37%, 0.05);
}

.verbal {
    color: hsl(166, 100%, 37%);
    font-weight: 500;
}

.icons[data-item-type="accent-4"] {
    background-color: hsl(234, 85%, 45%, 0.05);
}

.visual {
    color: hsl(234, 85%, 45%);
    font-weight: 500;
}

.summary-score {
    color: hsl(224, 30%, 27%, .5);
    font-weight: 700;
}

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

.btn {
    color: #fff;
    font-weight: 600;
    line-height: 1;
    background-color: hsl(224, 30%, 27%);
    padding: 0.9rem 1rem;
    border: 0;
    width: 100%;
    align-items: center;
    border-radius: 100vw;
    cursor: pointer;
    margin-top: 30px;
}

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

