@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Orbitron&display=swap");

:root {
  --green: #1cfe23;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  outline: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-width: thin; /* Makes the scrollbar thin */
  scrollbar-color: var(--green) black; /* thumb color first, track color second */
}

body,
html {
  transition: all 0.25s ease-in-out;

  cursor: url("../content/ezgif-5-98325b1c4c.png"), auto;

  font-family: "Open Sans", sans-serif;
  color: white;
  background-color: black;
  height: 100%;
  width: 100%;
  margin: 0;
  font-weight: 100;
  overflow-x: hidden;
}

/* For WebKit browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
  width: 5px; /* Adjust the width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: black; /* Background of the scrollbar track */
}

::-webkit-scrollbar-thumb {
  background: var(--green); /* Color of the scrollbar thumb */
  border-radius: 10px; /* Optional: to make the thumb rounded */
}

/* ///////
 */

::-moz-selection {
  background-color: var(--green);
  color: #000000;
}

::selection {
  background-color: var(--green);
  color: #000000;
}

.text-container {
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 40%;
  height: auto;

  padding: 30px;

  text-align: justify;

  /*   top: 50%;
  left: 50%; */
  /*   transform: translate(-50%, -50%);
 */
  position: absolute;
  transition: all 0.5s ease-in-out;
  font-size: 1.3vw;
}

/* #container {
  height: 100vh;
  left: 0;
  perspective: 25vh;
  perspective-origin: 50% 50%;
  position: fixed;
  top: 0;
  width: 100%;
  transition: all 0.5s ease-in-out;
}
 */
.container {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  pointer-events: none;
}

.green {
  color: var(--green);
}

h1 {
  font-weight: 500;

  font-size: 5vw;
}

h2 {
  font-size: 3vw;
  text-align: left;
}

h3 {
  font-size: 2vw;
}

h2,
h3 {
  font-weight: 400;
}

.thicker {
  font-weight: 500;
}

.bigger {
  font-weight: 400;
}

.dash {
  font-size: 5vw;
}

a {
  transition: all 0.5s ease-in-out;
  color: var(--green);
  font-weight: 400;
}

a:hover {
  opacity: 0.5;
  scale: 0.9;
}

hr {
  color: var(--green);
}

/* ////// script 01
 */

#wordContainer {
  width: 100%;
  overflow: hidden;
}

/* .word {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4vw;
  width: 100%;
  font-family: "Space Grotesk", sans-serif;
} */

/* ////// script 02
 */

.word {
  position: absolute;
  white-space: nowrap;
  color: white;

  width: 120%;
  font-size: 5vw;
}

/*  //////LOADER */

@keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.flicker-loader {
  -webkit-animation: flickerAnimation ease-in-out 3s infinite;
  animation: flickerAnimation ease-in-out 3s infinite;
}

.textloader {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  justify-content: center;
  align-items: center;
  width: 75%;
  cursor: none;
}

.textloader p {
  font-size: 3vw;
  font-family: "Space Grotesk", sans-serif;
  color: #262626;
  box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 50px;
}

.textloader img {
  max-width: 200px;
}

.loader.hidden,
.loaderentrance.hidden {
  -webkit-animation: fadeOut 1.5s;
  animation: fadeOut 1.5s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  pointer-events: none;
}

@-webkit-keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  .loader {
    background: black;

    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99999;
    transition-timing-function: ease-in-out;
    cursor: none;

    left: 0;
    top: 0;
  }
}

@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  .loader {
    background: black;

    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99999;
    transition-timing-function: ease-in-out;
    cursor: none;

    left: 0;
    top: 0;
  }
}

.webdev {
  font-size: 13px;
  position: fixed;
  z-index: 1200;
  bottom: 10px;
  right: 0;

  mix-blend-mode: difference;
  transform: rotate(-180deg);

  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
}

.webdev a {
  text-decoration: none;
  transition: all 0.5s ease-in-out;
  color: rgb(146, 146, 146);
  cursor: pointer;
}

.webdev a:hover {
  color: var(--green);
  cursor: pointer;
}

/* //////////// scroll line */

#scroll-container {
  border-radius: 5px;
  color: white;
  overflow: hidden;

  font-size: 3vw;
  width: 100%;
  white-space: nowrap;
  top: 0;
  margin-top: 5px;
  position: fixed;
  font-family: "Orbitron", sans-serif;
}

#scroll-text {
  /* animation properties */
  transform: translateX(100%);
  -webkit-animation: my-animation 25s linear infinite;
  animation: my-animation 25s linear infinite;
}

/* for Firefox */

/* for Chrome */
@-webkit-keyframes my-animation {
  from {
    -webkit-transform: translateX(-100%);
  }

  to {
    -webkit-transform: translateX(100%);
  }
}

@keyframes my-animation {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-230%);
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 12vw;
  }

  .text-container {
    width: 100%;
    font-size: 3.5vw;
  }

  h2 {
    font-size: 6vw;
  }

  h3 {
    font-size: 5vw;
  }

  .link {
    font-size: 4vw;
  }

  /* .text-container {
    top: 0%;
    transform: translate(-50%, 0%);
  } */

  #scroll-container {
    font-size: 25px;
  }

  .webdev {
    font-size: 11px;
  }
}

.cat {
  font-family: Arial, Helvetica, sans-serif;
}
