@font-face {
  font-family: "Poppins";
  src: url("fuente/Poppins-Regular.woff2") format("woff2"),
       url("fuente/Poppins-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fuente/Poppins-SemiBold.woff2") format("woff2"),
       url("fuente/Poppins-SemiBold.woff") format("woff");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0876e8;
  --blue-dark: #0755a7;
  --blue-soft: #edf7ff;
  --text: #000;
  --muted: #6683a4;
  --border: #d9e9f8;
  --bg: #f7fbff;
}

* { box-sizing: border-box; }

/* ===================== */
/* NAVIGATION STYLES     */
/* ===================== */
.nav {
  background-color: #1b4573;
  height: 100px;
  color: #fff;
  z-index: 1000;
  position: relative;
}

.nav__container {
  display: flex;
  height: 100%;
  width: 95%;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav__menu {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  gap: 2em;
  position: relative;
  overflow: visible;
}

.nav__item {
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  position: relative;
  --clippy: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

.nav__item_icon {
  padding-right: 3px;
}

.nav__item::after {
  content: "";
  display: block;
  background: #fff;
  width: 100%;
  margin-top: 5px;
  height: 3px;
  clip-path: var(--clippy);
  transition: clip-path .5s;
}

.nav__item:hover {
  --clippy: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.nav__label,
.nav__input {
  display: none;
}

.nav__group {
  position: relative;
}

.nav__item--hover:hover .nav__submenu {
  display: flex;
}

.nav__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1b4573;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 1000;
  min-width: 220px;
  flex-direction: column;
  padding: 10px 0;
  border-radius: 0 0 6px 6px;
}

.nav__subitem {
  position: relative;
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  --clippy: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

.nav__subitem::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 20px;
  width: calc(100% - 40px);
  height: 2px;
  background-color: #fff;
  clip-path: var(--clippy);
  transition: clip-path 0.5s ease;
}

.nav__subitem:hover {
  background-color: #1b4573;
  --clippy: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.nav__toggle {
  display: none;
}

.admon{
  width: clamp(120px, 18vw, 220px);
  max-height: 72px;
  object-fit: contain;
}


@media screen and (max-width: 768px) {
  .nav__label {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
  }

  .nav__input,
  .nav__toggle {
    position: absolute;
    opacity: 0; /* ocultos pero clickeables */
  }

  .nav__menu {
    position: absolute;
    top: 100px;
    right: 0;
    width: 70%;
    background-color: #1b4573;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 1em;
    display: none;
    z-index: 2000;
  }

  .nav__input:checked ~ .nav__menu {
    display: flex;
  }

  .nav__submenu {
    display: none;
    flex-direction: column;
    padding-left: 15px;
  }

  .nav__toggle:checked ~ .nav__submenu {
    display: flex;
  }

  .admon{
    width: clamp(120px, 45vw, 180px);
    max-width: 55%;
    max-height: 72px;
}
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
}

/* HERO */
.hero {
  min-height: 350px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 75, 135, .48) 100%, rgba(11, 108, 183, .83) 46%, rgba(5, 75, 135, .48) 100%),
    url("../img/parque.webp")
    center/100% auto no-repeat;
}

.hero-content {
  position: relative;
  padding: 42px 15px 58px;
}

.hero-logo {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -2%;
  width: clamp(120px, 22vw, 310px);
  max-width: 35%;
  height: auto;
  margin: 0;
  transform: translateY(-50%);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .3));
}

.hero-welcome {
  display: block;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 2px;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -.03em;
  color: #fff;
}

.search-box {
  max-width: 705px;
  height: 58px;
  display: flex;
  align-items: center;
  margin: 30px auto 0;
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  padding: 5px 6px 5px 22px;
  box-shadow: 0 15px 40px rgba(0, 36, 80, .22);
}

.search-box i {
  color: #156bc0;
  font-size: 23px;
  margin-right: 14px;
}

.search-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  appearance: none;
  outline: 0;
  color: #275c91;
  font-size: 15px;
}

.search-box input::placeholder { color: #7993b0; }

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: -5%;
  width: 110%;
  height: 40px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* CONTENIDO */
.portal-container {
  position: relative;
  z-index: 2;
  padding-top: 4px;
  padding-bottom: 55px;
}

.areas-card,
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(26, 91, 147, .06);
}

