:root {
  --blackColor: #212121;
  --blueColor: #77dbfe;
  --whiteColor: #ffffff;
  --greyColor: #bcbcbc;
  --blueGreyColor: #528b9f;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Clash Display", sans-serif;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}
nav {
  width: 100%;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--whiteColor);
  background-color: var(--blackColor);
  height: 10vh;
  z-index: 10;
  transition: all 0.15s ease-in-out;
}
#active {
  text-decoration: none;
  color: var(--blueColor);
  transition: all 0.2s ease-in-out;
  filter: drop-shadow(0px 0px 5px rgba(119, 219, 254, 0.7));
}
.inActive {
  text-decoration: none;
  color: var(--blueGreyColor);
  transition: all 0.2s ease-in-out;
}

nav ul {
  display: flex;
  list-style: none;
}
nav ul li {
  margin-right: 55px;
}
li a:hover {
  color: var(--blueColor);
  filter: drop-shadow(0px 0px 5px rgba(119, 219, 254, 0.7));
}
.inActiveHover:hover {
  color: var(--blackColor);
  filter: none;
}
#page1 {
  display: flex;
  justify-content: center;
  height: 100vh;
  width: 100%;
  background-color: var(--blackColor);
  position: relative;
}
.logoContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 10%;
  transition: all 0.85s ease;
  opacity: 1;
}
.logoContainerAnimation {
  transform: translateY(-20%);
  opacity: 0;
}
.logoImg {
  width: 45%;
  filter: drop-shadow(0px 10px 50px rgba(119, 219, 254, 0.7));
  transition: filter 1.35s ease;
}
.logoImgAnimation {
  filter: drop-shadow(0px 0 0 rgba(119, 219, 254, 0.7));
}
#middleSection {
  background-color: var(--blackColor);
  padding: 0;
  margin: 0;
  display: flex;
}

#page2 {
  background-color: var(--blackColor);
  display: flex;
  flex-direction: column;
  z-index: 2;
}
#pattern {
  width: 100%;
}
#contentContainer {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--blueColor);
  z-index: 2;
}
#bothContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60%;
  height: 100%;
}

.scroll-downs {
  position: absolute;
  right: 0;
  bottom: 5%;
  left: 0;
  margin: auto;
  width: 34px;
  height: 55px;
  transition: all 0.8s ease;
}
.scrollerAnimation {
  filter: blur(2px);
  opacity: 0;
}
.mousey {
  width: 3px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid var(--greyColor);
  border-radius: 25px;
  opacity: 0.75;
  box-sizing: content-box;
}
.scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: var(--greyColor);
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(0.15, 0.41, 0.69, 0.94);
  animation-iteration-count: infinite;
}
@keyframes scroll {
  0% {
    opacity: 0;
  }
  10% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}
#scrollButton {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 5;
}
#scrollText {
  color: white;
  text-align: center;
  position: absolute;
  outline: none;
  opacity: 70%;
  left: -9%;
  top: -70%;
}

.playButton {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  top: 65%;
  text-decoration: none;
  gap: 20px;
  border: var(--blueColor) 5px solid;
  border-radius: 10px;
  padding: 0 80px;
  width: fit-content;
  right: 0;
  left: 0;
  margin: auto;
  background-color: var(--blackColor);
  filter: drop-shadow(2px 4px 8px rgba(119, 219, 254, 0.7));
  transition: background-color 0.25s ease-in-out, filter 0.25s ease-in-out, border-radius 0.25s ease-in-out, border 0.25s ease-in-out, width 0.25s ease-in-out, top 0.25s ease-in-out, padding 0.25s ease-in-out, transform 0.8s ease, opacity 0.8s ease;
}
.buttonAnimation {
  transform: translateY(-40%);
  opacity: 0;
}
.playButton:hover {
  background-color: var(--blueColor);
  filter: drop-shadow(2px 4px 28px rgba(119, 219, 254, 0.7));
}
#playImg {
  width: 62px;
  height: 62px;
  transition: all 0.15s ease-in;
}
#playText {
  color: white;
  text-align: center;
  left: -9%;
  top: -70%;
  font-size: 1.75em;
  font-weight: bold;
  transition: all 0.15s ease-in;
}

#cardGrid {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  width: 100%;
  min-height: 100%;
  z-index: 2;
  margin-top: 20%;
}
.card {
  top: 50%;
  left: 50%;
  width: 29%;
  aspect-ratio: 1/1.2;
  margin-bottom: -150px;
  perspective: 500px;
  z-index: 2;
}
.hidden {
  opacity: 0;
  transition: all 0.85s ease;
  filter: blur(3px);
  transform: translateX(-15%);
}
.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}
.card:nth-child(1) {
  transition-delay: 0.13s;
}
.card:nth-child(2) {
  transition-delay: 0.26s;
}
.card:nth-child(3) {
  transition-delay: 0.39s;
}
.content {
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  transform-style: preserve-3d;
  border-radius: 18px;
}
.card:hover .content {
  transform: rotateY(15deg);
  transition: transform 0.2s ease;
  cursor: pointer;
}
.card:hover .coverImg {
  filter: brightness(1.25) blur(1px) saturate(170%);
}
.front,
.back {
  position: absolute;
  height: 100%;
  width: 100%;
  text-align: center;
  border-radius: 18px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.back {
  background: var(--blackColor);
  color: white;
  transform: rotateY(180deg);
  box-sizing: border-box;
  padding: 0px 15px;
  border: solid 5px var(--whiteColor);
}
.cardIcon {
  width: 50px;
  height: 50px;
  margin-top: 15px;
}
.cardText {
  font-size: 1.2em;
  font-weight: 1;
  margin-top: 0;
  line-height: 30px;
}
.coverImg {
  width: 100%;
  border-radius: 18px;
  transition: all 0.2s ease;
}
.flipImg {
  position: absolute;
  width: 30px;
  right: 20px;
  bottom: 20px;
}

.mouseGlow {
  position: fixed;
  width: 800px;
  height: 800px;
  z-index: 1;
  transition: left 0.15s, top 0.15s, opacity 1s ease;
  pointer-events: none;
}
.mouseAnimation {
  opacity: 0;
}
main {
  overflow: hidden;
}

video {
  z-index: 2;
  border-radius: 18px;
  width: 100%;
  height: 100%;
  margin-top: 200px;
  margin-bottom: 200px;
}
