body {
  margin: 0;
  padding: 0;
  font-family: Indivisible;
  background: #fff;
  color: #fff;
}

header {
  display: flex;
  padding: 17px 30px;
  align-items: center;
  gap: 22px;
  background: #16304e;
}

.separador_header {
  height: 56px;
  width: 2px;
  background-color: white;
}

header .Textos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

header h3 {
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  line-height: normal;
  margin: 0px;
  display: inline;
}

header .botones {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .Textos .Separador {
  width: 1px;
  height: 12px;
  background-color: white;
}

header a {
  color: white;
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  text-decoration: none;
}

.menu-item .titulo {
  padding-bottom: 23px;
}

header #btn {
  margin-left: auto;
  display: none;
  cursor: pointer;
}

.submenu {
  display: none;
  background: #01a9a4;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  max-width: 500px;
  position: absolute;
  z-index: 1;
  top: 90px;
  padding: 20px;
}

.submenu div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.menu-item:hover .submenu {
  display: flex;
}

.botones .separador {
  box-sizing: border-box;
  width: 100%;
  height: 1px;
  background-color: #11c6b0;
}

/* Estilo original */
header .line {
  width: 28.625px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: all 0.5s ease; /* Añade una transición para la animación */
}

/* Estilo para la línea superior al hacer clic */
header .line.top-clicked {
  transform: rotate(45deg);
  position: absolute;
}

/* Estilo para la línea del medio al hacer clic */
header .line.middle-clicked {
  opacity: 0;
}

/* Estilo para la línea inferior al hacer clic */
header .line.bottom-clicked {
  transform: rotate(-45deg);
  position: absolute;
}

header .movil {
  display: none;
}

header .hamburguesa {
  display: none;
}

main {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}

main .fondo {
  width: 100%;
  height: 724px;
}

main .fondo img {
  object-fit: cover;
}

main .titulo {
  display: flex;
  width: 100%;
  height: 223px;
  justify-content: center;
  align-items: center;
  position: absolute;
  background: rgba(24, 81, 102, 0.8);
}

main .titulo h1 {
  font-size: 56px;
  font-style: normal;
  font-weight: 600;
}

main .buscador {
  width: 710px;
  padding: 8px 10px;
  position: absolute;
  top: 290px;
  border-radius: 5px;
  background: #fff;
}

#search-form {
  display: flex;
  align-items: center;
  gap: 17px;
}

#search-engine {
  appearance: none;
  background-image: url("../Img/svg/Flecha.svg");
  background-position: right center;
  background-repeat: no-repeat;
  border: none;
  outline: none;
  background-color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  padding-right: 20px;
}

main .buscador .separador {
  height: 25px;
  width: 2px;
  background-color: black;
}

#search-form input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: a8a8a8;
}

#search-form button {
  box-sizing: border-box;
  height: 44px;
  margin-left: auto;
  display: flex;
  padding: 16px 53px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  border-radius: 5px;
  background: #dd9c2b;
  border: 0px;
}

main .noticias {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  position: relative;
  top: -100px;
  background: #fff;
  margin-bottom: 125px;
  width: fit-content;
}

main .noticias h4 {
  display: flex;
  padding: 10px 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0px;
  background: #f6c11b;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: #000;
}

main .noticias h2 {
  color: #000;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  margin: 0px;
}

main .noticias p {
  color: #000;
  font-size: 22px;
  font-style: normal;
  font-weight: 300;
  margin: 0px;
  text-align: center;
}

main .noticias .articulos {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

main .noticias article {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 336px;
  height: 478px;
  position: relative;
}

main .noticias .brujula {
  position: absolute;
  left: 20px;
  top: 20px;
}

main .noticias .textos {
  display: flex;
  width: 247px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 17px;
  position: absolute;
  left: 15px;
  bottom: 29px;
}

main .noticias .textos h2 {
  color: #fff;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
}

main .noticias .textos p {
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  text-align: left;
}

footer {
  display: inline-flex;
  align-items: flex-start;
  align-items: stretch;
  width: 100%;
}

footer .footer_iz {
  display: flex;
  padding: 36px 10px 0px 10px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: #00558f;
}

.footer_iz img {
  width: 277px;
  height: 59px;
}

.footer_iz p {
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  margin: 0px;
}

.footer_iz .redes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 20px;
}

