/* === Bakgrunnsbilde og overlay === */
.first_frame {
  background-image: url('../Bilder/1920x640-front-9.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 97vh;
  position: relative;
  color: white;
  font-family: sans-serif;
  overflow: hidden;
}

.first_frame .hmy-overlay {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);
}

.first_frame .hmy-overlay h1 {
  font-size: 2.5rem;
  margin: 0;
  font-family: Federo, Verdana, Geneva, sans-serif;
}

/* === Responsiv justering av bakgrunn === */
@media (min-width: 768px) {
  .first_frame {
    background-attachment: fixed;
  }
}

@media (max-width: 1024px) {
  .first_frame {
    background-attachment: scroll;
    background-position: center center;
  }
  .first_frame {
    background-attachment: scroll;
    background-position: center;
  }
}
/* === Fast toppmeny === */
#p7HMY_3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: white;
}

/* === Titillium Web-varianter === */
.titillium-web-extralight {
  font-family: "Titillium Web", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.titillium-web-light {
  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.titillium-web-regular {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.titillium-web-semibold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.titillium-web-bold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.titillium-web-black {
  font-family: "Titillium Web", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 200%;
}

.titillium-web-extralight-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.titillium-web-light-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.titillium-web-regular-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.titillium-web-semibold-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.titillium-web-bold-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* === Bilde med skygge === */
.bilde-skygge {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
  max-width: 300px;
}

.bilde-skygge:hover {
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.6);
}

/* === Lenke: sort til grønn === */
a.link-green-hover {
  color: black !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
  display: inline-block;
}

a.link-green-hover:hover {
  color: #18872B !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transform: scale(1.005);
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

/* === Lenke: hvit til grønn med pil === */
a.link-white-green-hover {
  color: white !important;
  text-decoration: none !important;
  border-bottom: 1px dotted white !important;
  transition: 
    color 0.3s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease,
    border-color 0.3s ease;
  display: inline-block;
}

a.link-white-green-hover:hover {
  color: #98CCA1 !important;
  border-bottom: 1px dotted #18872B !important;
  transform: scale(1.01);
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}

a.link-white-green-hover i {
  margin-left: 6px;
  transition: transform 0.3s ease, color 0.3s ease;
}

a.link-white-green-hover:hover i {
  transform: translateX(4px);
  color: #98CCA1;
}
/* === Lenke: sort til grønn med pil === */
a.link-black-green-hover {
  color: black !important;
  text-decoration: none !important;
  border-bottom: 1px dotted black !important;
  transition: 
    color 0.3s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease,
    border-color 0.3s ease;
  display: inline-block;
}

a.link-black-green-hover:hover {
  color: #18872B !important; /* mørk grønn */
  border-bottom: 1px dotted #18872B !important;
  transform: scale(1.01);
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}

a.link-black-green-hover i {
  margin-left: 6px;
  transition: transform 0.3s ease, color 0.3s ease;
}

a.link-black-green-hover:hover i {
  transform: translateX(4px);
  color: #18872B;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #222;
  color: #fff;
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

.cookie-content {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-buttons {
  margin-top: 0.5rem;
}

.cookie-buttons button {
  margin: 0 0.25rem;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

#cookie-accept {
  background-color: #4caf50;
  color: white;
}

#cookie-reject {
  background-color: #f44336;
  color: white;
}

.cookie-banner.hidden {
  display: none;
}
#cookie-manage {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 9999;

  background-color: #666;
  color: white;
  border: none;
  padding: 0.6rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  transition: background-color 0.2s ease;
}

#cookie-manage:hover {
  background-color: #444;
}
/* === Sentrerte knapper === */
#my_centered_buttons {
  display: flex;
  justify-content: center;
}

