/* Homepage wordmark only: replace the bundled image with the semantic H1. */
.index .title {
  background: none;
}

.index .title h1 {
  visibility: visible;
  margin: 0;
  color: #3050ff;
  font-family: sans-serif;
  font-size: 4em;
  font-style: italic;
  font-weight: 700;
  line-height: 4rem;
}

.index .look-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.625rem;
  justify-content: center;
  margin: 0.9rem auto 0;
}

.index .look-shortcuts a {
  background: rgb(48 80 255 / 14%);
  border: 1px solid rgb(88 136 255 / 38%);
  border-radius: 0.7rem;
  box-sizing: border-box;
  color: var(--color-base-font);
  flex: 0 1 9rem;
  padding: 0.55rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, transform 80ms ease;
}

.index .look-shortcuts a:hover,
.index .look-shortcuts a:focus-visible {
  background: rgb(48 80 255 / 26%);
  border-color: #3050ff;
}

.index .look-shortcuts a:focus-visible {
  outline: 2px solid #3050ff;
  outline-offset: 2px;
}

.index .look-shortcuts a:active {
  background: var(--color-btn-background);
  border-color: var(--color-btn-background);
  color: #fff;
  transform: translateY(1px);
}

.index .look-weather {
  color: var(--color-base-font);
  display: block;
  margin: 0.85rem auto 0;
  max-width: calc(100% - 2rem);
  text-align: center;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.08s ease;
  width: fit-content;
}

.index .look-weather[hidden] {
  display: none;
}

.index a.look-weather:visited {
  color: var(--color-base-font);
}

.index a.look-weather:hover {
  color: var(--color-base-font);
  filter: brightness(1.1);
  text-decoration: none;
}

.index a.look-weather:focus-visible {
  color: var(--color-base-font);
  outline: 2px solid #3050ff;
  outline-offset: 0.25rem;
  text-decoration: none;
}

.index a.look-weather:active {
  color: var(--color-base-font);
  transform: translateY(1px);
}

.index .look-weather-primary,
.index .look-weather-secondary {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.index .look-weather-primary { font-size: 0.95rem; }

.index .look-weather-icon {
  font-size: 1rem;
  line-height: 1;
}

.index .look-weather-temperature {
  font-size: 1.05rem;
  font-weight: 600;
}

.index .look-weather-condition { opacity: 0.82; }

.index .look-weather-secondary {
  font-size: 0.78rem;
  margin-top: 0.25rem;
  opacity: 0.68;
}

footer a.footer-searxng-link,
footer a.footer-searxng-link:visited,
footer a.footer-searxng-link:hover,
footer a.footer-searxng-link:focus {
  color: var(--color-url-font);
}

footer a.footer-searxng-link:focus-visible {
  outline: 2px solid var(--color-url-font);
  outline-offset: 2px;
}

@media screen and (max-width: 24rem) {
  .index .look-shortcuts {
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
    width: min(100%, 18rem);
  }

  .index .look-shortcuts a {
    flex-basis: auto;
    width: 100%;
  }
}
