@font-face {
  font-family: WeblySleek;
  src: url(/assets/fonts/weblysleekuil.ttf);
}

::selection {
  background: #c3e2eb; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #c3e2eb; /* Gecko Browsers */
}

footer::selection {
  background: #1d3e47;
}

footer::-moz-selection {
  background: #1d3e47;
}

html {
  scroll-behavior: smooth;
}

body {
  /* font-family: Raleway, 'WeblySleek', Helvetica, sans-serif; */
  /* font-family: 'opensans', Helvetica, sans-serif; */
  font-family: 'WeblySleek', Helvetica, sans-serif;
  font-size: 1.2em;
  font-weight: normal;
  margin: 0;
}


/* Define a transition duration during page visits */
html.is-changing .transition-fade {
  transition: opacity 0.4s;
  opacity: 1;
}

/* Define the styles for the unloaded pages */
html.is-animating .transition-fade {
  opacity: 0;
}


#menu {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 100vw;
  z-index: 2;
}

#menu a {
  color: black;
  margin: 40px;
  text-decoration: none;
}



@keyframes fadeIn {
  from {
    opacity: 0;
  } to {
    opacity: 1;
  }
}


.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.logo::after {
  margin-right: auto;
}

.logo::before{
  content: "over";
  visibility: hidden;
  margin: 40px;
  /* margin-left: auto; */
}

.logo img {
  height: 100px;
  width: auto;
  margin-top: 5px;
}

/* ===== drawing =====  */
.divider {
  display: flex;
  align-items: center;

  margin: 50px 30px;
}

