* {
    margin: 0;
    padding: 0;
    font-family: "Hanken Grotesk", sans-serif;
}

:root {
--Light-red-bg: hsla(0, 100%, 67%, 0.112);
--Light-red: hsl(0, 100%, 67%);
--Orangey-yellow: hsl(39, 100%, 56%);
--Green-teal: hsl(166, 100%, 37%);
--Cobalt-blue: hsl(234, 85%, 45%);

--bg-gra1 : #7857ff;
--bg-gra2 : #2e2be9;

--circle-gra1 : hsla(256, 72%, 46%, 1);
--circle-gra2: 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%);

--space-xs : .5rem;
--space-sm: 1rem;
--space-md: 1.5rem;
--space-lg: 2.5rem

}

body {
    font-size: 18px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

main{
    display: flex;
    width: min(700px,100%);
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--Light-lavender);
}



.result {
    color: var(--Light-lavender);
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(var(--bg-gra1),var(--bg-gra2));
    border-radius: 1rem;
    text-align: center;
    padding: var(--space-lg);
    gap: 1rem;
}

.result h1{
    color: var(--White);
    font-size: 4rem;
}
.result h3{
    color: var(--White);
    font-size: 2rem;
}

.result-circle{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    width: 12rem;
    border-radius: 50%;
    background: linear-gradient(var(--circle-gra1),var(--circle-gra2));
}

.ratings {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;

}
ul{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;

}

li{
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm);
    border-radius: 1rem;

}

li span {
    color: var(--Light-lavender);
    font-weight: 500;
}

li p {
    color: var(--Dark-gray-blue);
    font-weight: 800;
}

.left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.left p{
    color : inherit;
}

.reaction {
    color: var(--Light-red);
    background-color: var(--Light-red-bg);
}

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

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

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

button{
    color: var(--White);
    font-size: 18px;
    font-weight: 900;
    background-color: var(--Dark-gray-blue);
    border-radius: 2rem;
    padding: var(--space-sm);

}

button:hover,button:focus{
    background: linear-gradient(var(--bg-gra1),var(--bg-gra2));
}

@media (max-width: 600px) {
    main {
        flex-direction: column;
        width: 100%;
        min-height: 100svh;
        border-radius: 0;
    }
}
