@font-face { font-family: "Anton"; src: url("../fonts/anton.woff2") format("woff2"); font-display: swap; } :root { --bg: #fff; --fg: #000; --acc: #ff1493; --bd: 3px solid var(--fg); --gap: 12px; --tit: "Anton", Impact, "Arial Narrow", sans-serif; --txt: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; } *, *::before, *::after { box-sizing: border-box; } html { color-scheme: light; } body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.5 var(--txt); } img { max-width: 100%; height: auto; display: block; } a { color: inherit; } .w { max-width: 1100px; margin: 0 auto; padding: 0 16px; } h1, h2, h3, .cuadro, .bt { font-family: var(--tit); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; } h1 { font-size: clamp(48px, 11vw, 120px); } h1.w { margin: 24px auto 16px; } h2 { font-size: 40px; margin: 48px 0 16px; border-bottom: var(--bd); padding-bottom: 6px; } h3 { font-size: 26px; margin: 0 0 6px; } .cuadros, .botonera { display: grid; padding: 0; margin: 0; list-style: none; } .cuadros { grid-template-columns: repeat(3, 1fr); border-block: var(--bd); } .cuadros li + li { border-left: var(--bd); } .cuadro { display: grid; place-items: center; min-height: 160px; padding: 24px 12px; font-size: 30px; text-decoration: none; text-align: center; background: var(--bg); transition: background-color .15s; } .cuadro:hover, .cuadro:focus-visible { background: var(--acc); outline: none; } .botonera { grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 24px auto 0; } .bt { --sombra: var(--fg); display: block; padding: 14px 12px; font-size: 20px; text-decoration: none; text-align: center; background: var(--bg); border: var(--bd); border-radius: 14px; box-shadow: 0 6px 0 var(--sombra); transition: transform .12s ease-out, box-shadow .12s ease-out, border-color .12s, color .12s; } .bt:hover, .bt:focus-visible { --sombra: var(--acc); border-color: var(--acc); color: var(--acc); transform: translateY(-3px); box-shadow: 0 9px 0 var(--sombra); outline: none; } .bt:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--sombra); } footer { margin: 64px 0 24px; border-top: var(--bd); padding-top: 12px; font-size: 14px; } @media (max-width: 640px) { .cuadros { grid-template-columns: 1fr; } .cuadros li + li { border-left: 0; border-top: var(--bd); } .cuadro { min-height: 96px; } .botonera { grid-template-columns: 1fr 1fr; } .botonera li:first-child { grid-column: 1 / -1; } h2 { font-size: 32px; } } @media (prefers-reduced-motion: reduce) { .cuadro, .bt { transition: none; } .bt:hover, .bt:focus-visible, .bt:active { transform: none; } } .colectivos { list-style: none; margin: 0 0 16px; padding: 0; columns: 2 280px; column-gap: 32px; } .colectivos li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--fg); } .colectivos a { font-family: var(--tit); font-size: 22px; text-transform: uppercase; text-decoration: none; } .colectivos a:hover, .colectivos a:focus-visible { color: var(--acc); } .colectivos span { display: block; font-size: 14px; }