* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a,
p,
li {
  font-family: sans-serif;
  text-decoration: none;
  /* color: black; */
}

/* p {
  margin: 1%;
} */

.meny {
  opacity: 0;
  right: -50%;
  margin-top: -35px;
  display: block;
  border-radius: 10px;
  width: auto;
  position: absolute;
  background-color: rgba(23, 22, 22, 0.8);
  transition: all 0.4s ease;
  height: 150vh;
  min-width: 250px;
  z-index: -5;
  box-shadow: 5px 5px 15px rgb(23, 22, 22);
}

.meny a {
  font-size: 200%;
  color: rgb(216, 213, 213);
  text-align: left;
  justify-content: left;
  position: relative;
  display: block;
  z-index: 1000;
}

.meny1::before {
  transition: .4s;
  height: 5px;
  content: "";
  position: absolute;
  background-color: rgb(216, 213, 213);
}

.meny1::before {
  width: 0%;
  bottom: 10px;
}

.meny1:hover::before {
  width: 100%;
}

.meny1 {
  transition: 0.4s;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  padding: 20px 0px;
  margin: 0px 20px;
  display: inline-block;
  position: relative;
  top: 15%;
  font-size: 200%;
}

.meny1:hover {
  font-size: 210%;
  color: white;
  opacity: 1;
}

.more-links {
  scale: 0 0;
}

#moreMeny {
  display: none;
}

#toggle:checked+.meny {
  opacity: 1;
  margin-left: 0;


}

.container {
  display: flex;
  position: absolute;
  z-index: 10;
  height: 100%;
  padding-top: 1%;
  padding-bottom: 1%;
}



#bar {
  width: 100%;
  height: 3px;
  background-color: white;
}


header {
  position: sticky;
  width: 100%;
  height: 100px;
  z-index: 100;

}

#header1 {
  position: fixed;
  top: 0;
  width: 100%;
  display: block;
  transition: 1000ms;
  z-index: 100;
}

.link1,
#mer {
  display: block;
  padding-left: 15px;
  padding-right: 15px;
  margin-right: 15px;
  padding-bottom: 3px;
  padding-top: 3px;
  font-size: 150%;
  text-transform: uppercase;
  z-index: 0;
  position: relative;
  transition: .4s;
  height: 100%;
  color: white;
  cursor: pointer;

}

.nav-links {
  position: relative;
  display: flex;
  justify-content: right;
  list-style: none;
  top: 22px;
  margin-right: 30px;
  z-index: 0;


}

.link1:hover,
#mer:hover {
  opacity: 1;
}

.link1::before,
#mer::before {
  height: 2px;
  content: "";
  left: -3px;
  top: 30px;
  position: absolute;
  background-color: white;
  width: 0%;
  bottom: 10px;
  transition: .4s;

}

.link1:hover::before {
  width: 100%;
}

.link2::before {

  transition: .4s;
  width: 3px;
  content: "";
  position: absolute;
  background-color: white;
  height: 100%;
  transform: scaley(1);
  transform-origin: bottom;

}

.link2:hover::before {
  transform: scaley(0);
}

.link2 {
  display: inline-block;
  position: absolute;
  height: 30px;
  padding-right: 100%;
  right: 3px;
  top: 0px;
}

.link2:hover {
  opacity: 1;
}

.more-links {

  position: relative;
  display: flex;
  justify-content: right;
  list-style: none;
  top: 22px;
  margin-right: 30px;
  z-index: 0;
  color: white;

}

#toggle {
  display: none;
}


.bg {
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 36px -28px inset;
}

@media only screen and (max-width: 1280px){
  .bg{
    height: 75vh;
  }

}


footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  background: rgb(34, 34, 34);
  width: 100%;
  bottom: 0;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  padding: 1%;
  width: auto;
}

footer p,
footer a {
  text-align: left;
  color: white;
  padding-top: 3%;
  padding-bottom: 3%;
  font-family: monospace;
  font-size: 130%;
  width: auto;
  text-transform: uppercase
}


#visual {
  position: absolute;
  overflow: hidden;
  margin: 0;
  right: 400px;
  scale: 2;
}

#parallax {
  position: relative;
  background-color: white;
  z-index: 10;
  height: auto;
  transition: all 1000ms ease;
  min-height: 50vh;
}

.mySlides {display: none}
img {vertical-align: middle;}
/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;

}
.slideshow-container img{
  border-radius: 10px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/6 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: slide;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

  .prev,
  .next,
  .text {
    font-size: 11px
  }
}

@media only screen and (min-width: 1280px) {
  .meny{
    display: none;
  }

}


@media only screen and (max-width: 980px) {

  .link2 {
    height: 50px;
  }

  .link1::before,
  #mer::before {
    height: 2px;
    content: "";
    left: -3px;
    top: 50px;
    position: absolute;
    background-color: white;
    width: 0%;
    bottom: 10px;
    transition: .4s;
  }

  #Home {
    display: none;
  }

  .nav-links {
    display: none;
  }


  .more-links {
    scale: 1 1;
    top: 35%;
    right: 0px;
    font-size: 150%;
  }

  #moreMeny {
    display: none;
  }

  #moreMeny:checked+.nav-links ul li {
    transition: 0.4s;
    transform: scalex(1);

  }


}