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

:root
{
    --Orange-500: hsl(25, 97%, 53%);
    --White:hsl(0, 100%, 100%);
}

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

html , body
{
    height: 100%;
    width: 100%;
}

img,video,iframe
{
    max-inline-size:100%;
    block-size:auto;
}

body 
{
    background-color: #141519;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Overpass',sans-serif;
}


.star-logo
{
    width: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #272E38;
    background-color: #343f4e;

    display: flex;
    align-items: center;
    justify-content: center;

    img 
    {
        width: 50%;
    }
}



.card-rating > div 
{
    width: 95%;
    margin: 0 auto;
    max-width: 400px;
    background-color: var(--Grey-900);
    background-color: #222933;
    padding: 1.5rem;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: white;
}


.thanks-container
{
    visibility: hidden;
    position: absolute;
}

.thanks-container.show 
{
    visibility: visible;
    position: static;
    text-align: center;
    img 
    {
        width: 50%;
        margin: 0 auto;

    }

    p.result
    {
        background-color: #272E38;
        color: var(--Orange-500);
        border-radius: 100px;
        width: fit-content;
        padding: .5rem 1rem;
        font-weight: 400;
        margin: 0 auto;
        font-size: .9rem;
    }
}


.rating-container.hide 
{
    visibility: hidden;
    position: absolute;
}

.rating-buttons 
{
    display: flex;
    justify-content: space-between;
}

.rating-button 
{
    background-color: #272E38;
    color: white;
    width: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: none;
    transition: 0.4s ease;
}




.rating-button:hover
{
    background-color: var(--Orange-500);
    cursor: pointer;
}

.rating-button.active 
{
    background-color: var(--Orange-500);
    color: white;
}

.rating-button.clicked
{
    background-color: white;
    color: black;
}

.submit 
{
    width: 100%;
    padding: .8rem 0;
    color: black;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 100px;
    border: none;
    background-color: var(--Orange-500);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.submit:hover
{
    cursor: pointer;
    background-color: white;
}

h3 
{
    margin-top: 1.5rem;
    font-size: 1.5rem;
}

p 
{
    color: var(--Grey-500);
    font-size: .9rem;
    line-height: 1.5rem;
}