:root {
    --orange-500: hsl(25, 97%, 53%);
    --white: hsl(0, 100%, 100%);
    --grey-500: hsl(217, 12%, 63%);
    --grey-900: hsl(214, 19%, 14%);
    --grey-950: hsl(216, 12%, 8%);
    --dark-blue: hsl(215, 18%, 19%);
    --blue: hsl(215, 18%, 19%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
html {
    height: 100%;
}
  
body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: 'Overpass', sans-serif;
    font-size: 15px;
    background-color: var(--grey-950);
}


.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--grey-900);
    padding: 3rem;
    border-radius: 2rem;
    gap: 1.5rem;
    max-width: 30rem;
}

.pic_background {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--blue);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    padding-top: 1rem;
}

.picture_star {
    width: 1.1rem;
    height: 1.1rem;
    margin-bottom: 1rem;
}

.h1, .heading {
    font-size: 1.7rem;
    color: var(--white);
}

.description {
    font-size: 1rem;
    color: var(--grey-500);
    line-height: 1.5;
}

.rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.rate_button {
    font-weight: 600;
    cursor: pointer;
    background-color: var(--blue);
    border-radius: 50%;
    border: none;
    color: var(--grey-500);
    font-size: 1rem;
    width: 3rem;
    height: 3rem;
}

.rate_button.selected {
    background-color: var(--orange-500);
    color: var(--dark-blue);
}

.main_button {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--orange-500);
    border-radius: 1.5rem;
    border: none;
    color: var(--dark-blue);
    padding: 0.7rem 0;
}

.rate_button:hover, .main_button:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: var(--grey-900);
    padding: 3rem;
    border-radius: 2rem;
    gap: 2rem;
    max-width: 30rem;
}

.pic_thx {
    margin-bottom: 1.5rem;
}

.custom_score {
    padding: 0.6rem;
    background-color: var(--blue);
    max-width: 11rem;
    border-radius: 2rem;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.score_text {
    font-size: 0.95rem;
    color: var(--orange-500);
}

.heading {
    margin-bottom: 1.5rem;
}