.hero__image {
    width: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 350px;
    border-radius: 10px;
    aspect-ratio: 1/1;
}

.recipeDetail__information .search__container {
    display: flex;
    align-content: center;
    border: 1px none #000;
    border-radius: 30px;
    padding: 16px 32px;
    max-width: 450px;
    background: rgba(246, 246, 246, 0.80);
    margin: 0px;
}

.recipeDetail__information .search__container input {
    width: 100%;
    border: none;
    background-color: transparent;
}

.recipeDetail__layoutContainer {
    display: flex;
}

.recipeDetail__ingredientsContainer,
.faq__container {
    border-bottom: 1px dashed #D3D3D3;

}

.macros__sectionContainer {
    border-bottom: 1px dashed #D3D3D3;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.recipeDetail__preparationContainer ol {
    padding: 0px;
    padding-left: 24px;
    border-bottom: 1px dashed #D3D3D3;
}

.recipeDetail__preparationContainer li {
    list-style-type: decimal;
    margin-bottom: 8px;
}

.recipeDetail__ingredientsContainer h2 {
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color: #101010;
}

.recipeDetail__layoutContainer .recipe__imageContainer {
    width: 20%;
    width: 280px;
    height: 377px;

}

.recipe__imageContainer--mobile {
    display: none;
}

.recipe__imageContainer .recipe__image {
    width: 280px;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1/.8;
    margin-top: 64px;
}

.recipeDetail__information {
    width: 80%;
    padding: 0px 32px;
    padding-top: 32px;

}

.hero__container {
    margin: 0px;
}

.macrosInfo__container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.macrosInfo__container .macrosInfo__item {
    display: flex;
    padding: 6px 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: #F6F6F6;
    border-radius: 1000px;

}

.macrosInfo__container .macrosInfo__item p {
    color: #101010;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0px;
}

.macrosInfo__container .macrosInfo__item h2 {
    color: #101010;
    text-align: center;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin: 0px;
}

.macrosInfo__label {
    margin-top: 5px;
    margin-bottom: 0px;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 300;
    text-align: center;
}

.recipeDetail__containerLayout {
    display: flex;
    flex-direction: column;
}

.ingredient__info--row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    height: 33px;

    /*border-bottom: solid 1px #ccc;*/
}

.ingredient__info--row:last-child {
    border-bottom: none;
}

.ingredient__info--input {
    max-width: 50px;
    padding: 8px;
    border-radius: 8px;
    outline: none;
    border: solid 1px #c0c0c0;
    margin-right: 8px;
    text-align: center;
}

.ingredient__inputContainer {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.ingredientName__container--emptyImage {
    margin-left: 32px;
}

.ingredient__detailWrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ingredient__name {
    display: inline;
    font-weight: 600;
}

.ingredient__unity {
    font-size: smaller;
}

.ingredientName__container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.recipe__container {
    display: flex;
    flex-direction: column;
    position: relative;
    color: #333;
    padding: 0px;
    overflow: hidden;
    position: relative;
}

.recipe__container .recipe__image {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1/1;
    margin-bottom: 6px;
}

.recipe__container p {
    margin: 0px;
    color: #101010;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.recipe__saveIcon {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.recipe__title {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background-color: var(--white-color);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe__title p {
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    margin: 0px;
}

.recipes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;

}

.nutritionalInformation__container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 570px;
}

.macros__container {
    width: 100%;
}

.macros__container tr {
    border-bottom: solid 1px #ededed !important;
}

.ingredient__buy {
    padding: 4px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid #D3D3D3;
    background: #FFF;
}

.ingredient__buy:hover,
.ingredient__buy:active,
.ingredient__buy:visited {
    font-weight: 500;
}

