html, body {
  overflow: hidden;  /* Disable horizontal scroll */
}

/* ^ ^ ^ BASIC FUNCTION APPLY FOR FIX PAGE ^ ^ ^ */

body {
  font-family: 'dazzle-unicase', sans-serif;
  background-color: #000000; /* Dark background */
  color: #f0f0f0; /* Light text */
  text-align: left;
}

/* CSS for slide-in effect */
.slide-in {
  transform: translateX(-100%); /* Start off-screen (to the left) */
  opacity: 0; /* Initial opacity set to 0 */
  animation: slideInAnimation 1s forwards;
}

@keyframes slideInAnimation {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

h1 {
  font-family: 'dazzle-unicase', sans-serif;
  font-weight: 200;
  font-size: 33px;
  color: #f0f0f0; /* Light text */
  text-align: left;
}


header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: left;
}

.logo{
  z-index: 1;
}
.svg-logo {
  width: 80pt; /* Adjust this value to match your desired size */
  height: auto;
  display: block;
}

/* Menu Icon */
.menu-icon {
  display: inline-block;
  position: relative;
  width: 50px; /* Adjust width as needed */
  height: 50px; /* Adjust height as needed */
  cursor: pointer;
}

/* Default SVG icon (always visible) */
.menu-icon .default-icon {
  width: 150%;
  height: 150%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1; /* Bottom layer */
}

/* Hover SVG icon (hidden by default) */
.menu-icon .hover-icon {
  width: 150%;
  height: 150%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2; /* Top layer */
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease; /* Smooth transition */
}

/* Show hover icon when hovering over the menu icon */
.menu-icon:hover .hover-icon {
  opacity: 1;
}

.menu-icon:hover .default-icon {
  opacity: 0; /* Optionally hide the default icon on hover */
}
/* Navigation Menu */
nav {
  display: inline-block;
  position: absolute;
  right: 200px;
  height: 50px;
  width: 0;
  white-space: nowrap; /* Keeps the links in a single row */
  overflow: hidden;
  transform: translateX(100%); /* Initially off-screen to the right */
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}

nav.show {
  width: auto;
  transform: translateX(0); /* Bring the nav into view from right to left */
  opacity: 1;
  visibility: visible;
}

nav.hide-right {
  /* Animate the disappearance from left to right */
  transform: translateX(100%); /* Moves the nav out of view to the right */
  opacity: 0;
  visibility: hidden;
}

nav a {
  font-family: 'dazzle-unicase', sans-serif;
  font-size: large;
  display: inline-block;
  padding: 29px 15px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover {
  color: #000DFF; /* Adds a simple hover effect */
}

nav {
  background-color: transparent;
  box-shadow: none;
  border: none;
}


header {
  justify-content: space-between;
  padding: 2% 4%;
}


/* Fade-in effect */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}


.background-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.background-section::before {
  content: '';
  position: absolute; /* Overlay for the background image */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./img/op2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 1; /* Adjust this value for desired opacity (0.0 to 1.0) */
  z-index: -10; /* Behind the content */
}

/* Centered content */
.center-content {
  padding: 20px;
  border-radius: 8px;
}

.download-button {
  font-family: 'dazzle-unicase', sans-serif;
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 19px;
  font-weight: 200; 
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

.download-button:hover {
  color:  #000DFF;
}


@media (max-width: 1100px) {

  ::-webkit-scrollbar {
    width: 2px;  /* Set the width of the scrollbar */
  }
  
  .svg-logo {
    width: 65pt; /* Adjust this value to match your desired size */
    height: 65px;
    display: block;
  }
  
  /* Overlay background */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 21, 21, 0.179); /* Dark semi-transparent background */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease;
    z-index: 9; /* Position behind the nav */
  }


  /* Show overlay when menu is open */
  .overlay.show {
    opacity: 1;
    visibility: visible;
  }

  /* Navigation Menu */
  nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 80%;
    background-color: #ffffff05; /* Adjust as needed */
    backdrop-filter: blur(3px); /* Adds blur effect to the background */
    transform: translateX(100%);
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: 'center';
    padding-top: 150px;
    z-index: 10; /* Position above the overlay */
    border-top-left-radius: 10px; /* Rounded top-left corner */
    border-bottom-left-radius: 10px; /* Rounded bottom-left corner */
  }

  /* Show menu when activated */
  nav.show {
    transform: translateX(0);
  }

  nav a {
    font-weight: 400;
    font-size: 15px;
    padding: 10px;
    padding-left: 20px;
    margin: 10px 0;
    color: #ffffff;
    text-align: left;
    text-decoration: none;
    transition: color 0.3s;
  }

  nav a:hover {
    color: #000DFF; /* Simple hover effect */
  }

  /* Menu Icon */
  .menu-icon {
    position: fixed;
    right: 30px;
    top: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 11; /* Ensure it's above the overlay */
  }

  h1 {
    font-family: 'dazzle-unicase', sans-serif;
    font-weight: 200;
    font-size: 28px;
    color: #f0f0f0; /* Light text */
    text-align: left;
  }

  .download-button {
    font-family: 'dazzle-unicase', sans-serif;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 200; 
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease; /* Smooth transition */
  }
  

  
}
