@font-face {
  font-family: VoxelBit;
  src: url('/fonts/voxelbit/VoxelBit-Regular.woff2') format('woff2'),
       url('/fonts/voxelbit/VoxelBit-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.app-static-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f2f2f2;
  color: #171717;
  font-family: VoxelBit, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: normal;
  letter-spacing: normal;
}

:root[data-theme="dark"] .app-static-home {
  background: #000;
  color: #fff;
}

.app-static-home__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  font-size: 24px;
  line-height: 24px;
  text-transform: uppercase;
}

.app-static-home__brand,
.app-static-home__info,
.app-static-home__card {
  color: inherit;
  text-decoration: none;
}

.app-static-home__description {
  width: 100%;
  max-width: 1230px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 16px;
  color: #909090;
  font-size: 48px;
  line-height: 48px;
  text-transform: uppercase;
}

:root[data-theme="dark"] .app-static-home__description {
  color: #8e8e8e;
}

.app-static-home__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(322px, 1fr));
  justify-content: center;
  gap: 16px;
  align-self: stretch;
  padding: 16px;
}

.app-static-home__card {
  min-width: 322px;
  min-height: 321px;
  height: 615px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  isolation: isolate;
}

:root[data-theme="dark"] .app-static-home__card {
  background: #000;
}

.app-static-home__card--speedway {
  background: #016f94;
}

.app-static-home__card--rugby {
  background: #097b2d;
}

.app-static-home__card--baseball {
  background: #5d5d5d;
}

.app-static-home__card--sumo {
  background: #4b4032;
}

.app-static-home__card--snatch {
  background: #2a51ba;
}

.app-static-home__card--cleanjerk {
  background: #c32121;
}

.app-static-home__card img {
  max-width: 361px;
  max-height: 361px;
  min-width: 300px;
  min-height: 300px;
  object-fit: cover;
}

.app-static-home__sport {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 50%);
  color: rgb(255 255 255 / 50%);
  font-size: 18px;
  line-height: 18px;
  text-transform: uppercase;
}

.app-static-home__title {
  position: absolute;
  bottom: 16px;
  left: 16px;
  min-height: 48px;
  display: flex;
  align-items: flex-end;
  font-size: 48px;
  line-height: 48px;
  text-transform: uppercase;
}

.app-noscript-message {
  margin: 0;
  padding: 16px;
  background: #f2f2f2;
  color: #171717;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

:root[data-theme="dark"] .app-noscript-message {
  background: #000;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .app-static-home__gallery {
    grid-template-columns: repeat(auto-fill, 615px);
  }
}

@media screen and (max-width: 767px) {
  .app-static-home__description {
    font-size: 29px;
    line-height: 29px;
  }

  .app-static-home__card {
    height: 480px;
  }

  .app-static-home__title {
    font-size: 29px;
    line-height: 29px;
  }
}
