@import url("https://fonts.googleapis.com/css3?family=Inter:wght@400;800&display=swap");

:root {
  --bg: #000000;
  --clr-1: #00c2ff;
  --clr-2: #33ff8c;
  --clr-3: #ffc640;
  --clr-4: #e54cff;

  --blur: 1rem;
  --fs: clamp(3rem, 8vw, 7rem);
  --ls: clamp(-1.75px, -0.25vw, -3.5px);
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-color: var(--bg);
  color: #fff;
  font-family: "Inter", "DM Sans", Arial, sans-serif;
}

.navbar {
  transition: top 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  padding-right: 0px;
  background-color: transparent;
  z-index: 1000;
}

.logo img {
  height: 60px;
  padding-left: 50px;
}

.menu {
  display: flex;
  gap: 30px;
}

.menu-item {
  text-decoration: none;
  color: white;
  position: relative;
  transition: color 0.3s ease-in-out;
  text-align: middle;

}

.menu-item::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 40px;
  left: 50%;
  background-color: white;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.menu-item:hover {
  color: #ccc;
}

.menu-item:hover::before {
  width: 100%;
}

.active {
  color: #ccc;
}

.active::before {
  width: 100%;
}

/* Hamburger icon styling */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger .line {
  width: 2rem;
  height: 0.25rem;
  background: white;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* Responsive design */
@media screen and (max-width: 1080px) {
  .navbar .menu {
      display: none;
  }
  .hamburger {
      display: flex;
  }
}

/* Mobile menu styling */
@media screen and (max-width: 1080px) {
  .navbar .menu {
      flex-direction: column;
      width: 100vw;
      height: 100vh;
      position: fixed;
      top: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.9);
      align-items: center;
      justify-content: center;
      gap: 3rem;
  }

  .menu-item {
      font-size: 2rem;
      width: 100%;
      text-align: center;
  }

  .menu-item::before {
      display: none;
  }

  .menu-item:hover {
      color: #ccc;
  }
}


*,
*::before,
*::after {
  font-family: inherit;
  box-sizing: border-box;
}

.content {
  text-align: center;
}

.title {
  font-size: var(--fs);
  font-weight: 800;
  letter-spacing: var(--ls);
  position: relative;
  overflow: hidden;
  background: var(--bg);
  margin: 0;
  padding-top: 60px;
}



.aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  mix-blend-mode: darken;
  pointer-events: none;
}

.aurora__item {
  overflow: hidden;
  position: absolute;
  width: 60vw;
  height: 60vw;
  background-color: var(--clr-1);
  border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  filter: blur(var(--blur));
  mix-blend-mode: overlay;
}

.aurora__item:nth-of-type(1) {
  top: -50%;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-1 12s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(2) {
  background-color: var(--clr-3);
  right: 0;
  top: 0;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-2 12s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(3) {
  background-color: var(--clr-2);
  left: 0;
  bottom: 0;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-3 8s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(4) {
  background-color: var(--clr-4);
  right: 0;
  bottom: -50%;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-4 24s ease-in-out infinite alternate;
}

@keyframes aurora-1 {
  0% {
    top: 0;
    right: 0;
  }

  50% {
    top: 100%;
    right: 75%;
  }

  75% {
    top: 100%;
    right: 25%;
  }

  100% {
    top: 0;
    right: 0;
  }
}

@keyframes aurora-2 {
  0% {
    top: -50%;
    left: 0%;
  }

  60% {
    top: 100%;
    left: 75%;
  }

  85% {
    top: 100%;
    left: 25%;
  }

  100% {
    top: -50%;
    left: 0%;
  }
}

@keyframes aurora-3 {
  0% {
    bottom: 0;
    left: 0;
  }

  40% {
    bottom: 100%;
    left: 75%;
  }

  65% {
    bottom: 40%;
    left: 50%;
  }

  100% {
    bottom: 0;
    left: 0;
  }
}

@keyframes aurora-4 {
  0% {
    bottom: -50%;
    right: 0;
  }

  50% {
    bottom: 0%;
    right: 40%;
  }

  90% {
    bottom: 50%;
    right: 25%;
  }

  100% {
    bottom: -50%;
    right: 0;
  }
}

@keyframes aurora-border {
  0% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }

  25% {
    border-radius: 47% 29% 39% 49% / 61% 19% 66% 26%;
  }

  50% {
    border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%;
  }

  75% {
    border-radius: 28% 49% 29% 100% / 93% 20% 64% 25%;
  }

  100% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }
}

.card {
  position: relative;
  width: 180px;
  height: 254px;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px; /* add some vertical space between cards */
  margin: 20px; /* add some space around the card */

}

.card::before {
  content: '';
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: -5px;
  right: -5px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card::after {
  content: "";
  z-index: -1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100%);
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(20px);
}

.card-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 8px; /* match this to the border-radius of .card */
    overflow: hidden; /* this ensures the image also gets rounded corners */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* this makes the image cover the entire card-image div */
}

