@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --Light-red: hsl(0, 100%, 67%);
    --Orangey-yellow: hsl(39, 100%, 56%);
    --Green-teal: hsl(166, 100%, 37%);
    --Cobalt-blue: hsl(234, 85%, 45%);
    --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%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hanken Grotesk', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--Pale-blue);
}

.container {
    display: flex;
    width: 600px;
    background-color: white;
    border-radius: 25px;
    box-shadow: 0 10px 20px hsla(224, 30%, 27%, 0.1);
}

.card {
    flex: 1;
    padding: 2rem;
}

.result-card {
    background: linear-gradient(var(--Light-slate-blue), var(--Light-royal-blue));
    border-radius: 25px;
    text-align: center;
    color: var(--White);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(var(--Violet-blue), var(--Persian-blue));
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1rem 0;
}

h3 {
    font-size: 1.5rem;
}
.main-score {
    font-size: 3rem;
    font-weight: 800;
}

.total-score {
    color: var(--Light-lavender);
    font-size: 0.9rem;
}

.result-description {
    color: var(--Light-lavender);
    max-width: 230px;
    font-size: 0.98rem;
}

  
.summary-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-item-1 {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 10px;
    align-items: center;
    background-color: hsla(0, 100%, 67%, 0.050);
}

.summary-item-2 {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 10px;
    align-items: center;
    background-color: hsla(39, 100%, 56%, 0.050);
}

.summary-item-3 {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 10px;
    align-items: center;
    background-color: hsla(166, 100%, 37%, 0.050);
}

.summary-item-4 {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 10px;
    align-items: center;
    background-color: hsla(234, 85%, 45%, 0.050);
}

.category {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.reaction { color: var(--Light-red); }
.memory { color: var(--Orangey-yellow); }
.verbal { color: var(--Green-teal); }
.visual { color: var(--Cobalt-blue); }

.score {
    color: var(--Dark-gray-blue);
    font-weight: 700;
}

span {
    color: hsl(224, 30%, 27%, 0.5);
}

.continue-btn {
    background: linear-gradient(var(--Light-slate-blue), var(--Light-royal-blue));
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    margin-top: 1rem;
    cursor: pointer;
    width: 100%;
}

.continue-btn:hover {
    background: var(--Dark-gray-blue);
}

@media (max-width: 600px) {
    .container {
        flex-direction: column;
    }

    .result-card {
        border-radius: 0 0 25px 25px;
    }
}