@font-face {
    font-family: 'HankenGrotesk';
    src: url(assets/fonts/HankenGrotesk-VariableFont_wght.ttf) format('truetype');
}

:root{
    /*Primary*/
    --Light_red: hsl(0, 100%, 67%);
    --Orangey_yellow: hsl(39, 100%, 56%);
    --Green_teal: hsl(166, 100%, 37%);
    --Cobalt_blue: hsl(234, 85%, 45%);

    /*Gradients*/
    --Light_slate_blue_background: hsl(252, 100%, 67%);
    --Light_royal_blue_background: hsl(241, 81%, 54%);

    --Violet_blue_circle: hsla(256, 72%, 46%, 1);
    --Persian_blue_circle: hsla(241, 72%, 46%, 0);

    /*Neutral*/
    --White: hsl(0, 0%, 100%);
    --Pale_blue: hsl(221, 100%, 96%);
    --Light_lavender: hsl(241, 100%, 89%);
    --Dark_gray_blue: hsl(224, 30%, 27%);
}

*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
    font-family:'HankenGrotesk';
}

body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    background-color:var(--Pale_blue);
}

.container{
    display: flex;
    align-items: stretch;
    max-width: 650px;
    width: 100%;
    border-radius: 2rem;
    background-color: var(--White);
    box-shadow: 0px 3px 15px -5px var(--Dark_gray_blue);
}

/* result card section*/
.result-card{
    display: flex;
    flex: 1;
    align-items: center;
    flex-direction: column;
    max-width:325px;
    width: 100%;
    min-height: clamp(320px,45vh,420px);
    padding: 1.5rem 2rem;
    border-radius: 2rem;
    background-image: linear-gradient( var(--Light_slate_blue_background),var(--Light_royal_blue_background));
}
.result-card__title{
    color:var(--Light_lavender);
}
.result-card__number{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 150px;
    height: 150px;
    margin: 1rem 0;
    border-radius: 50%;
    background-image: linear-gradient(var(--Violet_blue_circle), var(--Persian_blue_circle));
}
.result-card__number h1:first-child { 
    color: var(--White);
    font-size: 3rem;
}
.result-card__number p:last-child {
    color: var(--Light_lavender);
}
.result-card__evaluation {
    color:var(--White);
}
.result-card__info{
    width: 200px;
    margin-top: 1.3rem;
    color: var(--Light_lavender);
    line-height: 1.5;
    text-align: center;
}

/* summary card section*/
.summary-card{
    flex: 1;
    width: 325px;
    min-height: clamp(320px,45vh,420px);
    padding: 1.5rem 2rem;
    border-radius:2rem;
}
.summary-card__items {
    margin-top: 1.3rem;
}
.summary-card__items .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 45px;
    margin: 1rem 0;
    padding: 1rem .5rem;
    border-radius: 10px;
}
.summary-card__items .item:nth-child(1){
    background-color: hsla(0, 100%, 67%, 0.25);
}
.item:nth-child(1) div h4{
    color: var(--Light_red);
}
.summary-card__items .item:nth-child(2){
    background-color: hsl(39, 100%, 56% ,0.25);
}
.item:nth-child(2) div h4{
    color: var(--Orangey_yellow);
}
.summary-card__items .item:nth-child(3){
    background-color: hsl(166, 100%, 37% , 0.25);
}
.item:nth-child(3) div h4{
    color: var(--Green_teal);
}
.summary-card__items .item:nth-child(4){
    background-color: hsl(234, 85%, 45% ,0.25);
}
.item:nth-child(4) div h4{
    color: var(--Cobalt_blue);
}
.item div {
    display:flex;
    gap: 5px;
}
.item h4 {
    color:var(--Dark_gray_blue);
}
.item h4 span {
    color: gray;
}
.btn-continue {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 2rem;
    background-color: var(--Dark_gray_blue);
    color: var(--White);
    font-size: 1rem;
    text-decoration: none;
}
.btn-continue:hover {
    background:linear-gradient( var(--Light_slate_blue_background),var(--Light_royal_blue_background));
}

/* Responsive */
@media (max-width: 600px){
    .container{
        flex-direction: column;
        min-height: 100dvh;
        height: auto;
    }
    .result-card{
        max-width: 600px;
        width: 100%;
        min-height: clamp(300px,42vh,400px);
        margin: 0;
        padding: 2rem 1rem 1rem;
        border-radius: 0  0 30px 30px;
    }
    .result-card__info{
        width:100%;
    }
    .summary-card{
        width: 100%;
        min-height: clamp(320px,55vh,450px);
        padding: 1.3rem; 
        border-radius: 0;
    }
}