.heading {
    position: absolute;
    z-index: 1;
    width: 100%;
    text-align: center;
    bottom: 15px;
    left: 0;
}

.card p:not(.heading) {
  font-size: 14px;
}

.card p:last-child {
  color: #ffffff;
  font-weight: 600;
}

.card:hover::after {
  filter: blur(30px);
}

.card:hover::before {
  transform: rotate(-90deg) scaleX(1.44) scaleY(0.77);
}

.cardcontainer {
    width: 100%;
    max-width: 1000px; /* or whatever maximum width you prefer */
    margin: 0 auto;
}


.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.row-title {
  text-align: center;
  margin-bottom: 20px;
}

/* Large devices */
@media (min-width: 1200px) {
  .card-row {
    justify-content: space-around;
  }

}

/* Medium devices */
@media (min-width: 768px) and (max-width: 1199px) {
  .card-row {
    justify-content: space-around;
  }

}

/* Small devices */
@media (max-width: 767px) {
  .card-row {
    justify-content: center;
  }

}

/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 75vh;
  width: 75vw;
  background-color: white;
  border-radius: 15px;
  margin: auto;
  position: relative;
  color: #000;
}

.modal-content h2, .modal-content ul li {
  color: #000; /* Change the color of the text inside the h2 and li elements to black */
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  color: #000;
}

.modal-image {
  grid-column: 1;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-specs {
  grid-column: 2 / span 2;
  padding: 20px;

  grid-column: 2 / span 2;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
  animation-name: zoom;
  animation-duration: 0.6s;
}

.modal-image img {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}




.modal-text {
  margin-top: 30px;
  margin-left: 30px;
  padding-left: 20px;

  grid-column: 2 / span 2;

  padding-right: 30px;

  overflow-y: auto;
}

.modal-text h2 {
  font-weight: bold;
}

.modal-text h3 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.modal-text hr {
  width: calc(100% - 0px);
  border: none;
  border-top: 2px solid #000;
}

.modal-text table {
  width: 100%;
}

.modal-text td {
  padding-top: 10px;
  padding-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid #000;
}
@media screen and (max-width: 600px) {
  .modal-content {
    grid-template-columns: 1fr;
  }
  .modal-image,
  .modal-text {
    grid-column: 1;
  }
}

@media screen and (max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr;
  }
  .modal-image,
  .modal-text {
    grid-column: 1;
  }
}

.download-button {
  position: absolute;
  top: 50px;
  right: 50px;
  padding: 10px 20px;
  color: #fff;
  background-color: #797878;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}

.download-button:hover {
  background-color: #666;
}


.video-container {
    display: flex;
    justify-content: center;
    margin: 30px auto;
}
/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #999999 #ffffff;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 16px;
  }

  *::-webkit-scrollbar-track {
    background: #ffffff;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #999999;
    border-radius: 10px;
    border: 3px solid #ffffff;
  }