header {
    padding: 10px 0;
    padding-bottom: 100px;
    position: relative;  /* Required for pseudo-element positioning */
}

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/home_background.png');
    background-size: cover;  /* Adjust as needed */
    z-index: -1;  /* Ensures the pseudo-element is behind the content */
}

.nav_bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 20px;
    height: 100px;
    backdrop-filter: blur(50px);
    border-radius: 10px;
    z-index: 2;
}

.logo img {
    height: 100px;
    width: 100px;
}

.nav_bar ul {
    list-style: none;
    margin: 0;
    padding: 50px;
    display: flex;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.nav_bar ul li {
    margin-left: 50px;
    padding-right: 40px;
    box-sizing: border-box;
    border-right: 3px solid white;
}

.nav_bar ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: color 0.4s ease;
}

.nav_bar ul li a:hover {
    color: white;
}

body{
    margin: 0;
    background-color: rgb(237, 255, 213);
}

.intro_div{
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin-top: 120px;
    background-color: black;
    border-radius: 20px;
    padding: 40px;
    margin-left: 10%;
    margin-bottom: 100px;
    box-shadow: 0px 5px 8px rgb(255, 255, 255); /* Add a slight shadow */
}

.intro_div h3{
    font-size: 40px;
    color: white;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.intro_div p{
    font-size: 18px;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.intro_div button{
    background-color: #ffffff; /* Blue color */
    color: rgb(0, 0, 0);
    padding: 10px 20px; /* Adjust padding as needed */
    border: none;
    font-size: 16px;
    cursor: pointer; /* Let user know it's clickable */
    border-radius: 4px; /* Rounded corners */
    transition: background-color 0.2s ease; /* Smooth transition on hover */
    margin-top: 20px;
}
  
.intro_div button:hover {
    background-color: #ff8a8a; /* Darker blue on hover */
    color: black;
}

.container {
	padding: 20px;
}

.slider-wrapper {
	position: relative;
	max-width: 40rem;
	margin: 0 auto;
}

.slider {
	display: flex;
	aspect-ratio: 16 / 9;
	overflow-x: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
	border-radius: 0.5rem;
	-ms-overflow-style: none; /* Hide scrollbar IE and Edge */
	scrollbar-width: none; /* Hide scrollbar Firefox */
    background-color: rgb(255, 255, 255);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slider::-webkit-scrollbar {
	display: none;
}

.slider img {
	flex: 1 0 100%;
	scroll-snap-align: start;
	object-fit: cover;
}

.slider-nav {
	display: flex;
	column-gap: 1rem;
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.slider-nav a {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background-color: #fff;
	opacity: 0.75;
	transition: opacity ease 250ms;
}

.slider-nav a:hover {
	opacity: 1;
}

.menu_header{
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 35px;
    justify-content: center;
}

.menu_section{
    background-color: #000000;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 50px;
    color: white;
    padding: 15px;
    margin-bottom: 100px;
    border-radius: 20px;
    box-shadow: 0px 5px 8px rgb(255, 76, 76); /* Add a slight shadow */
    padding-bottom: 50px;
}

.our_menu > * {
    overflow: hidden;
  }

.our_menu{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    max-width: 1400px;
    margin: 0 auto;
    grid-template-areas:
    "shakes_text juices_text salads_text"
    "wraps_text toasts_text supplements_text";
    text-align: center;
    margin-top: 20px;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 10px;
}

.our_menu a{
    display: flex;
    align-items: center;
    justify-content: center;  /* Optional for horizontal centering */
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
    transition: 0.5s ease-in-out; /* Inherit the transition for smoother hover off effect */
    border: 1px solid rgb(255, 255, 255);
}

.our_menu h3{
    color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    text-shadow: 2px 5px 5px rgba(0, 0, 0, 0.5);  /* Add a shadow effect */
}

.our_menu a:hover{
    scale: 1.03;
    border: 4px solid rgb(255, 255, 255);
    border-radius: 5px;
}

.shakes_text {
    grid-area: shakes_text;
    background: url('Images/protein_background.jpeg');
    background-size: cover;  /* Adjust as needed */
}

.juices_text {
    grid-area: juices_text;
    background: url('Images/juices_background.JPG');
    background-size: cover;  /* Adjust as needed */
}

.wraps_text {
    grid-area: wraps_text;
    background: url('Images/wraps_background.png');
    background-size: cover;  /* Adjust as needed */
}

.salads_text {
    grid-area: salads_text;
    background: url('Images/salads_background.jpeg');
    background-size: cover;  /* Adjust as needed */
}

.toasts_text {
    grid-area: toasts_text;
    background: url('Images/peanutbuttertoast.png');
    background-size: cover;  /* Adjust as needed */
}

.supplements_text {
    grid-area: supplements_text;
    background: url('Images/supplements_background.png');
    background-size: cover;  /* Adjust as needed */
}

.instagram_wheel{
    background-color: #000000;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 50px;
    color: white;
    padding: 15px;
    margin-bottom: 100px;
    border-radius: 20px;
    box-shadow: 0px 5px 8px rgb(255, 76, 76); /* Add a slight shadow */
}

.container_instagram {
    display: flex; /* Assuming your posts are laid out in a flexbox */
    gap: 10px; /* Adjust the value for desired padding (e.g., 5px, 15px) */
    margin: 0 auto; /* Center the container horizontally if needed */
}

.slider-wrapper-instagram {
	position: relative;
	margin: 0 auto;
}

.slider_instagram {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
	border-radius: 20px;
	-ms-overflow-style: none; /* Hide scrollbar IE and Edge */
	scrollbar-width: none; /* Hide scrollbar Firefox */
    background-color: rgb(255, 255, 255);
    gap: 20px;
    box-shadow: 0px 5px 8px rgb(246, 255, 0); /* Add a slight shadow */
    margin-bottom: 50px;
}

.slider_instagram div{
    padding: 20px;
}

.instagram-media{
    max-height: 800px;
}

.icons{
    font-size: 25px;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 5%;
    display: none;
}

/* Basic styling for the footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    bottom: 0;
    width: 100%;
}
/* Style links in the footer */
footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover {
    text-decoration: underline;
}

html{
    scroll-behavior: smooth;
}

#check{
    display: none;
}


@media (max-width: 1000px) {

    .icons {
        display: block;
        cursor: pointer; /* Make it clickable */
    }

    .nav_bar ul li{
        border-right: 0px solid white;
        padding-bottom: 40px;
    }

    .nav_bar ul {
        display: none;
        position: fixed;
        width: 1fr;
        height: 200px;
        background: #000000;
        left: 0px;
        right: 0px;
        text-align: center;
        transition: all .5s;
        top: 115px;
        box-shadow: 0px 5px 8px rgb(255, 255, 255); /* Add a slight shadow */
        margin-right: 2%;
        margin-left: 2%;
    }

    .nav_bar{
        margin-left: 2%;
        margin-right: 2%;
    }

    .nav_bar ul li a{
        color: white;
        box-shadow: 0px 1px 0px rgb(255, 111, 111); /* Add a slight shadow */
    }
      
    #menu_icon {
        font-size: 2rem; /* adjust font size as needed */
        color: white; /* adjust color as needed */
    }

    .our_menu{
        grid-template-areas:
        "shakes_text juices_text"
        "wraps_text toasts_text"
        "salads_text supplements_text";
        grid-template-columns: repeat(2, 1fr);
    }

    .menu_header{
        font-size: 26px;
    }
}

@media (max-width: 1400px) {
    .intro_div{
        display: block;
        margin-left: 2%;
        margin-right: 2%;
    }

    .menu_section{
        margin-left: 2%;
        margin-right: 2%;
    }

    .slider-wrapper {
        max-width: 50rem;
    }
    
    .container_instagram {
        display: block;
    }
}

@media (max-width: 800px) {

    .our_menu{
        grid-template-areas:
        "shakes_text"
        "juices_text"
        "wraps_text"
        "toasts_text"
        "salads_text" 
        "supplements_text";
        grid-template-columns: repeat(1, 1fr);
    }

    .container {
        display: none;
    }
}

@media (max-width: 500px) {

    .intro_div h3{
        font-size: 30px;
    }

    .intro_div p{
        font-size: 16px;
    }

    .slider-wrapper {
        width: 275px;
    }

    .container {
        padding: 0px;
        margin-top: 20px;
    }

    .our_menu{
        grid-template-areas:
        "shakes_text"
        "juices_text"
        "wraps_text"
        "toasts_text"
        "salads_text" 
        "supplements_text";
    }

    .menu_header{
        font-size: 20px;
    }

    .container_instagram {
        display: block;
    }

    .slider_instagram div{
        padding: 5px;
    }

    .slider_instagram{
        border-radius: 5px;
    }

    .instagram_wheel{
        margin-left: 2%;
        margin-right: 2%;
    }

    .intro_div{
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .slider-wrapper {
        max-width: 15rem;
    }

    .nav_bar{
        background-color: #000000;
        backdrop-filter: blur(0px);
    }
}

@media (max-width: 300px) {
    .slider-wrapper {
        max-width: 12rem;
    }
}
