/* Inner Banner CSS */

.inner-bnr-img {
    width: 100%;
}

.inner-bnr-txt {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
}

.inner-bnr-txt h1 {
    font-size: 50px;
    line-height: 70px;
    color: var(--white-color);
    font-family: var(--h1HeadingFont);
    position: relative;
    margin-bottom: 30px;
}

.inner-bnr-txt h1::after {
    content: '';
    position: absolute;
    left: -20px;
    top: -30px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: var(--main-color);
    z-index: -1;
}

.inner-bnr::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black-color);
    opacity: 0.4;
    z-index: 0;
}

/* Inner Banner Intro CSS */

.about-intro-txt {
    margin-right: 150px;
}

.about-intro-txt p {
    margin-bottom: 20px;
}

.about-intro-txt p:last-child {
    margin-bottom: 0;
}

.about-intro-shape {
    position: absolute;
    left: -60px;
    top: 10%;
    z-index: -1;
}

.about-intro-img .main-img {
    width: 100%;
}

.about-intro-img {
    text-align: right;
}

/* About Journey CSS */

.about-journey-box {
    width: 540px;
    height: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    border: 1px dashed #000;
    border-radius: 50%;
    margin-left: -17px;
    flex-direction: column;
    position: relative;
}

.about-journey-box p {
    text-align: center;
}

.about-journey ul li:not(:last-child) .about-journey-box::after {
    content: '';
    position: absolute;
    right: -2px;
    bottom: 50%;
    transform: translateY(50%);
    clip-path: polygon(47.134% 0%, 47.134% 0%, 36.186% 4.873%, 25.281% 11.169%, 15.314% 18.782%, 7.183% 27.606%, 1.784% 37.533%, 0.013% 48.458%, 2.766% 60.273%, 10.939% 72.873%, 25.43% 86.151%, 47.134% 100%, 47.134% 100%, 50.345% 98.911%, 58.553% 95.842%, 69.615% 90.792%, 81.391% 83.763%, 91.74% 74.753%, 98.52% 63.762%, 99.59% 50.792%, 92.81% 35.842%, 76.038% 18.911%, 47.134% 0%);
    background: var(--main-color);
    height: 140px;
    width: 17px;
}

.about-journey ul li .about-journey-box::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #A4A4A4;
    border-radius: 50%;
}

.about-journey ul li .about-journey-box:nth-child(1) {
    z-index: 0;
}

.about-journey ul li .about-journey-box:nth-child(2) {
    z-index: 1;
}

.about-journey ul li .about-journey-box:nth-child(3) {
    z-index: 2;
}

.about-shape1 {
    position: absolute;
    left: 0;
    top: 14%;
    width: 9%;
}

/* About Gallery CSS */

.gallery-shape {
    position: absolute;
    right: 0;
    top: 0px;
    width: 19%;
    z-index: 2;
}

.gallery-row {
    position: relative;
    z-index: 3;
}

.gallery-row .col:nth-child(1), .gallery-row .col:nth-child(5) {
    width: 27%;
    flex: 0 0 auto !important;
}

.gallery-row .col:nth-child(2), .gallery-row .col:nth-child(6) {
    width: 33%;
    flex: 0 0 auto !important;
}

.gallery-row .col:nth-child(3), .gallery-row .col:nth-child(4) {
    width: 40%;
    flex: 0 0 auto !important;
}

.gallery-row .col:nth-child(7), .gallery-row .col:nth-child(8) {
    width: 50%;
    flex: 0 0 auto !important;
}

.gallery-row .main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-img-con img {
    width: 100%;
}

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--main-color);
    opacity: 0;
    transition: all ease-in-out 0.4s;
    font-size: 25px;
    z-index: 2;
}

.gallery-img-con:hover .gallery-icon {
    opacity: 1;
}

.gallery-img-con {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-img-con::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    transition: all ease-in-out 0.4s;
}

.gallery-img-con:hover::after {
    opacity: 0.4;
}

.play-icon {
    width: 40px !important;
}


/* About Food Farista Intro CSS */

.aboutff-intro-img {
    text-align: right;
}

.about-ff-img1 {
    width: 80%;
}

.about-ff-img2 {
    position: absolute;
    left: 0;
    top: 30%;
    width: 50%;
}

.aboutff-intro-shape {
    position: absolute;
    left: -60px;
    z-index: -1;
}

/* Find Food Farista Intro CSS */

.about-find {
    background: #F8F8F8;
}

.find-txt {
    padding: 0 150px;
}

.find-txt ul li {
    position: relative;
    margin-bottom: 20px;
}

.find-txt ul li:last-child {
    margin-bottom: 0;
}

.find-txt ul li i {
    margin-right: 10px;
    color: var(--main-color);
}

.find-img {
    position: absolute;
    bottom: -80px;
}

.about-find {
    z-index: 0;
}


/* Book Start */

.book-txt .heading {
    margin-bottom: 30px;
}

