.scroll-container {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    justify-content: flex-start;
    /* This will vertically center the items if you need it */
    padding-top: var(--p-2pos);
    padding-bottom: var(--p-2pos);
    user-select: none;
    -webkit-user-select: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.scroll-container>*:first-child {
    margin-left: auto;
    /* Add auto margin to the first child */
}

.scroll-container>*:last-child {
    margin-right: auto;
    /* Add auto margin to the last child */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.scroll-item {
    flex: 0 0 auto; /* Do not grow or shrink, but be flexible */
    width: 260px; /* or any desired width */
    /* additional styles */
}

/* Optional: add styles for user selection and mouse interactions */
.scroll-container:active {
    cursor: grabbing;
}

.recipe-card {
    border-radius: 20px;
    align-items: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 260px;
}

.recipe-image {
    border-radius: 10px;
    width: 260px;
    height: 390px;
    object-fit: cover;
    object-position: center;
}

.recipe-title {
    font-size: 1.4rem;
    font-family: var(--font-0);
    padding-top: 0.8rem;
    /* color: white; */
}

.recipe {
    box-sizing: border-box;
    transition: opacity none;
    margin-left: 15px;
    margin-right: 15px;
}