* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  border-radius: 0;
}

.container {
  animation: fade-in 0.5s ease-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v29-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v29-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* fjalla-one-regular - latin */
@font-face {
  font-family: 'Fjalla One';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fjalla-one-v13-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/fjalla-one-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/fjalla-one-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/fjalla-one-v13-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/fjalla-one-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/fjalla-one-v13-latin-regular.svg#FjallaOne') format('svg'); /* Legacy iOS */
}
@keyframes fade-in {
  from {opacity: 0}
  to {opacity: 1}
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  margin: 0;
  background-color: white;
  font-family: sans-serif;
}

.header__logo {
  transition: 0.15s ease-in-out;
  display: block;
  height: 100%;
  margin: auto 15px;
  font-size: 40px;
  color: gray;
}

.header__logo:hover {
  transition: 0.15s ease-in-out;
  color: lightgray;
}

.header__menu {
  display: block;
  margin: auto 0;
}
.footer__menu{
    display: block;
    margin: auto 0;
    float: left;
    vertical-align: middle;
    font-size: 15px;
}
.footer__menu li a{
  transition: 0.15s ease-in-out;
  display: block;
  float: right;
  margin: 5px 15px;
  font-size: 26px;
  vertical-align: middle;
  color: gray; 
}
.header__menu--item {
  transition: 0.15s ease-in-out;
  display: block;
  float: right;
  margin: 5px 12px;
  font-size: 26px;
  vertical-align: middle;
  color: gray;
}

.header__menu--item:hover {
  transition: 0.15s ease-in-out;
  color: lightgray;
}

button,
.button {
  transition: 0.15s ease-in-out;
  cursor: pointer;
  display: inline-block;
  margin: 3px;
  width: 150px;
  height: 40px;
  font-size: 18px;
}

.button--primary {
  border: 3px solid gray;
  color: white;
  background: gray;
  font-family: sans-serif;
}

.button--primary:hover {
  transition: 0.15s ease-in-out;
  background-color: lightgray;
  border: 3px solid lightgray;
}

.button--secondary {
  border: 3px solid gray;
  color: gray;
  background: none;
  font-family: sans-serif;
}

.button--secondary:hover {
  transition: 0.15s ease-in-out;
  background-color: gray;
  color: white;
}

.link,
.button--flat {
  border: none;
  background: transparent;
  color: gray;
  font-family: sans-serif;
  width: auto;
}

.button--flat {
  border: none;
  background: transparent;
}

.link:hover, .button--flat:hover {
  transition: 0.15s ease-in-out;
  color: lightgray;
}

.content-box {
  display: block;
  width: auto;
  height: auto;
  min-height: 30vh;
  margin: 0;
  padding: 30px 50px;
  text-align: center;
}

.content-box.content-box--image {
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  height: 85vh;
}

.content-box.content-box--solid-accent {
  background-color: rgb(255, 255, 255);
}

.content-box.content-box--solid-standard {
  background-color: rgb(240, 240, 250);
}

.content-box__body {
  margin: 30px 0;
}

.content-box__text {
  display: block;
  margin: 0 auto;
  max-width: 800px;
  font-family: sans-serif;
  font-size: 18px;
  color: dimgray;
}

h1.content-box__header {
  color: black;
  font-family: sans-serif;
  font-size: 90px;
  text-align: center;
  margin-top: 30vh;
  margin-bottom: 50px;
}

h2.content-box__header {
  color: gray;
  font-family: sans-serif;
  font-size: 45px;
  text-align: center;
  margin: 20px 0;
}

.grid {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-direction: row;
}

.grid-3rd {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  width: 300px;
}

.grid .image-block {
  display: inline-block;
  width: 300px;
  height: 300px;
}

.grid .image-block__mask {
  display: block;
  width: 300px;
  height: 300px;
  overflow: hidden;
  margin: 10px auto;
  border-radius: 100%;
  text-align: center;
}

h6.description {
  display: block;
  font-family: sans-serif;
  font-size: 18px;
  margin: 10px auto;
  color:  gray;
}


form,
fieldset {
  outline: none;
  border: none;
  margin: none;
  padding: none;
}

.input-field {
  display: inline-block;
  padding: 5px 10px;
  margin: 15px 0;
  font-size: 18px;
  font-family: sans-serif;
  color:  lightgray;
  border: none;
  background: white;
}

.input-field.accent {
  background: rgb(240, 240, 250);
}

.textfield {
  height: 40px;
  width: 80%;
  max-width: 300px;
}
select {
  /* ... */
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  width: 100%;
  height: 40px;
  padding-left: 10px;
  background: white;
  color: black;
  font-family: sans-serif;
  font-size: 18px;
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.3);
  border-radius: 3px;
  outline: none;
}
.select-wrapper:before {
  content: "\f107";
  font-family: sans-serif;
  font-size: 18px;
  position: absolute;
  right: 15px;
  top: 10px;
  color: black;
}