.areas-card {
  overflow: hidden;
  position: sticky;
  top: 20px;
}

.areas-header {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid #e7f1fa;
}

.areas-title-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #eaf5ff;
  color: var(--blue);
  font-size: 20px;
}

.areas-header h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
}

.area-item {
  min-height: 47px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
}

.area-name { flex: 1; }

.area-count {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.area-count::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 190px;
  padding: 6px 8px;
  border-radius: 5px;
  background: #16324f;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .15s ease, transform .15s ease;
}

.area-count::before {
  content: "";
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 3px);
  border: 5px solid transparent;
  border-top-color: #16324f;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .15s ease, transform .15s ease;
}

.area-count:hover::before,
.area-count:hover::after,
.area-count:focus-visible::before,
.area-count:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.area-color {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
}

.area-item:hover,
.area-item.active { background: #edf7ff; }

.area-switch {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-ui {
  position: relative;
  width: 38px;
  height: 21px;
  border-radius: 30px;
  background: #ccd8e5;
  transition: .2s;
  flex: 0 0 auto;
}

.switch-ui::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: .2s;
}

.area-switch:checked + .switch-ui { background: var(--blue); }

.area-switch:checked + .switch-ui::after {
  transform: translateX(17px);
}

.filter-help {
  margin: 16px;
  padding: 15px 13px;
  display: flex;
  gap: 10px;
  background: #edf7ff;
  border-radius: 10px;
  color: #000;
  font-size: 12px;
  line-height: 1.5;
  text-align: justify;
}

/* ENCABEZADO RESULTADOS */
.services-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 2px 13px;
}

.results-label {
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 800;
  color: #000;
}

.results-count {
  color: #000;
  font-size: 12px;
  font-weight: 600;
}

.page-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-tool,
.pagination-button,
.page-number {
  border: 1px solid #b9d3e8;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.page-tool {
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
}

.page-tool:hover,
.page-number:hover,
.pagination-button:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}

.services-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.pagination-button {
  padding: 8px 14px;
}

.pagination-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.page-numbers {
  display: flex;
  gap: 5px;
}

.page-number {
  width: 34px;
  height: 34px;
}

.page-number.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

/* CARDS */
.service-card {
  height: 100%;
  padding: 18px 14px 14px;
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 25px rgba(26, 91, 147, .11);
}

.service-main {
  display: flex;
  gap: 14px;
  min-height: 130px;
}

.service-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
}

.service-icon img {
  width: 30px;
  height: 30px;
}

.service-info {
  min-width: 0;
  flex: 1;
}

.service-title {
  margin: 2px 0 9px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #000;
}

.detail-line {
  display: grid;
  grid-template-columns: 19px 90px 1fr;
  gap: 3px;
  align-items: start;
  margin: 5px 0;
  font-size: 11px;
  line-height: 1.35;
  color: #000;
}

.detail-line img {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

.detail-line strong {
  color: #000;
  font-weight: 800;
}

.detail-value {
  min-width: 0;
  text-align: justify;
}

/* CONSULTAS */
.contact-box {
  min-height: 83px;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eff8ff;
}

.contact-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  color: #000;
  margin-bottom: 4px;
}

.contact-title img {
  width: 18px;
  height: 18px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 3px 0;
  font-size: 10px;
  color: #000;
}

.service-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 9px;
}

