* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    width: 100dvw;
    min-height: 100dvh;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
}

#content {
    width: 500px;
    height: 334px;
    background: white;
    border-radius: 30px;
    display: inherit;
    overflow: hidden;
}

#result {
    width: 50%;
    background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
    border-radius: 30px;
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#result h5 {
    margin: 10px auto;
    color: hsl(224, 30%, 87%);
}

#result-context {
    width: 0;
    height: 0;
    background: hsl(241, 81%, 54%);
    border-radius: 50%;
    margin: 0 auto;
    padding: 10px 0;
    color: white;
    overflow: hidden;
    position: relative;
    top: 50px;
    transform: translateY(-50%);
}

#result-context h1 {
    font-size: 0;
    line-height: 0;
    font-weight: 700;
}

#result-context h6 {
    color: hsl(224, 30%, 77%);
    font-size: 0;
    line-height: 0;
    font-weight: 100;
}

#result h2 {
    margin: 20px auto;
    color: white;
    font-size: 0;
    line-height: 0;
}

#result p {
    width: 80%;
    margin: 20px auto;
    color: white;
    font-size: 15px;
}

#summary {
    width: 50%;
    padding: 10px 0;
}

#summary h3 {
    margin: 20px auto;
}

.individual-summary {
    margin: 10px 0;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
}

#reaction {
    background-color: hsla(0, 100%, 67%, 0.1);
}

#memory {
    background-color: hsla(39, 100%, 56%, 0.1);
}

#verbal {
    background-color: hsla(166, 100%, 37%, 0.1);
}

#visual {
    background-color: hsla(234, 85%, 45%, 0.1);
}

#summary button {
    width: 100%;
    aspect-ratio: 5/1;
    color: white;
    background: hsl(224, 30%, 27%);
    border: none;
    border-radius: 20px;
}

#summary button:hover {
    width: 100%;
    background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
    outline: none;
}

@media screen and (max-width: 500px) {
    #content {
        width: 100%;
        max-width: 250px;
        height: 518px;
        flex-direction: column;
    }

    #result {
        width: 100%;
        padding: 0;
    }

    #result h1 {
        margin: 5px 0;
    }

    #result h5 {
        margin: 5px 0;
    }

    #result h2 {
        margin: 5px 0;
    }

    #result p {
        margin: 5px auto;
    }

    #summary {
        width: 100%;
        padding: 0;
    }

    #summary h3 {
        margin: 5px auto;
    }
}