body {
  font-family: "Lato", sans-serif;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
}

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;
}

.link-clear {
  text-decoration: none;
  color: #707070;
}

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 {
  z-index: 9;
  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;
}

.mobile-menu {
  opacity: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 102px;
  background-color: #6b982f;
  z-index: 1;
  padding: 1rem;
  transition: all 0.5s ease;
  transform: translateY(-5%);
}
.mobile-menu a.menu-item {
  display: block;
  width: 100%;
  color: white;
  text-decoration: none;
  text-align: center;
  font-size: 1.5rem;
  padding: 1rem;
}
.mobile-menu.active {
  opacity: 1;
  -webkit-user-select: auto;
     -moz-user-select: auto;
      -ms-user-select: auto;
          user-select: auto;
  pointer-events: auto;
  display: block;
  transform: translateY(0);
}

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

.grecaptcha-badge {
  visibility: hidden;
}

.lip {
  position: fixed;
  right: 0;
  bottom: 2em;
  width: 70px;
  height: 70px;
  background-color: #8d8077;
}
.lip img:hover {
  transform: scale(1.2);
}

.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 .form-wrapper input, main .form-wrapper textarea {
    font-size: 1.4rem;
  }
  main button[type=submit] {
    padding: 0.5rem 1rem;
  }
  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 p, main ul {
    font-size: 1rem;
  }
  main .form-wrapper input, main .form-wrapper textarea {
    font-size: 1.3rem;
  }
  main .normal-size {
    width: calc(100vw / 1);
    height: auto;
    min-height: calc(100vw / 1);
  }
  main .double-size {
    width: calc(100vw / 1);
    height: auto;
    min-height: calc(100vw / 1);
  }
  main .double-square-size {
    width: calc(100vw / 1);
    height: auto;
    min-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;
}

.email-success {
  z-index: 99;
  position: fixed;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  background-color: #ffffffda;
}
.email-success .wrapper {
  background-color: #fff;
  color: #707070;
  border: 1px solid lightgray;
  width: 350px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.pre-footer {
  max-width: 100%;
  overflow: hidden;
  padding: 6rem 0;
  background-image: url(/images/footer-background.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.pre-footer img {
  width: 100%;
  max-width: 250px;
  display: block;
  margin: auto;
}
