body {
    background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.9)),
        url("naturemountain.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.meny {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 9999;
}

.meny ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.meny li {
    display: inline-block;
    margin: 0 20px;
}

.meny a {
    text-decoration: none;
    font-family: "Trirong";
    font-size: 1.1rem;
    color: #2f4f4f;
    font-weight: 600;
    transition: color 0.3s ease;
}

.meny a:hover {
    color: darkolivegreen;
}

h1 {
    color: black;
    margin-top: 40px;
    text-align: center;
    text-shadow: 2px 2px grey;
    font-family: "Trirong", serif;
    font-size: 50px;
}

.introbox {
    max-width: 600px;
    margin: 20px auto;
    padding: 40px 50px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.18);
    font-family: "Merriweather";
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;
}

.profilbilde {
    position: center;
    width: 80px;
    height: 100px;
    object-fit: cover;
    margin: 20px auto;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f4f4f4;
}

h1 {
  text-align: center;
}

.galleri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.galleri img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-top: 40px;
}

.galleri img:hover {
  transform: scale(1.05);
}

.button {
    display: inline-block;
    padding: 12px 28px;
    background-color: darkolivegreen;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.button:hover {
    background-color: #3b5f3b; /* litt mørkere grønn */
    transform: translateY(-2px); /* løfter knappen litt */
}

.button:active {
    transform: translateY(0); /* trykk-effekt */
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.left {
  left: 30px;
}

.right {
  right: 30px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.contact-form {
  max-width: 500px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 10px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 20px;
  padding: 12px;
  background: darkolivegreen;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: #3b5f3b;
}
