main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 202px);
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-box-signup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 77px;
  height: 202px;
  width: calc(100vw - 72px);
  max-width: 1920px;
}

.sign-up-div {
  display: flex;
  align-items: center;
  gap: 35px;
}

.sign-up-div-mobile {
  display: none;
}

.sign-up-div span {
  font-size: 20px;
  font-weight: 400;
}

.sign-up-div a {
  background-color: #2a3647;
  color: white;
  font-weight: bold;
  padding-top: 15px;
  padding-right: 24px;
  padding-bottom: 15px;
  padding-left: 24px;
  border-radius: 8px;
  font-size: 21px;
}

.logo-login {
  width: 100px;
  height: 122px;
  margin-top: 80px;
  margin-left: 72px;
  z-index: 999;
}

/* Loader Overlay (wie bei dir) */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;

  animation: hideLoader 1.8s ease-in-out forwards;
  animation-delay: 1.8s;
}

@keyframes hideLoader {
  to {
    opacity: 0;
    pointer-events: none;
  }
}

.loader-img {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  height: auto;

  transform-origin: center;
  will-change: transform;

  /* Fallbacks */
  --dx: 0px;
  --dy: 0px;
  --scale: 1;

  transform: translate(-50%, -50%) translate(0px, 0px) scale(1);
}

.loader-img.animate {
  animation: moveToLogo 1.5s ease-in-out forwards;
}
@keyframes moveToLogo {
  0% {
    transform: translate(-50%, -50%) translate(0px, 0px) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) translate(var(--dx), var(--dy))
      scale(var(--scale));
    opacity: 1;
  }
}

.loader-img-mobile {
  display: none;
}

/* -----------------------------
   SIGN UP BOX
------------------------------ */

.sign-up-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: white;
  border-radius: 25px;
  box-shadow: -1px 0 6px rgba(0, 0, 0, 0.2);
  padding-top: 20px;
  padding-bottom: 20px;
  color: #f6f7f8;
  width: 530px;
}

.sign-up-box-h1 {
  color: #293647;
  font-weight: 700;
  font-size: 61px;
}

.sign-up-box-header {
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 15px;
  justify-content: space-evenly;
}

.header-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sign-up-input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 25px;
}

.log-in-input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 25px;
}

.signup-input {
  padding: 15px 125px 15px 12px;
}

.checkbox-container {
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #757575;
}

.signup-footer-links-container {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.footer-links {
  color: #d1d1d1;
  font-weight: 400;
}

.footer-links:hover {
  color: #29abe2;
}

.pivacy-policy-link {
  color: #29abe2;
}

.divider {
  background-color: #29abe2;
  width: 148px;
  height: 3px;
  margin-top: 10px;
}

/* -----------------------------
   Responsive Design
------------------------------ */

@media (max-width: 900px) {
  main {
    padding-bottom: 35px;
  }

  .logo-box-signup {
    height: 75px;
    margin-bottom: 65px;
  }

  .logo-box-signup img {
    width: 64px;
  }
}

/* -----------------------------
   Mobile Version
------------------------------ */

@media (max-width: 660px) {
  main {
    flex-direction: column;
    margin: 0;
  }

  .logo-box-signup {
    margin-left: 38px;
    margin-top: 37px;
    height: 64px;
  }

  .logo-login {
    margin-left: unset;
  }

  .sign-up-div {
    display: none;
  }

  .sign-up-div-mobile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
  }

  .sign-up-div-mobile span {
    font-size: 20px;
    font-weight: 400;
  }

  .sign-up-div-mobile a {
    background-color: #2a3647;
    color: white;
    font-weight: bold;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    border-radius: 8px;
    font-size: 21px;
  }
  .sign-up-box {
    width: 286px;
    max-height: 60vh;
    height: auto;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
  }

  .sign-up-box::-webkit-scrollbar {
    display: none;
  }

  .sign-up-box-h1 {
    font-size: 47px;
    margin-top: 16px;
  }

  .signup-input {
    padding-top: 15px;
    padding-right: 70px;
  }

  .sign-up-box-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 32px;
  }

  .sign-up-box-header {
    justify-content: center;
    gap: 24px;
  }

  .divider {
    width: 88px;
    height: 3px;
    margin-top: 25px;
  }

  .checkbox-container {
    padding: unset;
  }

  .sign-up-input-container {
    margin-left: 15px;
    margin-right: 15px;
    height: 400px;
    margin-bottom: 32px;
    margin-top: 25px;
  }

  .log-in-input-container {
    margin-left: 15px;
    margin-right: 15px;
    height: 350px;
    margin-bottom: 32px;
  }

  .sign-up-btn-mobile {
    margin-top: 20px;
  }

  /* Mobile Loader Hintergrund dunkel */
  .loader {
    background-color: #2a3647;
  }

  /* Desktop Loader-Logo aus */
  .loader-img {
    display: none;
  }

  .loader-img-mobile {
    display: block; /* <-- so wird es angezeigt */
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150px;
    height: auto;
    transform-origin: center;
    will-change: transform;

    --dx: 0px;
    --dy: 0px;
    --scale: 1;

    transform: translate(-50%, -50%) translate(0px, 0px) scale(1);
    z-index: 10000;
  }

  .loader-img-mobile.animate {
    animation: moveToLogoMobile 1.5s ease-in-out forwards;
  }

  @keyframes moveToLogoMobile {
    0% {
      transform: translate(-50%, -50%) translate(0px, 0px) scale(1);
      opacity: 1;
    }
    100% {
      transform: translate(-50%, -50%) translate(var(--dx), var(--dy))
        scale(var(--scale));
      opacity: 1;
    }
  }
}