.line {
  flex: 1;
  height: 5px;

background-image: url('data:image/svg+xml;utf8,<svg data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 284.86 9.84" preserveAspectRatio="none"><path fill="%23c3e2eb" d="M1.44 7.57l11.46-.65c3.51-.2 7.1-.61 10.56.23s6.3 1.79 9.68.89c2.97-.79 5.65-2.44 8.81-1.58s5.71 2.31 8.9 1.35c2.38-.72 4.83-2.93 7.43-2.51 1.39.23 2.65 1.08 3.92 1.64 1.43.63 2.88.99 4.45.8 2.72-.33 5.26-2.35 8.04-2.06 1.51.16 2.92.91 4.37 1.3 1.72.46 3.51.52 5.27.36 3.45-.31 6.89-1.02 10.31-1.57s7.22-1.48 10.81-1.6 7.21 1.11 10.64 1.83 7.12 1.48 10.75 1.45 6.64-1.15 10.01-1.78c1.54-.29 3.17-.42 4.69.06 1.42.44 2.64 1.36 4.08 1.78 3.33.96 5.8-1.36 8.96-1.65s5.98 1.69 8.97 2.1c1.61.22 3.15.04 4.63-.65 1.27-.6 2.37-1.62 3.7-2.06 1.69-.56 3.26.85 4.77 1.42 1.25.47 2.6.59 3.92.41 2.91-.38 5.59-2.14 6.87-4.81h-2.59c1.37 3.19 4.45 5.5 7.8 6.23 1.66.36 3.38.39 5.03 0 1.96-.47 3.54-1.94 5.48-2.35 1.73-.37 2.67 1.98 4.31 2.38.86.21 1.73.02 2.51-.37.67-.34 1.39-1.18 2.16-1.27s1.63.74 2.21 1.14c.76.53 1.55 1.04 2.46 1.27 1.72.44 3.4-.1 4.96-.82 1.42-.65 2.87-1.71 4.47-1.84s3.26 1.07 4.72 1.7 3.18 1 4.58-.07c.7-.53 1.11-1.27 1.39-2.1.26-.76.25-1.64 1.23-1.61.89.03 1.81.51 2.6.88 1 .46 2 .89 3.06 1.18 2.19.58 4.47.66 6.7.3 1.07-.18 2.08-.56 3.14-.76 1.38-.26 1.96.29 2.82 1.27 1.2 1.36 2.64 2.22 4.47 2.4 4.14.39 7.89-2.64 12.02-2.06 2.36.34 4.51 1.62 6.96 1.42 1.95-.16 3.95-1.05 4.76-2.94.76-1.75-1.83-3.28-2.59-1.51-.64 1.47-2.38 1.65-3.8 1.37-2.07-.41-3.98-1.34-6.12-1.39-3.6-.08-6.78 2.04-10.32 2.15-1.89.06-2.66-.99-3.89-2.25-1.54-1.58-3.48-1.75-5.55-1.25s-4.12.99-6.35.67c-2.05-.29-3.76-1.27-5.67-1.98-1.59-.59-3.53-.82-4.9.4-.68.61-1.03 1.39-1.29 2.25-.16.53-.21 1.18-.83 1.27s-1.5-.48-2.01-.72c-.83-.4-1.65-.83-2.52-1.15-1.56-.59-3.18-.58-4.74-.03s-2.89 1.46-4.41 2.04c-1.72.65-2.73.13-4.16-.88s-3.02-1.74-4.78-1.05c-.76.3-1.34.84-2.05 1.22-.79.42-1.08-.17-1.65-.72-1.62-1.6-3.53-1.95-5.66-1.12-1.88.74-3.49 2.03-5.57 2.21-3.57.3-7.04-1.72-8.45-5.01-.43-1.01-2.13-.95-2.59 0-1.04 2.17-3.3 3.57-5.74 3.41-1.33-.09-2.38-.78-3.56-1.32-1.38-.64-2.8-.95-4.3-.52-2.61.74-4.34 3.09-7.26 2.7-2.74-.36-5.19-1.83-7.96-2.12-1.29-.14-2.57.03-3.81.42-1.5.48-3.03 1.4-4.64 1.45-1.38.04-2.54-.78-3.74-1.33-1.54-.71-3.14-1.06-4.83-1.02-3.24.08-6.27 1.35-9.44 1.84-3.59.55-7.25-.04-10.77-.75s-6.85-1.58-10.32-2.11-6.87.24-10.29.79-7.08 1.14-10.63 1.71c-1.67.27-3.34.55-5.03.54s-3.11-.47-4.65-1c-1.41-.48-2.85-.87-4.35-.74-1.41.12-2.72.61-4.03 1.11-1.24.48-2.59 1.08-3.96 1-1.49-.08-2.8-.95-4.12-1.55-2.76-1.26-5.14-1.16-7.88.09-1.16.53-2.27 1.2-3.5 1.57-1.59.47-3.04.1-4.57-.43s-3.07-1.15-4.73-1.3-3.28.23-4.83.75c-1.69.57-3.41 1.38-5.21 1.51s-3.48-.4-5.17-.86c-3.9-1.05-7.64-.96-11.64-.73l-12.46.71c-1.92.11-1.93 3.11 0 3z" data-name="Layer 1"/></svg>');

  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
}

.drawing {
  width: 30%;
  flex-shrink: 0;
}

.drawing path {
  vector-effect: non-scaling-stroke;
}


.line.left {
  flex: 4;
}

.line.right {
  flex: 1;
}

/* ==== footer ======  */

footer {
  position: absolute;
  width: 100%;
  margin-top: 100px;
  background-color: #c3e2eb;
  /* padding: 20px; */
}

footer > p {
  /* TODO: change this 10% to a variable */
  padding: 20px 20px 30px calc(20% + 30px);
  margin: 0;
  font-size: 0.8em;
  color: #1d3e47;
}