.textfield.error,
.textarea.error {
  border-bottom: 1px solid red;
  animation: error 0.25s linear;
}

@keyframes error {
  25% {
    transform: translateX(5%);
  }
  50% {
    transform: translateX(0);
  }
  75% {
    transform: translateX(-5%);
  }
}

.grid .textfield {
  width: 200px;
}

.textarea {
  width: 80%;
  max-width: 500px;
}

.grid .textarea {
  width: 200px;
}

@media screen and (max-width: 1000px) {
  .header__menu--item {
    margin: 5px;
    font-size: 25px;
  } 
  .content-box {
    padding-left: 10px;
    padding-right: 10px;
  }

  .grid-3rd {
    width: 250px;
    margin-top: 20px;
  }

  .grid .image-block {
    width: 250px;
    height: 250px;
  }

  .grid .image-block__mask {
    width: 250px;
    height: 250px;
  }
}

@media screen and (max-width: 900px) {
  .grid-3rd {
    width: auto;
    max-width: 200px;
    margin: 20px 10px 0 10px;
  }

  .grid .image-block {
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 200px;
  }

  .grid .image-block__mask {
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 200px;
  }
}

@media screen and (max-width: 823px) {
  .header {
    height: 40px;
  }

  .header__logo {
    margin: auto 5px;
    font-size: 33px;
  }

  .header__menu--item {
    margin: 5px;
    font-size: 23px;
  }

  .button--flat {
    font-size: 16px;
  }

  .content-box.content-box--image {
    background-attachment: scroll;
  }

  .content-box__text {
    font-size: 12px;
  }

  h1.content-box__header {
    margin-top: 20vh;
    font-size: 50px;
  }

  h2.content-box__header {
    font-size: 30px;
  }
}
@media screen and (max-width: 750px){
     .header__menu--item {
    margin: 5px;
    font-size: 20px;
  }  
}
@media screen and (max-width: 700px) and (orientation: portrait) {
  .grid {
    align-items: center;
    flex-direction: column;
  }

  .grid-3rd {
    margin-top: 20px;
  }

  .grid .description {
    font-size: 10px;
    margin: 10px auto;
  }
}

@media screen and (min-width: 2000px) {

  .grid {
    justify-content: center;
  }

  .grid-3rd {
    margin: 15px 100px;
  }
}

@media screen and (max-width: 600px) {
  .grid {
    align-items: center;
    flex-direction: column;
  }

  .grid-3rd {
    margin-top: 20px;
  }

  .grid .description {
    font-size: 12px;
    margin: 10px auto;
  }

  .header__menu {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    flex-direction: column-reverse;
    justify-content: flex-start;
    padding-top: 40px;
    cursor: pointer;
  }

  .header__menu::before {
    transition: 0.15s ease-in-out;
    content: '...';
    position: absolute;
    right: 15px;
    top: -15px;
    font-weight: 800;
    font-size: 40px;
    cursor: pointer;
    color: gray;
  }

  .header__menu:hover::before {
    transition: 0.15s ease-in-out;
    color: lightgray;
  }

  .header__menu--item {
    transition: .3s ease-in-out;
    display: none;
    float: none;
    margin: 0;
    padding: 10px 5px 10px 10px;
    background: rgba(245,245,245,0.75);
    vertical-align: middle;
    color: gray;
    opacity: 0;
  }

  .header__menu:hover .header__menu--item {
    transition: .3s ease-in-out;
    display: block;
    opacity: 1;
  }

}
