body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
  background-color: rgba(240, 240, 240, 0.8);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(5px); /* Add blur effect */
}

.logo img {
    height: 40px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold; /* Make the links bold */
    transition: color 0.3s ease; /* Add a color transition */
}

nav a:hover {
    color: #b22121; /* Change color on hover */
}

section {
    padding: 40px 20px;
    text-align: center;
}

.mealeezLogoColor{
	fill: #b22121;
}

		#hero {
    display: flex;
    justify-content: space-around;
    padding: 100px 20px;
	padding-left: 200px;
	background-image: url('images/footer.webp');
	background-repeat: no-repeat; /* Prevent image repetition */
  background-size: contain; /* Or 'contain', depending on your needs */
  background-position: bottom; 
    align-items: flex-start; /* Align items to the top */
}

.hero-content {
    max-width: 500px;
    text-align: left;
}

.hero-content h1{
font-size: 42px;
line-height: 1.2;
}

.hero-container {
  width: 450px; /* Set the desired width */
  position: relative; /* To position the video and image */
  margin: 0 auto; /* Center the container */
}

.hero-video {
  /* Remove max-width, height, and position */
  width: 90%; /* Calculate the video width as a percentage of the container */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Center the video within the container */ 
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-image {
  position: absolute;
  width: 100%; /* Make the image fill the container */
  height: auto;
  /* Add these properties to center the image */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.download-button,
.view-online-button {
    display: inline-block;
    background-color: #b22121;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
	transition: opacity 0.3s ease; 
}

.view-online-button{
	background-color: white;
	border: 1px solid #b22121;
	color: #b22121;
}

.download-button:hover,
.view-online-button:hover {
    opacity: 0.8; /* Change background color on hover */
}

#features {
    background-color: #f9f9f9;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
	background-color: white;
}

.feature i {
    font-size: 3em;
    margin-bottom: 10px;
    color: #b22121;
}

#how-it-works{
background: rgba(200,41,41,0.2)
}

.video-container {
    max-width: 800px;
    margin: 20px auto;
}

.screenshot-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-gallery img {
    max-width: 300px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.screenshot-gallery .feature {
  margin-right: 20px; /* Add margin to the right of each .feature */
}

.screenshot-gallery .feature:last-child {
  margin-right: 0; /* Remove margin from the last .feature */
}

.appocadoGreen {
    fill: #228B22;
    stroke: #228B22;
}

.appocadoBlack {
    fill: #000000FF;
    stroke: #000000FF;
}

.appocadoBrown {
    fill: #8B5E3BFF;
    stroke: #8B5E3BFF;
}

	footer {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
}

.footer-content {
    max-width: 960px; /* Adjust as needed */
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 10px; /* Add space above copyright */
}

.footer-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease; /* Add color transition */
}

.footer-links a:hover {
    color: #b22121; /* Change color on hover */
}

#menu-toggle {
  display: none; /* Hide the button by default */
  border: none;
  background: none;
  padding: 10px;
  font-size: 1rem;
  cursor: pointer;
}

#menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu-items li {
  display: inline-block; /* Show links horizontally by default */
  margin-left: 20px;
}

#menu-items a {
  text-decoration: none;
  color: #333;
}

#menu-items a:hover {
  color: #b22121;
}

iframe {
	border-radius: 16px;
  display: block;
  width: 853px;      /* Set the width for larger screens */
  height: 480px;     /* Set the height for larger screens */
  max-width: 100%;   /* Make it responsive */
  margin: 40px auto 0; /* Center the iframe */
}

#animated-word {
  /* This makes the change in opacity and color smooth */
  transition: opacity 0.4s ease-in-out, color 0.4s ease-in-out;
  display: inline-block; /* Helps with positioning and transitions */
}

/* We will add/remove this class with JavaScript to trigger the fade */
#animated-word.fade-out {
  opacity: 0;
}

@media (max-width: 768px) {
  iframe {
    height: auto;    /* Let height adjust automatically */
    aspect-ratio: 853 / 480; /* Maintain the aspect ratio */
  }
}

/* Responsive Design */
@media (max-width: 768px) {

    #hero {
        flex-direction: column;
        text-align: center;
		padding-top: 20px;
		padding-left: 20px;
    }

    .hero-content {
        text-align: center;
		width: 100%;
max-width: unset;
padding-bottom: 40px;
    }
	
	

.hero-container {
    width: 88%; /* Adjust the container width for smaller screens */
    margin: 0 auto; /* Add this to center the container */
  }


    nav a {
        display: block; /* Stack the links vertically */
        margin: 10px 0; /* Adjust margin for vertical spacing */
    }
	
	.screenshot-gallery .feature { /* Target the .feature class */
        margin-bottom: 20px; /* Add padding below each .feature */
		margin-right: unset;
    }
	
	 #menu-toggle {
    display: block; /* Show the button on smaller screens */
  }

  #menu-items {
    display: none; /* Hide the links by default */
  }

  #menu-items li {
    display: block; /* Stack links vertically */
    margin: 10px 0;
  }
  
  #menu-items.show { /* Style for the .show class */
    display: block; /* Show the menu when the .show class is added */
  }

	
}