@import './shared-ui.css';

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/es-maintenance/nunito-latin-ext-400-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/es-maintenance/nunito-latin-400-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/es-maintenance/nunito-latin-ext-700-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/es-maintenance/nunito-latin-700-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Nunito, Arial, sans-serif;
  line-height: 1.5;
}

main {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1rem;
}

.maintenance {
  display: grid;
  gap: 2.5rem;
  place-items: center;
  text-align: center;
}

.brand {
  display: inline-block;
  height: 50px;
  transition: height 300ms;
}

.brand img {
  display: block;
  width: auto;
  height: 100%;
  max-height: 80px;
  user-select: none;
}

.brand:focus-visible {
  outline: 2px solid #e52450;
  outline-offset: 8px;
}

h1 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
}

h1 span {
  color: #e52450;
}

p {
  margin: 0;
  color: #6a7282;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

h1,
p {
  transition:
    font-size 300ms,
    line-height 300ms;
}

@media (min-width: 48rem) {
  .brand {
    height: 60px;
  }

  h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 64rem) {
  main {
    max-width: 64rem;
    margin-inline: auto;
  }

  .maintenance {
    gap: 4rem;
  }

  .brand {
    height: 80px;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  p {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (min-width: 80rem) {
  main {
    max-width: 80rem;
  }
}

@media (min-width: 96rem) {
  main {
    max-width: 96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none;
  }
}
