* {
    box-sizing: border-box;
}

body {
    background-color: hsl(216, 12%, 8%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 20px;
    font-family: 'Overpass', sans-serif;
    color: white;
}

.card {
    max-width: 400px;
    background-color: hsl(213, 19%, 18%);
    border-radius: 1.563rem;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

div>p {
    color: hsl(217, 12%, 63%);
}

ul {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    padding: 10px;
}

h1 {
    font-weight: normal;
}

div>button {
    color: white;
    background-color: hsl(25, 97%, 53%);
    height: 2.75rem;
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.9rem;
    transition: 0.75s;
}

li>button {
    width: 3.125rem;
    height: 3.125rem;
    background-color: hsl(217, 21%, 22%);
    color: hsl(217, 12%, 63%);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    font-family: inherit;
    font-size: 1rem;
    user-select: none;
    outline: none;
    padding-top: 0.3rem;
    transition: 0.3s;
}

li>button:hover {

    background-color: hsl(217, 12%, 63%);
    color: white;
}

li>button:focus {

    background-color: hsl(25, 97%, 53%);
    color: white;

}

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

img {
    /* position: relative; */
    border-radius: 100%;
    margin-top: 5px;
    padding: 15px;
    height: auto;
    box-sizing: content-box;
    width: 1.15rem;
    background-color: hsl(217, 21%, 22%);

    /* max-width to control the maximum width of star svg */
}

.hide {
    display: none !important;
}

.thank-you {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    background-color: hsl(213, 19%, 18%);
    border-radius: 1.563rem;
    padding: 2rem 1.5rem;
    text-align: center;
}

.thank-you>img {
    width: 8rem;
    align-self: center;
}

.result {

    background-color: hsl(217, 21%, 22%);
    color: hsl(25, 97%, 53%);
    border-radius: 0.9rem;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    align-self: center;

}