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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: hsl(216, 12%, 8%);
    font-family: Overpass, sans-serif;
    padding: 1.5rem;
}

.container {
    width: 100%;
    max-width: 450px;
    background-color: hsl(213, 19%, 18%);
    padding: 2rem;
    border: none;
    border-radius: 20px;
}

.page-one {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.star-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background-color: hsla(213, 18%, 22%, 0.665);
}

.star-img img {
    width: 1.1rem;
}

p {
    color: hsl(0, 0%, 60%);
    font-size: 1.05rem;
}

ul {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
}

ul li {
    list-style: none;
    background-color: hsla(213, 18%, 22%, 0.665);
    color: rgb(201, 201, 201);
    width: 3.75rem;
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

ul li:hover {
    background-color: hsl(25, 97%, 53%);
    transform: scale(1.05);
}

.white-bg {
    background-color: white;
    color: black !important;
}

.submit-btn {
    letter-spacing: 0.15rem;
    background-color: hsl(25, 97%, 53%);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    padding: 1rem;
    color: black;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* page 2 */
.page-two {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    align-items: center;
}

.thanks-img img {
    width: 10rem;
    margin-bottom: 1rem;
}

.select p {
    color: hsl(25, 97%, 53%);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background-color: hsla(213, 18%, 22%, 0.665);
    font-size: 1rem;
}

.num {
    color: hsl(25, 97%, 53%);
}

/* attribution */
.attribution {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 2rem;
}

.attribution a {
    background: linear-gradient(to left, hsl(25, 97%, 53%), hsla(214, 4%, 32%, 0.665), hsl(25, 97%, 53%), rgba(62, 62, 62, 0.27), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Media Queries */
@media (max-width: 500px) {
    .container {
        padding: 1.75rem;
    }
    
    .star-img {
        width: 3.25rem;
        height: 3.25rem;
    }
    
    ul li {
        width: 3.25rem;
        height: 3.25rem;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 1.5rem;
    }
    
    .page-one {
        gap: 1.5rem;
    }
    
    .star-img {
        width: 2.75rem;
        height: 2.75rem;
    }
    
    ul {
        gap: 0.75rem;
    }
    
    ul li {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.8rem;
    }
    
    .thanks-img img {
        width: 8rem;
    }
}