/* 
   TOP SECTIO
*/

.top {
  width: 100%;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  background: repeating-linear-gradient(0deg, #151515, #151515 8px, #1c1c1c 8px, #1c1c1c 10px);
  position: relative;
  padding-bottom: 3em;
}


/* 
   LOGO
*/
.jank-fire-logo-top {
  display: flex;
  width: 20vw;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(212, 82, 31, 0.38));
}


/* 
   HEADLINE TEXT
*/
.title-top {
  display: flex;
  background: linear-gradient(90deg, var(--rust-dark), var(--rust-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--opacity-text-color);
  font-family: JetBrainsMono;
  width: 80%;
  justify-content: center;
  font-weight: 100;
  font-size: 1.7em;
  margin: 0 auto;
}

.title-top-below {
  display: flex;
  width: 80%;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  font-family: JetBrainsMono;
  color: var(--text-color-2);
  font-size: 3em;
  margin-top: 0.2em;
  padding-bottom: 0.6em;
}


/* 
   DOWNLOAD BUTTON
*/
.top-download-button {
  display: flex;
  background-color: antiquewhite;
  margin: 0 auto;
  font-size: 2em;
  padding: 0.2em;
  padding-left: 0.6em;
  padding-right: 0.6em;
  font-family: JetBrainsMono-Light;
  color: black;
  background-color: var(--text-color-2);
  cursor: pointer;
  border: var(--opacity-text-color) 2px solid;
  transition: 0.4s;
}

.top-download-button:hover {
  transform: scale(1.03);
  transition: 0.1s;
  box-shadow: 0 4px 8px var(--bright-rust-opacity);
}


/* 
   SECONDARY BUTTONS
*/
.top-buttons {
  display: flex;
  flex-direction: row;
  gap: 1em;
  justify-content: center;
  width: 100vw;
  height: auto;
  margin-top: 1em;
}

.top-button {
  font-size: 1.5em;
  width: 8em;
  padding: 0.3em;
  border-radius: 0%;
  border: none;
  cursor: pointer;
  background-color: rgba(252, 252, 253, 0);
  color: var(--opacity-text-color);
  border: var(--bright-rust-opacity) 2px solid;
}


/* 
   FLOATING BRICKS
*/
.platformer-bricks-section-top {
  display: flex;
  position: absolute;
  width: 100vw;
  justify-content: center;
  gap: 25vw;
}

.brick {
  width: 20em;
  height: 4em;
  background-color: var(--bright-rust-extreme-opacity);
  margin-top: 40em;
}


/* 
   ANIMATIONS FOR THE FLOATING BRICKS
*/
.animation-brick-1 {
  animation: float-updown-1 7s ease-in-out infinite;
}

.animation-brick-2 {
  animation: float-updown-2 7s ease-in-out infinite;
}

@keyframes float-updown-1 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes float-updown-2 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(30px);
  }
}


/* 
   AMBIENT BACKGROUND GLOW
*/
.top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(184, 57, 14, 0.25), transparent 60%);
  animation: glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}


/* 
   MEDIA QUERIES
*/
@media only screen and (max-width: 2000px) {
  .title-top-below { font-size: 3em; margin-bottom: 1.5em; }
  .title-top { font-size: 1em; }
  .jank-fire-logo-top { width: 25vw; }
}



@media only screen and (max-width: 1000px) {
  .title-top-below { font-size: 2em; }
  .title-top { font-size: 0.7em; }
  .jank-fire-logo-top { width: 30vw; }

  .top-download-button {
    margin-top: 1em;
    font-size: 1.6em;
  }

  .top-button {
    font-size: 0.7em;
    width: 7em;
  }

  .brick {
    margin-top: 20em;
  }
}



@media only screen and (max-width: 700px) {
  .jank-fire-logo-top {
    width: 60vw;
    padding-top: 5em;
    filter: drop-shadow(0 0 40px rgba(212, 82, 31, 0.702));
  }

  .title-top-below { font-size: 1.5em; }
  
}