.frame-container {
    display: flex;
    padding-top: 80px; /* Adjust for header height */
}

.left-hand-part {
    width: 20%;  /* 40%*/
    min-width: 80px; /* min-width: 120px;*/
    line-height: 12vh;
    background-color: transparent;
    padding: 0px;
    position: fixed; /* Stick to the top of the main content */
    top: 100px; /* Adjust for header height */
    bottom: 0;
    overflow-y: auto;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: rgb(18, 117, 231);
    font-weight: 600;
    margin-left: 50px;
    text-align: justify;
    z-index: 0; /* Set a lower z-index to keep it behind */
}

.left-hand-part a {
    text-decoration: none;  /* Remove underline from the link */
    color: rgb(18, 117, 231);
}

.menu{
    font-size: 20px;
}
.sub-menu {
    margin-left:1em; /* You can adjust the value as needed */
   /* list-style-type: none; /* Remove default list bullet */
   line-height: 10vh;
}

.right-hand-part {
    width: 60%;
    padding: 20px;
    margin-left: 300px; /* Adjusted margin to account for the fixed left-hand part */
}

/* for yikaliving page only */
.table {
    display:flex;
    background-color: transparent;
    justify-content: center;
    align-items: center;
    padding: 20px 10px 10px;
    position: relative;
    padding-top: 5px; /* Adjust for header height */
}

.table row {
    width: 350px;
    text-align:center;
}

.table img {
    width: 90%;
    border-radius: 10px;
}

.image-container {
    position: relative;
    width: 350px;
    text-align: center;
}
/*for yikaliving.html in ipads*/ 
@media only screen and (min-width: 800px) {
    .image-container {
        width: 300px;
    }
}
  
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 36px;
    font-family: "Segoe Script", cursive;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*for yikaliving.html in iphones*/ 
@media only screen and (max-width: 428px) {
    .watermark {
        font-size: 24px;
    }
}

.picmark {
    position: absolute;
    bottom: 5px;
    right: 20px;
    background-color:transparent;
    padding: 5px 10px;
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-family: "Algerian", cursive; /* Specify a custom font or use a predefined font */
}

/* for yikaliving > season_xxx.html */
.table h3 {
    font-size: 20px;
    margin: 20px 0;
}

.table content {
    max-width: 90%;
    font-family: "Segoe Script";
    font-size: 16px;
    text-align: left;
}

.slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh; /* Adjust the height as needed */
}

.slider {
    max-width: 80%;
    border: 25px solid whitesmoke;
    border-radius: 10px;
    overflow: hidden;
    position: relative; /* Ensure position is relative - footer shine problem*/
}

.slider img {
    object-fit: contain; /* Keep the image at its original dimensions */
    max-width: 100%;
    max-height: 100%;
    /*width: auto; /* Ensure the image width adjusts to include the border */
    /*height: auto; /* Ensure the image height adjusts to include the border */
}

.slider-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the image and watermark */
    justify-content: center;
    width: 100%;
}

.slider-image-container .slider-image {
    width: 100%; /* Adjust image size as needed */
    border-radius: 10px; /* Apply border-radius to image */
}

.slider-image-container .picmark {
    position: absolute;
    bottom: 5px;
    right: 20px;
    background-color: transparent;
    padding: 5px 10px;
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-family: "Algerian", cursive;
}

.clickbtn {
    width: 180px; 
    margin-left: 20px;
    background-color:transparent;
    border: 2px solid #51b6ec;
    border-radius: 10px;
    padding: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: rgb(18, 117, 231);
    font-weight: 600;
    text-align: center;
}
.clickbtn a {
    text-decoration: none;  /* Remove underline from the link */
    color: rgb(18, 117, 231);
}

/* for yikacooking page */
.recipe-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 10px 10px;
    position: relative;
    padding-top: 5px; /* Adjust for header height */
}

.recipe-post {
    border: 1px solid #ccc;
    padding: 20px;
    max-width: 350px;
    width: 45%; 
    box-sizing: border-box;
}

