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

body {
    background-color: hsl(221, 100%, 96%);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.card {
    background-color: hsl(0, 0%, 100%);
    max-width: 700px;
    width: 100%;
    display: flex;
    border-radius: 20px;
}

.result {
    text-align: center;
    background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
    width: 50%;
    padding: 24px;
    border-radius: 20px;
}

.score {
    width: 180px;
    height: 180px;
    margin: 30px auto;
    border-radius: 50%;
    background: linear-gradient(hsla(256, 72%, 46%, 1), hsla(241, 72%, 46%, 0));
    color: hsl(0, 0%, 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.your-result {
    color: hsl(241, 100%, 89%);
    font-weight: 700;
    font-size: 18px;
    margin-top: 10px;
}

.primary {
    font-size: 56px;
    font-weight: 800;
}

.secondary {
    font-size: 14px;
    font-weight: 600;
    color: hsl(241, 100%, 79%);
}

.great {
    color: hsl(0, 0%, 100%);
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 18px;
}

.description {
    color: hsl(241, 100%, 85%);
    font-size: 14px;
    line-height: 1.5;
    padding: 0 48px;
    display: block;
    margin-bottom: 12px;
}

.summary {
    width: 50%;
    padding: 36px;
}

.your-summary {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.summary-tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 10px;
}

.summary-tab p {
    font-size: 16px;
}

.summary-tab p .numerator {
    font-weight: 700;
    color: hsl(224, 30%, 27%);
    margin-right: 3px;
}

.summary-tab p .denominator {
    font-weight: 700;
    color: hsl(224, 30%, 27%);
    opacity: 0.6;
}

.tab-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    opacity: 0.7;
}

.reaction {
    background-color: hsla(0, 100%, 67%, 0.1);
    color: hsl(0, 100%, 67%);
}

.memory {
    background-color: hsla(39, 100%, 56%, 0.1);
    color: hsl(39, 100%, 56%);
}

.verbal {
    background-color: hsla(166, 100%, 37%, 0.1);
    color: hsl(166, 100%, 37%);
}

.visual {
    background-color: hsla(234, 85%, 45%, 0.1);
    color: hsl(234, 85%, 45%);
}

.continue {
    width: 100%;
    margin-top: 20px;
    padding: 15px 0;
    border-radius: 25px;
    border: none;
    color: hsl(0, 0%, 100%);
    background-color: hsl(224, 30%, 27%);
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;

}

.continue:hover {
    background-color: hsl(234, 85%, 45%);
    cursor: pointer;

}

@media (max-width: 560px) {
    body {
        align-items: flex-start;
    }

    .card {
        flex-direction: column;
        width: 100%;
    }

    .result, .summary {
        width: 100%;
    }

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

    .summary-tab {
        padding: 20px 10px;
    }
}