@import url("https://fonts.googleapis.com/css2?family=New+Amsterdam&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
  font-family: chaney;
  src: url(/Fonts/chaney-ultraextended-webfont.ttf);
}
@font-face {
  font-family: bellefair;
  src: url(/Fonts/Bellefair-Regular.ttf);
}
@font-face {
  font-family: capitol;
  src: url(/Fonts/CapitoliumNews2-Regular.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

:root {
  --wow: #FFF5E4;
  --purple: #8F55FF;
  --nice: #421C60;
  --osm:#bfbcf5;
  --brown:#490001;
}

main {
  width: 100%;
  min-height: 100vh;
}

/* loading page  */

.loader {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: var(--nice);
  animation: bgcolor 4.5s;
}

.zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  font-size: 25rem;
  font-family: "New Amsterdam", sans-serif;
  -webkit-text-stroke-width: 4px;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-color: rgb(255, 255, 255);
  outline: none;
  font-weight: 200;
}

.loader h1 {
  position: absolute;
  top: 55%;
  font-weight: 100;
  left: 50%;
  transform: translate(-50%, -10%);
  font-size: 10rem;
  font-family: "New Amsterdam", sans-serif;
  color: white;
}

.box {
  position: relative;
  left: 50%;
  width: 40%;
  bottom: -76%;
  height: 10px;
  transform: translate(-50%, -20%);
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
}

.box::after {
  content: "";
  position: absolute;
  top: -5%;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  animation: load 4.5s;
}

@keyframes load {
  0% {
    width: 0;
    background-color: var(--purple);
  }
  25% {
    width: 25;
    background-color: var(--brown);
  }
  50% {
    width: 50;
    background-color: var(--nice);
  }
  75% {
    width: 75;
    background-color: var(--purple);
  }
  100% {
    width: 100;
    background-color: var(--brown);
  }
}
@keyframes bgcolor {
  0% {
    background-color: var(--purple);
  }
  25% {
    background-color: var(--brown);
  }
  50% {
    background-color: var(--nice);
  }
  75% {
    background-color: var(--purple);
  }
  100% {
    background-color: var(--brown);
  }
}

/* Home page */
.home {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(/image/bg-img.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  overflow: hidden;
  transition: all cubic-bezier(0.19, 1, 0.22, 1) 2s;
  z-index: 99;
}

#layout {
  width: 130%;
  height: 145vh;
  padding: 15rem 5rem;
  display: flex;
  align-items: start;
  justify-content: space-evenly;
  background: rgb(66,28,96);background: linear-gradient(360deg, rgba(66,28,96,1) 0%, rgba(143,85,255,0.7288165266106443) 50%, rgba(73,0,1,1) 100%);
  background-size: cover;
  background-position: center;
  animation: dotte 8s ease-in-out alternate infinite;
}

#layout > img:nth-child(1) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12vw;
  animation: updown 2s ease-in-out alternate infinite;
  opacity: 0;
}

#megnum-1 {
  width: 9vw;

  animation: letter 1.9s ease-in-out alternate infinite;
}
#megnum-2 {
  width: 5vw;

  animation: letter 1.9s ease-in-out alternate infinite;
}
#megnum-3 {
  width: 7vw;

  animation: letter 1.8s ease-in-out alternate infinite;
}
#megnum-4 {
  width: 10vw;

  animation: letter 1.9s ease-in-out alternate infinite;
}
#megnum-5 {
  width: 7vw;

  animation: letter 1.8s ease-in-out alternate infinite;
}
#megnum-6 {
  width: 7vw;
  animation: letter 1.9s ease-in-out alternate infinite;
}

#explore {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 90%;
  width: 10vw;
  height: 3vw;
  color: #ccfcff;
  background: #440100a1;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  cursor: pointer;
  font-family: "New Amsterdam", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  border: none;
  border: 1px solid white;
}

#explore:hover {
  background-color:#5049DB;
}

@keyframes updown {
  from {
    margin-top: 5vw;
  }

  to {
    margin-top: 6vw;
  }
}

@keyframes letter {
  from {
    margin-top: 0vw;
  }

  to {
    margin-top: 1vw;
  }
}
