html {
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  padding: 0%;
  margin: 0%;
}

/* HEADER */

.header {
  width: 100%;
  height: 65px;
  background-color: #ffe262;
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 0px 100px;
}

.redes {
  display: flex;
}

.redes li {
  list-style: none;
  margin: 5px;
}

.redes li a {
  color: var(--negro);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.5s ease;
}

.instagram {
  width: 42px;
  height: 42px;
  filter: invert(100%);
}

.facebook {
  width: 42px;
  height: 42px;
  filter: invert(100%);
}

.pinterest {
  width: 42px;
  height: 42px;
  filter: invert(100%);
}

/* MENU */

.menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 90%;
  padding: 20px 0;
  border-bottom: 3px solid #ffe262;
}

.izquierdo {
  flex: 1 1 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.izquierdo_imagen {
  max-height: 300px;
  width: auto;
}

.derecho {
  flex: 2 1 300px;
  padding: 10px;
}

.derecho_imagen img {
  width: 100%;
  height: auto;
  display: block;
}

.derecho_menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.nav {
  width: 100%;
}

.menu2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 18px;
  gap: 15px;
  padding: 0;
}

.menu2 li {
  list-style: none;
  margin: 8px;
  font-weight: 500;
}

.menu2 li a {
  color: black;
  text-decoration: none;
}

.menu2 li:not(:last-child)::after {
  content: "|";
  margin-left: 20px;
  color: #ffe262;
}

.boton {
  border: none;
  color: white;
  font-size: 18px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 50px;
  transition: transform 0.3s ease-in-out;
}

.boton:hover {
  background-color: #ffee00;
}

.boton:active {
  transform: scale(0.9);
}

