html{
    font-family: 'Hanken Grotesk', sans-serif;
}

body{
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 18px;
    font-weight: 500;
}

.container{
    display: flex;
    justify-content: center;
    border-radius: 20px;
    width: 700px;
    box-shadow: 5px 20px 30px 10px rgba(0, 0, 0, 0.123);
}

h1{
    font-size: 18px;
    font-weight: 500;
    margin-top: 35px;
}

h2{
    font-size: 18px;
}

.result{
    color: #fff;
    width: 50%;
    background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
    border-radius: 20px;
    /* padding: 30px 50px; */
    text-align: center;
}

.totalscore{
    padding: 50px;
    width: 74px;
    height: 74px;
    border-radius: 100%;
    background: linear-gradient(hsla(256, 72%, 46%, 1),hsla(241, 72%, 46%, 0));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 30px auto;
}

.totalscore span{
    color: hsl(241, 100%, 89%);
}

.totalscore span:nth-of-type(1){
    color: white;
    font-size: 60px;
    font-weight: 800;
}

.lefttext span{
    font-size: 30px;
    font-weight: 700;
}

.lefttext p {
    color: hsl(241, 100%, 89%);
    margin: 0 50px;
}

.summary{
    width: 50%;
    padding: 20px;
    padding-left: 35px;
    padding-right: 35px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scores{
    display: flex;
    flex-direction: column;
}

.scores>div{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
}

.scorename{
    display: flex;
    font-weight: bold;
}

.scorename img{
    margin-right: 7px;
}

.score-reaction{
    color: hsl(0, 100%, 67%);
    background-color: hsl(0, 100%, 67%, 7%);
}

.score-memory{
    color: hsl(39, 100%, 56%);
    background-color: hsl(39, 100%, 56%, 7%);
}

.score-verbal{
    color: hsl(166, 100%, 37%);
    background-color: hsl(166, 100%, 37%, 7%);
}

.score-visual{
    color: hsl(234, 85%, 45%);
    background-color: hsl(234, 85%, 45%, 7%);
}

.altscore{
    color: black;
    font-weight: bold;
}
.altscore span {
    font-weight: lighter;
    color: rgba(0, 0, 0, 0.418);
}

button{
    /* margin: 10px auto; */
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    color: white;
    background-color: hsl(224, 30%, 27%);
    border-radius: 25px;
    cursor: pointer;
}

@media (max-width:760px){
    .result{
        width: 100%;
        padding: 0;
        border-radius: 0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .summary{
        padding: 0;
        width: 80%;
        margin: 0 auto;
    }

    .lefttext{
        padding: 20px;
        text-align: center;
    }

    .container{
        width: 100%;
        flex-direction: column;
        border-radius: 0;
        overflow: hidden;
        padding: 0;
    }

}