@import url('https://fonts.googleapis.com/css2?family=Tilt+Warp&display=swap');

body {
  margin: 0;
  overflow: hidden;
}

.maintenance-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 22, 137, 1);
  overflow: hidden;
}

.content-wrapper {
  display: flex;
  flex: 1;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
}

.main-content {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 50px;
  min-width: 240px;
  padding: 100px 50px;
  height: 100%;
  box-sizing: border-box;
}

.logo-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: nowrap;
}

.logo-image {
  width: 175px;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  align-self: stretch;
  margin: auto 0;
  overflow: hidden;
}

.text-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 4.5vh;
  font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  text-align: center;
}

.maintenance-title {
  margin: 0;
  font-size: 60px;
  text-transform: uppercase;
  font-family: 'Tilt Warp', -apple-system, Roboto, Helvetica, sans-serif;
  font-weight: 300;
}

.maintenance-message,
.return-date {
  margin: 0;
}

.background-image {
  flex: 1 1 100px;
  width: 100%;
  min-width: 240px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  align-self: stretch;
}

@media (max-width: 1200px) {
  .content-wrapper {
    flex-direction: column;
    max-width: 100%;
  }

  .main-content {
    padding: 20px;
    max-width: 100%;
  }

  .logo-container {
    flex-direction: row;
    gap: 50px;
    padding: 0 10px;
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }

  .logo-image {
    width: 12vh;
    height: 12vh;
  }

  .text-content,
  .maintenance-title,
  .maintenance-message,
  .return-date {
    max-width: 100%;
    text-align: center;
  }

  .text-content {
    margin-top: 40px;
  }

  .maintenance-message,
  .return-date {
    margin-top: 40px;
  }

  .background-image {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .maintenance-page {
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
  }

  .content-wrapper {
    height: auto;
    flex-grow: 1;
  }

  .main-content {
    padding: 50px;
    height: auto;
    align-self: center;
  }

  .logo-container {
    flex-direction: row;
    gap: 50px;
    width: 100%;
    justify-content: center;
  }

  .logo-image {
    width: calc(50% - 25px);
  }

  .text-content {
    height: auto;
    flex-grow: 0;
  }

  .text-content .maintenance-title {
    font-size: 35px;
  }

  .text-content .maintenance-message,
  .text-content .return-date {
    font-size: 18px;
  }

  .background-image {
    height: auto;
    align-self: stretch;
  }
}
