* {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat';
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.nav {
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.nav__list {
  display: flex;
  flex-flow: column wrap;
  height: 85vh;
  -webkit-transform: translate(0, -100%);
  transform: translate(0, -100%);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav__list--active {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.nav__item {
  flex: 1;
  position: relative;
}

.nav__link {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  text-decoration: none;
  font-size: 24px;
  background: #2b3033;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav__link:hover {
  background: #272b2e;
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav {
    width: 70px;
  }

  .nav__list {
    height: 90vh;
  }
}

.burger {
  height: 15vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  background: #2b3033;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.burger:hover {
  background: #272b2e;

}

.burger__patty {
  position: relative;
  height: 2px;
  width: 40px;
  background: white;
}

.burger__patty:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  height: 2px;
  width: 100%;
  background: white;
}

.burger__patty:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  height: 2px;
  width: 100%;
  background: white;
}

.burger__patty,
.burger__patty:before,
.burger__patty:after {
  will-change: transform;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.burger--active .burger__patty {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.burger--active .burger__patty:before {
  -webkit-transform: rotate(-45deg) translate(-7px, -7px) scaleX(0.7);
  transform: rotate(-45deg) translate(-7px, -7px) scaleX(0.7);
}

.burger--active .burger__patty:after {
  -webkit-transform: rotate(45deg) translate(-7px, 7px) scaleX(0.7);
  transform: rotate(45deg) translate(-7px, 7px) scaleX(0.7);
}

@media (max-width: 640px) {
  .burger {
    height: 10vh;
  }

  .burger__patty {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  .burger--active .burger__patty {
    -webkit-transform: scale(0.8) rotate(90deg);
    transform: scale(0.8) rotate(90deg);
  }
}

.panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

.panel__wrapper {
  padding: 7vh 7vw;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.panel__content {
  will-change: opacity, filter;
  opacity: 0;
  filter: blur(10px);
  transform-origin: center 80%;
  transition: opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    filter 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.panel__content {
  will-change: opacity, filter;
  opacity: 0;
  filter: blur(10px);
  transform-origin: center 80%;
  transition: opacity 1s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    filter 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.panel__content--active {
  opacity: 1;
  filter: blur(0);
  transition: opacity 1s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    filter 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.panel__headline {
  font-weight: 700;
  opacity: 1;
  font-size: 48px;
  margin: 0 0 25px 0;
  color: black;


}

.panel p {
  margin: 0 0 25px 0;
  color: #1a1a1a;
  font-size: 19px;
  max-width: 800px;
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel__block {
  height: 3px;
  background: black;
  margin: 0 0 25px 0;
}

.image-logos {
  width: 80%;

}

@media (max-width: 640px) {
  .panel__headline {
    font-size: 32px;

  }

  .panel__wrapper {
    padding: 10vh 10vw;
  }

  .panel p {
    font-size: 16px;
  }

  .image-logos {
    width: 90%;

  }
}


.c-blue {
  color: #5fc7ea;
}

.c-red {
  color: #e68568;
}

.c-green {
  color: #68e6ac;
}

.c-yellow {
  color: #e6d068;
}

.b-blue {
  background: #5fc7ea;
}

.b-red {
  background: #e68568;
}

.b-green {
  background: #68e6ac;
}

.b-yellow {
  background: #e6d068;
}

.b-grey {
  background: #E2E2E2;
}


.login-img {
  position: relative;
  background-image: url(images/fn.jpg);
  background-position: center;
  background-size: cover;
  transition: background-image 1.5s ease-in-out;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(28 27 27 / 51%);
  z-index: 1;
  pointer-events: none;
}

.panel__wrapper {
  position: relative;
  z-index: 2;
  color: white;
}





.logo {
  position: fixed;
  bottom: 3vh;
  right: 3vw;
  z-index: 2;

}

.logo img {
  width: 140px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -webkit-transform: rotate(0);
  transform: rotate(0);
}

.logo img:hover {
  -webkit-transform: rotate(360deg) scale(1.1);
  transform: rotate(360deg) scale(1.1);
}

.scroll-btn {
  position: fixed;
  z-index: 1000;
  background-color: #3e4051f7;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#scrollDownButton {
  bottom: 10px;
  right: 10px;
}

#scrollUpButton {
  top: 10px;
  right: 10px;
}

.scroll-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-btn:hover {
  background-color: #2f3041f7;
}

.double-chevron {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0px 2px;
}

.double-chevron i {
  font-size: 1.2rem;
  margin: -2px 0;
}

.image-source {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 5px;
}

/* Link styling inside the source text */
.image-source {
  color: #7a7a7f;
  text-decoration: none;
}

.image-source a:hover {
  text-decoration: underline;
}

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


  .image-source {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
  .scroll-btn{
    padding: 10px 15px;
  }

  #scrollDownButton {
    bottom: 6px;
    right: 6px;
  }

  #scrollUpButton {
    top: 6px;
    right: 6px;
  }

  .responsive-link {
    font-size: 19px;
  }

  .responsive-link {
    font-size: 16px;
  }
}