.primary {
  background-image: linear-gradient(to right, #f7e869ea, #ffc933f5);
}

/* RESPONSIVE RULES */

/* @media (max-width: 768px) {
  .menu2 {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .menu2 li:not(:last-child)::after {
    content: "";
  }

  .boton {
    font-size: 16px;
    padding: 10px 16px;
  }

  .menu {
    flex-direction: column;
    align-items: center;
  }

  .header {
    justify-content: center;
    padding: 10px;
  }

  .derecho_menu {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .redes li a img {
    width: 30px;
    height: 30px;
  }

  .menu2 {
    font-size: 16px;
  }

  .boton {
    font-size: 14px;
    padding: 8px 14px;
  }

  .izquierdo_imagen {
    max-height: 220px;
    width: auto;
  }
} */

/* CATEGORY */

.category {
  display: flex;
  margin: 0 auto;
  width: 85%;
  height: 3800px;
}

.category_izquierda {
  width: 20%;
  height: 250px;
}

.sidebar-categories {
  width: 250px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 15px;
}

/* Título de categorías */
.categories-title {
  color: #2c3e50;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eaeaea;
}

/* Menú principal */
.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Menú de categorías */
.categories-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Enlaces generales */
.nav-link,
.category-link {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #000000;
  border-radius: 4px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

/* Enlace HOME especial */
.home-link {
  font-weight: bold;
  font-size: 1.8rem;
  text-align: center;

  color: #ffffff;
  background-color: #f7e869ea;
}

/* Efectos hover */
.category-link:hover {
  background-color: #e9ecef;
  color: #000000ea;
  transform: translateX(5px);
}

/* Enlace activo (puedes añadir .active dinámicamente con JS) */
.category-link.active {
  background-color: #3498db;
  color: white;
  font-weight: 500;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .sidebar-categories {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 15px;
  }

   

  .home-link {
  font-weight: bold;
  font-size: 1.8rem;
  text-align: center;
  color: #ffffff;
  background-color: #f7e869ea;
  width: 150px;
  }

  .categories-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .category-link {
    padding: 8px 12px;
    margin-bottom: 0;
    background-color: #e9ecef;
    border-radius: 20px;
    font-size: 0.9rem;
  }
}

.category_derecha {
  width: 80%;
  margin-left: 50px;
  margin-top: 30px;
}

/* THINK DIFFERENT */

.texini {
  display: flex;
  width: 80%;
  height: 350px;
  margin: 0 auto 30px;
  border-top: 3px solid #7c727297;
  border-bottom: 3px solid #7c727297;
}

/* FOOTER */

.final {
  background-color: #eaeaea;
  width: 100%;
  height: 450px;
  margin-top: 30px;
}

.texfinal {
  background-color: #686867;
  width: 100%;
  height: 30px;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.imgfinal1 {
  display: flex;

  width: 50%;
  height: 80%;
  justify-content: center;
  align-items: center;
  gap: 160px;
  margin-left: 460px;
}

.form-group {
  margin-bottom: 20px;
}

.form2 {
  margin-bottom: 10px;
  width: 420px;
}

.intform2 {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 40px;
  font-size: 18px;
  box-sizing: border-box;
  border: none;
}

.btnform2 {
  background-color: #f7e869ea;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  width: 60%;
  transition: background-color 0.3s;
}

.btnform2:hover {
  background-color: #ffc933bd;
}

.text_form2 {
  margin-bottom: 20px;
  margin-top: 20px;
}

.container_follow {
  display: flex;
  margin-top: 15px;
}

.follow {
  margin-top: 20px;
  font-size: 20px;
}

.follow_img {
  margin: 22px 0 0 40px;
}

/* VENTANA MODAL */
.modal::backdrop {
  background-color: #eaeaea7a;
}

.modal {
  width: 45%;
  height: 51%;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 25%;
  box-shadow: 0 2px 2px rgba(254, 251, 251, 0.896);
}

.stilomodal {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  width: 100%;
}

h2 {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  background-color: #f7e869ea;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: #ffc933bd;
}

.request-label {
  font-weight: bold;
  margin-top: 20px;
  color: #333;
}

/* === RESPONSIVE DESIGN === */

/* Tablets */
@media (max-width: 1024px) {
  .menu {
    flex-direction: column;
    height: auto;
    padding-bottom: 60px;
  }

  .derecho {
    width: 100%;
  }

  .derecho_menu {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .menu2 {
    flex-direction: column;
    align-items: center;
  }

  .menu2 li:not(:last-child)::after {
    content: none;
  }

  .imagenes3 {
    flex-direction: column;
    height: auto;
    align-items: center;
  }

  .imagen1,
  .imagen2,
  .imagen3 {
    width: 90%;
    height: auto;
  }

  .muestra {
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
  }

  .recuadro1,
  .recuadro2,
  .recuadro3,
  .recuadro4,
  .recuadro5 {
    width: 80%;
    margin: 20px auto;
    position: static;
  }

  .imgfinal1 {
    flex-direction: column;
    width: 100%;
    margin: 0;
    gap: 20px;
    align-items: center;
  }

  .form2 {
    width: 90%;
  }
}

/* Celulares */

@media (max-width: 768px) {
  .header {
    padding: 0 20px;
    justify-content: center;
    height: 65px; /* Asegura que tenga altura fija */
  }

  .menu {
    flex-direction: column;
    height: auto;
    padding-bottom: 60px;
    margin-top: 65px; /* Previene que se superponga con el header */
  }

  .slider_cont {
    height: 0px;
  }

  .texini {
    height: auto;
    flex-direction: column;
  }

  .final {
    height: auto;
    padding: 20px 0;
  }

  .texfinal {
    font-size: 14px;
    text-align: center;
  }

  .modal {
    width: 90%;
    left: 5%;
    top: 40%;
    height: auto;
  }

  .stilomodal {
    padding: 20px;
  }

  .btnform2 {
    width: 90%;
  }

  .container_follow {
    flex-direction: column;
    align-items: center;
  }

  .follow_img {
    margin: 10px 0 0 0;
    display: flex;
    gap: 15px;
  }

  .recuadro3 img,
  .recuadro4 img,
  .recuadro5 img {
    width: 100% !important;
    height: 150px;
  }

  .category_izquierda {
    width: 20%;
    height: 250px;
    margin-left: 90px;
  };
  /* .sidebar-nav {
    justify-content: center;

  } */

}
@media (max-width: 480px) {
  .izquierdo_imagen {
    max-height: 220px;
    width: auto;
  }
  
  
 
}
