*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #f1f3f4;
}

header {
    display: flex;
    align-items: center;
    background-color: #000;
    background-image: url(/img/PNG/hoja.png);
    background-size: 2rem;
    width: 100%;

    position: relative;
}

.no-scroll {
    overflow: hidden;
    height: 100%;
}

.toggle:hover {
  background-color: #d6d6d6;
  transition: 0.3s ease-in-out;
}

nav a {
  text-decoration: none;
  color: #000;
}


@media only screen and (max-width: 600px) {

    .pina {
        max-width: 6rem;
        position: absolute;
        margin-left: 40%;
        top: 20%;
        z-index: 30;
    }
    
    /* Botones */
    
#abrir, #cerrar {
    font-size: 2.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
    cursor: pointer;
  }

  #abrir {
    color: #ffce00;
  }
  
  #cerrar {
    color: #000;
  }
  
  /* Overlay fondo semitransparente */
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 900;
  }
  
  /* Menú lateral */
  #nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #f8f8f8;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 1rem;
    overflow-y: auto;
    z-index: 1000;
  }
  
  #nav.visible {
    transform: translateX(0);
  }
  
  #overlay.visible {
    display: block;
  }
  
  /* Submenús */

  .menu-item {
    margin-bottom: 1rem;
    border-bottom: 0.1rem solid #000;

    list-style: none;
    margin-left: 3%;
  }
  
  .toggle {
    background: none;
    border: none;
    font-size: 1rem;
    text-align: left;
    width: 100%;
    cursor: pointer;
    padding: 0.5rem 0;

    font-weight: 600;

    position: relative;
  }
  
  .submenu {
    margin-left: 1rem;
    display: none;

    list-style: none;
  }
  
  .submenu li {
    margin: 0.5rem 0;
    border-bottom: 0.1rem solid #000;
    
  }
  
  
  /* Mostrar submenu */
  
  .menu-item.active .submenu {
    display: block;
  }
  
  /* Scroll lock */

  .no-scroll {
    overflow: hidden;
    height: 100%;
  }

  /*Adornos Menu*/

  .smoke::after {
    content: url(/img/SVG/smoke.svg);
    width: 1rem;

    position: absolute;
    left: 75%;
    top: 1%;
  }

  .cultivo::after {
    content: url(/img/SVG/cultivo.svg);
    width: 1.5rem;

    position: absolute;
    left: 75%;
    top: 3%;
  }

  .tabaqueria::after {
    content: url(/img/SVG/tabaqueria.svg);
    width: 2rem;

    position: absolute;
    left: 74%;
    top: 3%;
  }

  .aromas::after {
    content: url(/img/SVG/aromas.svg);
    width: 2rem;

    position: absolute;
    left: 74%;
    top: 1%;
  }
  

  .toggle i {
    left: 90%;
    position: absolute;
  }
       

}

