html {
  scroll-behavior: smooth;
  -webkit-user-select: none;
  -ms-user-select: none; 
  user-select: none; 
}

body {
  background: url(night2.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
}

@font-face {
  font-family: bebas;
  src: url(BebasNeue-Regular.ttf);
}

@font-face {
  font-family: main;
  src: url(Dune_Rise.ttf);
}

@font-face {
  font-family: kokila;
  src: url(Kokila\ Regular.ttf);
}

.topnav {
  width: 90%;
  /* border-radius: 25px; */
  margin: 20px auto;
  overflow: hidden;
  /* background-color: #ffffff48; */
  display: flex;
  justify-content: space-between;
}

.navelem {
  margin-right: 20px;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 19px;
  font-family: bebas;
  letter-spacing: 1px;
}

.topnav a.active {
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 800px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 500px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .logocontainer {
    display: none;
  }

  .logocontainer h1 {
    display: none;
  }

  .header h1 {
    font-size: 10px;
  }
}

.navshadow {
  position: absolute;
  z-index: -1;
  top: 0;
  height: 200px;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.774),
    rgba(0, 0, 0, 0)
  );
}

.logocontainer {
  margin-left: 20px;
  max-height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logocontainer img {
  height: 30px;
}

.logocontainer h1 {
  transform: translateY(2px);
  margin: 0;
  padding: 0;
  color: white;
  font-size: 22px;
  font-family: main;
}

.header {
  margin: 0 auto;
  width: 88%;
}

.header h1 {
  color: white;
  font-family: bebas;
  font-size: clamp(80px, 88vh, 11vh);
  margin: 0.5em 0 0px 0;
  line-height: 2.3ch;
}

.header h2 {
  margin-top: -5px;
  color: white;
  font-weight: 1;
  color: white;
  font-size: 28px;
  font-family: "Space Grotesk";
  font-weight: 0;
  letter-spacing: 1px;
  margin-bottom: 0px;
}

.header h2 b {
  font-family: main;
  color: black;
  padding: 10px;
  font-size: 16px;
  font-weight: 700;
  background-color: white;
}

.cards {
  display: grid;
  grid-auto-flow: column;
  width: 88%;
  margin: 30px auto 50px auto;
  height: 400px;
  gap: 20px;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 20px 0;
  scrollbar-width: thin; 
  scrollbar-color: #6d97b3 #1d3242;
}

.cards a {
  text-decoration: none;
}

.card {
  width: 320px;
  border-radius: 25px;
  backdrop-filter: blur(5px);
  border: 1px solid white;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.11);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 0 0px 0 rgba(255, 255, 255, 0.575);
  transition: 0.2s;
}

.card img {
  max-height: 200px;
  max-width: 250px;
}

.card h1 {
  color: white;
  font-family: bebas;
  font-size: 28px;
  letter-spacing: 6px;
  margin-top: 0;
  width: 80%;
  text-align: center;
}

.card p {
  width: 80%;
  color: white;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.card::after {
  position: absolute;
  content: "";
  height: 15px;
  aspect-ratio: 1;
  background-image: url(arrowru.png);
  background-size: contain;
  top: 30px;
  right: 30px;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.575);
}

#about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: white;
  padding: 20px 0 50px 0;
  margin-bottom: 50px;
  margin-bottom: 50px;
}

#about h1 {
  font-family: "Space Grotesk";
  letter-spacing: 2;
  font-size: 35px;
  text-align: center;
  padding: 0;
}

#about p {
  width: 80%;
  margin: 0 auto;
  font-size: clamp(14px, 2.5vh, 2.5vh);
  font-family: Space Grotesk;
}


#about .explorebtn {

  width: clamp(250px,50%, 400px);
  margin: 35px auto 0 auto;
  padding: 10px 20px;
  border: 1px solid black;
  background-color: white;
  font-size: 23px;
  color: black;
  font-family: Space Grotesk;
  transition: 0.2s;
}


#about .explorebtn:hover{

  width: clamp(250px,50%, 400px);
  margin: 35px auto 0 auto;
  padding: 10px 20px;
  border: 1px solid white;
  background-color: black;
  font-size: 23px;
  color: white;
  font-family: Space Grotesk;

}


#demo {
  width: 60vw;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-bottom: 30px;
}

#demo h1 {
  color: white;
  font-family: bebas;
  letter-spacing: 1px;
  font-size: 50px;
  margin: 0;
}

#demo iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

footer {
  background-color: white;
  height: 80px;
  width: 100%;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Space Grotesk;
  font-size: 25px;
}
