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

:root {
    --orange: hsl(25, 97%, 53%);
    --white: hsl(0, 0%, 100%);
    --light-grey: hsl(217, 12%, 63%);
    --dark-blue: hsl(213, 19%, 18%);
    --very-dark-blue: hsl(216, 12%, 8%);
    --very-light: hsla(216, 12%, 54%, 0.1)
}

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

body {
    font-family: 'Overpass', sans-serif;
    background-color: rgb(15, 15, 15, 0.99);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.card {
    background: radial-gradient(var(--dark-blue), var(--very-dark-blue));
    padding: 28px;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
}

.star-icon {
    background-color: var(--very-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

.star {
    margin-left: 16px;
}

h1,
h2 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 26px;
}

p {
    color: var(--light-grey);
    font-size: 15px;
    line-height: 1.4;
}

.rating-button {
    display: flex;
    justify-content: space-between;
    margin: 28px 0;
}

.rate-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--very-light);
    color: var(--light-grey);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.rate-btn:hover {
    background-color: var(--orange);
    color: var(--white);
}

.rate-btn.active {
    background-color: var(--white);
    color: var(--light-grey);
}

.submit-btn {
    width: 100%;
    background-color: var(--orange);
    border: none;
    color: black;
    border-radius: 30px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--white);
}

.thank-you-state {
    text-align: center;
    padding: 12px;
}

.thank-you-state img {
    margin-bottom: 24px;
}

.selected-score {
    background-color: var(--very-light);
    color: var(--orange);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 28px;
    text-align: center;
}

.hidden {
    display: none;
}

@media (min-width: 434px) {
    .thank-you-state img {
        margin-left: 15px;
    }
}