@media only screen and (min-width: 600px) and (max-width: 1023px) {
    
    .pina {
        max-width: 5.5rem;
        position: absolute;
        margin-left: 45%;
        z-index: 30;
    }
    
      /* Botones */
    
#abrir, #cerrar {
    font-size: 2.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
    cursor: pointer;
  }

  #abrir {
    color: #ffce00;
  }
  
  #cerrar {
    color: #000;
  }
  
  /* Overlay fondo semitransparente */
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 900;
  }
  
  /* Menú lateral */
  #nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 40%;
    height: 100vh;
    background-color: #f8f8f8;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 1rem;
    overflow-y: auto;
    z-index: 1000;
  }
  
  #nav.visible {
    transform: translateX(0);
  }
  
  #overlay.visible {
    display: block;
  }
  
  /* Submenús */

  .menu-item {
    margin-bottom: 1rem;
    border-bottom: 0.1rem solid #000;

    list-style: none;
    margin-left: 3%;
  }
  
  .toggle {
    background: none;
    border: none;
    font-size: 1rem;
    text-align: left;
    width: 100%;
    cursor: pointer;
    padding: 0.5rem 0;

    font-weight: 600;

    position: relative;
  }
  
  .submenu {
    margin-left: 1rem;
    display: none;

    list-style: none;
  }
  
  .submenu li {
    margin: 0.5rem 0;
    border-bottom: 0.1rem solid #000;
    
  }
  
  /* Mostrar submenu */
  
  .menu-item.active .submenu {
    display: block;
  }
  
  /* Scroll lock */

  .no-scroll {
    overflow: hidden;
    height: 100%;
  }

  /*Adornos Menu*/

  .smoke::after {
    content: url(/img/SVG/smoke.svg);
    width: 1rem;

    position: absolute;
    left: 75%;
    top: 1%;
  }

  .cultivo::after {
    content: url(/img/SVG/cultivo.svg);
    width: 1.5rem;

    position: absolute;
    left: 75%;
    top: 3%;
  }

  .tabaqueria::after {
    content: url(/img/SVG/tabaqueria.svg);
    width: 2rem;

    position: absolute;
    left: 74%;
    top: 3%;
  }

  .aromas::after {
    content: url(/img/SVG/aromas.svg);
    width: 2rem;

    position: absolute;
    left: 74%;
    top: 1%;
  }
  

  .toggle i {
    left: 90%;
    position: absolute;
  }

}

@media only screen and (min-width: 1024px) {

    .pina {
        max-width: 5%;
        position: absolute;
        margin: 0 auto auto 45%;

        z-index: 20;
    }
    
         /* Botones */
    
#abrir, #cerrar {
    font-size: 2.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
    cursor: pointer;
  }

  #abrir {
    color: #ffce00;
  }
  
  #cerrar {
    color: #000;
  }
  
  /* Overlay fondo semitransparente */
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 900;
  }
  
  /* Menú lateral */
  #nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 40%;
    height: 100vh;
    background-color: #f8f8f8;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 1rem;
    overflow-y: auto;
    z-index: 1000;
  }
  
  #nav.visible {
    transform: translateX(0);
  }
  
  #overlay.visible {
    display: block;
  }
  
  /* Submenús */

  .menu-item {
    margin-bottom: 1rem;
    border-bottom: 0.1rem solid #000;

    list-style: none;
    margin-left: 3%;
  }
  
  .toggle {
    background: none;
    border: none;
    font-size: 1rem;
    text-align: left;
    width: 100%;
    cursor: pointer;
    padding: 0.5rem 0;

    font-weight: 600;

    position: relative;
  }
  
  .submenu {
    margin-left: 1rem;
    display: none;

    list-style: none;
  }
  
  .submenu li {
    margin: 0.5rem 0;
    border-bottom: 0.1rem solid #000;
    cursor: pointer;
    
  }

  .submenu li:hover {
    background-color: #d6d6d6;
    transition: 0.3s ease-in-out;
  }
  
  /* Mostrar submenu */
  
  .menu-item.active .submenu {
    display: block;
  }
  
  /* Scroll lock */

  .no-scroll {
    overflow: hidden;
    height: 100%;
  }

  /* Adornos Menu */

  .smoke::after {
    content: url(/img/SVG/smoke.svg);
    width: 1rem;

    position: absolute;
    left: 75%;
    top: 1%;
  }

  .cultivo::after {
    content: url(/img/SVG/cultivo.svg);
    width: 1.5rem;

    position: absolute;
    left: 75%;
    top: 3%;
  }

  .tabaqueria::after {
    content: url(/img/SVG/tabaqueria.svg);
    width: 2rem;

    position: absolute;
    left: 74%;
    top: 3%;
  }

  .aromas::after {
    content: url(/img/SVG/aromas.svg);
    width: 2rem;

    position: absolute;
    left: 74%;
    top: 1%;
  }
  

  .toggle i {
    left: 90%;
    position: absolute;
  }
    
}