.header-carousel {
  width: 100%;
  height: calc(100vh - 72px);
  margin-top: 72px;
  position: relative;
  overflow: hidden;
  background-color: #252525;

}

.header-carousel .carousel-list {
  position: absolute;
  width: max-content;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  transition: 1s;
}

.header-carousel .carousel-list .carousel-slide {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 8%;

}

.header-carousel .carousel-list .carousel-slide .img-container {
  width: 60%;
  aspect-ratio: 16/9;
  max-height: auto;
  overflow: hidden;
  right: 128px;
  -webkit-box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.75);
  outline: 1px solid #252525;
}

.header-carousel .carousel-list .carousel-slide .img-container img {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
}


.ytp-watermark {
  display: none;
}

.header-carousel .carousel-list .carousel-slide .video-background {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.header-carousel .carousel-list .carousel-slide .video-background .video-foreground,
.header-carousel .carousel-list .carousel-slide .video-background .video-foreground iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  pointer-events: none;

}

.header-carousel .carousel-buttons {
  position: absolute;
  bottom: 5%;
  left: 3%;
  width: 94%;
  display: flex;
  justify-content: space-between;
}

.header-carousel .carousel-buttons button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff5;
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
}

.header-carousel .carousel-dots {
  position: absolute;
  bottom: 10%;
  left: 0;
  color: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.header-carousel .carousel-dots li {
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 10px;
  border-radius: 20px;
  transition: 0.5s;
  cursor: pointer;
}

.header-carousel .carousel-dots li.active {
  width: 30px;
}

@media screen and (max-width: 768px) {
  .header-carousel {
    height: 400px;
  }
}

#blinking-down-arrow {
  position: absolute;
  bottom: 8%;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  font: normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}

@media screen and (max-width: 768px) {
  #blinking-down-arrow {
    bottom: 10%;
  }
}

#blinking-down-arrow:hover {
  opacity: .5;
}

#blinking-down-arrow span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border: 1px solid #fff;
  border-radius: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  #blinking-down-arrow span {
    scale: 0.5;
  }
}


#blinking-down-arrow span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 16px;
  height: 16px;
  margin: -12px 0 0 -8px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}

#blinking-down-arrow span::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  content: '';
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .1);
  border-radius: 100%;
  opacity: 0;
  -webkit-animation: sdb03 3s infinite;
  animation: sdb03 3s infinite;
  box-sizing: border-box;
}


@-webkit-keyframes sdb03 {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  60% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, .1);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes sdb03 {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  60% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, .1);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.advertisement-btn {
  width: fit-content;
  max-width: 80%;
  min-width: 250px;
  min-height: 40px;
  height: fit-content;
  overflow: hidden;
  right: 50px;
  outline: none;
  border: none;
  align-self: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}

.advertisement-btn:hover {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.carousel-header-metadata {
  width: fit-content;
  left: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 25%;
  overflow: hidden;
}

.carousel-header-metadata a {
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.nettas-title {
  color: rgb(243, 239, 239);
  font-size: 32px;
  font-weight: 550;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-bottom: 1px solid white;
  line-height: 46px;
  /* Match the line-height to the text height */
  width: fit-content;
  text-align: center;
  margin-bottom: 8px;
}

.carousel-header-metadata .image-title {
  color: white;
  font-size: 24px;
  font-weight: 500;
}

.carousel-header-metadata .image-description {
  color: white;
  font-size: 16px;
}

.nettas-logo {
  background: url("../../images/Nettas_hus_hvit_ingen_tekst.png") no-repeat;
  background-size: contain;
  width: 100%;
  padding-top: 38.87%; /* Set the aspect ratio (height / width * 100%) */
  background-attachment: scroll;
  align-self: center;
}

.carousel-header-metadata .meta {
  background-color: rgb(26, 26, 26);
  width: 100%;
}




