@import url('https://fonts.googleapis.com/css?family=Lato:400,700');

html {
  height: 100%;
  background: #575257;
  padding: 0;
}

body {
  min-width: 450px;
  margin: 0;
  color: #212322;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  background: white;
  display: flex;
  flex-direction: column;
}

h1 {
  color: #3f2a56;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0;
  text-decoration: none;
}

h2 {
  font-size: 1.25rem;
  color: #3f2a56;
}

a, a:visited {
  color: #3f2a56;
}

a:focus {
  outline: 2px solid #3f2a56;
  outline-offset: 2px;
}

.last-updated {
  opacity: 75%;
  font-size: 0.75rem;
}

.alert {
  border: 1px solid #3f2a56;
  background: #e8e0f0;
  border-radius: 5px;
  font-weight: 300;
}

.alert h2 {
  padding: 1rem;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 1rem;
  color: white;
  background: #3f2a56;
}

.alert p {
  padding: 0 1rem;
}

header {
  max-width: 60rem;
  margin: 1rem auto;
}

main {
  max-width: 60rem;
  margin: 1rem auto;
}

footer {
  border-top: 1px solid #575257;
  background: #d9d9d6;
}

#footer-inner {
  max-width: 60rem;
  margin: 2rem auto;
}

.footer-label {
  font-size: 0.8rem;
  color: #575257;
}

.flex {
  display: flex;
}

.spacer {
  display: block;
  width: 4rem;
  height: 2rem;
}

.light,
.light a,
.light a:visited {
  font-size: 0.8rem;
  color: #575257;
}

#map {
  height: 16rem;
  width: 26rem;
  box-shadow: 1px 1px 10px #575257;
}

#address {
  min-width: 8rem;
}

#hours {
  min-width: 8rem;
}

#copyright {
  font-size: 0.8rem;
  color: #575257;
  text-align: center;
  margin: 2rem 0;
}

#covid-closure,
#covid-closure * {
  color: #bf0d3e;
}

@media (max-width: 992px) {
  header, main, #footer-inner {
    margin-left: 8rem;
    margin-right: 8rem;
  }
}

@media (max-width: 768px) {
  header, main, #footer-inner {
    margin-left: 4rem;
    margin-right: 4rem;
  }
}

@media (max-width: 600px) {
  header, main, #footer-inner {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (max-width: 992px) {
  .flex {
    flex-direction: column;
  }

  .spacer {
    height: 1rem;
    width: 1rem;
  }

  #map {
    width: 100%;
  }
}
