/* Default styles */
* {
  
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
 background-image: url(/Bilder/wp2757874.gif);
background-size: cover;
}



header {
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  transition: 0.5s ease;
  
}

/* Responsive styles for screens smaller than 768px */
@media (max-width: 768px) {
  header {
      flex-wrap: wrap;
      justify-content: center;
  }
  header .navigator {
      width: 100%;
      text-align: center;
  }
  header .navigator .nav-i a {
      margin: 0 10px;
  }
  section {
      padding: 50px;
  }
  .hjem .kont {
      width: 90%;
      margin: 0 auto;
  }
  .hjem .kont h1 {
      font-size: 3em;
      line-height: 50px;
  }
  .hjem .kont a {
      font-size: 1em;
  }
}

/* styles for links */
a {
  position: relative;
  display: inline-block;
  padding: 25px 30px;
  margin: 40px 0;
  color: #03e9f4;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 4px;
  overflow: hidden;
  margin-right: 50px;
}

/* hover effects */
a:hover {
  background: #03e9f4;
  color: #050801;
  box-shadow: 0 0 5px #03e9f4,
              0 0 25px #03e9f4,
              0 0 50px #03e9f4,
              0 0 200px #03e9f4;
   -webkit-box-reflect:below 1px linear-gradient(transparent, #0005);
}

/* filter effects */
a:nth-child(1) {
  filter: hue-rotate(270deg);
}
a:nth-child(2) {
  filter: hue-rotate(110deg);
}

/* animations */
@keyframes move {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
  




h1::before {  
  transform: scaleX(0);
  transform-origin: bottom right;
}

h1:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

h1::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0 0 0 0;
  background: rgb(42, 173, 16);
  z-index: -1;
  transition: transform .3s ease;
}

h1 {
  position: relative;
  font-size: 5rem;
  color: white
}

html {
  block-size: 100%;
  inline-size: 100%;
}

body {
  min-block-size: 100%;
  min-inline-size: 100%;
  margin: 0;
  box-sizing: border-box;
  display: grid;
  place-content: center;
  font-family: system-ui, sans-serif;
}

@media (orientation: landscape) {
  body {
    grid-auto-flow: column;
  }
}

.line-container {
  width: 100%; /* container will span the entire width of the screen */
  position: relative;
  top: 10px; /* move the container 20px from the top */
}
.line {
  width: 100%; /* line will span the entire width of the container */
  height: 1px; /* set the height of the line */
  background-color: rgb(255, 255, 255); /* set the color of the line */
}

@media (max-width: 768px) {
  .line-container {
      width: 90%; /* adjust the width of the container for smaller screens */
  }
  .line {
      width: 100%; /* line will span the entire width of the container */
  }
}

.button-container {
  position: fixed;
  bottom: 15px; /* position the container 15px from the bottom */
  left: 0;
  right: 0;
  margin: auto; /* center the container horizontally */
  width: 80%; /* set a width for the container */
  text-align: center; /* center the button within the container */
}

.jump-button {
  position: relative;
  display: inline-block;
  padding: 10px 15px; /* add padding for the button */
  font-size: 1.2em; /* increase font size */
  font-weight: bold; /* make the text bold */
  color: white; /* change text color */
  background-color: #03a9f4; /* change background color */
  border-radius: 20px; /* add border radius */
  animation: jump 0.5s ease-in-out infinite; /* animation to make the button jump */
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1); /* add shadow */
}

/* keyframes for the jump animation */
@keyframes jump {
  0% {
      transform: translateY(0); /* starting position */
  }
  50% {
      transform: translateY(-20px); /* jump up */
  }
  100% {
      transform: translateY(0); /* return to starting position */
  }
}
@media (max-width: 768px) {
  .button-container {
      width: 90%; /* adjust the width of the container for smaller screens */
  }
}

