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

html{
    font-size: 62.5%; /* 10px = 1rem */
}

body{
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: hsla(221, 100%, 96%);
    font-family: "Hanken Grotesk", sans-serif;
    line-height: 1.5;
}

.results-summary-container{
    display: flex;
    width: 60rem;
    height: 43.5rem;
    border-radius: 2.4rem;
    overflow: hidden;
    background: white; /* this helped allow both section appear to blend seamlessly into eachother*/
}
@media(max-width: 600px){
    .results-summary-container{
        display: flex;
        flex-direction: column;
        height: 87rem;
        width: fit-content;
    }
}
@media(min-width: 435px) and (max-width: 600px){
    .results-summary-container{
        width: fit-content;
    }
}
   
.total-results-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(to bottom, hsl(252, 100%, 67%), hsl(241, 81%, 54%));
    padding: 2rem;
    gap: 2.4rem;
    text-align: center;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    width: 30rem;
}

@media(min-width: 435px) and (max-width: 600px){
    .total-results-box{
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        width: 40rem;
    }
}

.your-result{
    color: hsl(241, 100%, 89%);
    font-size: 1.6rem;
}

.total-percent-circle{
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    width: 17rem;
    height: 17rem;
    flex-direction: column;
    background-image: linear-gradient(to bottom, hsla(256, 72%, 46%, 0.6), hsla(241, 72%, 46%, 0.3));
}

.number{
    font-size: 5rem;
    color: hsl(0, 0%, 100%);
}

.percentage{
    color: hsl(241, 100%, 89%);
    font-size: 1.4rem;
}

.ranking{
    display: flex;
    gap: 1.2rem;
    flex-direction: column;
    text-align: center;
}

.rating{
    font-size: 2.4rem;
    color: hsl(0, 0%, 100%);
}

.avg{
    font-size: 1.8rem;
    color: hsl(241, 100%, 89%);
    text-align: center;
}

.summary-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: hsl(0, 0%, 100%);
    padding: 2.4rem;
    gap: 1.2rem;
    text-align: center;
    width: 30rem;
}
@media(min-width: 435px) and (max-width: 600px){     
    .summary-box{
        width: 40rem;
    }
}

.summary{
    display: flex;
    align-self: flex-start;
    color: hsl(224, 30%, 27%);
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
}

.summary-listing{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.4rem;
    width: 24rem;
    font-size: 1.4rem;
    border-radius: 1.2rem;
    font-weight: 700;
    height: 5rem;
}
@media(min-width: 435px) and (max-width: 600px){
     .summary-listing{
        width: 35rem;
        height: 6.3rem;
        font-size: 1.8remcolor: ;;
    } 
}

.icon{
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.reaction p{
    color: hsl(0, 100%, 67%);
}

.reaction{
    background: hsla(0, 100%, 80%, 0.1);
}

.memory p{
    color: hsl(39, 100%, 56%);
}

.memory{
    background: hsla(39, 100%, 80%, 0.1);
}

.verbal p{
    color: hsl(166, 100%, 37%);
}

.verbal{
    background: hsla(166, 100%, 80%, 0.1);
}

.visual p{
    color: hsl(234, 85%, 45%);
}

.visual{
    background: hsla(234, 85%, 80%, 0.1);
}

output{
    color: hsl(224, 30%, 27%);
}

.hundred{
    color: hsla(224, 30%, 27%, 0.3);
}

.continue{
    text-decoration: none;
    display: inline-block;
    color: hsl(0, 0%, 100%);
    text-align: center;
    padding: 1rem 2.4rem;
    border-radius: 2rem;
    background: hsl(224, 30%, 27%);
    font-size: 1.6rem;
    font-weight: 500;
    width: 24rem;
    margin-top: 2rem;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
@media(min-width: 435px) and (max-width: 600px){
    .continue{
        width: 34rem;
        height: 5rem;
        font-size: 1.8rem;
    }
}

.continue:active{
     background-image: linear-gradient(to bottom, hsla(256, 72%, 46%, 1), hsla(241, 72%, 46%, 0.5));
}