@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');
*{
    box-sizing: border-box;
}
body{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Hanken Grotesk", serif;
    font-size: 18px;
}
.results{
    width: 600px;
    max-width: 100%;
    display: flex;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}
@media(max-width:767px){
    .results{
        flex-direction: column;
    }
}
.results .total{
    flex: 1;
    background-image: linear-gradient(to bottom,hsl(252, 100%, 67%),hsl(241, 81%, 54%));
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}
.results .total p{
    color: hsl(221, 100%, 96%);
}
.results .total h1{
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: auto;
    background-image: linear-gradient(to bottom,hsla(256, 72%, 46%, 1),hsla(241, 72%, 46%, 0));
    align-content: center;
    color: hsl(0, 0%, 100%);
    font-size: 45px;
}
.results .total h1 span{
    display: block;
    font-size: 16px;
    font-weight: normal;
    color: hsl(221, 100%, 96%);
}
.results .details{
    flex: 1;
    padding: 20px;
}
.results .details p:first-child{
    color: hsl(224, 30%, 27%);
    font-weight: 700;
    font-size: 20px;
    margin: 0;;
}
.results .details .grad{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}
.results .details .grad div{
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.results .details .grad div:first-child{
    background-color: hsla(0, 100%, 67%,0.1);
}
.results .details .grad div:nth-child(2){
    background-color: hsla(39, 100%, 56%,0.1);
}
.results .details .grad div:nth-child(3){
    background-color: hsla(166, 100%, 37%,0.1);
}
.results .details .grad div:last-child{
    background-color: hsla(234, 85%, 45%,0.1);
}
.results .details .grad div span:first-child{
    display: flex;
    align-items: center;
    color: var(--color);
}
.results .details .grad div span:first-child img{
    margin-right: 10px;
}
.results .details .grad div span:last-child{
    color: hsl(224, 30%, 27%);
    font-weight: 500;
}
.results .details .grad div span:last-child::after{
    content: "/100";
    font-size: 13px;
    margin-left: 10px;
}
.results .details button{
    width: 100%;
    background-color: hsl(224, 30%, 27%);
    padding: 15px;
    border-radius: 25px;
    color: hsl(0, 0%, 100%);
    font-weight: 700;
    border: none;
    outline: none;
}
.results .details button:hover{
    background-image: linear-gradient(to bottom,hsl(252, 100%, 67%),hsl(241, 81%, 54%));
}