.book-txt .inner-txt {
    margin-bottom: 50px;
}

.book-img {
    width: 100%;
    position: relative;
}

.book-img img {
    width: 100%;
    position: absolute;
}

.book-sec {
    margin-bottom: 50px;
}

/* Book End */


/* About Testimonial CSS */

.testi-txt {
    padding-left: 40px;
}

.about-testimonial .heading h2 {
    margin-left: auto;
    margin-right: auto;
}


/* Recipes CSS */

.full-container {
    position: relative;
    z-index: 4;
}

.gallery-title {
    font-size: 36px;
    color: #db584e;
    text-align: center;
    font-weight: 700;
    padding: 40px 20px 60px;
}

.tab {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.filter-button {
    font-size: 20px;
    border: 0px solid var(--main-color);
    border-radius: 0;
    text-align: center;
    color: var(--main-color);
    margin-bottom: 30px;
    font-family: 'mysecondfont-SemiBold';
    padding: 6px 15px;
    background: var(--white-color);
}
.filter-button:hover {
    color: #ffffff;
    background-color: var(--main-color);

}
.btn-default:active .filter-button:active {
    background-color: var(--main-color);
    color: var(--white-color);
}

.port-image {
    width: 100%;
}

.filter-button.active, .filter-button:focus, .filter-button:focus-visible, .filter-button:focus-within {
    color: #ffffff !important;
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    box-shadow: none !important;
}

.food-list select {
    background-color: var(--white-color);
    border-radius: 0px;
    border: 1px solid var(--main-color);
    outline: none;
    color: var(--main-color);
    font-size: 16px;
}

.food-list select:focus {
    box-shadow: none;
}


/* Media Page CSS */

.media-box {
    height: 100%;
}

.media-box img {
    width: 100%;
}

.media-txt {
    padding: 30px;
    background-color: var(--main-dark-color);
}

.media-txt span, .media-sm-txt span {
    color: #c5c5c5;
    font-size: 16px;
    margin-bottom: 20px;
}

.media-txt .heading {
    margin-top: 15px;
}

.media-a {
    height: 100%;
    display: block;
}

.media-txt .heading {
    min-height: 150px;
    margin-bottom: 30px;
}


/* Books Page CSS */

.book-con .book-con-a:nth-child(even) .row {
    flex-direction: row-reverse;
    position: relative;
}

.book-con .book-con-a:nth-child(odd) .row .book-p-txt {
    padding-right: 200px;
}

.book-con .book-con-a:nth-child(even) .row .book-p-txt {
    padding-left: 200px;
}

.book-page-img img {
    width: 100%;
}

.book-con-a {
    display: block;
}


/* Reach Out CSS */

.form-head .heading h2 {
    margin: 0 auto 20px;
}

.reach-form .row .form-control {
    border-radius: 0 !important;
    border: 1px solid var(--main-color) !important;
    background: #fff;
    outline: none;
    color: #111;
    box-shadow: none;
    padding: 12px 20px;
    font-size: 16px;
}

.reach-shape {
    position: absolute;
    top: 5%;
    left: 0;
    width: 7%;
    height: auto;
    z-index: 1;
}

.reach-form {
    padding: 80px 100px;
    background-color: #c11b1b;
}

.reach-form button.main-btn {
    margin-left: auto;
}


/* Popups Gallery */

.popup-gallery-img {
    -webkit-column-count: 3;
    -webkit-column-gap: 15px;
    -moz-column-count: 3;
    -moz-column-gap: 15px;
    column-count: 3;
    column-gap: 15px;  
}

.popup-gallery-box:hover .gallery-icon {
    opacity: 1;
}

.popup-gallery-box {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.popup-gallery-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    transition: all ease-in-out 0.4s;
}

.popup-gallery-box:hover::after {
    opacity: 0.4;
}

.gallery-img-sec .heading h2::after {
    background-color: #000000;
}

/* Responsive Css Start */

@media (max-width: 1600px) {

    .about-journey-box {
        width: 474px;
        height: 474px;
    }

    .book-con .book-con-a:nth-child(odd) .row .book-p-txt {
        padding-right: 150px;
    }

    .book-con .book-con-a:nth-child(even) .row .book-p-txt {
        padding-left: 150px;
    }

}

@media (max-width: 1399px) {

    .about-journey-box {
        width: 408px;
        height: 408px;
    }

    .about-intro-txt {
        margin-right: 100px;
    }

    .book-con .book-con-a:nth-child(odd) .row .book-p-txt {
        padding-right: 100px;
    }

    .book-con .book-con-a:nth-child(even) .row .book-p-txt {
        padding-left: 100px;
    }

    .reach-form {
        padding: 60px 80px;
    }

}

@media (max-width: 1199px) {

    .inner-bnr-txt h1 {
        font-size: 40px;
        line-height: 60px;
    }

    .inner-bnr-txt h1::after {
        top: -20px;
        width: 100px;
        height: 100px;
    }

    .about-journey-box {
        width: 340px;
        height: 340px;
        padding: 30px;
    }

    .about-journey ul li:not(:last-child) .about-journey-box::after {
        height: 110px;
    }

    .about-intro-txt {
        margin-right: 60px;
    }

    .about-journey-box p {
        font-size: 14px;
        line-height: 22px;
    }

    .find-txt {
        padding: 0 0px 0 150px;
    }

    .filter-button {
        font-size: 18px;
        padding: 5px 12px;
    }

}

@media (max-width: 991px) {

    .inner-bnr-img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .about-intro-img {
        text-align: left;
    }

    .about-intro-shape {
        left: -10px;
    }

    .about-intro-img .main-img {
        width: 70%;
    }

    .about-journey-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-journey-box {
        width: 400px;
        height: 400px;
        padding: 30px;
        margin-left: 0;
    }

    .about-journey ul li:not(:first-child) .about-journey-box {
        margin-top: -40px;
    }

    .about-journey ul li:not(:last-child) .about-journey-box::after {
        height: 155px;
        bottom: -54px;
        transform: rotate(90deg) translateX(0%) translateY(-10%);
        width: 30px;
        right: 50%;
    }

    .about-journey-box p {
        font-size: 16px;
        line-height: 26px;
    }

    .aboutff-intro-img {
        width: 70%;
        margin-bottom: 50px;
    }

    .find-img {
        position: absolute;
        bottom: -60px;
    }

    .filter-button {
        font-size: 16px;
        padding: 5px 12px;
    }

    .media-txt .heading {
        min-height: 130px;
    }

    .book-con .book-con-a:nth-child(odd) .row .book-p-txt {
        padding-right: 50px;
    }

    .book-con .book-con-a:nth-child(even) .row .book-p-txt {
        padding-left: 50px;
    }

    .popup-gallery-img {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

}

@media (max-width: 767px) {

    .inner-bnr-txt h1 {
        font-size: 30px;
        line-height: 50px;
    }

    .inner-bnr-txt h1::after {
        top: -10px;
        left: -10px;
        width: 70px;
        height: 70px;
    }

    .inner-bnr-img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .book-img img {
        width: 100%;
        position: relative;
    }

    .book-sec .row {
        flex-direction: column-reverse;
    }

    .wrap {
        position: relative;
        height: 340px;
    }

    .book-sec {
        margin-bottom: 0;
    }

    .about-testimonial .secSliderWrap {
        padding-bottom: 50px;
    }

    .find-img {
        position: relative;
        bottom: -60px;
        text-align: center;
    }

    .find-txt {
        padding: 0;
    }

    .about-intro-txt {
        margin-right: 0;
    }

    .aboutff-intro-img {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .filter-button {
        font-size: 14px;
        padding: 4px 10px;
    }

    .media-txt .heading {
        min-height: auto;
    }

    .book-con .book-con-a:nth-child(odd) .row .book-p-txt {
        padding-right: 0px;
    }

    .book-con .book-con-a:nth-child(even) .row .book-p-txt {
        padding-left: 0px;
    }

    .book-page-img img {
        width: auto;
    }

    .book-con .row {
        flex-direction: column-reverse !important;
    }

    .book-page-img {
        text-align: center;
    }

    .reach-form {
        padding: 40px 50px;
    }

    .popup-gallery-img {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    
    .book-p-txt .heading h2 {
        margin: 0 auto;
        text-align: center;
    }
    
    .book-con-a:not(:last-child) .book-p-txt {
        margin-bottom: 50px;
    }

}

@media (max-width: 575px) {

    .inner-bnr-img {
        height: auto;
    }
        
    .inner-bnr-txt {
        top: auto;
        bottom: 15%;
        transform: none;
    }

    .about-intro-img .main-img {
        width: 100%;
    }

    .about-intro-txt {
        margin-right: 0;
    }

    .about-journey-box p {
        font-size: 15px;
        line-height: 25px;
    }

    .gallery-row .col {
        width: 50% !important;
        height: 100px;
    }

    .gallery-row {
        padding: 0 15px;
    }

    .about-intro-shape {
        top: -7%;
    }

    .about-shape1 {
        display: none;
    }

    .testi-txt {
        padding-left: 0;
        margin-top: 40px;
    }

    .testi-img {
        text-align: center;
    }

    .testi-img img {
        width: 60%;
        margin: 0 auto;
    }

    .filter-button {
        font-size: 13px;
        padding: 4px 10px;
    }

    .reach-form {
        padding: 25px;
    }

    .full-container {
        padding: 0 15px;
    }

}

@media (max-width: 450px) {

    .about-journey-box {
        width: 350px;
        height: 350px;
    }

    .about-journey-box p {
        font-size: 14px;
        line-height: 24px;
    }

    .about-journey ul li:not(:last-child) .about-journey-box::after {
        height: 155px;
    }

}