body {
    background-color: #f8f7f3;
    font-family: 'Quicksand', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  #main {
    background-color: #f8f7f3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  
  #box {
    background-color: white;
    border: 2px solid #b42822;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-in-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Navbar */
  #logo {
    width: 50px;
    margin-right: 15px;
  }
  
  #menu {
    background-color: #f8f7f3;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  a.nav-link {
    margin: 0 15px;
    font-family: 'Quicksand', sans-serif;
  }
  
  a.nav-link:hover {
    color: #b42822;
    text-decoration: underline;
  }
  
  #boton_inicio {
    color: #b42822;
    border: 1px solid #b42822;
    transition: 0.3s;
  }
  
  #boton_inicio:hover {
    background-color: #b42822;
    color: #f8f7f3;
  }
  
  /* Footer */
  footer {
    background-color: #222;
    background-color: #f8f7f3;
    text-align: center;
    padding: 20px;
    font-size: small;
  }
  
  #principal{
    color: #F8F7F3;
    margin: 20px;
    padding: 0px;
    }
    
    #logo{
        width: 50px;
        height: auto;
        margin-right: 30px;
    }
    
    #boton_inicio{
    color: #b42822;
    border: #b42822 solid 1px;
    margin-right: 10PX;
    margin-left: 20PX;
    transition: 0.3s ease-in-out;
    }
    
    #boton_inicio:hover{
        background-color: #b42822;
        color: whitesmoke;
    }
    
    a.nav-link:hover{
        color: #b42822;
        text-decoration: underline;
        font-weight: bold;
        display: flex;
    }
    
    a.nav-link{
        margin: 0 20px;
    }
    
    #FAQ, #contacto, #tienda, #nosotros{
        display: none;
    }
    
    
    #menu-faq, #menu-tienda, #menu-nosotros, #menu-contacto{
        display: flex;
    }
    
    #menu-faq:hover #FAQ{
        display: flex;
        width: 40px;
        height: auto;
    }
    
    #menu-contacto:hover #contacto{
        display: flex;
        width: 40px;
        height: auto;
    }
    
    
    #menu-nosotros:hover #nosotros{
        display: flex;
        width: 40px;
        height: auto;
    }
    
    #menu-tienda:hover #tienda{
        display: flex;
        width: 40px;
        height: auto;
    }
    
    .d-block{
        width: 100%;
        height: 100%;
        max-height: 500px;
        object-fit: cover;
    }
    
    footer {
        background-color: #222;
        color: white;
        text-align: center;
        padding: 20px;
        font-size: small;
      }
      
      #text-footer {
        margin-bottom: 8px;
      }
  
  html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#btn1, #btn2{
    background-color: #b42822;
    color: #f8f7f3;
}

#btn1:hover, #btn2:hover{
    background-color: white;
    color:#b42822 ;
    border: #b42822 solid 2px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: scale(1.02);
}

#btn3{
    background-color: #FFE156;
    color: #222;
    border: #222 1px solid;
}

#btn3:hover{
    background-color: #A2D2FF ;
    border: #222 1px solid;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: scale(1.02);
}

#img1 {
    max-height: 350px;
    width: 100%;
  }
  
  @media (max-width: 768px) {
    #main {
      padding: 30px 15px;
      flex-direction: column;
    }
  
    #box {
      padding: 30px 20px;
    }
  
    #img1 {
      margin: 0 auto 20px auto;
      max-height: 250px;
    }
  
    .navbar .container {
      flex-wrap: wrap;
    }
  
    #logo {
      margin-bottom: 10px;
    }
  }

  p, h1, h2, h3, h4, h5, .btn, nav, footer {
    font-family: 'Quicksand', sans-serif;
}

