body {
    width: 100vw;
    min-height: 100vh;
    background: #F1F2F3;

    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";

}

* {
    box-sizing: border-box;
}

.container {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    padding: 32px;

    width: min(400px, 100%);
}

.title {
    font-size: 1.125rem;
    text-align: center;
    font-weight: 600;
    margin: 50px 0 0 0;
}

.description {
    color: hsl(220 10% 50%);
    text-align: center;
    font-size: 0.875rem;
}

.star-row {
    width: 90%;
    margin: auto;
}

.star-row.annotation {
    margin-top: 10px;
    .star {
        text-align: center;
        border: none;
        height: auto;
        aspect-ratio: unset;
        font-size: .75rem;
        color: #707989;
    }

    .star.dash {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .star.dash > div {
        width: 30%;
        height: 1px;
        background: #707989;
    }
}

.star {
    border-radius: 50%;
    aspect-ratio: 1;
    width: 50px;
    height: 50px;
    border: 2px solid #e8e8e8;
    position: relative;
}

.star .empty,
.star .filled {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
}

.star .empty {
    color: #d1d1d1;
}

.star .filled {
    color: #FFD900;
}

.star.active {
    border-color: #6A7428;
}

.star:hover {
    cursor: pointer;
    transform: translateY(-5px);



}

.star .filled.hidden {
    display: block !important;
    opacity: 0;
}

.star,
.star .filled {
    transition: .5s;
}

.star svg {
    width: 100%;
    height: 100%;
}

.object-selection > div {
    padding: 8px 0;
    border-radius: 8px;
    border: 2px solid #DEDFE1;
}


button #symbol {
    transition: .3s;
    text-align: start;
    width: 30px;
}

button:disabled:hover {
    cursor: not-allowed;
}

button:not(:disabled):hover #symbol {
    padding-left: 10px;
}

.options.green .icon {
    position: relative;
    /*width: 40px;*/

    .not-selected,
    .selected {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

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

    .selected svg {
        color: #6A7428;
    }
}

.options .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
}

.options .icon svg {
    color: hsl(220 10% 50%);
}

.options > div {
    padding: 12px 16px;
    border: 2px solid #DEDFE2;
    border-radius: 1rem;
    font-size: .875rem;
    transition: .2s;
    position: relative;
    color: hsl(220 15% 20%);
}

.options > div:hover {
    background: hsl(75 48% 31% / .05);
    border-color: hsl(75 48% 31%);
    cursor: pointer;
}

.options > div.selected {
    border-color: hsl(0 75% 55%);
    color: hsl(0 75% 55%);
    background: hsl(0 75% 55% / .1);
}

.options.green > div.selected {
    border-color: hsl(75 48% 31%);
    color: inherit;
    background: hsl(75 48% 31% / .05);
}

.options > div .check {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40%;
    width: auto;
    aspect-ratio: 1;
    opacity: 0;
    transition: .2s;

    svg {
        color: hsl(0 75% 55%);
        width: 100%;
        height: 100%;
    }
}

.options > div.selected .check {
    opacity: 1;
}

textarea {
    border: 1px solid hsl(220 10% 90%);
    border-radius: 6px;
    resize: none;
    width: 100%;
    height: 80px;
    font-family: inherit;
    padding: 8px 12px;
    font-size: .875rem;
    margin-bottom: 0;
}

.undertext {
    font-size: .75rem;
    width: 100%;
    text-align: start;
    margin-top: 0;
}

.toggle {
    width: 45px;
    height: 25px;
    border-radius: 9999999px;
    position: relative;
    background: #E2E4E6;
    cursor: pointer;
    transition: .2s;

    .bubble {
        height: calc(100% - 4px);
        width: auto;
        aspect-ratio: 1;
        border-radius: 50%;
        background: white;
        position: absolute;
        top: 50%;
        left: 2px;
        transform: translateX(0) translateY(-50%);
        transition: .2s;

    }
}

.toggle:hover {
    background: #E2E4E6;
}

.toggle.selected {
    background: #768226FF;

    .bubble {
        transform: translate(-100%, -50%);
        left: calc(100% - 2px);

    }
}


.form-control {
    position: relative;

    .icon {
        position: absolute;
        height: 16px;
        width: 16px;
        top: 50%;
        left: 20px;
        transform: translate(-50%, -50%);

        svg {
            width: 100%;
            height: 100%;

            color: hsl(220 10% 50%);
        }
    }

    input {
        padding: 8px 12px 8px 40px;
        font-size: .875rem;
        width: 100%;
        height: 40px;
        /*box-sizing: content-box;*/
        border-radius: 8px;
        border: 1px solid hsl(220 10% 90%);
    }
}

.red {
    color: hsl(0 75% 55%);
}

.circle {
    border-radius: 50%;
    --heart-size: 64px;
    width: var(--heart-size);
    height: var(--heart-size);
    aspect-ratio: 1;
    background: #F0F1E8;
}

#section3 svg {
    color: #768226FF;
    fill: #768226FF;

    --heart-svg-size: 32px;

    width: min(var(--heart-svg-size), 50%);
    height: min(var(--heart-svg-size), 50%);
}

#section2.animate {
    animation-name: to_details;
    animation-duration: .3s;
}

#section3.animate {
    #heart {
        animation-name: heart;
        animation-duration: .2s;
    }

    .title,
    .description {
        animation-name: heart_text;
        animation-duration: .5s;
    }
}

:root {
    --original-height: 353px;

}

@keyframes heart {
    from {
        width: 10px;
        height: 10px;
    }
    to {
        width: var(--heart-size);
        height: var(--heart-size);
    }
}

@keyframes heart_text {
    from {
        transform: translateY(100%) scale(0);
    }
    to {
        transform: translateY(0) scale(1);
    }
}

@keyframes to_details {
    from {
        height: var(--original-height);
    }
    to {
        height: 650px;
    }
}

#error-message {
    position: fixed;
    top: 5px;
    right: 5px;

    background: #E23636;
    border-radius: 8px;
    padding: 24px 32px;

    .description {
        font-size: .74rem;
    }

    * {
        text-align: left;
        color: white;
        margin: 0;

    }
}

@media only screen and (max-width: 400px)
{
    .container {
        min-height: 100vh;
        border-radius: 0;
    }

    .options.green {
        flex-direction: column;
    }
}