@font-face {
  font-family: 'poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 500;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  background: #1b1b1b;
}

body {
  width: 100%;
  height: 100%;
  background: #1b1b1b;
  background-size: 100%;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fadeIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.main {
  width: 100%;
  position: relative;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.DOWN-STACKED {
  font-family: poppins, sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 6vw, 75px);
  line-height: 1.4;
  color: floralwhite;
  text-align: center;
  display: block;
  margin-bottom: 50px;
}

.DOWN-STACKED2 {
  font-family: poppins, sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 6vw, 75px);
  line-height: 1.4;
  color: floralwhite;
  text-align: center;
  display: block;
  margin-top: 100px;
  margin-bottom: 100px;
}

.DOWN-STACKED span {
  opacity: 0;
  display: inline-block;
  animation-name: fade-in;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.DOWN-STACKED2 span {
  opacity: 0;
  display: inline-block;
  animation-name: fade-in;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.v1 {
  animation-delay: 2s;
}

.v2 {
  animation-delay: 2.5s;
}

.v3 {
  animation-delay: 3s;
}

.down-wrapper {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-bottom: 10px;
}

.down-wrapper2 {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.container1 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 0 20px;
  position: relative;
}

.container2 {
  text-align: center;
}

.container3 {
  text-align: center;
}

.container4 {
  margin-bottom: 50px;
  text-align: center;
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 20px;
  gap: 15px;
  background-color: floralwhite;
  border-image-slice: 1;
  padding: 10px 5px 2px;
  border-radius: 3px;
}

.lilogo {
  width: 50px;
  height: 50px;
  position: relative;
  border-image-slice: 1;
}

.text-wrapper {
  align-items: center;
  justify-content: center;
}

.logo-text {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 1.1s steps(30, end) forwards;
  background: floralwhite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-text {
  font-size: clamp(24px, 5vw, 65px);
  font-weight: 600;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 1.1s steps(30, end) forwards;
  background: floralwhite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0px 0px 20px;
}

h1 {
  font-family: poppins, sans-serif;
  font-size: 65px;
}

h2 {
  color: floralwhite;
  font-family: poppins, sans-serif;
  font-size: 36px;
  background-color: rgba(0, 0, 0, 0.185);
  border-image-slice: 1;
  border-radius: 3px;
}

h3 {
  font-family: poppins, sans-serif;
  font-size: 36px;
}

.role {
  color: #1b1b1b;
  font-family: poppins, sans-serif;
  font-size: 16px;
  background-color:floralwhite;
  border-image-slice: 1;
  border-radius: 3px;
  padding: 2px 5px 2px;
}

.logo-text::after {
  content: '';
  display: block;
  width: 0%;
  height: 5px;
  background: floralwhite;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fade-in 1s ease-in forwards, stretch-underline 2s ease-out forwards;
  animation-delay: 0s, 1s;
}

.title-text::after {
  content: '';
  display: block;
  width: 0%;
  height: 5px;
  background: floralwhite;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fade-in 1s ease-in forwards, stretch-underline 2s ease-out forwards;
  animation-delay: 0s, 1s;
}

.logo {
  max-width: 400px;
  max-height: 400px;
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  animation: fadeIn 2s;
  margin-bottom: -70px;
}

.profilepic {
  margin-bottom: 5px;
  width: 300px;
  box-shadow: 0px 0px 10px rgb(0, 0, 0, 0.1);
  border-image-slice: 1;
  border-radius: 3px;
}

.video {
  margin-bottom: 5px;
  position: relative;
  border: 2px solid floralwhite;
  border-image-slice: 1;
  width: 800px;
  height: 450px;
  border-image-slice: 1;
  border-radius: 3px;
}

.title {
  background-color: rgba(0, 0, 0, 0.185);
  border-image-slice: 1;
  border-radius: 3px;
  margin: auto;
  position: relative;
  width: 65%;
}

.game-name {
  font-family: poppins, sans-serif;
  text-transform: uppercase;
  color: floralwhite;
}

.site-footer {
  width: 100%;
  padding: 30px 0;
  text-align: center;
  font-family: poppins, sans-serif;
  font-size: 16px;
  color: floralwhite;
  background-color: #1b1b1b;
  position: relative;
  animation: fade-in 1s ease-in forwards;
  border-top: none;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: floralwhite;
}

.site-footer p {
  margin: 0;
}

@keyframes typing {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes stretch-underline {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes popEffect {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1150px) {
  .logo-text {
    font-size: 45px;
    margin-top: 15px;
  }

  .logo {
    width: 300px;
  }

  .title-text {
    font-size: 48px;
  }

  .video {
    width: 700px;
    height: 393px;
  }

  .profilepic {
    width: 240px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 28px;
  }

  .lilogo {
    width: 36px;
    height: 36px;
  }

  .site-footer p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .video {
    width: 450px;
    height: 250px;
  }

  .profilepic {
    width: 180px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 22px;
  }

  .role {
    font-size: 13px;
  }

  .lilogo {
    width: 30px;
    height: 30px;
  }

  .site-footer p {
    font-size: 12px;
  }

  .video-wrapper {
    max-width: 560px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 32px;
    margin-top: 30px;
  }

  .logo{
    width: 200px;
  }

  .title-text {
    font-size: 28px;
  }

  .video {
    width: 305px;
    height: 171px;
  }

  .profilepic {
    width: 150px;
  }

  h2, h3 {
    font-size: 20px;
  }

  .role {
    font-size: 12px;
  }

  .lilogo {
    width: 26px;
    height: 26px;
  }

  .site-footer p {
    font-size: 11px;
  }

  .video-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 340px) {
  .logo-text,
  .title-text {
    font-size: 22px;
  }

  .logo-text{
    margin-top: 40px;
  }

  .logo{
    width: 150px;
  }

  .video {
    width: 260px;
    height: 145px;
  }

  .profilepic {
    width: 120px;
  }

  .lilogo {
    width: 22px;
    height: 22px;
  }

  .site-footer p {
    font-size: 10px;
  }
}

@media (max-height: 425px) and (orientation: landscape) {
  .container1 {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .logo {
    max-height: 150px;
    margin-bottom: -56px;
  }

  .logo-text {
    font-size: clamp(18px, 5vw, 32px);
  }
}
