:root {
  --red: #cf1f35;
  --red-button: #e21b2b;
  --light-gray: #eeeeee;
  --text: #111111;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: white;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

.header {
  height: 36vh;
  min-height: 280px;
  display: grid;
  place-items: center;
  background: #fff;
}

.logo {
  width: 280px;
  height: auto;
  display: block;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.main {
  flex: 1;
  background: var(--light-gray);
  text-align: center;
  padding: 30px 20px 38px;
}

h1 {
  margin: 0 0 34px;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 300;
}

h1 strong {
  font-weight: 600;
}

.maintenance-card {
  width: min(872px, 100%);
  margin: 0 auto;
  padding: 39px 35px 35px;
  background: #fff;
}

h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.27;
  font-weight: 300;
}

.separator {
  width: 205px;
  margin: 25px auto 26px;
  border-top: 1px solid #555;
}

.maintenance-card p {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 300;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact a {
  color: inherit;
  text-decoration: none;
  font-size: 19px;
  font-weight: 300;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
}

.emergency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  margin: 45px auto 0;
  padding: 9px 14px 9px 11px;
  background: var(--red-button);
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  transition: transform .15s ease, filter .15s ease;
}

.emergency:hover,
.emergency:focus-visible {
  transform: translateY(-1px);
  filter: brightness(.94);
}

.phone-icon {
  width: 18px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1;
}

.footer {
  min-height: 80px;
  padding: 27px 20px 18px;
  background: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 300;
}

@media (max-width: 700px) {
  .header {
    height: 31vh;
    min-height: 220px;
  }

  .logo {
    width: min(220px, 70vw);
  }

  .main {
    padding: 25px 16px 32px;
  }

  h1 {
    margin-bottom: 26px;
    font-size: 20px;
  }

  .maintenance-card {
    padding: 30px 20px 28px;
  }

  h2 {
    font-size: 22px;
  }

  .separator {
    width: 160px;
    margin: 22px auto;
  }

  .maintenance-card p,
  .contact a {
    font-size: 16px;
  }

  .emergency {
    margin-top: 34px;
    font-size: 17px;
  }

  .footer {
    font-size: 10px;
    padding: 22px 14px 16px;
  }
}
