* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}



html, body {
   height: 100%;  /* Ensure full height of the viewport */
    overflow-x: hidden;  /* Prevent horizontal scrolling */
}

body {
/*    display: flex;*/
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    overflow-x: hidden;  /* Prevent horizontal scrolling */
}
.navbar {

    display: flex;
    flex-direction: row; /* This will stack items vertically */
    align-items: center; /* You might want this if you want items centered horizontally within the nav */
    padding: 1rem;
    background-color: #999000;

    width: 100%;
      max-height: 30px;
      max-width: 800px;
}

.navbar li {
    list-style: none;
    margin: 2px 0; /* Adjust vertical spacing between items */
    width: 100%; /* Ensures full width */
    text-align: center; /* Centers text within each item */

}

.navbar li a {
    text-decoration: none;
    color: white;
    font-size: .8rem;
    display: block; /* Makes the entire list item clickable */
    padding: 5px 0; /* Gives some padding inside the link */
}

.section {
    padding: 2rem;
    text-align: center;
    margin-top: 120px; /* To avoid content hidden by navbar */
    color: #363636;
    font-size: 12px;
    width: 100%;
}

/* Block navigation for desktop */
.block-navigation {
    position: relative;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
    z-index: 0;
}

.block-navigation button {
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    background-color: #fff;
    color: #8B0000;
    border: none;
    outline: none;
    border-radius: 8px;
    font-family: Impact, sans-serif;
    font-size: 1.2rem;
}

.block-navigation button:hover {
    background-color: #ddd;
}

.blocks-container {
    display: flex;
    width: 500vw;  /* Three blocks, each 100vw wide */
    transform: translateX(0);  /* Ensure it starts at 0vw */
    transition: transform 0.3s ease-in-out;
    position: relative;
    overflow-x: hidden;  /* Ensure no extra horizontal scroll */
    margin-top: 0px;  /* Adjust for fixed navigation height */
    min-height: auto !important; 
}

.block {
    width: 100vw;  /* Each block takes up 100% of the viewport width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
  /*  height: calc(100vh - 60px);  Adjust for fixed navigation */
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    min-height: auto !important; 
    max-height: auto !important; 



}

.item {
    background-color: #ccc;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    width: 200px;
    text-align: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    padding: 20px;
 max-width: 800px;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px; /* Space between image and text */
    padding: 0 12px;
}

.menu-item img {
    width: 100%;  /* Allow the image to scale down within its container */
    max-width: 300px;  /* Ensure the image does not exceed 300px */
    height: auto;  /* Maintain aspect ratio */
    border-radius: 8px;  /* Optional for styling */
    object-fit: cover;  /* Ensures images fit well within the given dimensions */
}



.menu-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
   
}


.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    
}

.menu-item-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #111;
    font-family: sans-serif;
    font-weight: bold;
    border-left: 6px solid #8b0000;
    padding-left: 10px;

}

.menu-item-header p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color:#111;
}

.menu-item-description {
    font-size: 1rem;
    color: #111;
    margin-top: 0.5rem;
    width: 80%;
    font-family: sans-serif;
    border-left: 6px solid #8b0000;
    padding-left: 10px;
  
}


/* Footer styling */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  color: #000;
  padding: 10px 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Ensure footer stays on top */
}

.footerAncho {
  max-width: 700px;
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

.footerAddress {
  display: flex;
  justify-content: space-around; /* Space items closer together */
  width: 100%;
  text-align: center;
}

.footerAddress p {
  margin: 3px 0; /* Slightly closer together */
  color: #000;
  font-size: 12px;
}

.invisible{
display:hidden;
}


.izquierda{
    text-align: left !important;
   

    padding: 15px 5px 5px 5px;
    border: solid 1px #000;
    background-color: gray;




}


header {
  background-color: #fff;
  padding: 50px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed; /* Makes the navigation sticky */
  width: 100%;
  height: 10px;
  top: 0;
  z-index: 1004;
  margin-top: 0px;
}

/* Desktop Navigation */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  transition: transform 0.3s ease-in-out;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #007bff;
}

