/* RESET */
*, 
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

/* ================================
   HEADER GENERAL
================================ */
.header {
  background-color: rgb(17 17 37);
  height: 100px;
  padding: 20px;;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header img {
  margin-top: 10px;
  margin-bottom: 10px;
  width: 200px;
  height: auto;
}

/* ================================
   MENÚ PRINCIPAL (ESCRITORIO)
================================ */
.navegacion ul {
  list-style: none;
}

.navegacion > ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header > .navegacion ul li {
  position: relative;
}

.header > .navegacion ul li a {
  font-size: 18px;
  font-size: 1.4em;
  color: #cbcbcb;
  text-decoration: none;
  padding: 20px;
  display: block;
  transition: all .2s ease;
}

.header > .navegacion ul li a:hover {
  background-color: rgb(48 48 130);
  color: black;
}

/* ================================
   SUBMENÚ BLOG
================================ */
.submenu ul {
  position: absolute;
  right: 0;
  width: 250px;
  background-color: rgb(192 192 255);
  display: none;
  z-index: 1; /* Añadido z-index para asegurar que el submenú esté sobre otros elementos */
}

.submenu:hover ul {
  display: block;
}

.header > .navegacion ul .submenu ul li a {
  font-size: 15px;
  text-transform: capitalize;
  color: black;
}

#toggle, 
.header label {
  display: none;
  cursor: pointer;
}

.heroo {
  height: 3px;
  color: #cbcbcb;
}

/* DESCTOP-FIRST */

@media only screen and (max-width: 1385px) {
  .header {
    padding: 35px;
  }
}

@media only screen and (max-width: 1155px) {
  .header {
    height: auto;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header img {
    width: 30%;
    
  }

  .header > .navegacion ul li a {
    font-size: 1.3em;
    padding: 10px;
  }
}

@media only screen and (max-width: 700px) {
  .header > .navegacion ul li a {
    font-size: 1em;
  }
}