@charset "UTF-8";

:root {
  --page-background: #ffffff;
  --content-background: #e6e6e6;
  --accent: #ff9900;
  --text: #1a1a1a;
  --link: #713900;
  --focus: #004f9e;
  --max-width: 1232px;
}

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

html {
  min-width: 320px;
  background: var(--page-background);
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--page-background);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.page {
  width: min(88%, var(--max-width));
  margin: 0 auto;
  background: var(--content-background);
}

.site-header {
  display: flex;
  min-height: 252px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--accent);
}

.site-logo {
  display: block;
  width: 836px;
  max-width: 100%;
  height: auto;
  flex: 0 1 auto;
}

.site-main {
  min-height: 315px;
  padding: 34px 24px 42px;
  text-align: center;
}

.notice {
  max-width: 900px;
  margin: 0 auto 44px;
  font-size: 18px;
}

.contact {
  margin: 0;
  font-style: normal;
  font-size: 18px;
}

.contact-block {
  display: block;
  margin-top: 24px;
}

.contact a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact a:hover {
  text-decoration: none;
}

.contact a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-footer {
  padding: 15px 16px;
  border-top: 5px solid var(--content-background);
  color: var(--text);
  background: var(--accent);
  text-align: center;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 950px) {
  .page {
    width: 90%;
  }

  .site-header {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .page {
    width: 100%;
  }

  .site-main {
    padding: 28px 18px 36px;
  }

  .notice,
  .contact {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
