:root {
  --color-bg: #f3f4f6;
  --color-text: #2f2f2f;
  --color-header: #333;
  --color-primary: #0b76a6;
  --color-danger: #f44336;
  --color-danger-dark: #d9392d;
  --color-muted: #777;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 1em;
  line-height: 1.5;
}

h1 {
  font-size: 2.3em;
  line-height: 1.3;
  margin: 14px 0;
  text-align: center;
  font-weight: 300;
}

h3 {
  font-size: 1.8em;
  line-height: 1.3;
  margin: 8px 0 0;
  text-align: center;
  font-weight: 300;
}

p {
  margin: 0 0 1.2em 0;
}

img {
  max-width: 10%;
  display: block;
  margin: 0 auto;
  height: auto;
}

#main-content {
  width: 100%;
  min-height: calc(100vh - 90px);
  margin: 0;
  padding: 18px 0 12px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

#main-content header,
#main-content .content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 9vw;
}

#main-content .content {
  padding-top: 10px;
}

#main-content .button {
  display: inline-block;
  margin: 8px 0 10px;
  height: auto;
}

#button_sub,
#button_wait {
  margin-left: 9vw;
}

#main-footer {
  background: var(--color-header);
  color: white;
  text-align: center;
  padding: 14px 12px;
  margin-top: 20px;
}

#main-footer p {
  margin: 8px 0 0;
}

#main-footer a {
  color: white;
}

#main-footer img {
  width: auto;
  height: auto;
}

.button {
  background-color: var(--color-danger);
  border: none;
  color: white;
  padding: 13px 28px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.button:hover {
  background-color: var(--color-danger-dark);
}

.button:active {
  transform: translateY(1px);
}

.button3 {
  background-color: var(--color-danger);
  color: white;
  border: 2px solid var(--color-danger);
}

.button3:hover {
  background-color: #ffffff;
  color: #111;
}

@media (max-width: 768px) {
  img {
    max-width: 30%;
  }

  #main-content {
    min-height: auto;
    padding-top: 8px;
  }

  #main-content header,
  #main-content .content {
    padding: 14px 16px;
  }

  #button_sub,
  #button_wait {
    margin-left: 16px;
  }

  #main-content .button {
    width: calc(100% - 32px);
    margin-right: 16px;
  }
}
