/* Navigation bar styles */
nav {
    width: 100%;
    background-color: #333;
    padding: 1em 0;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    box-sizing: border-box;
    transition: background-color 0.5s ease; /* Smooth background color transition */
  }
  
  nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav ul li {
    margin: 0 20px;
  }
  nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth link color and transform */
  }
  nav ul li a:hover {
    color: #ff6347; /* Change link color on hover */
    transform: translateY(-5px); /* Slide link up on hover */
  }
  .logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    transition: transform 0.5s ease; /* Smooth logo transform */
  }
  .logo:hover {
    transform: rotate(-10deg) scale(1.1); /* Rotate and scale the logo on hover */
  }
  .content {
    margin-top: 100px; /* Adjust margin to avoid overlap with fixed navbar */
  }
 