.btn-details {
  border: 0;
  border-radius: 22px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #0b8f72, #16b86f);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-details:hover {
  background: linear-gradient(135deg, #07614f, #0b8f72);
  color: #fff;
  transform: translateX(2px);
  box-shadow: 0 5px 15px rgba(11, 143, 114, .3);
}

/* COLORES DE ICONOS */
.icon-red { --area-background: linear-gradient(135deg, #ee3568, #e8295d); background: var(--area-background); }
.icon-green { --area-background: linear-gradient(135deg, #1fb36c, #11965a); background: var(--area-background); }
.icon-blue { --area-background: linear-gradient(135deg, #1684ef, #0870db); background: var(--area-background); }
.icon-orange { --area-background: linear-gradient(135deg, #f5a016, #ed8c00); background: var(--area-background); }
.icon-teal { --area-background: linear-gradient(135deg, #19b4ae, #079a97); background: var(--area-background); }
.icon-purple { --area-background: linear-gradient(135deg, #8735d1, #7023b7); background: var(--area-background); }
.icon-pink { --area-background: linear-gradient(135deg, #f45b9a, #d92f73); background: var(--area-background); }
.icon-cyan { --area-background: linear-gradient(135deg, #22c7d6, #088fa3); background: var(--area-background); }
.icon-lime { --area-background: linear-gradient(135deg, #a8d63f, #6cae25); background: var(--area-background); }
.icon-gold { --area-background: linear-gradient(135deg, #f6c445, #d79612); background: var(--area-background); }
.icon-indigo { --area-background: linear-gradient(135deg, #6875e8, #3d4bc4); background: var(--area-background); }
.icon-coral { --area-background: linear-gradient(135deg, #ff846d, #df4d46); background: var(--area-background); }
.icon-emerald { --area-background: linear-gradient(135deg, #35c98b, #12815b); background: var(--area-background); }
.icon-navy { --area-background: linear-gradient(135deg, #3d6ca8, #1d3d70); background: var(--area-background); }
.icon-magenta { --area-background: linear-gradient(135deg, #d956c7, #9c2fa4); background: var(--area-background); }
.icon-olive { --area-background: linear-gradient(135deg, #9da83d, #69721d); background: var(--area-background); }
.icon-sky { --area-background: linear-gradient(135deg, #62c9f5, #2589c5); background: var(--area-background); }
.icon-violet { --area-background: linear-gradient(135deg, #a778e8, #7040b4); background: var(--area-background); }
.icon-amber { --area-background: linear-gradient(135deg, #f4a340, #c86b16); background: var(--area-background); }
.icon-mint { --area-background: linear-gradient(135deg, #62d8b0, #2b9e7d); background: var(--area-background); }
.icon-rose { --area-background: linear-gradient(135deg, #ef7890, #c74462); background: var(--area-background); }
.icon-slate { --area-background: linear-gradient(135deg, #778da8, #4d6078); background: var(--area-background); }
.icon-aqua { --area-background: linear-gradient(135deg, #35d1c3, #168f9a); background: var(--area-background); }
.icon-plum { --area-background: linear-gradient(135deg, #ad5d9d, #78366f); background: var(--area-background); }
.icon-yellow { --area-background: linear-gradient(135deg, #f3df55, #c0a91c); background: var(--area-background); }

.switch-ui[class*="icon-"] { background: #ccd8e5; }

.area-switch:checked + .switch-ui[class*="icon-"] {
  background: var(--area-background);
}

/* SIN RESULTADOS */
.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed #cfe1f0;
  border-radius: 12px;
  background: #fff;
}

.empty-state i { font-size: 42px; color: #62a7e4; }
.empty-state h3 { margin: 10px 0 5px; font-size: 19px; }
.empty-state p { margin: 0; color: #000; font-size: 13px; }

/* MODAL */
.detail-modal {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  --modal-font-scale: 1;
  --modal-title-size: 23px;
  --modal-body-size: 16px;
  --modal-label-size: 11px;
  --modal-value-size: 13px;
  --modal-action-size: 12px;
}

.detail-modal .modal-header {
  padding: 22px 25px;
  border-bottom: 1px solid #e5eff8;
  background: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%);
}

.detail-modal .modal-header.area-modal-header {
  background: var(--area-background);
}

.modal-font-tools {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  margin-right: 12px;
}

.modal-font-tools .page-tool {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.modal-font-tools .page-tool:hover {
  border-color: #fff;
  background: #fff;
  color: #0755a7;
}

.modal-kicker {
  font-size: 9px;
  letter-spacing: .1em;
  color: #fff;
  font-weight: 800;
}

.detail-modal .modal-title {
  color: #fff;
  font-size: var(--modal-title-size);
  font-weight: 800;
}

.detail-modal .modal-body {
  padding: 25px;
  color: #000;
  font-size: var(--modal-body-size);
  max-height: 72vh;
  overflow-y: auto;
}

.modal-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 20px;
}

.modal-responsible {
  max-width: 75%;
  text-align: right;
  overflow-wrap: anywhere;
}

.area-badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.modal-intro p {
  margin: 12px 0 0;
  line-height: 1.5;
}

.modal-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: justify;
}

.modal-detail {
  padding: 14px;
  background: #f1f8fe;
  border-radius: 10px;
}

.modal-detail.col-md-12 {
  grid-column: 1 / -1;
  width: 100%;
}

.modal-detail strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #000;
  font-size: var(--modal-label-size);
  margin-bottom: 4px;
}

.modal-detail strong img,
.modal-action img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.modal-detail strong img {
  width: 22px;
  height: 22px;
}

.modal-detail span {
  display: block;
  font-size: var(--modal-value-size);
  line-height: 1.45;
}

.modal-updated {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #000;
  font-size: var(--modal-value-size);
}

.modal-updated img {
  width: 22px;
  height: 22px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.modal-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #0876e8;
  border-radius: 8px;
  padding: 9px 14px;
  background: #0876e8;
  color: #fff;
  font-size: var(--modal-action-size);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.modal-action:hover {
  background: #0755a7;
  border-color: #0755a7;
  color: #fff;
}

.modal-action-share {
  background: #fff;
  color: #0876e8;
}

.modal-action-share:hover {
  color: #fff;
}

.btn-details.area-action,
.modal-action.area-action {
  background: var(--area-background);
  border-color: transparent;
  color: #fff;
}

.btn-details.area-action:hover,
.modal-action.area-action:hover,
.btn-details.area-action:focus-visible,
.modal-action.area-action:focus-visible {
  background: var(--area-background);
  border-color: transparent;
  color: #fff;
  filter: brightness(.88) saturate(1.15);
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(26, 91, 147, .22);
}

.btn-details.area-action:hover {
  transform: translate(2px, -2px);
}

.modal-action.area-action:hover img,
.modal-action.area-action:focus-visible img {
  transform: scale(1.08);
}

.modal-action img {
  transition: transform .2s ease;
}

.footer {
  padding: 22px 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  border-top: 1px solid #e1edf7;
  background: #1b4573;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .hero { min-height: 330px; }
  .hero-logo { display: none; }
  .areas-card { position: static; }
}

@media (max-width: 767.98px) {
  .hero-content { padding-top: 32px; }
  .hero h1 { font-size: 34px; }
  .search-box { height: 54px; margin-top: 25px; padding-left: 16px; }
  .services-top { align-items: start; }
  .services-top { flex-wrap: wrap; gap: 10px; }
  .page-tools { width: 100%; flex-wrap: wrap; }
  .results-count { padding-top: 15px; }
  .modal-detail-grid { grid-template-columns: 1fr; }
  .detail-modal .modal-body { padding: 18px; }
  .modal-font-tools { margin-right: 5px; }
  .modal-font-tools .page-tool { min-width: 26px; padding: 0 5px; }
  .modal-action { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 430px) {
  .search-box input { font-size: 12px; }
  .service-main { gap: 10px; }
  .service-icon { width: 50px; height: 50px; flex-basis: 50px; font-size: 23px; }
  .detail-line { grid-template-columns: 17px 76px 1fr; font-size: 10px; }
}

@media print {
  body { zoom: 1 !important; }
  .hero,
  aside,
  .services-top,
  .services-pagination,
  .service-footer,
  .footer,
  .modal {
    display: none !important;
  }

  .portal-container {
    padding: 0;
  }

  .service-col {
    width: 50%;
  }

  .service-card {
    box-shadow: none;
    break-inside: avoid;
  }
}

/** Estilos para la flecha que sube **/
.scroll-top-wrapper {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  text-align: center;
  z-index: 99999999;
  background-color: #1B4573;
  width: 50px;
  height: 50px;
  line-height: 45px;
  right: 20px;
  bottom: 20px;
  border-radius: 10px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.scroll-top-wrapper:hover {background-color: #C38033;}
.scroll-top-wrapper.show {
  visibility:visible;
  cursor:pointer;
  opacity: 1.0;
}

/* Comienza estilos para loader */
.lds-facebook {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-facebook div {
  display: inline-block;
  position: relative;
  left: 8px;
  width: 16px;
  background: #fff;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }

  50%,
  100% {
    top: 24px;
    height: 32px;
  }
}

.loader {
  background-color: #1b4573;
  background-image: url(../img/personajes.png), url(../img/personajes.png);
  background-size: 30%, 30%;
  background-position: left center, right center;
  background-repeat: no-repeat, no-repeat;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  clip-path: circle(150% at 100% 0);
  transition: clip-path 0.8s ease-in-out;
}

.loader2 {
  clip-path: circle(0% at 100%);
  display: none;
}
