* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-style: normal;
  display: flex;
  flex-direction: column;
  height: 100svh;
  overflow: hidden;
}

html {
  background-color: #252c3b; /* Set a background color to ensure full coverage */
}

body.sidebar {
  overflow: hidden;
}

.hero {
  width: 100%;
  height: 100svh;
  background-image: linear-gradient(rgba(12, 2, 51, 0.3), rgba(12, 3, 51, 0.3));
  position: relative;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

nav {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  width: 90px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 20px; /* Reduced margin for better spacing on smaller screens */
}

nav ul li a {
  text-decoration: none;
  color: #e0e0e0; /* Light text color */
  display: inline-block;
  font-size: 20px;
  position: relative;
  padding: 5px 0;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #e0e0e0; /* Light underline */
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

.content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.content h1 {
  font-size: 9vw; /* Use vw for responsive font size */
  color: #e0e0e0; /* Light text color */
  transition: 0.5s;
}

.content h1:hover {
  -webkit-text-stroke: 2px #e0e0e0; /* Light text outline */
  color: transparent;
}

.content a {
  text-decoration: none;
  display: inline-block;
  color: #e0e0e0; /* Light text color */
  font-size: 1.9vw; /* Responsive font size */
  border: 2px solid #e0e0e0; /* Light border */
  padding: 10px 50px;
  border-radius: 50px;
  margin-top: 20px;
}

.back-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100svh;
  width: 250px;
  z-index: 999;
  background-color: #000000f2;
  backdrop-filter: blur(20px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 40px; /* Added padding for better layout */
  overflow: hidden;
  transition: width 0.3s;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
  color: #fff;
  padding: 10px 20px; /* Added padding for better touch targets */
}

.menu-button {
  display: none;
}

footer {
  text-align: center;
  color: #ffffff;
  padding: 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 1; /* Footer in Front of the background video */
}

@media (max-width: 800px) {
  .content h1 {
    font-size: 12vw; /* Adjusted size for smaller screens */
  }

  .content a {
    font-size: 2.5vw; /* Responsive font size */
    padding: 10px 50px;
  }

  .hideOnMobile {
    display: none;
  }

  .menu-button {
    display: block;
  }

  nav ul li a:hover::after {
    width: 0;
  }
}

@media (min-width: 600px) and (max-width: 932px) {
  .hideOnMobile {
    display: none;
  }

  .menu-button {
    display: block;
  }

  nav ul li a:hover:after {
    width: 0;
  }
}

@media (max-width: 430px) {
  .content h1 {
    font-size: 15vw; /* Further adjustment for very small screens */
  }

  .content a {
    font-size: 2.9vw;
    padding: 10px 50px;
  }

  .sidebar {
    width: 100%;
  }
}
