@font-face {
  font-family: "IBM Plex Sans";
  src: url("files/IBMPlexSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("files/IBMPlexSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("files/IBMPlexSans-Bold.woff2") format("woff2");
  font-style: bold;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-body: "IBM Plex Sans", sans-serif;
  --color-white: #fff;
  --content-width: 76rem;
  --page-gutter: clamp(1.25rem, 4vw, 4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #111;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.page-background {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-color: #111;
  background-image: url("files/blinkbox_home_animation.svg");
  background-repeat: no-repeat;
  background-position: 67% 50%;
  background-size: cover;
  pointer-events: none;
}

.main-content {
  display: grid;
  flex: 1 0 auto;
  place-items: center;
  width: 100%;
  padding: clamp(4rem, 12vh, 8rem) var(--page-gutter);
  text-align: center;
}

.hero {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.hero-title {
  margin: 0 0 clamp(1.25rem, 3vh, 2rem);
  color: var(--color-white);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 600;
  font-style: bold;
  line-height: 0.95;
  letter-spacing: 2px;
}

.hero-claim {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 1px;
}

.linear-wipe {
  font-weight: 400;
  text-align: center;
  font-size: clamp(22px, calc(22px + (100vw - 756px) * 0.018018), 30px);
  background: repeating-linear-gradient(45deg, #a0e9f8,#a8c8f7,#b1eaf7,#e69bf4,#f79864,#f39cb0,#f5e2a7,#add5f8);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center;}
}

.no-wrap {
  display: inline-block;
  white-space: nowrap;
}

.login-button {
  display: inline-block;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  padding: 0.55rem 1.35rem;
  border: 1px solid var(--color-white);
  border-radius: 5px;
  color: var(--color-white);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.login-button:hover,
.login-button:focus-visible {
  color: #111;
  background: var(--color-white);
  border: 1px solid cyan;
   /*background: orange;*/
}

.login-button:focus-visible,
.footer-link:focus-visible,
.footer-logo-button:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
}

.page-footer {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0;
  pointer-events: none;
}

.footer-inner {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  width: 100%;
  padding-inline: 1.25rem;
  pointer-events: auto;
}

.copyright-panel {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  position: absolute;
  right: 1.25rem;
  bottom: 2.5rem;
  left: 1.25rem;
  width: auto;
  max-width: 54rem;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 1rem;
  pointer-events: auto;
}

.copyright-panel[hidden] {
  display: none;
}

.footer-side {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
}

.footer-left {
  justify-self: start;
  text-align: left;
}

.footer-right {
  justify-self: end;
  text-align: right;
  text-decoration: none;
}

.footer-logo-button {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
@media (max-width: 767px) {
    .footer-logo-button {
        margin-bottom: -5px;
    }
}

.footer-logo-button img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted white;
  text-underline-offset: 0.2em;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: orange;
  border-bottom: 1px dotted orange;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.copyright-panel {
  width: min(100%, 54rem);
  margin: 0 auto 1.25rem;
  padding: .75rem 1.25rem;
  background: transparent;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.copyright-panel[hidden] {
  display: none;
}

.copyright-panel p {
  margin: 0;
}

@media (max-width: 520px) {
  .main-content {
    padding-block: 5rem;
  }

  .page-background {
    background-position: 62% center;
  }

  .page-footer {
    padding-inline: 0.875rem;
  }

  .footer-inner {
    gap: 0.5rem;
  }

  .footer-side {
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .login-button {
    transition: none;
  }
}
