@import url('https://fonts.googleapis.com/css?family=Leckerli+One');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P');
@import url('https://fonts.googleapis.com/css2?family=Sigmar+One&display=swap');


/* === CSS Reset / Base === */

/* Remove default margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Set up default font and background */
html,
body {
  height: 100%;

  background-color: rgba(0, 0, 0, 0.5);
  color: #222;


  margin: 0;


}

/* Remove link decorations */
a {
  color: inherit;
  text-decoration: none;
  display: block;
  margin-bottom: 40px;
}

/* Remove list bullets and spacing */
ul,
ol {
  list-style: none;
}

/* Make images and videos responsive */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure buttons look consistent */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Use border-box for everything */
*,
*::before,
*::after {
  box-sizing: inherit;
}

/* === Hero Header Section === */
.hero {
  position: relative;
  background-image: url('images/trent-going-berserk.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-items: stretch;
  overflow: hidden;
  transition: background-image 1s ease-in-out;
}


/* Text overlay */
.hero .overlay {
  position: relative;
  color: #fff;
  text-align: right;
  z-index: 1;
  font-size: 22px;
  background-color: rgba(0, 0, 0, 0.65);
  padding: 0px;
  width: 30%;
}

.hero .overlay:nth-of-type(1) {
  overflow: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.hero .overlay:nth-of-type(1)::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.hero .overlay:nth-of-type(1) i {

  font-size: 2.2rem;

  opacity: 0.8;
  transition: transform 0.3s, opacity 0.3s;
  cursor: pointer;
}

.no-overflow {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.overflowing {
  position: static;
  padding: 10px;
}

.hero .overlay:nth-of-type(1) i:hover {
  transform: scale(1.2);
  opacity: 1;
  color: rgba(255, 165, 0, 1);
}


.hero .overlay:nth-of-type(2) {
  background-color: rgba(0, 0, 0, 0);
  /*width: 10%;*/
  flex-grow: 1;

}

.hero .overlay:nth-of-type(3) {


  background-color: rgba(255, 165, 0, 1);
  text-align: center;
  width: 5%;
  padding: 10px;
}

.hero .overlay:nth-of-type(3) i:hover {
  text-shadow: 5px 5px rgba(0, 0, 0, 1);

}



.hero .overlay h1 {
  font-family: 'Press Start 2P', sans-serif;
  background-color: rgba(255, 165, 0, 1);
  /*width: 10%;*/
  padding: 5px;
  color: white;
  text-shadow: 5px 5px rgba(0, 0, 0, 1);

}

.hero .overlay h3 {
  margin-top: 2%;
  /*background-color: rgba(255, 165, 0, 1);*/
  /*width: 10%;*/
  padding: 5px;
  color: white;
  font: bold 24px/45px Helvetica, Sans-Serif;
  line-height: 1.5;
  text-align: left;

}

.hero .overlay p {
  margin-top: 1%;
  /*background-color: rgba(255, 165, 0, 1);*/
  /*width: 10%;*/
  padding: 5px;
  color: white;
  font: bold 17px/34px Helvetica, Sans-Serif;
  text-align: left;
  line-height: 1.5;
  white-space: pre-wrap;
  /* key! */

}

/* Keyframes for fade-in + slide-up */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base animation class */
.fade-in {
  opacity: 0;
  animation: fadeSlideUp 1.2s ease-out forwards;
}



i {
  color: white;
  font-size: 44px;
  transition: transform 0.2s, color 0.2s;
}



/* === Dots === */
.dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 5;
}

.dot {
  width: 14px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.dot.active {
  background-color: orange;
  transform: scale(1.2);
}

/* === Mobile Styles === */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    height: 100vh;
  }


  .hero .overlay:nth-of-type(1) {
    width: 100%;
    height: 84%;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero .overlay:nth-of-type(1) .description {
    font-size: 10px;
  }

  .hero .overlay:nth-of-type(2) {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    height: 7%;
  }

  .hero .overlay:nth-of-type(3) {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 5px;
    justify-content: space-around;

    height: 7%;

  }

  .hero .overlay:nth-of-type(3) i:hover {
    text-shadow: 2px 2px rgba(0, 0, 0, 1);
  }

  .hero .overlay h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 5px;
  }

  .hero .overlay h3 {
    text-align: center;
    padding-top: 0;
    font: bold 15px/28px Helvetica, Sans-Serif;
  }

  .hero .overlay p {
    text-align: center;
    font: bold 12px/20px Helvetica, Sans-Serif;
  }

  .hero .overlay:nth-of-type(1) i {
    position: static;
    align-self: center;
    margin-bottom: 20px;
  }

  i {
    font-size: 1.1rem;
    margin-bottom: 0;
  }

  .dots {
    position: absolute;
    bottom: 10%;
  }

  .dot {
    width: 12px;
    height: 12px;
  }
}