@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap');

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

}

:root{
    --Orange: hsl(25, 97%, 53%);
    --White: hsl(0, 0%, 100%);
    --Light-Grey: hsl(217, 12%, 63%);
    --Medium-Grey: hsl(216, 12%, 24%);
    --Dark-Blue: hsl(213, 19%, 18%);
    --Very-Dark-Blue: hsl(216, 12%, 8%);
}

body{
    font-family: 'Overpass', sans-serif;
    background-color: var(--Very-Dark-Blue);
    font-size: 15px;
}



.raiting-state, .thankyou-state {
    background-color: var(--Dark-Blue);
    width: 327px;
    height: 364px;
    border-radius: 16px;
    margin: 191px auto 80px;
    padding: 24px;

}
.raiting-state__icon-container, .raiting-state__number-container__number{
    background-color: var(--Medium-Grey);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    margin-bottom: 22px;

    color: var(--Light-Grey);
    border: none;

}
.raiting-state__title, .thankyou-state__result__title{
    color:var(--White);
    margin: 22px;
    font-size: 1.6em;
    font-weight: 400;

}
.thankyou-state__result__paragraph, .raiting-state__description{
    color: var(--Light-Grey);
    margin-bottom: 30px;
    letter-spacing: -0.5px;

}
.raiting-state__number-container{
    display: flex;
    justify-content: space-between;

}
.raiting-state__number-container__number:hover{
    background-color: var(--Light-Grey);
    color: var(--White);
    cursor: pointer;
}
.raiting-state__number-container__number:focus{
    background-color: var(--Orange);
    color: var(--White);
}
.raiting-state__button{
    width: 100%;
    background-color: var(--Orange);
    height: 44px;
    border-radius: 50px;
    border: none;
    color: var(--White);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
}
.raiting-state__button:hover{
    color: var(--Orange);
    background-color: var(--White);
    cursor: pointer;

}

/*----------------thankyou state--------------*/

.thankyou-state{
    display: none;
    flex-direction: column;
    align-items: center;

}

.thankyou-state__image{
    width: 150px;
    margin-bottom: 24px;
}
.thankyou-state__result{
    background-color: var(--Medium-Grey);
    width: 170px;
    height: 36px;
    border-radius: 50px;
    color: var(--Orange);
    text-align: center;
    padding: 8px 0;
    margin-bottom: 30px;
    font-size: 0.9em;
}
.thankyou-state__result__paragraph{
    
    text-align: center;
}

/*----------Desktop----------*/

@media(min-width:600px){
    .raiting-state, .thankyou-state{
        width: 412px;
        height: 412px;
        padding: 34px;
    }
    .raiting-state__icon-container, .raiting-state__number-container__number{
       
        width: 50px;
        height: 50px;
    }
    .raiting-state__title, .thankyou-state__result__title{
        font-size: 1.9em;
        
    }
    .thankyou-state__result__paragraph, .raiting-state__description{
       font-size: 1.07em;
    
    }
    .thankyou-state__result{
        font-size: 1em;
        width: 196px;
    }

    
}











.attribution{
    font-size: 16px;
    text-align: center;
}

.attribution a {
    color: hsl(228,45%,44%);
}