@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@500;700;800&display=swap');

main
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20vh;
    font-family: 'Hanken Grotesk', sans-serif;
    
}

main>div
{
    
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 20px;
    box-shadow: 10px 5px 30px hsl(225, 8%, 91%);
}

#result-section
{
    background-image: linear-gradient(hsl(252, 100%, 67%),hsl(241, 81%, 54%));
    color: white;
    border-radius: 20px;

    flex-grow: 1;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
   
    min-height: 65vh;
    width: 50vh;
   
}

#result-section h3
{
    opacity: 0.7;
    font-weight: 500;
    
}

#result
{
    
    height: 9rem;
    width: 9rem;
    border-radius: 50%;

   background-image: linear-gradient(hsla(256, 72%, 46%, 1), hsla(241, 72%, 46%, 0));
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#result-section strong
{
    font-size: 3rem;
   
}

#result-section span
{
   margin-top: 0.5rem;
   opacity: 0.6;
}

#result-section h1
{
   letter-spacing: 1px;
    margin-bottom: 0.7rem;
    margin-top: 0rem;
}

#result-details
{
    text-align: center;
    letter-spacing: 1px;
    font-weight: 500;
    margin: 0 2.5rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Summary section */
#summary-section
{
    background-color: white;
    border-radius: 0 20px 20px 0;
    margin: 0 2rem;

    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content:space-evenly ;
    min-height: 65vh;
    width: 47vh;
}

#summary-section h3
{
    color: hsl(224, 30%, 27%);
    margin-bottom: 0;
}

mark
{
    padding: 0.8rem;
    border-radius: 10px;
}

#reaction-score
{
    background-color: hsla(0, 100%, 67% , 0.1);
    color: hsl(0, 100%, 67%);
}
#memory-score
{
    background-color: hsl(39, 100%, 56% , 0.1);
    color: hsl(39, 100%, 56%);
}

#verbal-score
{
    background-color:hsl(166, 100%, 37% , 0.1) ;
    color: hsl(166, 100%, 37% );
}

#visual-score
{
    background-color: hsl(234, 85%, 45% , 0.1);
    color: hsl(234, 85%, 45%);
}

mark>div
{
    display: flex;
    
}

img
{
    margin-right: 1.5rem;
}

mark>div>div
{
    flex-grow: 1;
   display: flex;
   justify-content: flex-end;
}
mark strong
{
    color: black;
}

button
{
    border-radius: 20px;
    border: none;
    background-color: hsl(224, 30%, 27%);
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 1rem 8rem;
    margin-top: 1.2rem;
    margin-bottom: 1rem;
}

button:hover
{
    background-color: hsl(234, 85%, 45%);
}


@media((max-width:900px) and (min-width:375px)) 
{
    

    main>div
     {
        flex-direction: column;
     };

     #result-section
     {
        width: 454.094px;
     }

     #summary-section
     {
        margin:0;
        
     }

}

@media(max-width:375px)
{

    main
    {
     
        margin: 5rem;
    }

    main>div
    {
       flex-direction: column;
    };

    #result-section
    {
       width: 454.094px;
    }

    #summary-section
    {
       margin:0;
       
    }
}
