/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none !important;
}

/* Hide scrollbar for IE, Edge, and Firefox */
* {
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
}

.active{
  background-color: white;
  color: black !important;
}

body {
  font-family: Arial, sans-serif;
  background: rgb(255, 255, 255);
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(0, 134, 255, 1) 100%);
  max-height: 100vh;
  max-width: 100vw;
  display: flex;
  text-align: center !important;
  justify-content: center;
  align-items: center;
  user-select: none;
  color: white;
  overflow: hidden;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30vw;
  height: 40px; /* Adjust based on your design needs */
  background-color: #000;
  border-radius: 10px;
  border: 2px solid transparent;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Glowing effect */
}

.navbar:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 1); /* Enhanced glowing on hover */
  border: 2px solid #fff;
}

.nav-links {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 0 0;
}

.nav-links li {
  text-align: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 2px 6px;
  border: 2px solid #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
  width: 5vw;
}

@media (orientation: landscape) {
  #logo {
    max-height: 2.3vw;
  }
}

/* Hover Effects */
.nav-links a:hover {
  background-color: #fff;
  color: #000;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.5);
  animation: ease-in;
}

#about {
  height: 90vh;
  background-color: black !important;
  width: 95vw;
  border-radius: 20px;
  padding: 20px 20px;
  display: flex;
  justify-content: top;
  align-items: center;
  flex-direction: column;
  overflow-y: auto;
}

@media (orientation:landscape){
  .hero {
    position: relative;
    min-height: 100%;
    max-width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    scroll-snap-align: start;
    padding-top: 20px;
  }
}

.hero {
  position: relative;
  min-height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  scroll-snap-align: start;
  padding-top: 20px;
  text-align: center;
}

#about {
  scroll-snap-type: y mandatory;
  overflow-y: scroll; /* Enable scrolling when needed */
  height: 100vh; /* Full viewport height */
}

/* Child sections */
.hero {
  scroll-snap-align: start; /* Ensure each section aligns during scroll */
  height: 100vh; /* Full viewport height for jump scrolling */
  overflow-y: auto; /* Allow scrolling if content exceeds the height */
}

/* Home styling */
@media (orientation: portrait) {
  #about h1 {
    font-size: 5vw;
  }

  #dlogo {
    pointer-events: none;
    height: 40vh;
  }
}

@media (orientation: landscape) {
  #about h1 {
    font-size: 2vw;
  }

  #dlogo {
    pointer-events: none;
    height: 50vh;
  }
}


/* text sizing */

#about h1, #about h2 {
  color: #fff;
  font-size: 3vw;
  margin-bottom: 10px;
}

#about p {
  font-size: 2vw;
  text-align: center;
  margin-bottom: 20px;
}

#about ul {
  list-style-type: none;
  padding-left: 20px;
}

#about ul li {
  margin-bottom: 10px;
  font-size: 1.2vw;
}

#about section {
  margin: 20px 0;
}

@media (orientation:portrait){
  #about h1, #about h2 {
    color: #fff;
    font-size: 8vw;
    margin-bottom: 10px;
  }

  #about p {
    font-size: 3vw;
    text-align: justify;
    margin-bottom: 20px;
  }
  
  #about ul {
    list-style-type: none;
    padding-left: 20px;
  }
  
  #about ul li {
    margin-bottom: 10px;
    font-size: 4vw;
  }
}

/* text styling end */

@media (orientation: portrait) {
  .navbar {
    position: fixed;
    top: 0;
    margin-top: 3.5vh;
    width: max-content;
    border-radius: 2vw;
  }

  .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
  }

  .nav-links a {
    margin: 0vw 1vw;
  }

  #about {
    height: 85vh;
    background-color: black !important;
    width: 95vw;
    border-radius: 10px;
    margin-top: 7vh;
    overflow: scroll;
  }
}

@media (orientation: landscape) {
  .navbar {
    position: fixed;
    top: 0;
    margin-top: 3.5vh;
    width: max-content;
  }

  .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 5px 5px;
  }

  .nav-links a {
    margin: 0vw 0.3vw;
  }

  #about {
    height: 92vh;
    background-color: black !important;
    width: 95vw;
    border-radius: 20px;
    margin-top: 7vh;
    overflow: scroll;
  }
}


.play {
  position: absolute;
  bottom: 10px; /* Position near the bottom */
  left: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

/* Arrow symbol */
.play::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white; /* Arrow color */
  transform: rotate(-90deg);
}

/* Bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}