body {
  font-family: "Lato", sans-serif;
  -webkit-font-smoothing: antialiased;
}

p {
  font-size: 1.1rem;
  line-height: 1.2;
  color: #707070;
}

h1 {
  font-size: 2.5rem;
  color: #707070;
}

h2 {
  font-size: 2rem;
  color: #707070;
}

ul {
  color: #707070;
  font-size: 1.1rem;
  line-height: 1.2;
}

.text-center {
  text-align: center !important;
}

.color-white {
  color: white;
}

a.button {
  display: inline-block;
  text-decoration: none;
  color: #707070;
  border: 1px solid #707070;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  transition: all 0.2s ease;
}
a.button:hover {
  background-color: #707070;
  color: white;
}
a.button.white {
  color: white;
  border-color: white;
}
a.button.white:hover {
  background-color: white;
  color: #707070;
}

nav {
  background-color: transparent;
  transition: all 0.2s ease;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 5;
}
nav a.menu-item {
  transition: color 0.2s ease;
  color: white;
  text-decoration: none;
  margin: 0;
  padding: 1rem;
}
nav.scrolling {
  background-color: #fff;
}
nav.scrolling a.menu-item {
  color: #707070;
}
nav .logo {
  width: 100%;
  max-width: 200px;
}
nav .logo.color {
  display: none;
}
nav .dark a.menu-item {
  color: #707070;
}

#toggle {
  display: block;
  width: 28px;
  height: 30px;
  margin: 30px auto 10px;
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}

#toggle span:after {
  top: 9px;
}

#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 5px;
  background-color: white;
  transition: all 0.3s;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 2px;
}

.scrolling #toggle span,
.scrolling #toggle span:after,
.scrolling #toggle span:before {
  background-color: #707070;
}

.dark#toggle span,
.dark#toggle span:after,
.dark#toggle span:before {
  background-color: #707070;
}

#toggle.on span {
  background-color: transparent;
}

#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}

#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}

#toggle.on + #menu {
  opacity: 1;
  visibility: visible;
}

.header-picture {
  height: 60vh;
  width: 100%;
  background-image: url(/images/homepage-header.jpg?49369f86dce9b145b94693b938e2cf0c);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: white;
}

.small-header-picture {
  height: 45vh;
  width: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

main::after {
  content: "";
  display: block;
  clear: both;
}
main .grid-item {
  overflow: hidden;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
}
main .grid-sizer {
  height: 0 !important;
}
main .normal-size {
  width: calc(100vw / 4);
  height: calc(100vw / 4);
}
main .double-size {
  width: calc(100vw / 2);
  height: calc(100vw / 4);
}
main .double-square-size {
  width: calc(100vw / 2);
  height: calc(100vw / 2);
}
@media only screen and (max-width: 1350px) {
  main .normal-size {
    width: calc(100vw / 3);
    height: calc(100vw / 3);
  }
  main .double-size {
    width: calc(100vw * (2 / 3));
    height: calc(100vw / 3);
  }
  main .double-square-size {
    width: calc(100vw * (2 / 3));
    height: calc(100vw * (2 / 3));
  }
}
@media only screen and (max-width: 1000px) {
  main .normal-size {
    width: calc(100vw / 2);
    height: calc(100vw / 2);
  }
  main .double-size {
    width: calc(100vw / 1);
    height: calc(100vw / 2);
  }
  main .double-square-size {
    width: calc(100vw / 1);
    height: calc(100vw / 1);
  }
}
@media only screen and (max-width: 670px) {
  main .normal-size {
    width: calc(100vw / 1);
    height: calc(100vw / 1);
  }
  main .double-size {
    width: calc(100vw / 1);
    height: calc(100vw / 1);
  }
  main .double-square-size {
    width: calc(100vw / 1);
    height: calc(100vw / 1);
  }
}

.form-wrapper {
  width: 100%;
  max-width: 500px;
}
.form-wrapper input, .form-wrapper textarea {
  padding: 0.5rem 0;
  width: 100%;
  border: none;
  border-bottom: 1px solid gray;
  font-size: 1.8rem;
  font-weight: bolder;
  resize: none;
  outline: none;
}
.form-wrapper input::-moz-placeholder, .form-wrapper textarea::-moz-placeholder {
  text-transform: uppercase;
  color: lightgray;
}
.form-wrapper input:-ms-input-placeholder, .form-wrapper textarea:-ms-input-placeholder {
  text-transform: uppercase;
  color: lightgray;
}
.form-wrapper input::placeholder, .form-wrapper textarea::placeholder {
  text-transform: uppercase;
  color: lightgray;
}

button[type=submit] {
  border: 1px solid #707070;
  border-radius: 0;
  background-color: white;
  padding: 1rem 2rem;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
button[type=submit]:hover {
  background-color: #707070;
  color: white;
}
