* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "bernhard-gothic-urw", sans-serif;
  background-color: #143B68;
  color: white;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 30px;
  background-image: url('img/stars.svg');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  padding: 20px;
  gap: 140px;
  position: relative;
  z-index: 1;
}

.side {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.side img {
  width: 250px;
}

.left {
  gap: 20px;
  align-items: flex-end;
}

.left img:nth-child(1) {
  z-index: 3;
  margin-top: -40px;
}

.left img:nth-child(2) {
  z-index: 2;
  margin-top: -60px;
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  gap: 32px;
  flex-shrink: 0;
  padding-bottom: 10%;
}

.logo {
  width: 220px;
  max-width: 100%;
}

.center-text {
  font-size: 28px;
  line-height: 1.6;
  font-weight: 950;
}

.center-text .blue {
  color: #9AC2FF;
}

.center-mobile-images {
  display: none;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -80px;
  z-index: 1;
}

.center-mobile-images img {
  width: 120px;
  max-width: 40vw;
}

.right {
  gap: 0px;
  align-items: flex-start;
  position: relative;
}

.right img:nth-child(1) {
  margin-bottom: -90px;
  z-index: 3;
}

.right img:nth-child(2) {
  position: relative;
  left: 130px;
  margin-bottom: -30px;
  z-index: 2;
}

.right img:nth-child(3) {
  position: relative;
  margin-top: -90px;
  z-index: 3;
}

footer {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  font-family: "bernhard-gothic-urw", sans-serif;
  font-weight: 950;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  padding-bottom: 16px;
  z-index: 2;
}

.footer-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-left {
  justify-content: flex-start;
  margin-left: 10px;
}

.footer-right {
  justify-content: flex-end;
}

.footer-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer-center a {
  color: white;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
}

.footer-mobile-images {
  display: none;
  justify-content: space-between;
  width: 100%;
  padding: 0 16px;
  margin-top: 24px;
  gap: 16px;
}

.footer-mobile-images img {
  width: 120px;
  max-width: 40vw;
}

.footer-mobile-images img:nth-child(1) {
  transform: translateX(-50px) translateY(90px);
}

.footer-mobile-images img:nth-child(2) {
  transform: translateX(50px) translateY(50px);
}

.stitch-logo-mobile {
  display: none;
  position: absolute;
  top: 100px;
  left: 6%;
  transform: translateX(-50%) rotate(50deg);
  width: 120px;
  max-width: 40vw;
  z-index: 1;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  * {
    max-width: 100vw;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  body::before {
    background-image: url('img/starsmobile.svg');
    background-size: contain;
    inset: 10;
  }

  .side {
    display: none;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 40px;
    padding: 0 16px 40px;
    height: auto;
  }

  .center-text {
    font-size: 24px;
    line-height: 1.4;
  }

  .logo {
    max-width: 90%;
    margin-bottom: 30%;
  }

  .stitch-logo-mobile {
    display: block;
  }

  .center-content {
    gap: 32px;
    padding-top: 0;
    padding-bottom: 40px;
    margin-top: 0;
    margin-bottom: 60%;
  }

  .center-mobile-images {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -80px;
    z-index: 1;
  }

  .center-mobile-images img {
    width: 120px;
    max-width: 40vw;
  }

  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 16px;
  }

  .footer-left {
    order: 2;
    margin-left: 0;
    margin-top: 48px;
  }

  .footer-center {
    order: 1;
    flex-direction: column;
    gap: 24px;
  }

  .footer-center a {
    margin-bottom: 8px;
  }

  .footer-center a:last-child {
    margin-bottom: 32px;
  }

  .footer-mobile-images {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
    margin-top: 24px;
    gap: 16px;
  }

  .footer-mobile-images img {
    width: 120px;
    max-width: 40vw;
    display: block;
    transform: translateY(50px);
  }

  .footer-mobile-images img:nth-child(1) {
    transform: translateX(-30px) translateY(90px);
  }

  .footer-mobile-images img:nth-child(2) {
    transform: translateX(30px) translateY(50px);
  }
}
@media (max-width: 400px) {
  .logo {
    margin-bottom: 0%;
  }

  .center-content {
    margin-bottom: 40%;
  }

  .footer-mobile-images img {
    transform: none;
  }

  .footer-mobile-images img:nth-child(1) {
    transform: translateX(-80px) translateY(120px);
  }

  .footer-mobile-images img:nth-child(2) {
    transform: translateX(60px) translateY(90px);
  }
  .footer-center {
    gap: 16px;
  }

  .footer-center a:last-child {
    margin-bottom: 24px;
  }
  .stitch-logo-mobile {
    top: 70px;
    left: 6%;

  }
}
