/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-bg {
    0% {
        background-position: 100% 0; /* Start from the right */
    }
    100% {
        background-position: 0 0; /* Move to the left */
    }
}

/* Top Nav Section */
.top-nav {
    position: relative;
    height: 12vh;
    width: 100%;
    margin: 0;
	padding: 1rem 2rem;
    display: flex;
    align-items: center;
    color: white;
    justify-content: space-evenly;
    background-color: rgba(162, 185, 162, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 10;
    transition: max-height 0.3s ease; 
    
}

/* Hamburger button styling */
	.hamburger {
      display: none;
	  font-size: 2rem;
	  background: none;
	  border: none;
	  color: white;
	  cursor: pointer;
	}
	
	/* Links container */
	.nav-links {
	  display: flex;
      position: relative;
      z-index: 10;
      gap: 4rem;
    }
	

/* Logo Image */
#logo {
    height: auto;
    max-height: 100px;
    max-width: 120px; 
    animation: fadeInUp 1.5s ease-out forwards;
    display: block;
}

/* Anchor for Logo */
#picture-link {
    display: inline-block;
    text-decoration: none;
    width: auto;
}

/* Link Container for Nav Links */
.link-container {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.25rem;
    font-weight: bold;
	flex-wrap: wrap; 
	gap: 1rem;
    color: black;
    text-decoration: none;
    cursor: pointer;
    animation: fadeInUp 1.5s ease-out forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto;
}

.flower-wrap {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.5);
    transform-origin: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 10;
}


.flower-show {
    opacity: 1;
    transform: scale(1);
}


#flower {
    width: 60px;
}



 /* Media Code */



  @media (max-width: 600px) {
    .top-nav{
        height: 20vh;
    }	
}



  @media (max-width: 768px) {

    .hamburger {
        display: block;
      }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: rgba(162, 185, 162, 0.95);
        width: 100%;
        padding: 1rem;
        z-index: 9;
      }
    
      .nav-links.show {
        display: flex;
      }
    
      .nav-links h2 {
        margin: 0.5rem 0;
      }
    
      .top-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 1rem;
      }
    
      #logo {
        max-width: 100px;
      }
  }


  @media (max-width: 1024px) {
    .top-nav {
        flex-direction: column;
        gap: 1rem;
        height: 30vh;
    }

    .link-container {
        flex-direction: column;
        font-size: 1rem;
    }

    #logo {
        max-width: 180px;
      }
}
  
  /* Extra large screens */
  @media (min-width: 1440px) {
    #logo {
      max-width: 200px;
    }
  }