html {
  font-family: "GFS Didot", serif;
  line-height: 2.5rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

li,
a,
button {
  font-family: "GFS Didot", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: black;
  text-decoration: none;
}

header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 10%;
  height: 125px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 4;
}

.landing {
  background-color: transparent;
  opacity: 1;
  animation-name: menuFade;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-duration: 2s;
  animation-direction: alternate;
}

.splash {
  width: 100vw;
  height: 100vh;
}

.splash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  -webkit-transition: opacity 3s ease-in-out;
  -moz-transition: opacity 3s ease-in-out;
  -o-transition: opacity 3s ease-in-out;
  transition: opacity 3s ease-in-out;
}

.large-image {
  width: 100vw;
  height: 100vh;
}

#background {
  background: url("./images/bloemendaal/3.jpg");
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: 0% 50%;

  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

@keyframes menuFade {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes splash {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.large-image .logointro {
  opacity: 0;
  animation-name: splash;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-duration: 4s;
  animation-direction: alternate;
}

#mobile {
  display: none;
}

.large-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.large-image img {
  position: absolute;
  top: 0;
  object-position: 95% 50%;
  /* -webkit-animation-name: fade;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 20s;
    animation-name: fade;
    animation-iteration-count: infinite;
    animation-duration: 20s; */
}

@-webkit-keyframes fade {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#f2 {
  -webkit-animation-delay: 15s;
  animation-delay: 15s;
}
#f3 {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}

#f4 {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}

#f5 {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  display: none;
}

.intro {
  position: relative;
}

.logo {
  cursor: pointer;
  margin-right: auto;
  height: 88%;
}

.nav_links {
  list-style: none;
  justify-content: right;
  color: black;
}

.nav_links li {
  display: inline-block;
  padding: 0px 30px;
}

.nav_links li a {
  transition: all 0.4s ease 0s;
}

.nav_links li a:hover {
  border-bottom: 1px solid black;
  padding-bottom: 5px;
}

button {
  padding: 9px 25px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease 0s;
  margin-left: 20px;
}

button:hover {
  background-color: rgba(0, 136, 169, 0.8);
}

.icon {
  display: none;
}

footer {
  bottom: 0;
  height: 10vh;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
}

.buttons {
  display: flex;
  height: 100%;
  list-style: none;
}

.foot {
  height: 100%;
  width: 33%;
  text-align: center;
  line-height: 80px;
}
.foot p {
  color: black;
}

@media only screen and (max-width: 780px) {
  nav {
    display: none;
  }

  .logo {
    margin: auto;
  }

  .large-image {
    width: 100vw;
    height: 100vh;
  }

  #background {
    background-position: 56% 45%;
  }

  .large-image img.logointro {
    display: none;
  }

  #desktop {
    display: none;
  }

  #mobile {
    display: block;
  }

  #f4 {
    display: none;
  }

  #f5 {
    display: block;
  }
}

@media only screen and (min-width: 780px) {
  footer {
    display: none;
  }

  .large-image {
    width: 100vw;
    height: 100vh;
  }
}