tr {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.recipeTitle__container figure {
    margin: 0px;
}

.recipeTitle__container {
    display: flex;
    margin-bottom: 24px;
    gap: 24px;
}

.macrosTitle__container--right {
    width: 100%;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    place-content: center;
    z-index: 11;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */

}

/* Modal Content/Box */
.modal-content {
    background-color: #fff;
    color: #101010;
    padding: 24px;
    border: 1px solid #888;
    max-width: 400px;
    border-radius: 16px;
    overflow: auto;
    font-family: Poppins;
}

.modal__container p {
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.modal__container label {
    color: #333435;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.modal-content .close__button {
    position: inherit;
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-content .close__button:hover,
.modal-content .close__button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.signup__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.modal__container form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;

}

.modal__container input {
    padding: 8px;
    border-radius: 8px;
    outline: none;

    border: 1px solid #D3D3D3;
    margin-bottom: 16px;
}

.modal__container select {
    padding: 8px;
    border-radius: 8px;
    outline: none;
    padding-left: 10px;
    border: 1px solid #D3D3D3;
    /* reset */

    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image:
        linear-gradient(45deg, transparent 50%, gray 50%),
        linear-gradient(135deg, gray 50%, transparent 50%),
        linear-gradient(to right, #ccc, #ccc);
    background-position:
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px),
        calc(100% - 2.5em) 0.5em;
    background-size:
        5px 5px,
        5px 5px,
        1px 1.5em;
    background-repeat: no-repeat;
    margin-bottom: 16px;
}

.footer__inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;

    color: #101010;
    text-align: center;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;

    margin-bottom: 32px
}

.button__createAccount:hover {
    cursor: pointer;
}

.modal-content h2 {
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.modal-content p {
    color: #333435;
    text-align: center;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.button__createAccount {
    width: 100%;
    padding: 12px 32px;
    border-radius: 8px;
    background-color: #195ADA;
    outline: none;
    border: none;
    margin-top: 16px;
    color: #F8F5FF;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    gap: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}



.hidePassword__container label:hover {
    cursor: pointer;
}

button[type="text"] {
    background-color: transparent;
    color: #0432D5;
    outline: none;
    border: none;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-decoration: underline;

}

button[type="text"]:hover {
    color: #0432D5;
    cursor: pointer;
}

table tbody .ingredient__info--row:first-child {
    border-top: 5px solid #101010 !important;
    padding-top: 16px;
}

table tbody .ingredient__info--row td:last-child {
    font-weight: 600;
}

.section__blur {
    filter: blur(2.5px) opacity(0.5);
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1.5s linear infinite;
}

.favorite__button {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    outline: none;
    border-radius: 8px;
    background-color: #D2DDFA;
    color: #101010;
    border: none;
}

.favorite__button:hover {
    cursor: pointer;
}

.favorite__button--active {
    background-color: #F8F5FF;
    color: #101010;
    border: none;

}

.wrapper__premiumSection {
    position: relative;
}

.cta__container {
    display: flex;
    position: sticky;
    top: 10px;
    gap: 8px;
    z-index: 10;
    padding: 16px 8px;
    background-color: #fff;
    width: 100%;
}

#buyIngredientIcon {
    width: 12px;
    height: 12px;

}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#errorNotification {
    display: grid;
    visibility: hidden;
    place-content: center;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 32px;
    width: 100%;

}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#errorNotification.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#errorNotificationMessage {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 16px;

    border-radius: 10px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 32px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 32px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 32px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 32px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

.gradient__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.20) 0%, rgba(0, 0, 0, 0.00) 100%);
    z-index: 1;
    border-radius: 12px;

}

#premium__cta_recipes,
#premium__cta_table,
#premium__cta_prep {
    position: absolute;
    top: calc(25% - 50px);
    left: calc(50% - 100px);
    z-index: 2;

}

.ingredientDetail__image {
    width: 24px;
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: center;

}

.recipeDetail__layoutContainer figure .recipe__image {
    width: calc(100% + 32px);
    border-radius: 16px;
}

.button__back {
    display: none;
    background-color: #F6F6F6;
    padding: 6px;
    border-radius: 16px;
    width: 32px;
    height: 32px;
    margin-left: 32px;
}

@media screen and (max-width: 768px) {
    .recipe__imageContainer {
        display: none;
    }

    .recipe__imageContainer--mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0px;
        margin: 0px;
        margin-top: 32px;
    }

    .recipe__imageContainer--mobile .recipe__image {
        width: 100%;
        object-fit: cover;
        object-position: center;
        aspect-ratio: 1/.8;
        margin: 0px;
        padding: 0px;
    }

    .recipeDetail__information {
        width: 100%;
        padding: 0;
        padding-top: 24px;
    }

    .recipeDetail__layoutContainer figure .recipe__image {
        width: 100%;
        border-radius: 16px;
    }

}

@media screen and (max-width: 479px) {
    .cta__container {
        justify-content: space-between;
    }

    #buyIngredientIcon {
        display: inline-block;
    }

    .avena__logo {
        display: none;
    }

    .button__back {
        display: block;
        background-color: #F6F6F6;
        padding: 6px;
        border-radius: 16px;
        width: 32px;
        height: 32px;
        margin-left: 32px;
    }

    .recipeDetail__layoutContainer figure .recipe__image {
        width: calc(100% + 32px);
        border-radius: 0px;
    }

    .macrosInfo__container .macrosInfo__item h2 {
        margin-top: 0px;
        margin-bottom: 0px;
        font-family: sans-serif;
        font-size: 17px;
        line-height: 1.5;
        font-weight: 600;
        text-align: center;
    }

    .macrosInfo__label {
        margin-top: 5px;
        margin-bottom: 0px;
        font-family: sans-serif;
        font-size: 12px;
        line-height: 1.5;
        font-weight: 300;
        text-align: center;
    }

    .recipeDetail__containerLayout {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .recipeTitle__container {
        flex-direction: column;
    }

    .recipes__grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .recipe__title p {
        font-family: sans-serif;
        font-size: 16px;
        line-height: 1.5;
        font-weight: 500;
        text-align: center;
        margin: 0px;
    }

    .macrosInfo__container {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .macrosInfo__item {
        display: flex;
    }

    .macrosInfo__container .macrosInfo__item {
        padding: 4px 8px;

    }

    .macrosInfo__item p {
        font-family: Poppins;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }

    .macrosInfo__item h2 {
        text-align: center;
        font-family: Poppins;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
    }
}