/*  Hero section  */
.hero-section{
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg{
    background: url('../images/recepies-bg.webp') 50% 50% no-repeat;
    background-size: contain;
    background-position: bottom right;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: 1;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    height: 100%;
    align-items: center;
    place-content: center;
    z-index: 2;
    padding: 0 200px;
}

.hero-left {
/* margin-left: 100px; */
}

.hero-title h1{
color: #5d4233;
font-size: 70px;
font-family: 'TS-kaewPet-NP';
font-weight: 500;
margin:0;
}

.hero-text{
color: #5d4233;
font-size: 20px;
font-family: 'Roboto';
font-weight: 500;
margin: 20px 0;
}

.hero-right {
    position: relative;
    display: grid;
    align-items: center;
    place-content: center;
    
}

.hero-img {
position: relative;
width: 500px;
}

.hero-img img{
    width: 100%;
    }

@media screen and (max-width: 1500px) {
.hero-section{
    height: 100%;
    padding: 120px 0 100px;
}

.hero-inner {
    padding:0 100px;
}
}

@media screen and (max-width: 1300px) {
.hero-img {
width: 300px;
}

.hero-inner {
    padding:0 50px;
}
}

@media screen and (max-width: 1150px) {
    .hero-title h1 {
        font-size: 50px;
    }

    .hero-text {
    font-size: 18px;
    }

    .hero-left {
/* margin-left: 30px; */
}

}

@media screen and (max-width: 900px) {
    .hero-title h1 {
        font-size: 40px;
        line-height: 30px;
    }
    

    .hero-inner {
    padding:0 50px;
}

.hero-section {
        height: 100%;
        padding: 100px 0 100px;
    }
}


@media screen and (max-width: 767px) {
.hero-bg{
    background: url('../images/recipes-m-bg.webp') 50% 50% no-repeat;
    background-size: 100% 75%;
    background-position: bottom;
}

.hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
     padding:0 30px;
}

.hero-left {
    margin-left: 0px;
    text-align: center;
}
}


/* Category  */

.category-section {
    position: relative;
    display: grid;
    place-content: center;
    background-color: #5b5c40;
    padding: 50px 100px;
}

.section-title{
    color: #fff;
    font-size: 60px;
    line-height: 40px;
    font-family: 'TS-kaewPet-NP';
    font-weight: 500;
    text-align: center;
    display: grid;
    margin-top: 10px;
}

.category-full-inner {
    position: relative;
    margin-top: 40px;
    padding-bottom: 50px;
}

.category-full {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.category-col {
    position: relative;
    border: 3px solid #fff;
    border-radius: 20px;
    background: #fff;
    width: 240px;
    overflow: hidden;
}

.category-col-img {
    width: 100%;
    background: url() 50% 50% no-repeat;
    background-size: cover;
    background-clip: content-box;
    position: relative;
    height: 200px;
    border-radius: 0px;
}

.category-info {
position: relative;
    z-index: 99;
    background: #fff;
    display: grid;
    grid-template-rows: 100px 44px;
    align-items: center;
}

.category-title{
    color: #5d4233;
    font-size: 35px;
    line-height: 25px;
    font-family: 'TS-kaewPet-NP';
    font-weight: 500;
    text-align: center;
}

.button-category {
    width: 100%;
    opacity: 1;
}

.ex-btn{
    width: 100%;
}

.button-category a {
    text-decoration: none;
}


@media (max-width: 990px) {
.category-section {
    padding: 50px;
}


    .category-full {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        align-items: center;
    }

    .category-col {
        width: 200px;
    }
}


@media (max-width: 500px) {
    .category-section {
    padding: 50px 30px;
}

.category-col {
        width: 270px;
    }
}


/* recipe sections */
.recipe-section{
   position: relative;
    padding: 50px 0;
}

.recipe-bg{
        background: url('../images/recipe-bg.webp') 50% 50% no-repeat;
        background-size: cover;
        background-position: bottom;
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0px;
        display: block;
}

.recipe-bg-up{
    background: url('../images/recipe-bg-up.png') 50% 50% no-repeat;
        background-size: cover;
    background-position: top;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    display: block;
}

.sec-title{
    color: #5d4233;
    font-size: 60px;
    font-family: 'TS-kaewPet-NP';
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}

.recipe-container {
    position: relative;
    margin: 50px 200px;
}

.recipe-full {
    position: relative;
    padding: 0px 50px;
}

.recipe-col {
    position: relative;
    border: 2px solid #5d4233;
    border-radius: 20px;
    background: #fff;
    margin: 10px;
    overflow: hidden;

}

.recipe-col-img {
   width: 100%;
    background: url() 50% 50% no-repeat;
    background-size: cover;
    background-clip: content-box;
    position: relative;
    height: 300px;
    border-radius: 0px;
}

.recipe-info {
   position: relative;
    z-index: 99;
    background: #6f614e;
    display: grid;
    grid-template-rows: 100px 44px;
    align-items: center;

}

.recipe-title{
    color: #fff;
    font-size: 35px;
    line-height: 25px;
    font-family: 'TS-kaewPet-NP';
    font-weight: 500;
    text-align: center;
}

.button-recipe {
    width: 100%;
    opacity: 1;
}

.recipe-btn{
    width: 100%;
}

.recipe-arrow {
    position: absolute;
    bottom: 40%;
    display: grid;
    grid-template-columns: 40px 40px;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    width: 100%;
}

.left-arrow{
    background: url('../images/left.webp') center center no-repeat;
            background-repeat: no-repeat;
            cursor: pointer;
            background-size:30px;
            width:30px;
            height:30px;
            position: relative;
    }

    .right-arrow{
        background: url('../images/right.webp') center center no-repeat;
            background-repeat: no-repeat;
            cursor: pointer;
            background-size:30px;
            width:30px;
            height:30px;
            position: relative;
    }



@media (max-height: 1500px) {
 .recipe-container {
    margin: 50px 100px;
}

}

@media (max-width: 1200px) {
    .recipe-container {
    margin: 50px;
}
}

@media (max-width: 767px) {
    .recipe-container {
    margin: 30px;
}

.recipe-full {
    padding: 0px 35px;
}
}

@media (max-width: 600px) {
    .recipe-section{
    padding: 30px 0;
}
  
.recipe-col-img{
    height: 250px;
}

.recipe-bg{
    background-size: contain;
}

.recipe-arrow {
    display: none;
}

    .recipe-full {
        padding: 0;
    }

    .recipe-container {
        margin: 0 30px;
    }

    .recipe-bg-up{
        display:none;
    }

        .recipe-bg{
        display:none;
    }
}