/* Custom font */
@font-face {
  font-family: 'StratumNo2Reg';
  src: url('textfonts/stratumno2_regular.otf');
}

@font-face {
  font-family: 'QuanticoReg';
  src: url('textfonts/Quantico-Regular.ttf');
}

/* Some stupid margin shit to ensure no white lines between each backgrounds */
h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

.no-pointer {
  pointer-events: none;
  user-select: none;
}

/* Reset + body setup */
body {
  margin: 0;
  color: white;
  padding: 0;
}

.top-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;
}

.linemap-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  background: url('indeximages/linemap.svg') repeat;
  opacity: 0.6;
  z-index: 2;
}

/* Menu layout */
.menu {
  position: fixed;
  top: 0;
  width: 100%;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  font-family: 'StratumNo2Reg', Arial, sans-serif;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 1);
  font-size: 4rem;
  z-index: 3;
}

/* Da menu link states */
a:link {
  text-decoration: none;
}
a:visited{
  color:white
}

/* PLAY glowbox effect */
.play-bg {
  position: fixed;
  top: 4.5%;
  left: 50%;
  transform: translate(0%, -50%);
  width: 400px;
  height: auto;
  z-index: 1;
  opacity: 0.5;
}

.icon-buttons {
  position: fixed;
  top: 0.95rem;
  left: 1rem;      
  z-index: 3;
  display: flex;
  gap: 20px;
  padding: 10px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 1));
}

.icon-container {
  position: relative; /* needed so hoverbox can sit behind */
  display: inline-block;
}

.hoverbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%) scale(1.1); /* start slightly smaller */
  z-index: 1; /* behind icon */
  opacity: 0; /* hidden by default */
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none; /* ignores mouse events */
}

.icon {
  position: relative;
  z-index: 1; /* above hoverbox */
  cursor: pointer;
}

/* Hover effect */
.icon-container:hover .hoverbox {
  opacity: 0.3;
  transform: translate(-50%, -55%) scale(1.1); /* slightly bigger on hover */
}

.characters {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("aboutimages/web_about_loop_him_transparent.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.background1 {
  position: relative; /* allows z-index for children */
  width: 100%;
  min-height: 100vh; /* makes it full-screen height */
  background-image: url("aboutimages/bluescreen_about_background.png");
  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  z-index: 0;
}

.intro-text {
  text-align: center;
  color: white; /* so it stands out */
  z-index: 1;
  transform: translateY(-18rem);
  font-size: 1.1rem;
  font-family: 'QuanticoReg';
}

.background2 {
  min-height: 100vh; /* at least full screen, grows with content */
  background-image: url("aboutimages/fabric_bluescreen_transition.png");
  background-size: 100% auto;       /* scales down so image fits, repeats naturally */
  background-repeat: no-repeat;     /* repeat to fill the section */
  background-position: center top; /* start repeating from top-left */
}

.background3 {
  position: relative;
  margin-top: -1px;
  min-height: 200vh;
  background-image: url("aboutimages/fabric_bluescreen_transition_end.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
}

.box-container {
  position: absolute;
  top: 115vh;
  left: 50%;                  /* start from horizontal center of parent/viewport */
  transform: translateX(-50%); /* shift box back by half its width */
  
  padding: 5rem;
  width: 80%;
  max-width: 1200px;
  min-height: 800px;
  z-index: 2;

  background-color: black;
  border: 3px solid white;
  box-shadow: 0px 0px 40px 20px #EACB6344;
  z-index: 0;
}

.linemap-boxground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("indeximages/linemap.svg");
  background-size: 50%;
  background-repeat: repeat;
  opacity: 0.2;
}

.faq {
  font-family: 'QuanticoReg', Arial, sans-serif;
  text-align: center;
  color: white;
  font-size: 2rem;
}

.question{
  position: relative;
  font-family: 'QuanticoReg', Arial, sans-serif;
  text-align: left;
  color: white;
  font-size: 1rem;
  margin-top: 40px;
  margin-bottom: 10px;
}

.answer {
  position: relative;
  font-family: 'QuanticoReg', Arial, sans-serif;
  text-align: left;
  color: white;
  font-size: 1rem;
  top: 20px;
}

.logotext {
  color: #ff9b01;
}

.workshopmap-link {
  position: absolute;
  bottom: 80px;   /* distance from bottom */
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}

.workshop-button{
  padding: 10px 20px;
  margin : 10px 30px;
  border-radius: 2px;
  cursor: pointer;
  width: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-self: center;
  background-color: #3281ac;
  transition-duration: 0.2s;
}

.workshop-button:hover {
  background-color: #3281ac6e;
}

.workshop-icon{
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("https://cdn.fastly.steamstatic.com/apps/csgo/images/csgo_react//global/steam_icon.svg");
}

.workshop-text{
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color:#ffffff;
  font-family: 'stratumno2reg', Arial, sans-serif;
}

/* Optimizations for IOS can start here */