@font-face {
  font-family: 'TT50';
  src: url('../fonts/Teletext50.otf') format('opentype');
}

@font-face {
  font-family: 'TT50-ExtraCondensed';
  src: url('../fonts/Teletext50-extracondensed.otf') format('opentype');
}

@font-face {
  font-family: 'TRT';
  src: url('../fonts/trt.ttf') format('truetype');
}

body {
  font-family: 'TT50', sans-serif;
  background-color: black;
  color: white;
}

.crt::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

@keyframes flicker {
  0% {
    opacity: 0.27861;
  }

  5% {
    opacity: 0.34769;
  }

  10% {
    opacity: 0.23604;
  }

  15% {
    opacity: 0.10626;
  }

  20% {
    opacity: 0.18128;
  }

  25% {
    opacity: 0.10626;
  }

  30% {
    opacity: 0.18128;
  }

  35% {
    opacity: 0.23604;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}

.nav-container {
  width: 90%;
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-family: 'TT50', sans-serif;
  font-size: min(3vh, 2.5vw);
}

.text-red {
  color: red;
}

.text-red-big {
  color: red;
  font-size: min(2.5vh, 2vw);
}

.text-green {
  color: rgb(0, 255, 0);
}

.text-green-big {
  color: rgb(0, 255, 0);
  font-size: min(2.5vh, 2vw);
}

.text-blue {
  color: blue;
}

.text-blue-big {
  color: blue;
  font-size: min(2.5vh, 2vw);
}

.text-yellow {
  color: yellow;
}

.text-yellow-big {
  color: yellow;
  font-size: min(2.5vh, 2vw);
}

.text-cyan {
  color: cyan;
}

.text-cyan-big {
  color: cyan;
  font-size: min(2.5vh, 2vw);
}

.data-table {
  width: 90%;
  margin: 2rem auto;
}

.data-grid {
  width: 100%;
  border-spacing: 0;
  font-family: 'TT50', sans-serif;
}

.data-grid th,
.data-grid td {
  padding: 0.5rem;
  text-align: center;
}

.menu-container {
  width: 75%;
  margin: 4rem auto 2rem auto;
  display: flex;
  justify-content: space-between;
  padding-left: calc(5% + 95px);
  padding-right: calc(5% + 95px);
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 40%;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'TT50', sans-serif;
  font-size: min(3.5vh, 2.8vw);
  color: white;
  padding: 0 1rem;
}

.menu-number {
  color: rgb(0, 255, 0);
}

.dotted-line {
  flex-grow: 1;
  height: 1px;
  margin: 0 0.5rem;
  background-image: linear-gradient(to right, currentColor 10%, rgba(255, 255, 255, 0) 0%);
  background-position: top;
  background-size: 10px 1px;
  background-repeat: repeat-x;
}

.dots {
  position: absolute;
  left: 0;
  right: 2rem;
  bottom: 50%;
  overflow: hidden;
  height: 1px;
}

.text-white {
  color: white;
}

.date-column {
  width: 15%;
}

.time-column {
  width: 15%;
}

.mag-column {
  width: 15%;
}

.location-column {
  width: 55%;
}

.navigator-input-display {
  position: fixed;
  bottom: 2rem;
  left: 5%;
  display: flex;
  align-items: center;
}

.navigator-input-box {
  width: auto;
  min-width: 5rem;
  height: 2rem;
  background-color: black;
  border: 2px solid cyan;
  position: absolute;
  z-index: 0;
  padding: 0 0.5rem;
}

.navigator-input-text {
  color: yellow;
  font-family: 'TT50', sans-serif;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}

.menu-item:hover {
  background-color: blue;
  cursor: pointer;
}