@import url('https://fonts.googleapis.com/css?family=Inter:700|Inter:400');

:root {
  /* Colors */
  --text: #0c1b18;
  --background: #fafdfc;
  --primary: #60b8a6;
  --secondary: #a4b0d6;
  --accent: #8a81c6;

  /* Gradients */
  --linearPrimarySecondary: linear-gradient(#60b8a6, #a4b0d6);
  --linearPrimaryAccent: linear-gradient(#60b8a6, #8a81c6);
  --linearSecondaryAccent: linear-gradient(#a4b0d6, #8a81c6);
  --radialPrimarySecondary: radial-gradient(#60b8a6, #a4b0d6);
  --radialPrimaryAccent: radial-gradient(#60b8a6, #8a81c6);
  --radialSecondaryAccent: radial-gradient(#a4b0d6, #8a81c6);

  /* Trail */
  --glow-rgb: 239 42 201;
}

body {
  font-family: 'Inter';
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-family: 'Inter';
  font-weight: 700;
}

html {font-size: 100%;} /* 16px */

h1 {font-size: 4.210rem; /* 67.36px */}

h2 {font-size: 3.158rem; /* 50.56px */}

h3 {font-size: 2.369rem; /* 37.92px */}

h4 {font-size: 1.777rem; /* 28.48px */}

h5 {font-size: 1.333rem; /* 21.28px */}

small {font-size: 0.750rem; /* 12px */}

html, body {
  margin: 0;
  padding: 0;

  background: var(--background);
  color: var(--text);
}

/* Hero Section */
.hero {
  padding: 1rem;
  margin: 0;
  text-align: center;
}

.hero .mainText {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Games Section */
.games {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px;
  justify-content: center;
}

.games > .gameCard {
  width: 450px; /* Fixed width for each card */
  box-sizing: border-box;
  margin: 5px; /* Half of the gap value to ensure proper spacing */
  background-position: center;
}

.gameCard {
  border: 3px solid var(--primary);
  border-radius: 10px;
  height: 150px;
  cursor: pointer;
}

/* Mouse Trail */
.glow-point {
  position: absolute;
  /* box-shadow: 0rem 0rem 1.2rem 0.6rem rgb(var(--glow-rgb)); */
  pointer-events: none;
}

.star {
  position: absolute;
  z-index: 2;
  color: white;
  font-size: 1rem;
  animation-duration: 1500ms;
  animation-fill-mode: forwards;
  pointer-events: none;
}

@keyframes fall-1 {
  0% {
    transform: translate(0px, 0px) rotateX(45deg) rotateY(30deg) rotateZ(0deg) scale(0.25);
    opacity: 0;
  }

  5% {
    transform: translate(10px, -10px) rotateX(45deg) rotateY(30deg) rotateZ(0deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(25px, 200px) rotateX(180deg) rotateY(270deg) rotateZ(90deg) scale(1);
    opacity: 0;
  }
}

@keyframes fall-2 {
  0% {
    transform: translate(0px, 0px) rotateX(-20deg) rotateY(10deg) scale(0.25);
    opacity: 0;
  }

  10% {
    transform: translate(-10px, -5px) rotateX(-20deg) rotateY(10deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-10px, 160px) rotateX(-90deg) rotateY(45deg) scale(0.25);
    opacity: 0;
  }
}

@keyframes fall-3 {
  0% {
    transform: translate(0px, 0px) rotateX(0deg) rotateY(45deg) scale(0.5);
    opacity: 0;
  }

  15% {
    transform: translate(7px, 5px) rotateX(0deg) rotateY(45deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(20px, 120px) rotateX(-180deg) rotateY(-90deg) scale(0.5);
    opacity: 0;
  }
}

.mainText {
    outline: none;
    background: url(https://i.giphy.com/RhS1f7JwQaek6YZi1Y.webp);
    background-size: contain;
    background-position: top left;
    -webkit-background-clip: text;
    color: transparent;
}

.anchors {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 20px;
}

.anchors a {
  color: black;
}

body {
  overflow-x: hidden;
}

.material-symbols-rounded {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}