body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f7f9fc 0%, #e3eefe 100%);
  color: #222;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  transition: background 0.4s;
  font-size: 18px;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#menu {
  flex: 1;
  display: none;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  align-items: flex-end;
}
#menu.active {
  display: flex;
}

.hamburger {
  margin-left: 1.5rem;
}
.logo {
  font-weight: bold;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  margin-right: 2rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}
.logo:hover {
  color: #ffd700;
}
::-webkit-scrollbar {
  width: 10px;
  background: #e3eefe;
}
::-webkit-scrollbar-thumb {
  background: #b3c6e7;
  border-radius: 5px;
}

a {
  color: #a4751e;
  transition: color 0.2s;
}
a:hover {
  color: #004080;
  text-decoration:wavy;
}
header {
  background-color: #004080;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}
header h1 {
  margin: 0;
  font-size: 1.5rem;
}
nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-end;
  gap: 1.5rem;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #004080;
}
nav li a {
  text-decoration: none;
  color: white;
  border-radius: 4px;
  transition: background-color 0.3s;
  display: inline-block;
}
nav li a:hover,
nav li a.active {
  background-color: #007acc;
}
main {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 6px;
}
h2 {
  color: #004080;
}
footer {
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  color: #666;
  font-size: 0.9rem;
}
#menu {
    display: none;
    flex-direction: column;
    gap: 10px;
  }
  #menu.active {
    display: flex;
    animation: menuFadeIn 0.4s ease;
    box-shadow: 0 8px 24px rgba(0,64,128,0.08);
    border-radius: 8px;
    padding: 1rem;
  }

  @keyframes menuFadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }


  @media (min-width: 700px) {
    
    header{
        position: fixed;
    }
    main {
        padding-top: 150px;
    }
    section.round {
        width: 80%;
    }

    footer {
        width: 80%;
        margin: 0 auto;
    }
   
    #menu {
        display: flex !important;
        flex-direction: row;
        gap: 20px;
    }

    .hamburger {
        display: none;
    }
    nav ul li a:hover {
        transform: scale(1.2);
    }
    nav ul li a {
        display: inline-block;
        padding: 10px 15px;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
}

@media (min-width: 1025px) {
 
    header{
        position: fixed;
    }
    
    section.round {
        width: 60%;
    }

    nav ul li a {
        display: inline-block;
        padding: 10px 15px;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
    nav ul li a:hover {
        transform: scale(1.2);
    }

    footer {
        width: 60%;
        margin: 0 auto;
    }
}