body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  background-color: white;
  transition: background-color 0.3s ease;
  z-index: 1000;
  border-bottom: 2px solid #3eaeef;
}

.header a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease; /* Smooth color transition */
}

.header a:hover {
  color: #3eaeef;
  text-decoration: underline;
}

.header a.active {
  color: #3eaeef; /* Different color for active link */

  border-radius: 4px; /* Rounded corners */
}

.logo-pic {
  max-width: 100px; /* Adjust the size of the logo */
  height: auto; /* Keeps the aspect ratio */
  display: block;
  padding: 10px 40px 10px;
  transition: transform 0.3s ease;
}

.logo-pic:hover {
  transform: scale(1.04);
}
.navlist {
  gap: 20px;
  display: none;
  padding-right: 80px;
  flex-direction: row; /* Stack items vertically */
}

.navlist.active {
  display: flex; /* Show the menu when the 'active' class is added */
}

#menu-close {
  display: none;
}

.navlist a {
  text-decoration: none;
  color: black; /* Adjust color */
  font-weight: 700;
}

/* Navigation menu (desktop view) */
.navlist {
  display: flex;
  list-style: none;
}

.navlist li {
  margin-left: 20px;
}

.navlist li a {
  text-decoration: none;
  color: #333;
}

/* Mobile hamburger icon */
.nav-icons {
  display: none;
  cursor: pointer;
}

.nav-icons i {
  font-size: 35px;
  color: #333;
  padding: 10px 10px 10px;
}

.scroll {
  display: none; /* Hide arrow initially */
  position: fixed;
  bottom: 2.2rem;
  border-top: 2rem;
  right: 3.2rem;
}

.scroll i {
  font-size: 32px;
  color: #3eaeef;
  background: white;
  padding: 10px;
  border-radius: 2rem;
}

.top-image img {
  width: 100%;
  height: auto;
  margin-top: 60px; /* Adjust this if your header height changes */
}

/* Content below the image */
.content-textBlue {
  color: #3eaeef; /* A blue shade */
}

.content {
  padding: 40px;
}

.tjanster-title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 3px solid #3eaeef;
}

.tjanster-text {
  line-height: 1.6; /* Improves readability */
  margin-bottom: 20px;
}

strong {
  font-weight: bold;
}

.tjanster-list {
  margin-left: 20px; /* Adds some space for the list */
  list-style-type: disc;
}

li {
  margin-bottom: 10px; /* Adds spacing between list items */
}

ul li span.content-textBlue {
  font-weight: bold; /* Makes section titles bold and blue */
}

.footer {
  background-color: black;
  color: white;
  text-align: left;
  padding: 10px 0;
  width: 100%;
  margin-top: auto; /* Pushes the footer to the bottom when content is less */
  position: relative;
  border-top: 2px solid #3eaeef;
}

.footer-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-right: 30px;
}

.devBy:hover {
  transform: scale(1.05); /* Slightly enlarge the div on hover */
}

.devBy i {
  font-size: 15px;
}

.devBy a {
  color: white; /* Main color for the link */
  text-decoration: none; /* Remove underline */
  font-weight: bold;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease; /* Smooth transition for the color */
}

.devBy a::after {
  content: ''; /* Add pseudo-element for underline */
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #3eaeef;
  left: 0;
  bottom: -4px;
  transform: scaleX(0); /* Start with hidden underline */
  transition: transform 0.3s ease;
  transform-origin: right;
}

.devBy a:hover {
  color: #3eaeef; /* Change color on hover */
}

.devBy a:hover::after {
  transform: scaleX(1); /* Expand the underline on hover */
  transform-origin: left;
}

/* Mobile responsiveness */
@media (max-width: 970px) {
  .navlist {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: rgb(238, 234, 234);
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navlist.active {
    display: flex;
  }

  .nav-icons {
    display: block;
  }

  .logo-pic {
    padding: 10px 10px 10px;
  }

  .half-page {
    width: 100%; /* Full width on mobile */
    height: 50vh; /* Half the height */
  }

  body {
    flex-direction: column; /* Stack vertically */
  }
  .content {
    padding: 20px;
  }

  .footer-list li {
    font-size: smaller;
  }
}
