.navbar {
  position: fixed;
  padding: 5px;
  margin: 0;
  height: 45px;
  z-index: 10;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100vw;
}

.burger-menu {
  display: none;
}

.navimg-sticky {
  object-fit: cover;
  scale: 1;
  top: 50px;
  transition: 0.5s;
  left: 100px;
  width: 200px;
}

.sticky {
  position: fixed;
  height: 50px;
  background: rgb(255, 255, 255);
  transition: 0.4s;
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.153);
}

.btn {
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  background-color: var(--bs-btn-bg);
  cursor: pointer;
}
.navbar-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.lang-button {
  height: fit-content;
  margin: 10px;
}

.nav-item1 {
  font-size: 28pt;
  letter-spacing: 1px;
  font-style: normal;
  font-family: "Helvetica Light", "Arial", sans-serif;
  font-weight: 100;
  width: auto;
  margin-left: 15px;
  margin-right: 15px;
  list-style-type: none;
}

.languages {
  padding-right: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.nav-item {
  font-size: 18pt;
  font-family: "Helvetica Light", "Arial", sans-serif;
  font-weight: 100;
}

.nav-link {
  text-decoration: none;
}

.flag-btn:hover {
  background-color: #f0f0f000;
}

.navbartop {
  position: fixed;
  width: 100%;
  height: 100px;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0);
  transition: 0.4s;
  color: var(--text-color-2);
}

.navimg {
  margin-top: 0px;
  width: 350px;
  top: 10px;
  left: 10px;
  transition: 0.5s;
  object-fit: cover;
}

.navimg-solid {
  margin-top: 3px;
  width: 200px;
  top: 10px;
  left: 10px;
  transition: 0.5s;
  object-fit: cover;
}

.headerlink:focus,
.headerlink:hover {
  color: var(--primary-color);
}

.headerlink {
  font-size: 14pt;
  font-style: normal;
  font-weight: 100;
  font-family: "Helvetica Light", "Arial", sans-serif;
}

.footer-link {
  font-family: "Helvetica Light", "Arial", sans-serif;
  font-weight: 100;
}

.nav-link:hover {
  scale: 110%;
}

.flagimg {
  box-shadow: 0px 0px 8px #0000003f;
  height: 21px;
  width: 30px;
  border-radius: 3px;
}

.flagimg:hover {
  box-shadow: 0px 0px 8px rgba(255, 197, 197, 0.178);
  transition: 0.4s;
}

.navlogo {
  margin-left: 20px;
  max-height: 80px;
  width: 100px;
  z-index: 50;
  margin-top: 3.5px;
}

/* Footer */
.footer {
  background-color: var(--background-color-3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-direction: row;
}

.footer-menu-block {
  width: 100vw;
  display: flex;
  justify-content: center;
}

.nav-item-footer {
  list-style-type: none;
  padding-top: 8px;
  padding-bottom: 7px;
}

.footer-link {
  text-decoration: none;
  color: var(--text-color-2);
  padding: 8px;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.footer-link:hover {
  color: var(--primary-color);
  background-color: var(--background-color-3);
  transition: 0.4s;
}

.logofooter {
  object-fit: cover;
  width: 100px;
  padding: 10px;
}

.footer-content {
  display: flex;
  width: 100vw;
  flex-direction: column;
}

.footer-block {
  padding: 5px;
  padding-left: 25px;
  padding-right: 25px;
}

@media (max-width: 1100px) {
  .navimg {
    padding-top: 10px;
    width: 200px;
  }
}

@media (max-width: 900px) {
  .sticky > .burger-menu > .burger-button {
    color: var(--secondary-color);
  }

  .languages {
    display: none;
  }
  .navimg {
    padding-top: 10px;
    width: 200px;
  }

  .navlogo {
    width: 200px;
  }

  .navcol {
    display: none; /* Hide the main navcol on mobile devices */
  }

  .burger-menu {
    display: flex; /* Show the burger menu */
    position: relative;
  }

  .burger-button {
    font-size: 30px;
    background: none;

    padding-right: 25px;
    border: none;
    cursor: pointer;
    color: var(--text-color-2); /* Use the secondary text color */
  }

  .burger-button:hover,
  .sticky > .burger-menu > .burger-button:hover {
    color: var(--primary-color);
  }

  .navcol-burger {
    display: none; /* Hide the burger menu by default */
    position: fixed; /* Fix it in place */
    top: 50px;
    left: 50%; /* Center it horizontally */
    transform: translateX(
      -50%
    ); /* Offset by 50% of its width to truly center */
    width: 80vw; /* Set the width */
    background-color: var(--background-color);
    z-index: 1000;
    padding: 10px;
    /* Add some padding for a better appearance */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    justify-items: center;
    flex-direction: column;
    align-items: center;
  }

  .burger-box-up {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }

  .navcol-burger ul {
    list-style: none;
    padding: 10px;
    margin: 0;
  }

  .navcol-burger ul > li > a {
    color: var(--secondary-color); /* Set link color to secondary color */
    text-decoration: none; /* Optional: remove underline */
    display: block; /* Ensure the entire area of the link is clickable */
    padding: 10px 0; /* Add padding for better spacing */
    padding-top: 30px !important;
  }

  .navcol-burger ul > li > a:hover {
    color: var(--primary-color); /* Optional: change color on hover */
  }

  .navcol-burger.show {
    display: flex; /* Show the burger menu when the 'show' class is added */
  }

  .navbar-nav {
    flex-direction: column; /* Stack menu items vertically */
    align-items: flex-start; /* Align items to the left */
    justify-items: center;
    flex-direction: column;
    align-items: center;
  }

  .close-button {
    margin-top: 12px;
    transform: translateX(
      -50%
    ); /* Center the button by offsetting it by 50% of its width */
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .close-button::before,
  .close-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  .close-button::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .close-button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .footer {
    height: 92vh;

    justify-content: space-between;
  }
  .logofooter {
    width: 300px;
  }

  .close-button:hover::before,
  .close-button:hover::after {
    background-color: var(--primary-color); /* Change color on hover */
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .nav-item-footer {
    margin-left: 0px;
    list-style-type: none;
    margin-top: 15px;
  }
}
