:root {
  font-family: "PT Sans", sans-serif;
  color: #202b36;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

main {
  display: flex;
  flex: 1;
}

.maintenance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-height: 0;
}

.message-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 7vw, 7rem);
}

.message-content {
  width: min(100%, 34rem);
}

.logo {
  display: block;
  width: min(100%, 18.75rem);
  height: auto;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

h1 {
  margin: 0 0 1.25rem;
  color: #CF0967;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.message-content p {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.image-panel {
  min-height: 100%;
  background-image: url("./public/img/mt-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

footer {
  padding: 1rem 1.5rem;
  background-color: #CF0967;
  color: #ffffff;
  text-align: center;
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .maintenance-layout {
    grid-template-columns: 1fr;
  }

  .message-panel {
    padding: clamp(2.5rem, 10vw, 5rem) clamp(1.5rem, 8vw, 4rem);
  }

  .logo {
    width: min(100%, 15rem);
    margin-bottom: 2rem;
  }

  .image-panel {
    min-height: clamp(12rem, 34vh, 20rem);
    background-position: center 40%;
  }
}

@media (max-width: 420px) {
  footer {
    padding-inline: 1rem;
  }
}
