[current-card = 'card-rate-active']{
    --display-r: initial;
    --display-ty: none;
}

[current-card = 'card-thankyou-active']{
    --display-r: none;
    --display-ty: initial;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    list-style: none;
    text-decoration: none;
}

html{
    box-sizing: border-box;
    font-family: 'Overpass', sans-serif;
    font-size: 15px;
    color: white;
}

body{
    min-height: 100vh;
    background-color: hsl(216, 12%, 8%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    max-width: 300px;
    background-color: hsl(213, 19%, 18%);
    border-radius: 15px;
    padding: 20px;
    display: var( --display-r);
}


.star{
    text-align: center;
    width: 30px;
    height: 30px;
    background-color: hsl(215, 30%, 22%);
    border-radius: 50%;
    margin-bottom: 18px;
    padding: 10px;
}

.form-text > p {
    color: hsl(216, 12%, 54%);
    padding: 10px 0px;
}

button{
    background-color: hsl(25, 97%, 53%);
    color: white;
    text-align: center;
    text-transform: uppercase;
    border: none;
    border-radius: 15px;
    width: 100%;
    height: 35px;
}

button:hover{
    background-color: white;
    color: hsl(25, 97%, 53%);
}

.rate-scale{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0px;
}

.rate-scale-item input{
    position: relative;
    appearance: none;     
    cursor: pointer;
    background-color: hsl(215, 30%, 22%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.rate-scale-item input:hover{
    background-color: hsl(25, 97%, 53%);
    color: white;
}

.rate-scale-item input:checked{
    background-color: hsl(217, 12%, 63%);
    color: white;
}

.rate-scale-item label{
    position: absolute;
    top: 58%;
    transform: translate(-340%); 
}


/* thank you state*/
.card-thankyou{
    text-align: center;
    display: var(--display-ty);

}

.card-thankyou > img {
    margin: 20px 0px;
}

.selected-reta{
    color: hsl(25, 97%, 53%);
    font-weight: 400;
    background-color: hsl(215, 30%, 22%);
    border-radius: 15px;
    padding: 8px;
    margin-bottom: 20px;
}

.text > p{
    color: hsl(216, 12%, 54%);
    padding: 10px 0px;
}

