/* Ferret's Custom Elecktrickery - motorcyclewiring.co.uk */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FECF05;
  color: #000;
  font-family: "Questrial", sans-serif;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 2;
  height: 111px;
  background: #000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  flex: none;
}

.header-inner {
  position: relative;
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
}

.brand {
  position: absolute;
  top: 19px;
  left: 20px;
  margin: 0;
  color: #fff;
  font-family: "Questrial", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  text-transform: uppercase;
}

.logo {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 99px;
  height: 98px;
  transform: translateX(-50%);
}

.call-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 61px;
  height: 61px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.call-button svg {
  width: 42px;
  height: 42px;
  fill: #000;
}

.call-button:hover,
.call-button:focus-visible { background: #e6e6e6; }

/* ---------- Main ---------- */
.site-main {
  flex: 1 0 auto;
  padding: 70px 20px 59px;
  text-align: center;
}

.site-main h1 {
  margin: 0 0 43px;
  font-family: "Questrial", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 42px;
}

.site-main p {
  margin: 0 0 45px;
  font-size: 26px;
  line-height: 39px;
}

.site-main p:nth-of-type(2) { margin-bottom: 43px; }
.site-main p:nth-of-type(3) { margin-bottom: 40px; }
.site-main p:last-child { margin-bottom: 0; }

.site-main a {
  color: #000;
  text-decoration: none;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  flex: none;
  height: 155px;
  padding-top: 33px;
  background: #000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.copyright {
  margin: 0;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  line-height: 22.5px;
}

.credit {
  display: block;
  width: 184px;
  margin: 44px auto 0;
}

.credit img {
  display: block;
  width: 184px;
  height: 36px;
}

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .brand { font-size: 15px; line-height: 20px; top: 24px; left: 14px; }
  .logo { width: 70px; height: auto; top: 14px; }
  .call-button { width: 50px; height: 50px; top: 30px; right: 14px; }
  .call-button svg { width: 34px; height: 34px; }

  .site-main { padding: 50px 16px 50px; }
  .site-main h1 { font-size: 30px; line-height: 36px; margin-bottom: 32px; }
  .site-main p { font-size: 21px; line-height: 31px; margin-bottom: 32px; }

  .site-footer { padding-top: 28px; }
  .credit { margin-top: 36px; }
}
