/* Deze website is mobile-first ontworpen */
/*  */

/* FONTS */

@font-face {
  font-family: happy-times-reg;
  src: url(/fonts/happy-times-NG_regular_master_web.woff);
}

@font-face {
  font-family: happy-times-it;
  src: url(/fonts/happy-times-NG_italic_master_web.woff);
}

@font-face {
  font-family: dingbats2;
  src: url(/fonts/DingbatsTwo-Regular.otf);
}

/* ALGEMEEN */

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  font-family: 'happy-times-reg', 'Times New Roman', Times, serif;
  /* font-size: 12px; */
  font-size: 1.7vh;
  /* line-height: 14.4px; */
  line-height: 1.2em;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* "smooth" scrolling */
  -ms-overflow-style: -ms-autohiding-scrollbar;
  scrollbar-width: none;
}

.body::-webkit-scrollbar {
  display: none;
}

main {
  -webkit-overflow-scrolling: touch; /* "smooth" scrolling */
  -ms-overflow-style: -ms-autohiding-scrollbar;
  scrollbar-width: none;
}

.main::-webkit-scrollbar {
  display: none;
}

p {
  margin: auto;
  hyphens: manual;
  /* -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none; */
}

/* NAVIGATIE */

nav {
  padding-top: 1.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

nav ul {
  display: flex;
  justify-content: center space-between;
}

nav li {
  flex: 1 1 0;
  text-align: center;
  padding: 0.5em;
}

.sticky-left {
  text-align: left;
  padding-left: 1.5em;
}

.sticky-right {
  text-align: right;
  padding-right: 1.5em;
}

.underline {
  text-decoration: underline;
  text-decoration-thickness: from-font;
}

.pijl {
  font-family: 'dingbats2';
  font-size: 0.9em;
}

.invert {
  display: inline-block;
  transform: rotate(180deg);
}

.italic {
  font-family: 'happy-times-it';
}

/* ABOUT */

address {
  padding-top: 2em;
  text-align: center;
}

.about {
  display: block; /* zorgt dat about-textblok niet naar beneden geduwd wordt (body {display:flex justify-content:space-between})*/
}

.link-groen {
  color: rgb(0, 167, 56);
}

#about-text {
  width: 22em;
  padding-top: 2.5em;
}

#copyright {
  font-size: 1.6vh;
  position: absolute;
  right: 4vh;
  bottom: 2vh;
  padding-left: 4vh;
}

/* PROJECTS */

section {
  padding-top: 2.5em;
}

h1 {
  margin: 0 auto 4em;
  text-align: center;
}

.scrolling-wrapper {
  position: relative;
}

.scrolling-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  overflow-y: hidden;
  /* scroll-behavior: smooth; */
  -webkit-overflow-scrolling: touch; /* "smooth" scrolling */
  -ms-overflow-style: -ms-autohiding-scrollbar;
  height: 83vh;
}

.scrolling-container::-webkit-scrollbar {
  display: none;
}

.project-description {
  height: 100%;
  width: 22em;
}

.scrolling-item {
  flex-shrink: 0;
  flex-grow: 0;
  height: 100%;
  margin-left: 1.5em;
}

.miniatures .scrolling-item:first-of-type,
.index .scrolling-item:first-of-type {
  margin-left: 0;
}

.scrolling-item img {
  height: 100%;
  flex-shrink: 0;
}

@media screen and (min-width: 480px) {
  body {
    font-size: 1.65vh;
  }

  nav {
    width: 90%; /* bij grotere schermen marge toevoegen rond navigatie-menu */
    margin: auto;
    padding-top: 2.5em;
    padding-left: 0;
    padding-right: 0;
  }

  nav ul {
    justify-content: center space-around;
  }

  .sticky-left {
    text-align: center;
    padding-left: 0;
  }

  .sticky-right {
    text-align: center;
    padding-right: 0;
  }

  section {
    padding-top: 4em;
  }

  h1 {
    margin: 0 auto 5em;
  }

  .scrolling-container {
    height: 76vh;
  }

  .project-description {
    width: 23em;
    padding-left: 0.8em;
    padding-right: 0.8em;
  }
}

@media screen and (min-width: 1500px) {
  .project-description {
    width: 25em;
    padding-left: 1em;
    padding-right: 1em;
  }
}
