@font-face {
  font-family: 'Mont-light';
  src: url('./Fonts/Mont/Mont-ExtraLightDEMO.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Monument-Regular';
  src: url('./Fonts/Monument Extended/MonumentExtended-Regular.otf');
  font-weight: normal;
  font-style: normal;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: rgba(199,250,158,255);
  font-family:  'Monument-Regular', Verdana, Geneva, Tahoma, sans-serif;
  position: relative;
  overflow-x: auto;
}

.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1px, 0.6vw, 60px); /* maintains gap responsively */
  z-index: 10;
}

.scroll-wrapper{
 font-size: clamp(300px, 30vw, 450px);
 position: absolute;
 margin-top: -8vw;
 overflow: hidden;
 width: 100%;
 color: rgba(0, 0, 0, 0.05);
 white-space: nowrap;
 pointer-events: none;
 
}

.scroll-track{
  display: inline-block;
  animation: scrollLeft 15s linear infinite;
}

.scroll-track.reverse{
  animation: scrollRight 15s linear infinite;
}

.top-scroll{
  top: 2vw;
}

.bottom-scroll{
  bottom: -9vw;
}

@keyframes scrollLeft {
  from   { transform: translateX(0); }
  to { transform: translateX(-52.5%); }
}
@keyframes scrollRight {
  from   { transform: translateX(-52.5%); }
  to { transform: translateX(0); }
}

.center-text{
  position: relative;
  text-align: center;
  font-size: clamp(38px, 5.5vw, 90px);
  letter-spacing: 1.3vw;
}

.center-text.upper{
  margin-left: 10px;
}

.center-text.lower{
  font-size: clamp(62px, 9.7vw, 180px);
  letter-spacing: normal;
  margin-top: 30px;
}

.scroll-strip-wrapper{
  background-color: rgb(44, 44, 44);
  color: rgba(199,250,158,255);;
  width: 100%;
  position: absolute;
  top: 41%;
  overflow: hidden;
  white-space: nowrap;
  padding: clamp(8px,1.2vw,20px) 0;
  z-index: 20;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}

.scroll-strip{
  width: max-content;
  list-style: none;
  display: flex;
  gap: 1.5vw;
  font-family: 'Mont-Light';
  font-weight: bold;
  font-size: clamp(12px, 1.5vw, 24px);
  animation: scroll 20s linear infinite;
}

.scroll-strip img{
  width: 2vw;
  height: auto;
}

@keyframes scroll {
  from   { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.75rem)); }
}


@media(min-height: 1400px){
  .scroll-strip-wrapper{
    top: 47.5%;
  }
}

@media(max-width: 1300px) and (min-height: 700px){
  .scroll-strip-wrapper{
    top: 43%;
  }
}

@media(max-width:1200px) and (max-height: 800px){
  .scroll-strip-wrapper{
    top:44.5%
  }
}

@media(max-width:1200px) and (max-height: 620px){
  .scroll-strip-wrapper{
    top:42.5%
  }
}

@media(max-width: 1200px) and (min-height: 1000px){
  .scroll-strip-wrapper{
    top: 47%;
  }
}

@media(max-width: 850px) and (min-height: 900px){
  .scroll-strip-wrapper{
    top: 46.5%;
  }
}

@media(max-width:800px) and (max-height: 800px){
  .scroll-strip-wrapper{
    top:45.5%
  }
}

@media(max-width:480px) and (max-height: 1000px){
  .scroll-strip-wrapper{
    top:46.5%
  }
}



/* DARK MODE */

@media (prefers-color-scheme: dark){
  body{
    background-color: rgba(47,47,47,255);
  }

  .scroll-wrapper{
    color: rgba(40,40,40,255);
  }

  .content-container{
    color: white;
  }

  .scroll-strip-wrapper{
    background-color: rgba(199,250,158,255);
    color: black;
    z-index: 0;
    padding: 1vw;
  }


  .scroll-strip img{
    filter: brightness(0) saturate(100%);
  }
}