.recipe-post img {
    width: 100%; 
    height: auto;
    display: block;
    margin-bottom: 10px;
}

@media only screen and (max-width: 428px) {
    .recipe-post {
         width: 100%;
     }
}

.recipe-time {
    display: flex;
    align-items: left;
}

.star-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.time-container {
    display: flex;
    align-items: center;
}

.time-text {
    margin: -8px 0 0 0px; /* Adjust the margin as needed to align with the clock icon */
    margin-right: 30px; /* Adjust the margin as needed */
}

.time-container img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.recipe-description {
    margin-bottom: 10px;
    max-width: 350px;
    text-align: justify;
}

.read-more {
    display: block;
    text-align: center;
}

/* for yikacooking > yikarecipe.html */
.container {
    display: flex;   
    width: 100%;
    max-width: 1200px; /* Adjust the max width as needed */
    margin: 0 auto;
}

.wrapper {
    margin: 0% auto;
    width: 100%; 
}

img {
    max-width: 320px;
    float: left;
    border: 3px solid #fff;
    border-radius: 10px;
    margin-right: 15px;
    }

.text-box {
    color: black;
    background-color: white;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 10px;
    margin-right: 20px;
    }
    
.recipe-title {
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
    font-size: larger;
}

.recipe-subtitle {
    margin-top: 20px;
    text-align: left;
    font-weight: bold;
}

.recipe-intro {
    font-weight: normal;
    text-align: justify;
}

.recipe-details {
    margin-left:5em; /* You can adjust the value as needed */
    display: inline;
    right: 5vw;
}

.recipe-details ul {
    padding-left: 0; /* Reset default padding for ul */
}

.recipe-details li {
    list-style-position: inside; /* Keep the bullet inside the li */
    padding-left: 10px; /* Adjust the padding to move text and bullet */
    text-align: left; /* Align the text to the left */
}

.recipe-methods {
    font-weight: normal;
    text-align: justify;
    padding-left: 20px;
    padding-right: 10px;
}

.recipe-tips {
    font-weight: normal;
    text-align: justify;
    font-style: italic;
    padding-left: 20px;
    padding-right: 10px;
}

.read-next {
    text-align: right;
}

.read-next a{
color:  rgb(0, 170, 255);
text-decoration: none;
}

/*smaller left-hand-side submenu for iPad*/ 
@media only screen and (max-width: 810px)
{
    .left-hand-part {
        width: 100%;
        line-height: 5vh;
        margin-left: 10px;
    }
    
    .right-hand-part {
        width: 80%;
        margin-left: 200px; /* Adjusted margin to account for the fixed left-hand part */
    }     

    .menu{
        font-size: 16px;
    }

    .sub-menu {
        margin-left:1em; /* You can adjust the value as needed */
       /* list-style-type: none; /* Remove default list bullet */
       line-height: 3vh;
       font-size: 14px;
    }    

    .right-hand-part {
        width: 100%;
        margin-left: 140px; /* Adjusted margin to account for the fixed left-hand part */
    } 
} 

/* for yikaliving.html and learning.html smaller screens */
.linkbtn {
    width: 120px; 
    margin: auto; /*centers the element both vertically and horizontally.*/
    margin-top: 20px;
    margin-bottom: 20px;
    background-color:transparent;
    border: 2px solid #51b6ec;
    border-radius: 10px;
    padding: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: rgb(18, 117, 231);
    font-weight: 600;
    text-align: center;
    display: none;
    }

.linkbtn a {
    text-decoration: none;  /* Remove underline from the link */
    color: rgb(18, 117, 231);
}

/* hidden left-hand-side submenu for iPhone 12/13 Pro Max or smaller screen*/
/* dispaly link button for iPhone 12/13 Pro Max or smaller screen*/
@media only screen and (max-width: 429px) {
    .frame-container {
        display: block;
    }

    .left-hand-part {
        display: none;
    }

    .right-hand-part {
        width: 90%;
        margin-left: 0;
    }

    .linkbtn {
        display: block;
        }
}