footer::before {

  /* TODO: Bootje neerzetten in footer */
  display: block;
  /* transform: translate(0,-5px); */
  content: "";
  /* margin-top: 50px; */
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  margin-bottom: 0;
  /* margin-inline: 30px; */
  border: none;
  color: white;
  background-image: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8"?><svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 284.91 26.47"><g id="Layer_1-2" data-name="Layer 1"><path fill="%23c3e2eb" d="M284.77,6.22v20.25H0V6.22h.02c-.04-.78.44-1.6,1.43-1.66l12.46-.71c4-.23,7.74-.32,11.64.73,1.69.46,3.37.99,5.17.86s3.52-.94,5.21-1.51c1.55-.52,3.17-.9,4.83-.75,1.66.15,3.2.77,4.73,1.3,1.53.53,2.98.9,4.57.43,1.23-.37,2.34-1.04,3.5-1.57,2.74-1.25,5.12-1.35,7.88-.09,1.32.6,2.63,1.47,4.12,1.55,1.37.08,2.72-.52,3.96-1,1.31-.5,2.62-.99,4.03-1.11,1.5-.13,2.94.26,4.35.74,1.54.53,2.96.99,4.65,1s3.36-.27,5.03-.54c3.55-.57,7.21-1.16,10.63-1.71s6.82-1.32,10.29-.79c3.47.53,6.8,1.4,10.32,2.11,3.52.71,7.18,1.3,10.77.75,3.17-.49,6.2-1.76,9.44-1.84,1.69-.04,3.29.31,4.83,1.02,1.2.55,2.36,1.37,3.74,1.33,1.61-.05,3.14-.97,4.64-1.45,1.24-.39,2.52-.56,3.81-.42,2.77.29,5.22,1.76,7.96,2.12,2.92.39,4.65-1.96,7.26-2.7,1.5-.43,2.92-.12,4.3.52,1.18.54,2.23,1.23,3.56,1.32,2.44.16,4.7-1.24,5.74-3.41.46-.95,2.16-1.01,2.59,0,1.41,3.29,4.88,5.31,8.45,5.01,2.08-.18,3.69-1.47,5.57-2.21,2.13-.83,4.04-.48,5.66,1.12.57.55.86,1.14,1.65.72.71-.38,1.29-.92,2.05-1.22,1.76-.69,3.35.04,4.78,1.05.65.46,1.22.82,1.81,1.01.6.2,1.22.22,1.97,0,.12-.04.25-.08.38-.13,1.52-.58,2.85-1.49,4.41-2.04s3.18-.56,4.74.03c.87.32,1.69.75,2.52,1.15.51.24,1.39.81,2.01.72.62-.09.67-.74.83-1.27.26-.86.61-1.64,1.29-2.25,1.37-1.22,3.31-.99,4.9-.4,1.91.71,3.62,1.69,5.67,1.98,2.23.32,4.28-.17,6.35-.67,2.07-.5,4.01-.33,5.55,1.25.62.64,1.12,1.22,1.71,1.63.58.41,1.24.65,2.18.62,1.17-.04,2.3-.29,3.42-.62,2.27-.65,4.49-1.58,6.9-1.53,2.14.05,4.05.98,6.12,1.39,1.42.28,3.16.1,3.8-1.37.76-1.77,3.35-.24,2.59,1.51Z"/></g></svg>');

  height: 20px;
  /* margin-inline: 30px; */
  /* width: 1000px; */
  background-position: center;
  background-repeat: repeat-x;
  background-size: contain;
}

.boat {
  /* display: block; */
    position: absolute;
  top: 0;
  left: 20%;
  margin: 0;
  padding: 0;
  /* position: relative; */
  /* top: -30px; */
  /* left: 300px; */
  height: auto;
  width: 30px;
  /* background-color: #1d3e47; */
  overflow: hidden;
  transform: translateY(-90%);
  animation: boat 4s alternate-reverse infinite, moveBoat 90s alternate infinite;
  /* z-index: -1; */
}


@keyframes moveBoat {
  0% {
    left: 20%;
  }
  100% {
    left: 80%;
  }
}



@keyframes boat {
  0% {
    transform: translateY(-90%) rotate(-2deg);
  }
  100% {
    transform: translateY(-80%) rotate(1deg);
  }
}

.boat img {
  height: 100%;
  width: auto;
}



#contact {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2ex;
  margin-top: 10%;
}


@media screen and (max-width: 600px) {

  body {
    font-size: 1.1em;
  }

  #menu {
    height: 80px;
    justify-content: space-between;
    padding-inline: 10%;
    width: 80%;
  }

  .logo::before {
    display: none;
  }

  .logo {
    display: inline-block;
  }

  .logo img {
    height: 50px;
    width: auto;
    margin-top: 5px;
  }

  #menu a {
    color: black;
    margin: 0px;
    text-decoration: none;
  }

  footer > p {
      /* TODO: Change this 10% to a variable */
    padding: 20px 20px 30px 10%
  }


.line.left {
  flex: 1;
}

.line.right {
  flex: 1;
}

.drawing {
  width: 60%;;
}
}