.logo {
  width: 100%;
  max-width: 170px;
  height: 60px; /* Adjust this height based on your logo dimensions */
  background-image: url('https://victoraul.com/takatis/images/takatis_logo_1.png');
  background-size: contain; /* Makes the logo fit within the dimensions */
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  position: absolute;
  margin-top: -30px;
  margin-left: 20px;
}

/* Mobile Navigation (Hamburger) */
.menu-toggle {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1005;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: #333;
  display: block;
  margin: 5px 0;
}

/* Add this to your CSS file */

button[type="submit"] {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  max-width: 400px; /* Adjust this to your preferred width */
  background-color: #28a745;
  color: white;
  padding: 15px;
  border: none;
  font-size: 1.2rem;
  text-align: center;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

button[type="submit"]:hover {
  background-color: #218838;
}

.socialIcon{
  width: 20px;
}

/* Responsive Navigation Behavior */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    display: none; /* Initially hidden on mobile */
  
  }

.izquierda{
    text-align: left !important;

    padding: 15px 5px 5px 5px;

}

.section {
  padding: 2rem;
  text-align: center;
  margin-top: 80px; /* To avoid content hidden by navbar */
  color: #363636;
  font-size: 12px;
  width: 100%;
}

  nav ul.open {
    display: block; /* Display when the hamburger is clicked */
    transform: translateY(0);
  }

  nav ul li {
    margin: 15px 0;
    text-align: center;
  }

  .menu-toggle {
    display: block; /* Display hamburger menu on mobile */
  }

  .footerAddress {
    flex-direction:row;
    align-items: center;
    font-size: 12px;
}


/* Mobile-specific styles */
@media (max-width: 768px) {

  .logo {
    width: 100%;
    max-width: 130px;
    height: 60px; /* Adjust this height based on your logo dimensions */
    background-image: url('https://victoraul.com/takatis/images/takatis_logo_1.png');
    background-size: contain; /* Makes the logo fit within the dimensions */
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    position: absolute;
    margin-top: -30px;
    margin-left: 20px;
  }

  header {
    background-color: #fff;
    padding: 40px 0 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed; /* Makes the navigation sticky */
    width: 100%;
    height: 10px;
    top: 0;
    z-index: 1004;
    margin-top: 0px;
  }

  .footerAddress{

    flex-direction:row;
    align-items: center;

  }

  .menu-item img {
    width: 100%;  /* Allow the image to scale down within its container */
    max-width: 160px;  /* Ensure the image does not exceed 300px */
    height: auto;  /* Maintain aspect ratio */
    border-radius: 8px;  /* Optional for styling */
    object-fit: cover;  /* Ensures images fit well within the given dimensions */
}


  .block-navigation {
    position: relative;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 5px;
    z-index: 0;
}

.block-navigation button {
  padding: 8px 5px 8px 5px;
  margin: 0 2px;
  cursor: pointer;
  background-color: #fff;
  color: #8B0000;
  border: none;
  outline: none;
  border-radius: 8px;
  font-size: 13.5px;
}

.block-navigation button:hover {
  background-color: #7E7C73;
}

    html, body {
        max-width: 100vw;  /* Prevents horizontal scrolling */
        overflow-x: hidden;  /* Ensure the body doesn't scroll horizontally */
    }

    .blocks-container {
        width: 500vw;  /* Still accommodates 3 blocks, each 100vw */
    }

    .block {
        width: 100vw;  /* Each block still takes up the full viewport width */
    }

    .menu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 10px;
      padding: 1px 1px 1px 0px;
      
      max-width: 400px;
      overflow: hidden;
      width: 100%;
  }

  .menu-item-description {
    font-size: .8rem;
    color: #111;
    margin-top: 0.5rem;
    width: 80%;
    font-family: sans-serif;
    border-left: 3px solid #8b0000;
    padding-left: 5px;
  
}

.menu-item-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #111;
    font-family: sans-serif;
    font-weight: bold;
    border-left: 3px solid #8b0000;
    padding-left: 5px;
    /* background: linear-gradient(to bottom, #ffffff 50%, #8B0000 50%); */


}

.menu-item-header p {
    margin: 0;
    font-size: .9rem;
    font-weight: bold;
    color:#111;
}


.menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px; /* Space between image and text */
    padding: 0 12px;
}





}
}