@font-face {
  font-family: 'font';
  src:
  url('/assets/fonts/font.woff') format('woff'),
  url('/assets/fonts/font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #fff;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: row;
  height: 100vh;
  padding-top: 80px;
  box-sizing: border-box;
}

/* Header / Logo / Back */
.logo-container {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  z-index: 1000;
  user-select: none;
}

.logo-container a {
  cursor: help;
}

.logo-container img {
  display: block;
  width: 100%;
  height: auto;
}

.back-arrow {
  position: fixed;
  top: 0;
  left: 10px;
  font-family: 'font';
  font-size: 4rem;
  color: #cebb26;
  text-decoration: none;
  z-index: 100;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: lighter;
  transition: background 0.3s;
  cursor: w-resize;
}

.top-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%);
  z-index: 5;
  pointer-events: none;
}

/* Left side */
.left-side {
  width: 60%;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  height: 100vh;
  margin-top: -80px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.left-side::-webkit-scrollbar {
  display: none;
}

.section-title {
  font-family: 'font';
  cursor: default;
  font-size: 1.5rem;
  text-align: center;
  margin: 40px 0 20px;
  color: #000;
  font-weight: normal;
}

/* Image grid / overlays */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.image-block {
  position: relative;
  overflow: hidden;
  font-family: 'font', sans-serif;
  border-radius: 3px;
  cursor: pointer;
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(38, 38, 38, 0.5);
  opacity: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.3s;
  padding: 20px;
  box-sizing: border-box;
  pointer-events: none;
  border-radius: 3px;
  overflow-y: auto;
  font-size: 1.5rem;
  color: #000;
  text-align: left;
  cursor: default;
}

.image-block:hover .image-overlay,
.image-block.active .image-overlay {
  opacity: 1;
  pointer-events: auto;
}

.image-overlay div {
  margin: 4px 0;
  font-size: 2rem;
  color: #fff;
  text-align: left;
}

/* Right side */
.right-side {
  width: 40%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-family: 'font', sans-serif;
  font-size: 2rem;
  color: #000;
  text-align: center;
  line-height: 1;
  padding: 20px;
  box-sizing: border-box;
  overflow: visible;
}

.h2-wrapper {
  position: relative;
  width: 100%;
  z-index: 10;
  margin: 0;
}

.right-side h2 {
  font-size: 10rem;
  font-weight: 600;
  margin: 0;
  padding-bottom: 10px;
  background: #fff;
  display: inline-block;
  position: relative;
  z-index: 2;
  -webkit-text-stroke: 0.5px #fff;
  color: #cebb26;
  line-height: 0.8;
  cursor: default;
}

.h2-gradient {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
  pointer-events: none;
}

.scrollable-text {
  flex-grow: 1;
  overflow-y: auto;
  width: 100%;
  margin-top: 0;
  padding-right: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-height: 0;
  cursor: default;
}

.scrollable-text::-webkit-scrollbar {
  display: none;
}

.highlight-link {
  color: #c4b000;
  font-weight: bold;
  cursor: alias;
  transition: color 0.3s;
  text-decoration: none;
}

.highlight-link:hover {
  color: #9b8d1f;
}

.right-side h2::selection,
.scrollable-text::selection {
  color: #9b8d1f;
}

.right-side h2::-moz-selection,
.scrollable-text::-moz-selection {
  color: #9b8d1f;
}

/* Marquee (no-upcoming) */
.no-upcoming {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100px;
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  font-family: 'font', sans-serif;
  font-size: 1.6rem;
  color: #000000;
  text-align: center;
  cursor: default;
  margin: 0px 0;
  border-radius: 3px;
}

.no-upcoming .marquee {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.no-upcoming .scroll-text {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: scroll-left 12s linear infinite;
  font-size: 5rem;
  color: #c4b000;
  font-family: 'font', sans-serif;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  html, body {
    overflow: visible;
    height: auto;
  }
  body {
    flex-direction: column-reverse;
    height: auto;
    padding-top: 100px;
  }
  .left-side, .right-side {
    width: 100%;
    max-width: 100vw;
    padding: 15px;
    overflow: visible;
    height: auto;
    margin-top: 0;
  }
  .left-side {
    margin-top: -80px;
    padding-top: 5px;
  }
  .image-grid {
    grid-template-columns: 1fr;
  }
  .right-side h2 {
    font-size: 9rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .h2-gradient {
    display: none;
  }
  .scrollable-text {
    overflow-y: visible;
    flex-grow: 0;
    min-height: auto;
  }
}

@media (max-width: 425px) {
  .right-side h2 {
    font-size: 6rem;
    -webkit-text-stroke: 0px #fff;
  }
  .back-arrow {
    font-size: 3rem;
  }
  .logo-container {
    width: 140px;
  }
  .scrollable-text {
    font-size: 1.5rem;
    line-height: 1;
  }
  .image-overlay,
  .image-overlay div {
    font-size: 1.5rem;
  }
}
