html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: white;
  color: #333;
}

header {
  background: #2e7d32;
  color: white;
  text-align: center;
  padding: 2rem;
}

section {
  background: whitesmoke;
  margin: 1rem auto;
  padding: 1.5rem;
  max-width: 600px;
  border-radius: 8px;
  scroll-margin-top: 30px;
}

h1,
h2 {
  margin-top: 0;
}

ul {
  padding-left: 20px;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.profile-img {
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 8px;
}

#contact a {
  color: #2e7d32;
}

nav {
  background: #2e7d32;
  padding: 0.5rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-top: 2px solid #256628;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  -webkit-tap-highlight-color: transparent;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

nav a:focus {
  outline: none;
}

nav a:active,
nav a:focus {
  text-decoration: none;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);

  display: flex;
  justify-content: center;
  align-items: center;

  display: none; /* hide by default */
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.1s linear;
  pointer-events: none;
}

#overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

#sharePopup {
  background: white;
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 300px;
  text-align: center;
}

#sharePopup a {
  color: #2e7d32;
  word-break: break-all;
}

#sharePopup button {
  background: #2e7d32;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#sharePopup button:hover {
  background: #256628;
}

body.no-scroll {
  overflow: hidden;
}