.footer_iz .redes a img {
  width: 20px;
  height: 20px;
}

.footer_iz .informacion_legal {
  display: flex;
  width: 461.23px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.informacion_legal p {
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  margin: 0px;
}

.informacion_legal .separador {
  height: 1px;
  width: 100%;
  background-color: #fff;
}

.informacion_legal article {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.informacion_legal .textos {
  display: flex;
  width: 50%;
  height: 92px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.informacion_legal .textos a {
  color: #a0cfeb;
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
  margin: 0px;
  text-decoration: none;
}

footer .footer_de {
  display: flex;
  padding: 44px 0px 10px 36px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #ebebeb;
  width: 100%;
}

.footer_de .sedes {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.sedes .derecha {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 33px;
}

.sedes .sede {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.sede h2 {
  font-size: 17px;
  font-style: normal;
  font-weight: 300;
  color: #17558f;
  margin: 0px;
}

.sede .separador {
  width: 39px;
  height: 1px;
  background-color: #17558f;
}

.sede .titulo {
  gap: 2px;
}

.sede p {
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
  color: #838584;
  margin: 0px;
}

.sede h3 {
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  color: #838584;
  margin: 0px;
}

.footer_de .separador {
  background-color: #bfbebe;
  width: 80%;
  height: 1px;
}

.footer_de .legal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.legal p {
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
  color: #838584;
  margin: 0px;
}

.legal a {
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
  color: #327bb8;
}

.movil #btn {
  margin-left: auto;
}

@media (max-width: 1154px) {
  header .Textos {
    display: none;
  }

  header {
    padding: 17px 20px;
  }

  header img {
    width: 174px;
    height: 37px;
  }

  .separador_header {
    height: 34px;
  }

  header .movil {
    display: flex;
    align-items: center;
    width: 24%;
  }

  header #btn {
    height: 40px;
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 5px;
    border: 0px;
    background: #0f2033;
  }

  header .hamburguesa {
    position: absolute;
    top: 74px;
    left: 0px;
    z-index: 1;
    display: none;
    padding: 15px 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: #16304e;
    width: 100%;
  }

  header .hamburguesa.mostrar {
    display: flex;
  }

  main .fondo {
    height: 314px;
  }

  main .titulo h1 {
    font-size: 48px;
    text-align: center;
  }

  main .buscador {
    top: 270px;
  }

  main .noticias {
    top: -10px;
  }

  main .noticias article {
    height: 337px;
  }

  main .noticias article .imgnoticia {
    width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
    height: 100%; /* Asegura que la imagen ocupe toda la altura del contenedor */
    object-fit: cover; /* La imagen se redimensionará para cubrir todo el contenedor, manteniendo su aspecto */
  }

  footer {
    flex-direction: column;
  }

  .footer_iz .informacion_legal {
    width: 100%;
  }

  footer .footer_de {
    flex-direction: column;
    align-items: center;
    padding: 44px 0px 10px 0px;
  }

  .footer_de .sedes {
    flex-direction: column;
    align-items: center;
  }

  .sedes .sede {
    align-items: center;
  }

  .sedes .derecha {
    align-items: center;
  }

  .footer_de .legal {
    align-items: center;
  }

  .legal p {
    text-align: center;
  }

  .legal a {
    text-align: center;
  }
}
@media (max-width: 738px) {
  header {
    padding: 5px 10px;
    gap: 11px;
  }

  header img {
    width: 143px;
    height: 30px;
  }

  header .hamburguesa {
    top: 53px;
  }

  main .titulo h1 {
    font-size: 36px;
    text-align: center;
  }

  main .buscador {
    width: 361px;
  }

  #search-engine {
    width: 12px;
    text-indent: -9999px;
  }

  main .buscador .separador {
    height: 20px;
    width: 2px;
  }

  #search-form button {
    height: 32px;
    width: 106px;
    font-size: 10px;
  }

  main .noticias article {
    height: 246px;
  }
}
