@media (max-width: 768px) {
  .menu {
    width: 100%;
  }
  .hero-section {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 2rem 1rem;
  }
  .hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .account {
    display: none;
  }
  .logo {
    width: 90px;
    height: 90px;
    margin: 1rem;
  }
  .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .bottom nav {
    position: fixed;
    top: 0;
    left: -100%; /* Oculto fuera de pantalla */
    width: 100%;
    height: 100vh;
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease-in-out;
    z-index: 999;
  }

  .bottom nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .bottom nav ul li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }

  #lanzador:checked ~ .bottom nav {
    left: 0;
  }

  .bottom nav ul li a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 0;
    transition: all 0.3s ease;
  }

  .bottom nav ul li a:hover {
    color: var(--color-accent-dark);
    transform: scale(1.1);
    border: 2px solid var(--color-accent-dark);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .bottom {
    position: relative;
  }
  .user-menu {
    display: none;
  }

  .menu-activador {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 20px;
    top: 60px;
    right: 30px;
    cursor: pointer;
    z-index: 9999;
  }

  .menu-activador-linea {
    height: 2px;
    background-color: var(--text-color, black);
    opacity: 1;
    transform: translateY(0) rotate(0);
    transition: all 0.3s;
  }

  #lanzador {
    position: absolute;
    left: -9999px;
  }

  #lanzador:checked ~ label .menu-activador-linea:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  #lanzador:checked ~ label .menu-activador-linea:nth-child(2) {
    opacity: 0;
  }

  #lanzador:checked ~ label .menu-activador-linea:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  .hero-content {
    padding: 2rem 1rem;
  }
  .btn {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  #ingredientForm {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ingredients-list {
    padding: 1rem;
  }
  .recipe-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .recipe-box-button button {
    padding: 1rem;
  }
  .newsletter-container {
    display: flex;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    padding: 0px 20px;
    column-gap: 20px;
    margin-bottom: 20px;
    justify-content: start;
    align-items: center;
    text-align: center;
  }
  .footer-section {
    width: 100% !important;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 1.2rem;
  }
  .footer-section .logo {
    width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  .footer-section ul {
    width: 100%;
    margin: 0 auto;
    text-align: center !important;
    align-items: center !important;
  }
  .footer-section.contact {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }
}
