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

body, html {
    background: black;
    color: white;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

nav {
    max-width: 1200px;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 90%;
    padding: 30px 40px;
      
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    z-index: 2;
    position: fixed;
 transition: all 0.4s ease;
}
.logo{
    font-weight: 600;
    size: 1.6rem;
}
nav.scrolled{
    top: 20px;
    border-radius: 50px;
    padding: 18px 30px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
   color: rgba(0, 255, 255, 0.8);
    font-size: 20px;
    position: relative;
    transition: .3s ease-in-out;
}

.nav-links a::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 2px;
    width: 0;
    background: rgba(1, 128, 255);
    transition: width .3s ease-in-out;
}

.nav-links a:hover::before {
    width: 100%;
}

.menu {
    display: none;
    cursor: pointer;
    z-index: 99;
    
}
menu.active img{
    transform: translate(90deg);
}

@media (max-width: 790px) {
     .menu { display: block; }
    .nav-links {
        position: fixed;    
        top: -120%;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        width: 80%;
        background: rgba(255,255,255,0.2);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 25px;
        flex-direction: column;
        align-items: start;
        gap: 30px;
        padding: 70px 15px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.6);
        transition: top 0.5s ease, transform 0.4s ease, opacity 0.4s ease;
        z-index: 10009;
        opacity: 0;
      }

       .nav-links.active {
        top: 100px;
        transform: translateX(-50%) scale(1);
        opacity: 1;
      }
      .nav-links.closing {
        top: -120%;
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
        animation: fadeOut 0.5s ease;
      }

      
      @keyframes fadeIn {
        from { opacity: 0; transform: translateX(-50%) scale(0.9); }
        to { opacity: 1; transform: translateX(-50%) scale(1); }
      }

      @keyframes fadeOut {
        from { opacity: 1; transform: translateX(-50%) scale(1); }
        to { opacity: 0; transform: translateX(-50%) scale(0.9); }
      }

    .nav-link {
    
        gap: 20px;
        opacity: 0;
        animation: linkFade 0.5s forwards;
      }

      @keyframes linkFade {
        to { opacity: 1; }
      }
}
.landing-container{
  padding: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 150px;
  gap: 3rem;
}
.image-container{
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 20px;
  overflow: hidden;
    background-position: center;
    position: sticky;
    z-index: 1;
}

.image-container img{
  display: block;
  object-fit: cover;
  z-index: 100;
  transition: all .8s ease-in-out;
  
}
.image-container img:hover{
transform: scale(1.1);
}

.content{
  max-width: 600px;
  border: 1px solid rgba(0, 255, 255, 0.1);
  padding: 20px;
  background: rgba(1, 255, 255, 0.2);
    backdrop-filter: blur(10px) saturate(180%);
  border-radius: 20px;
  font-size: 1.3rem;
  position: relative;
  pointer-events: none;
}

.content p{
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
letter-spacing: 1px;
  color: rgba(0, 255, 255, 0.8);
  /* text-shadow: 0 0 10px rgba(0, 255, 255, 0.5); */
}

@media (max-width:900px) {
  .landing-container{ 
    flex-direction: column;
    gap: 1rem;
  }
  
.image-container img{
  width: 350px;
}

.content{
  font-size: 1rem;
  padding: 10px;
}
}

.heading-txt{
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Fira Code', monospace;
  font-weight: 600;
  color: rgba(0, 255, 255, 0.8);
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  position: relative;
  padding: 10px;
  
  cursor: pointer;
}
.heading-txt::before {
  content: "";
  position: absolute;
  height: 2px;
  background: rgba(0, 255, 255, 0.5);
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
   transition: width 0.3s ease-in-out;
}
.heading-txt:hover::before {
  width: 100%;

}
