html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background: #f7f8f5;
  color: #172a3a;
  margin-bottom: 0;
}

.navbar-brand {
  padding-block: .2rem;
}

/* The transparent SVG wordmark is reused at different sizes without losing sharpness. */
.brand-logo {
  display: inline-flex;
  text-decoration: none;
}

.brand-logo-image {
  display: block;
  height: 2.35rem;
  object-fit: contain;
  transition: transform .15s ease;
  width: auto;
}

.brand-logo:hover .brand-logo-image,
.brand-logo:focus-visible .brand-logo-image {
  transform: translateY(-1px);
}

.site-footer {
  background: #102f38;
  color: #c5d4d6;
  margin-top: 4rem;
  padding: 3.5rem 0 1.25rem;
}

.site-footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.7fr) minmax(140px, .65fr) minmax(210px, .8fr);
}

.footer-brand {
  width: fit-content;
}

.footer-brand .brand-logo-image {
  height: 2.65rem;
}

.footer-brand-block p {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: .75rem 0 .3rem;
}

.footer-brand-block > span {
  display: block;
  max-width: 430px;
}

.footer-links,
.footer-maker {
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-links strong,
.footer-maker strong {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .09em;
  margin-bottom: .25rem;
  text-transform: uppercase;
}

.site-footer a:not(.footer-brand) {
  color: #c5d4d6;
  text-decoration: none;
}

.site-footer a:not(.footer-brand):hover,
.site-footer a:not(.footer-brand):focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .13);
  display: flex;
  font-size: .78rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
}

@media (max-width: 767.98px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: .35rem;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
