#menu-hjelpedeg {
  padding: 25px 0 100px 0;
}

.tekst-container {
  max-width: 1440px;
  margin: 0 auto;
}

.stortekst {
  margin: 0 !important;
  font-size: 30px;
  line-height: 1 !important;
  font-family: "Libre Baskerville", serif !important;
  font-weight: 300;
  color: #1d3031;
}

.bottom-stuff {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 10px 0;
}

.bottom-stuff hr {
  border: none;
  height: 1px;
  /* Set the hr color */
  color: #d2ffc2;  /* old IE */
  background-color: #d2ffc2;  /* Modern Browsers */
}

.swipebutton {
  background-color: #1d3031;
  color: #d2ffc2;
  border: 1px solid #d2ffc2;
  float: right;
  padding: 10px 50px 10px 50px;
  border-radius: 126px;
  margin-top: 8px;
}

.swipebutton:link, .swipebutton:hover, .swipebutton:visited {
  text-decoration: none !important;
  color: #d2ffc2 !important;
}

/* Basic styling for the slider */
.splide-section {
  background-color: #1d3031; /* Light green background */
  padding-top: 55px;
  padding-bottom: 10px;
}

.splide-section h2 {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 20px;
  padding-bottom: 80px;
  font-size: 48px;
  color: #d2ffc2;
  font-weight: 300;
  font-family: "Libre Baskerville", serif;
}

.splide {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  background-color: #1d3031; /* Light green background */
}

.splide__list {
  display: flex;
  gap: 20px; /* Spacing between the slides */
  padding: 0;
  margin: 0;
  list-style: none;
}

.splide__slide {
  background-color: #1d3031; /* Dark green background for each slide */
  color: #d2ffc2; /* Light green text color */
  padding: 25px !important;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  height: 311px;
  width: 402px;
  transition: transform 0.3s ease;
  border: 0.5px solid #d2ffc2;
}

/* Hover effect */
.splide__slide:hover {
  /* Hover effect removed */
}

.slide-content {
  height: 100%;
  position: relative;
}

.slide-content h3,
.slide-content p,
.slide-content hr,
.slide-content * {
  font-family: "Poppins", sans-serif;
  color: #d2ffc2 !important;
}

.slide-content h3 {
  font-size: 18px !important;
  font-weight: 600;
}

.slide-content p {
  font-size: 12px !important;
  font-weight: 300;
  color: #d2ffc2 !important;
}

.slide-content hr {
  opacity: 1;
  margin-top: 10px;
}

/* Force all text in slides to be light green */
.splide__slide * {
  color: #d2ffc2 !important;
}

.custom-pagination {
  display: none;
  justify-content: center;
  padding-top: 2rem;
}

.custom-pagination__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: transparent;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: 1px solid #d2ffc2;
  display: inline-block; /* Ensure proper rendering in Safari */
  box-sizing: border-box; /* Include padding and border in the width/height */
  padding: 0; /* Remove default padding */
}

.bunn-leppaa {
  position: relative;
  background-color: #D2FFC2;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  width: 100%;
  height: 52px;
  bottom: 0;
  z-index: 100;
  margin: 0 auto;
}

.splide-section h2 {
  margin-bottom: 20px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .custom-pagination__dot {
    width: 16px; /* Safari sometimes needs an extra pixel */
    height: 16px; /* Same as above */
  }

.custom-pagination__dot.is-active {
  background: #d2ffc2 !important;
}

.splide__arrow {
  background: transparent !important;
  border: none;
  color: #d2ffc2;
  font-size: 48px;
  cursor: pointer;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.splide__arrow--prev {
  left: -2em !important;
}

.splide__arrow--next {
  right: -2em !important;
}

.splide__arrow i {
  color: #d2ffc2;
}

.splide__arrow:hover {
  opacity: 0.7;
}

.splide__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Responsive styling */
@media (max-width: 768px) {

  .tekst-container {
    padding: 25px;
  }

  .slide-content p {
    font-size: 14px;
  }

  .splide__arrow {
    display: none !important;
  }

  .splide__arrow--prev,
  .splide__arrow--next {
    display: none !important;
  }

  .splide__slide {
    min-width: 80%;
  }

  .splide-section h2 {
    width: 100%;
    font-size: 30px;
  }
}

@media (min-width: 769px) {
  
  #menu-hjelpedeg {
  padding: 100px 0;
}
  
  .stortekst {
  margin: 0 !important;
  font-size: 48px;
  font-family: "Libre Baskerville", serif !important;
  font-weight: 300;
  color: #d2ffc2;
}
  
  .mini-text {
    color: #d2ffc2 !important;
  }
  
  .slide-content h3 {
  font-size: 20px !important;
  font-weight: 600;
  color: #d2ffc2 !important;
}

.slide-content p {
  font-size: 14px !important;
  font-weight: 300;
  color: #d2ffc2 !important;
}

.slide-content * {
  color: #d2ffc2 !important;
}
  
  .splide__slide {
    padding: 25px !important;
    min-width: 30%;
  }

  .splide__arrow {
    font-size: 64px;
  }

  .splide__arrow--prev {
    left: -2em;
  }

  .splide__arrow--next {
    right: -2em;
  }
}