@font-face {
  font-family: 'Made';
  src: url('/Fonts/MADE_Tommy_Soft_Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Made', sans-serif;
}

/* Estilos para el menú hamburguesa */
.hamburger-menu {
  display: none;
  cursor: pointer;
  padding: 10px;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1000;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.4s;
}

/* Estilos para el sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  /* Inicia fuera de la pantalla */
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  right: 0;
  /* Se mueve a la vista cuando está activo */
}

/* Cabecera del sidebar */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.sidebar-logo img {
  height: 40px;
  width: auto;
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* Navegación en el sidebar */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  border-bottom: 1px solid #eee;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.sidebar-nav a:hover {
  background-color: #f5f5f5;
}

.sidebar-nav a img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* Overlay que oscurece el fondo cuando el sidebar está activo */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Media query para mostrar el menú hamburguesa en pantallas pequeñas */
@media screen and (max-width: 1024px) {
  .hamburger-menu {
    display: block;
  }

  header nav,
  header .nav-buttons {
    display: none;
  }
}
@media (min-width: 1600px) {
  body {
    max-width: 1400px;
    font-size: 18px;
  }

  .contenedor-principal {
    padding: 0 80px;
    gap: 40px;
  }

  h1 {
    font-size: 3rem;
  }

  /* Ajusta más secciones si es necesario */
}