@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');

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

    --circle: hsl(224, 10%, 21%);

    --light-weight: 400;
    --bold-weight: 700;
}

html {
    font: 100%;
}

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

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
    border: none;
    background: transparent;
    font: inherit;
}

h1 {
    line-height: 1;
}

body {
    font-family: "Overpass", sans-serif;
    font-optical-sizing: auto;
    font-size: 0.9375rem;
    line-height: 1.5;
    background-color: var(--very-dark-blue);
    min-height: 100dvh;
    display: grid;
    place-content: center;
}

/* study up on css card alignment */
.card {
    background-color: var(--dark-blue);
    padding: 32px 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 368px;
}

.star-logo {
    width: 48px;
    padding: 16px;
    background-color: var(--circle);
    border-radius: 50%;
}

.white-text {
    color: var(--white);
}

.gray-text {
    color: var(--light-gray);
}

.button-group {
    display: flex;
    justify-content: space-between;
}

.rating-btn {
    background-color: var(--circle);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 48px;
    width: 48px;
    transition: all 400ms ease-in-out;
}

.rating-btn:hover {
    background-color: var(--orange);
    color: var(--very-dark-blue);
}

.rating-btn.active {
    background-color: var(--white);
    color: var(--very-dark-blue);
}

.submit-btn {
    background-color: var(--orange);
    color: var(--very-dark-blue);
    padding: 12px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border-radius: 20px;
    transition: all 400ms ease-in-out;
}

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

.center {
    margin-inline: auto;
    text-align: center;
}

.rating {
    color: var(--orange);
    background-color: var(--circle);
    padding: 5px 16px;
    border-radius: 20px;
}