.telegun-text {
  font-family: 'TRT', sans-serif;
  font-size: 2.5em;

  text-align: center;
  margin-top: 0;
}

.rectangle-wrapper {
  width: 95%;
  margin: 0 auto;
  padding: 20px;
  border: 2px solid orange;
  box-sizing: border-box;
}

.rectangle-container {
  background-color: red;
  height: 10vh;
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 10px;
  box-sizing: border-box;
  font-size: min(5vh, 3.5vw);
  gap: 10px;
}

.telegun-letters-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inner-rectangle {
  background-color: white;
  height: 90%;
  aspect-ratio: 1;
  padding: 5px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: red;
  font-size: min(3.5vh, 2.5vw);
  min-width: 80px;
}

h2 {
  margin: 0;
  line-height: 1;

}

.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);
}

.line-container {
  position: relative;
  width: 90%;
  margin: 0 auto;
}

.vertical-box {
  width: 95px;
  background-color: cyan;
  position: absolute;
  left: 5%;
  height: 1rem;
  top: 0;
}

.cyan-line {
  width: 40%;
  height: 1rem;
  background-color: cyan;
  position: absolute;
  left: 5%;
  top: 1rem;
}

.website-text {
  position: absolute;
  left: calc(5% + 42%);

  top: 0.5rem;

  color: rgb(0, 255, 0);
  font-family: 'TT50', sans-serif;
  font-size: min(3vh, 2.5vw);

  line-height: 2rem;
}

.vertical-box-right {
  width: 100px;
  background-color: cyan;
  position: absolute;
  right: -2%;
  height: 2rem;
  top: 0;
}

.cyan-line-right {
  width: 35%;

  height: 1rem;
  background-color: cyan;
  position: absolute;
  right: -2%;
  top: 1rem;
}

.website-text-right {
  position: absolute;
  right: calc(5% + 32%);

  top: 0.5rem;
  color: rgb(0, 255, 0);
  font-family: 'TT50', sans-serif;
  font-size: min(3vh, 2.5vw);
  line-height: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .rectangle-container {
    width: 95%;
    height: 8vh;
    font-size: min(4vh, 6vw);
    gap: 5px;
  }

  .telegun-letters-container {
    gap: 5px;
  }

  .inner-rectangle {
    min-width: 50px;
    font-size: min(3vh, 4vw);
    margin-left: 5px;
  }

  .telegun-text {
    font-size: min(4vh, 6vw);
  }

  .menu-container {
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
    margin: 2rem auto 1rem auto;
  }

  .menu-column {
    width: 45%;
    gap: 1rem;
  }

  .menu-item {
    font-size: min(2vh, 3.5vw);
    padding: 0 0.5rem;
  }

  .website-text {
    font-size: min(2vh, 3vw);
    left: calc(5% + 38%);
  }
}

.green-separator-line {
  width: 90%;
  margin: 1rem auto;
  position: relative;
  height: 3px;
}

.green-separator-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: rgb(0, 255, 0);
}

.green-separator-line::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: rgb(0, 255, 0);
}

.bottom-grey-bar {
  width: 90%;
  background-color: #666666;
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'TT50', sans-serif;
  font-size: min(2.5vh, 1.5vw);
  position: fixed;
  bottom: 0;
  left: 5%;
}

.bottom-numbers {
  margin-left: 5%;
  color: white;
}

.bottom-categories {
  margin-right: 5%;
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .bottom-grey-bar {
    font-size: min(1.8vh, 3vw);
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .bottom-numbers, .bottom-categories {
    margin: 0;
  }
}

.middle-section-bar {
  width: 90%;
  margin: 1rem auto;
  background-color: red;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.middle-section-content {
  color: white;
  font-family: 'TT50', sans-serif;
  font-size: min(3.5vh, 2.5vw);
  text-align: center;
  font-weight: bold;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.quote-slider {
  display: inline-block;
  animation: slideLeft var(--animation-duration, 120s) steps(var(--animation-steps, 400)) infinite;
  white-space: nowrap;
}

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

@media (max-width: 480px) {
  .rectangle-container {
    width: 98%;
    height: auto;
    min-height: 9vh;
    font-size: min(3.5vh, 8vw);
    gap: 8px;
    flex-direction: column;
    padding: 15px 10px;
  }

  .trt-text {
    font-size: min(4vh, 7vw);
    margin-bottom: 5px;
  }

  .telegun-letters-container {
    display: flex;
    gap: 3px;
    justify-content: center;
    align-items: center;
  }

  .inner-rectangle {
    min-width: 35px;
    font-size: min(2.2vh, 4.5vw);
    margin-left: 2px;
    height: 45px;
  }

  .telegun-text {
    font-size: min(2.2vh, 4.5vw);
  }

  .menu-container {
    width: 95%;
    padding-left: 2.5%;
    padding-right: 2.5%;
    flex-direction: column;
    gap: 1rem;
  }

  .menu-column {
    width: 100%;
    gap: 0.8rem;
  }

  .menu-item {
    font-size: min(2.2vh, 4vw);
    padding: 0.3rem;
  }

  .line-container {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 2rem;
  }

  .vertical-box,
  .cyan-line,
  .vertical-box-right,
  .cyan-line-right {
    display: none;
  }

  .website-text {
    position: static;
    transform: none;
    left: auto;
    font-size: min(1.8vh, 3.5vw);
    text-align: center;
  }

  .bottom-grey-bar {
    font-size: min(1.5vh, 4vw);
  }
}