@font-face {
    font-family: 'Lato-Black';
    src: url('../fonts/Lato-Black.eot');
    src: url('../fonts/Lato-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-Black.woff2') format('woff2'),
        url('../fonts/Lato-Black.woff') format('woff'),
        url('../fonts/Lato-Black.ttf') format('truetype'),
        url('../fonts/Lato-Black.svg#Lato-Black') format('svg');
    font-weight: 900;
}

@font-face {
    font-family: 'Lato-Regular';
    src: url('../fonts/Lato-Regular.eot');
    src: url('../fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-Regular.woff2') format('woff2'),
        url('../fonts/Lato-Regular.woff') format('woff'),
        url('../fonts/Lato-Regular.ttf') format('truetype'),
        url('../fonts/Lato-Regular.svg#Lato-Regular') format('svg');
    font-weight: normal;
}

@font-face {
    font-family: 'Lato-Bold';
    src: url('../fonts/Lato-Bold.eot');
    src: url('../fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-Bold.woff2') format('woff2'),
        url('../fonts/Lato-Bold.woff') format('woff'),
        url('../fonts/Lato-Bold.ttf') format('truetype'),
        url('../fonts/Lato-Bold.svg#Lato-Bold') format('svg');
    font-weight: bold;
}

html {
    position: relative;
    /* min-height: 100%; */
    min-height: 100vh;
}

body {
    background-color: #F8F6F2;
    min-height: 100vh;
}

#container {
    display: flex;
    flex-direction: column;
    min-height: 65vh;
    position: relative;
    /* Ensure absolute positioning works correctly */
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lato", sans-serif;
}

p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: 'Lato-Regular';
    color: #2D2D2A;
}

h1 {
    font-size: 44px;
    line-height: 52px;
    font-family: 'Lato-Black';
    color: #2D2D2A;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 40px;
    line-height: 50px;
    font-family: 'Lato-Black';
    color: #2D2D2A;
    letter-spacing: 0.5px;
}

h3 {
    font-size: 30px;
    line-height: 40px;
    font-family: 'Lato-Black';
    color: #2D2D2A;
    letter-spacing: 0.5px;
}

h4 {
    font-size: 26px;
    line-height: 36px;
    font-family: 'Lato-Black';
    color: #2D2D2A;
    letter-spacing: 0.5px;
}

h5 {
    font-size: 22px;
    line-height: 32px;
    font-family: 'Lato-Bold';
    color: #2D2D2A;
    letter-spacing: 0.5px;
}

h6 {
    font-size: 20px;
    line-height: 30px;
    font-family: 'Lato-Bold';
    color: #2D2D2A;
    letter-spacing: 0.5px;
}

img {
    border-radius: 5px;
}

a {
    text-decoration: none;
    color: #9c891c;
    font-family: 'Lato-Black';
    font-size: 18px;
    line-height: 28px;
}

.main-body {
    margin-bottom: 50px;
}

#latest-meals a p,
.ingredient-sec a p,
.main-body a p {
    text-decoration: none;
    color: #9c891c;
    font-family: 'Lato-Black';
    font-size: 17px;
    line-height: 27px;
}

a:hover {
    color: #9c891c;
    font-family: 'Lato-Black';
    text-decoration: underline;
}

.logo-img {
    width: 300px;
    text-decoration: none;
}

.footer-logo-img {
    width: 300px;
    text-decoration: none;
}

.header {
    background: #d8c246;
    padding: 24px 0;
    margin-bottom: 50px;
}

.header .row {
    align-items: center;
}

.footer {
    background: #d8c246;
    padding: 24px 0;
    width: 100%;
}

.footer .row {
    align-items: center;
}

.footer p {
    color: #2D2D2A;
    font-family: 'Lato-Bold';
}

.footer-links .footer-link {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #2D2D2A;
    text-decoration: underline;
}

#header-search {
    text-decoration: none;
}

.h2-color {
    color: #9c891c;
}

