@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: local("Source Sans Pro"),
    url("./SourceSansPro-Regular.subset.woff2") format("woff2");
}

@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: local("Merriweather"),
    url("./merriweather-Regular.subset.woff2") format("woff2");
}

body {
  max-width: 50rem;
  min-height: 100vh;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  padding-right: 1.5rem;
  font-size: 2rem;
  font-family: "Source Sans Pro", Helvetica, Arial, Geneva, sans-serif;
  font-weight: 400;
  color: #444;
}

video {
  border-radius: 1rem;
  box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.5);
  transform: none;
  transition: transform 0.5s;
}

video:hover {
  transform: scale(1.05);
}

.right {
  margin-left: auto;
  margin-right: 0.5em;
}

.imgbox {
  margin-top: 1em;
  margin-bottom: 1.5em;
  width: 100%;
  border: thin solid #ccc;
  text-align: left;
  border-radius: 1rem;
  box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.5);
}
.map {
  overflow: hidden;
}
.imgbox div {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  width: 100%;
}

.imgbox div img,
.imgbox div.img {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  width: 100%;
  height: auto;
  transform: none;
  transition: transform 0.5s, border-bottom-left-radius 0.5s,
    border-bottom-right-radius 0.5s, border-top-left-radius 0.5s,
    border-top-right-radius 0.5s, z-index 0s;
}

.logo {
  width: 100%;
  height: 400px;
}

.quarters {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: grid;
  grid-template-columns: 50% 50%;
}
.quarters div {
  display: flex;
}
.quarters div.img,
.logo div.img {
  border-radius: 0;
  background-size: cover;
  background-position: center center;
}
.quarters div.img.topleft {
  border-top-left-radius: 1rem;
}
.quarters div.img.topright {
  border-top-right-radius: 1rem;
}
.imgbox div img,
.imgbox div.img {
  z-index: 0;
  height: 400px;
}
.imgbox .quarters div.img {
  height: 200px;
}
.imgbox .quarters {
  height: 400px;
}
.imgbox div img:hover,
.imgbox div.img:hover {
  transform: scale(1.05);
  border-radius: 1rem;
  z-index: 10;
  border: solid 2px rgba(255, 255, 255, 0.8);
  margin: -2px;
}
.imgbox div.img.growless:hover {
  transform: scale(1.025);
}
.imgbox p {
  margin: 0.5em;
}
.imgbox h1 {
  font-size: 1.1em;
  font-weight: 400;
  margin: 0.75em;
}

.arrow {
  margin-left: auto;
}
img.right {
  float: right;
  width: 1.5em;
  height: 1.5em;
  margin-top: -0.2em;
}

h1,
h2 {
  font-family: "Merriweather", serif;
  margin-top: 0.1em;
}
h2 {
  font-size: 1.1em;
  font-weight: 400;
}

div.flex {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5em;
  margin-right: -0.5em;
}

div.flex > * {
  margin: 0.5em;
  flex: 1 0 10em;
  text-align: center;
  background-color: #92caff;
  border-radius: 1rem;
  padding: 0.5em;
  box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.5);
}

p.body {
  font-weight: 400;
  color: #216aaf;
}

a {
  text-decoration: none;
}

div.button {
  color: #216aaf;
  font-weight: 400;
  border-color: #216aaf;
  border-radius: 1rem;
  border-width: medium;
  border-style: solid;
  padding: 0.5rem;
  padding-left: 1rem;
  margin-bottom: 1rem;
  transform: none;
  transition: transform 0.5s;
}

div.button:hover {
  transform: scale(1.05);
}

div.button a {
  color: #216aaf;
}

div.half {
  width: 50%;
}

div.half img {
  width: 100%;
}

footer div {
  border-top: thin solid #ccc;
  padding-top: 1rem;
  margin-top: 1rem;
  width: 100%;
}

footer img,
footer svg {
  margin-left: auto;
  margin-right: auto;
  max-width: 30rem;
  width: 100%;
  transform: none;
  transition: transform 0.5s;
}

footer img:hover,
footer svg:hover {
  transform: scale(1.05);
}
