@import '_content/Elysium.Components/Elysium.Components.5lt6jcn9i2.bundle.scp.css';

/* /Components/RecipeCard.razor.rz.scp.css */
.recipe-card[b-pgbk93nh71] {
    .elysium-card {
        cursor: pointer;

        &:hover {
            box-shadow: 0 0 0 1px var(--md-sys-color-outline);
        }

        .recipe-card__header[b-pgbk93nh71] {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            gap: var(--elysium-spacing-lg);

            .recipe-card__header__name {
                all: unset;
                font-size: var(--elysium-font-size-2xl);
                text-wrap: nowrap;
                color: var(--md-sys-color-primary);
            }

            .recipe-card__header__favorite-icon[b-pgbk93nh71] {
                color: var(--md-sys-color-primary);

                &:hover {
                    filter: drop-shadow(0 0 1.6px currentColor);
                }
            }
        }

        .recipe-card__image[b-pgbk93nh71] {
            display: block;
            max-width: 250px;
            width: 250px;
            border-radius: var(--elysium-radius-sm);
            interpolate-size: allow-keywords;
            opacity: 0;
            height: 0;
            margin-top: 0;
            animation: reveal-b-pgbk93nh71 1000ms ease 10ms forwards;
        }
    }
}

@keyframes reveal-b-pgbk93nh71 {
    to {
        opacity: 1;
        height: auto;
        margin-top: var(--elysium-spacing-lg);
    }
}
/* /Components/RecipeGallery.razor.rz.scp.css */
.recipe-gallery[b-gm3qtx0073] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--elysium-spacing-md);
    align-content: flex-start;
    justify-content: flex-start;
}
/* /Pages/FavoritesPage.razor.rz.scp.css */
.page__favorites[b-9biakox7ou] {
    padding: var(--elysium-spacing-lg);
}
/* /Pages/HomePage.razor.rz.scp.css */
.page__home[b-pqpgi7tr9y] {
    padding: var(--elysium-spacing-lg);
}
/* /Pages/RecipePage.razor.rz.scp.css */
.page__recipe[b-ava1va3f0e] {
    display: flex;
    flex-direction: column;
    gap: var(--elysium-spacing-lg);
    padding: var(--elysium-spacing-lg);
    padding-top: 0;
    color: var(--md-sys-color-on-surface);

    .divider {
        width: 100%;
        border-top: 1px solid var(--my-sys-color-on-surface);
    }

    .ingredients-and-instructions[b-ava1va3f0e] {
        display: flex;
        flex-wrap: wrap;
        gap: var(--elysium-spacing-md);

        .persons {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;

            .persons__caption {
                font-weight: bold;
                margin-right: var(--elysium-spacing-xl);
            }

            .persons__count[b-ava1va3f0e] {
                margin: 0 var(--elysium-spacing-sm);
            }
        }

        .ingredients__list[b-ava1va3f0e], .instructions__list[b-ava1va3f0e] {
            margin: 0;
        }

        .ingredient[b-ava1va3f0e], .instruction[b-ava1va3f0e] {
            text-wrap: nowrap;
        }

        &[orientation="Landscape"][b-ava1va3f0e] {
            flex-direction: row;
        }

        &[orientation="Portrait"][b-ava1va3f0e] {
            flex-direction: column;

            .ingredients, .instructions {
                width: 100%;
                max-width: 100%;
            }
        }
    }
}
