* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: all 0.3s;
}

:root {
  /* --primary: #0000aa; */
  --primary: #000064;
  --secondary: #203B72;
  --24px: 24px;
  --36px: 36px;
}

@font-face {
  font-family: 'Grotesk', sans-serif;
  src: url('./fonts/ESKlarheitGrotesk-Bk.woff');
}

@font-face {
  font-family: 'Grotesk-smbd', sans-serif;
  src: url('./fonts/ESKlarheitGrotesk-Smbd.woff');
}

@font-face {
  font-family: 'Grotesk-dbd', sans-serif;
  src: url('./fonts/ESKlarheitGrotesk-Xbd.woff');
}

body {
  font-family: 'Grotesk', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.title {
  max-width: 400px;
  margin: auto;
}

.text-center {
  text-align: center;
}

.hero {
  width: 100%;
  background-image: url('./images/stars-bg.png');
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 90px 0;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90%;
  max-width: 1140px;
  margin: auto;
}


.left {
  background-color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 36px;
  border-radius: 36px 0 0 36px;
  position: relative;

}

.top-logo {
  width: 50%;
  margin: 0 auto;
}

.left>div {
  width: 100%;
  border-radius: 24px;
}


.left-top {
  margin-bottom: 95px;
}


.left-top h2 {
  font-size: 22px;
  color: var(--primary);
  text-align: center;
  margin-top: 0px;
}

.left-top a {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--primary);
  text-decoration: underline;
  font-size: 16px;
  font-weight: bold;
  margin-top: 32px;
  text-underline-offset: 2px;
}

.left-bottom {
  padding: 36px;
  padding-top: 72px;
  border-radius: 24px;
  background-color: var(--primary);
  position: relative;
}

.join-outer-outer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, calc(-50% - 72px));
}


.join {
  background-color: #fff;
  border-radius: 100px;
  padding: 16px;
  padding-left: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  font-weight: bolder;
  color: var(--primary);
  white-space: nowrap;
  border: 10px solid var(--primary);
}

.join:hover {
  scale: 1.02;
  animation: rotate-shake 0.3s;
  transform-origin: center;
}

@keyframes rotate-shake {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  50% {
    transform: rotate(-2deg);
  }

  75% {
    transform: rotate(2deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.join-circle {
  background-color: var(--primary);
  padding: 16px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 60px;
}

.left-bottom h2 {
  color: #fff;
  font-size: 24px;
  text-align: center;
  width: 90%;
  margin: auto;
}

.right {
  background-color: var(--secondary);
  color: #fff;
  border-radius: 36px;
  padding: 72px;
  /* padding-bottom: 36px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.left::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 36px;
  background-color: #fff;
  transform: translateX(100%);
}

.right>div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.right>div>p {
  color: #fff;
  font-size: 24px;
}

.survey {
  min-height: 80px;
  min-width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 3px solid #fff;
}

img.jfk {
  width: 100%;
  height: auto;
  margin: 5% auto;
  /* height: 340px; */
}


.btn {
  display: block;
  width: 100%;
}

.signup {
  margin-top: 24px;
  background-color: #fff;
  border-radius: 18px;
  padding: 16px 32px;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  transition: all 0.3s;
  border: 2px solid transparent
}

.signup>div {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
}

.signup span {
  text-align: right;
  color: var(--primary);
  transition: color 0.3s;
}

.signup span:first-child {
  font-weight: bold;
  font-size: 24px;
}


.signup:hover {
  border: 2px solid #fff;
  background-color: var(--secondary);
  color: #fff;
}

.signup:hover span {
  color: #fff !important
}

.poper {
  display: block;
}

.poper-hover {
  display: none;
}

.signup:hover .poper {
  display: none;
}


.signup:hover .poper-hover {
  display: block;
}

.online {
  background-color: transparent;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid #fff;
  border-radius: 18px;
  color: #fff;
  display: flex;
  justify-content: center;
  padding: 16px;
  transition: all 0.3s;
  font-family: 'Grotesk-xbd', sans-serif;
  font-weight: bolder;
}

.online:hover {
  background-color: #fff;
  color: var(--secondary);
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  padding-top: 48px;
}

footer .logo {
  max-width: 300px;
  margin-top: 42px;
  margin-bottom: 16px;
}

footer>p {
  color: #555;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 32px 0;
  }

  .container {
    grid-template-columns: 1fr;
  }

  .left::after {
    display: none;
  }


  .left,
  .left-bottom,
  .right {
    padding: 24px;
    border-radius: 12px;
  }

  .left {
    border-radius: 12px 12px 0 0;
  }

  .right {
    border-radius: 0 0 12px 12px;
  }

  .left>div {
    border-radius: 12px;
  }

  .left-top {
    margin-bottom: 80px;
  }

  .left-top a {
    font-size: 14px;
  }

  .signup,
  .online {
    border-radius: 12px;
    padding: 12px;
  }

  .left>div {
    margin-top: 12px;
  }

  .left>div>h2 {
    font-size: 20px;
  }

  .left-bottom h2 {
    font-size: 20px;
  }

  .right {
    padding: 36px;
    padding-bottom: 24px;
  }

  .right>div {
    gap: 16px;
  }

  .survey {
    min-height: 60px;
    min-width: 60px;
  }

  .survey img {
    flex-grow: 1;
  }

  .right>div>p {
    font-size: 20px;
  }

  .right>div>a>img {
    height: 30px;
  }


  .signup>div>span:first-child {
    font-size: 20px;
  }

  .online {
    font-size: 16px;
    padding: 12px;
  }

  .btn {
    margin-top: 12px;
  }

  .left-bottom {
    padding: 24px;
  }

  .left-bottom h2 {
    font-size: 20px;
  }

  .left-bottom p {
    font-size: 16px;
  }


  .join-outer-outer {
    transform: translate(calc(-50% + 4px), calc(-50% - 18px));
  }

  .join {
    padding: 12px;
    padding-left: 16px;
    font-size: 20px;
  }

  .join-circle {
    height: 50px;
    width: 50px;
  }

  .left-bottom h2 {
    margin-top: 36px;
  }

}


@media screen and (max-width: 480px) {
  .container {
    width: 100%;
  }

}