.header-body-content {
    width: 80%;
    text-align: center;
}

.h-25 {
    height: 25px;
}

.h-140 {
    height: 140%;
}

.w-25 {
    width: 25%;
}

.w-20 {
    width: 20%;
    text-align: center;
}

.w-80 {
    width: 80%;
    text-align: center;
}

.mh-40 {
    max-height: 40px;
}

#search-letter {
    text-decoration: none;
    color: rgba(38, 50, 56, 0.8);
    font-size: 20px;
}

.card {
    float: left;
    font-weight: bold;
    margin: 0 1px;
    min-height: 35px;
    min-width: 35px;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #d8c2465c;
    border-color: #d8c246;
}

.card.active,
.card:hover {
    background-color: #d8c246;
}

.card-body {
    padding-top: .6rem;
    padding-left: 1.1rem;
}

.ingredient-sec {
    text-align: center;
    padding: 0 10px;
    margin-bottom: 30px;
}

div#myDiv {
    position: sticky;
    top: 50px;
}

form>.textbox {
    outline: 0;
    height: 39px;
    width: 220px;
    line-height: 42px;
    padding: 0 16px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #212121;
    border: 0;
    float: left;
    -webkit-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

form>.textbox:focus {
    outline: 0;
    background-color: #FFF;
}

form>.button {
    outline: 0;
    background: none;
    background-color: rgba(38, 50, 56, 0.8);
    float: left;
    height: 39px;
    width: 42px;
    text-align: center;
    line-height: 42px;
    border: 0;
    color: #FFF;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 16px;
    text-rendering: auto;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition: background-color .4s ease;
    transition: background-color .4s ease;
    -webkit-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-home {
    background-color: rgba(38, 50, 56, 0.8);
    color: #fff;
    padding: 7px 15px;
}

.btn-home:hover {
    color: #fff;
    text-decoration: none;
}

.meals {
    border-radius: 5px;
    margin-bottom: 12px;
}

.goog-te-combo {
    padding: 11px;
    border-radius: 5px;
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
    color: #212121;
    font-weight: 600;
    margin: 0 !important;
}

.goog-te-combo:focus-visible {
    outline: none !important;
}

.print-recipe:focus {
    box-shadow: none !important;
}

.goog-te-gadget {
    color: transparent !important;
}

.goog-te-gadget a,
.goog-te-gadget img {
    display: none !important;
}

/* Loading */

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid;
    border-color: #9c891c transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-top: 120px;
    margin-bottom: 120px;
}

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

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

.row.dekstop {
    display: block;
}

.row.mobile {
    display: none;
}

.recipe-img {
    width: 200px;
    height: 200px;
}

.top-nav.mobile-sec {
    display: none;
}

.recipe-detail-img {
    width: 450px;
    height: 450px;
}

.ingredients-img {
    width: 200px;
    height: 200px;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

.atoz-sec {
    margin-bottom: 20px;
}

.advertisement-sec {
    padding: 4px 0 20px;
    justify-content: space-between;
}

.advertisement-sec .w-20 {
    background: #fff;
    text-align: center;
    border: 1px solid #0000002b;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 12px;
}

button.btn-shop {
    width: 100%;
    background: transparent;
    border: none;
    /* font-weight: bold; */
    color: #9c891c;
    padding: 10px 0 0;
    font-family: 'Lato-Regular';
}

.advertisement-sec .w-20 a img {
    width: 100px;
    height: 100px;
}

.btn-home.goback {
    background-color: rgba(38, 50, 56, 0.8);
    padding: 7px 15px;
}

/* Heta's Responsive Css */

@media (min-width: 1200px) and (max-width: 1400px) {
    .advertisement-sec .w-20 a img {
        width: 90px;
        height: 90px;
    }

    .w-20 {
        width: 25%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .logo-img {
        width: 280px;
    }

    .header.dekstop .col-md-6 {
        width: 40%;
    }

    .header.dekstop .col-md-6+.col-md-6 {
        width: 60%;
        align-items: center;
    }

    .header.dekstop .col-md-6 form {
        margin-bottom: 0;
    }

    .atoz-sec {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    #search-letter {
        margin: 5px;
    }

    .w-20 {
        width: 25%;
    }

    .recipe-detail-img {
        width: 380px;
        height: 380px;
    }

    .ingredients-img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .logo-img {
        width: 240px;
    }

    .header.dekstop .col-md-6 {
        width: 35%;
    }

    .header.dekstop .col-md-6+.col-md-6 {
        width: 65%;
        align-items: center;
    }

    form>.textbox {
        width: 150px;
        height: 39px;
    }

    .header.dekstop .col-md-6 form {
        margin-bottom: 0;
    }

    .goog-te-combo {
        width: 140px;
    }

    form>.button {
        height: 39px;
    }

    .btn-home {
        padding: 8px 10px;
        font-size: 14px;
    }

    .ingredient-sec {
        width: 33.33%;
    }

    .ingredients-img {
        width: 100%;
        height: auto;
    }

    .main-body .col-md-5,
    .main-body .col-md-7 {
        width: 100%;
        text-align: center;
    }

    .recipe-detail-img {
        width: 450px;
        height: 450px;
    }

    .main-body .col-md-7 h4 {
        padding-top: 20px;
    }
}

@media (max-width: 991px) {

    /* Initially hide the menu */
    .menu {
        display: none;
    }

    /* Show the menu when the checkbox is checked */
    #menu-toggle:checked~.menu {
        display: block;
        z-index: 9;
    }

    .nav-link {
        padding: 0;
        color: #fff;
    }

    .menu-button-container {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 0;
        margin-top: 65px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle~.menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-toggle:checked~.menu li {
        border: 1px solid #d8c246;
        height: 60px;
        padding: 10px;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
        align-items: center;
    }

    .menu>li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: #9c891c;
    }

    .menu>li:not(:last-child) {
        border-bottom: 1px solid #444;
    }

    h2 {
        font-size: 35px;
        line-height: 45px;
        text-align: center;
    }

    h4 {
        font-size: 24px;
        text-align: center;
    }

    .atoz-sec {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    #search-letter {
        margin: 5px;
    }

    .w-20,
    .w-80 {
        width: 100%;
    }

    .recipe-img {
        width: 100%;
        height: auto;
    }

    .row.dekstop {
        display: none;
    }

    .row.mobile {
        display: block;
    }

    .owl-carousel {
        padding: 0 25px;
    }

    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel .owl-nav button.owl-prev {
        background-color: #d8c246 !important;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        position: absolute;
        top: 38%;
        transform: translateY(-38%);
    }

    .owl-nav.disabled {
        display: block !important;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 5px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 5px;
    }
}

@media (max-width: 768px) {

    .header.dekstop .col-md-6 a,
    .header.dekstop .col-md-6 form {
        display: none;
    }

    .header.dekstop {
        padding: 10px 0;
        margin-bottom: -1px;
        position: absolute;
        top: 60px;
        width: 100%;
    }

    .top-nav.mobile-sec {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background: #d8c246;
        color: #fff;
        padding: 1em;
        flex-wrap: wrap;
        position: relative;
    }

    .main-body.mt-4 {
        margin-top: 0 !important;
    }

    #container {
        margin-top: 80px;
    }

    #google_translate_element,
    .goog-te-combo {
        width: 100%;
    }

    .top-nav.mobile-sec img {
        width: 210px;
    }

    .main-body .col-md-7 h4 {
        padding-top: 20px;
    }

    .ingredient-sec {
        width: 50%;
    }

    .ingredients-img {
        width: 100%;
        height: auto;
    }

    .btn-home {
        background-color: transparent;
        padding: 0;
    }

    .recipe-detail-img {
        width: 100%;
        height: auto;
    }
}

.arrow {
    color: black;
}

.arrow:hover {
    text-decoration: none;
}