/*
Theme Name: Julie Van Milders
Author: So Uncalled—For
Description: Custom Theme for Julie Van Milders
Version: 0.0.1
Tags: custom, su-f, souncalledfor, sufsufstudio, julie van milders, julie, van milders, design studio, design, studio
*/

/*
 * Globals
 */
@font-face {
  font-family: "RationalText";
  src: url("fonts/RationalText-Medium.woff") format("woff");
  font-weight: 500;
}
@font-face {
  font-family: "RationalText";
  src: url("fonts/RationalText-Light.woff") format("woff");
  font-weight: 300;
}

@import url("https://p.typekit.net/p.css?s=1&k=smx6jzq&ht=tk&f=13464.13465.13466.13467.44384.44385.44390.44391&a=99245226&app=typekit&e=css");
@font-face {
  font-family:"FreightTextPro";
  src: url("https://use.typekit.net/af/a9e142/00000000000000007735d61f/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/a9e142/00000000000000007735d61f/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/a9e142/00000000000000007735d61f/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
  font-weight:400;
}
@font-face {
  font-family:"freight-text-pro";
  src: url("https://use.typekit.net/af/9e97d3/00000000000000007735d62a/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/9e97d3/00000000000000007735d62a/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/9e97d3/00000000000000007735d62a/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
  font-weight:700;
}

@font-face {
  font-family: "Wingdings3";
  src: url("fonts/Wingdings3-Regular.ttf") format("truetype");
  font-weight: 400;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background-color: #F4E9D1;
}
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
}
body {
  -ms-autohiding-scrollbar: auto;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  scroll-behavior: smooth;
  overflow: hidden;
  color: #867F6C;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6,
ul,
p,
input,
textarea {
  font-family: "FreightTextPro", serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
p,
input,
textarea {
  font-weight: 200;
}
h1 {
  font-size: 96px;
  line-height: 120px;
}
h2 {
  font-size: 36px;
  line-height: 48px;
}
h3,
p,
input,
textarea {
  font-size: 24px;
  line-height: 36px;
}
h4 {
  font-size: 14px;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  break-inside: avoid;
  break-after: always;
}
h5,
.selected li a,
input[type="submit"] {
  font-size: 14px;
  line-height: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
h5 a,
close,
.selected li a,
input[type="submit"] {
  font-family: 'RationalText', sans-serif;
  padding: 10px 0;
  /* height: 24px; */
  box-sizing: border-box;
  display: block;
  overflow: hidden;
  font-weight: 300;
}
h6 {
  font-size: 11px;
  line-height: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
a,
close {
  text-decoration: none;
  color: #867F6C;
  transition-duration: 0.2s;
}
h5 a::before {
  padding-right: 5px;
  font-family: 'Wingdings3';
  content: "\F0D8";
  font-size: 16px;
  transform: translateY(1px);
  display: inline-block;
}
h5 a[target="_blank"]::before {
  padding-right: 5px;
  font-family: 'Wingdings3';
  content: "\F0D6";
  font-size: 16px;
  transform: translateY(-2px);
  display: inline-block;
}
h5 a:hover,
close:hover,
.selected li a:hover,
.current-cat a,
input[type="submit"]:hover {
  color: #26241f;
}
ul {
  list-style: none;
  padding: 0;
}
input {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #3f4537;
  background-color: transparent;
  margin-bottom: 36px;
}
textarea {
  padding: 0;
  width: 100%;
  background: transparent;
  border: none;
  border-width: 0;
  border-radius: 0;
  border: none;
  background-attachment: local;
  background-color: none;
  background-color: transparent;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 35px,
    #3f4537 35px,
    #3f4537 36px
  );
  resize: none;
  height: 180px;
  -webkit-appearance: none;
}
img,
video {
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
* {
  cursor: none !important;
}
cursor {
  pointer-events: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #29524A;
  backface-visibility: hidden;
  transition: transform 0.2s ease;
  z-index: 1000;
  transform: scale(0.66);
  display: none;
  transform-origin: center;
  mix-blend-mode: exclusion;
}
.link {
  transform: scale(1);
}

.grecaptcha-badge {
  display: none !important;
}

/*
 * Global
 */

.animsition-overlay-slide {
  background-color: #F4E9D1;
  z-index: 2000;
}

.animsition-loading-custom {
  position: fixed;
  z-index: 2001;
  background-image: url('svg/studiovanilla-logo.svg');
  width: 561.1px;
  height: 263px;
  top: 50%;
  left: 50%;
  display: block;
  transform: scale(0.25) translate(-200%, -200%);
}

/* Define the breathing element */
.breathing-element, .animsition-loading-custom {
  /* Set initial opacity to 0 */
  opacity: 0.3;
  
  /* Define animation properties */
  animation-name: breathing-animation;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Define the breathing animation */
@keyframes breathing-animation {
  0% {
    /* Start with opacity at 0 */
    opacity: 0.2;
  }
  50% {
    /* Increase opacity to 1 at halfway point */
    opacity: 1;
  }
  100% {
    /* Return to opacity 0 at the end */
    opacity: 0.2;
  }
}

main {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  overflow-x: hidden;
  overflow-y: scroll;
}
wrap {
  display: block;
  position: relative;
  height: auto;
  float: left;
  width: calc(100% - 72px);
}
set {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  position: relative;
  float: left;
  z-index: 1;
}
set.selected {
  flex-wrap: nowrap;
}

/*
 * Header
 */

header {
  position: fixed;
  top: 36px;
  right: 36px;
  z-index: 250;
}
header ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 36px 36px 36px 36px;
  margin-top: -36px;
  margin-right: -36px;
}
header li {
  margin: 0;
  padding: 0;
  margin-left: 9px;
}
#overlay header {
  display: flex;
  justify-content: space-between;
  opacity: 0;
}
#overlay close {
  display: block;
}
#overlay.page close {
  color: #e1f5e1;
}
#overlay.page h5 a:hover,
#overlay.page close:hover {
  color: #3f4537;
  background-color: #e1f5e1;
}
#overlay.page header a,
#overlay.page header close {
  border: 1px solid #e1f5e1;
}
#overlay.page header ul:hover li a {
  color: rgba(225, 245, 225, 1);
}
#overlay.page header ul li:hover a {
  background-color: rgba(225, 245, 225, 1);
  color: #3f4537;
}

/*
 * Logo
 */

name {
  background-image: url("svg/studiovanilla-woordmerk-01.svg");
  background-repeat: no-repeat;
  background-position: center center;
  position: fixed;
  display: block;
  left: 36px;
  right: 36px;
  top: 84px;
  height: calc(10vw - 7px);
  width: calc(100vw - 72px);
  z-index: 0;
}

/*
 * Slider
 */

slider {
  z-index: 300;
  position: relative;
  width: 100vw;
  height: 180vh;
  float: left;
  display: block;
  pointer-events: none;
}
.logo {
  background-image: url('svg/studiovanilla-logo.svg');
  width: 561.1px;
  height: 263px;
}
.logo.plain {
  display: block;
  position: absolute;
  top: -70px;
  left: -180px;
  z-index: 2;
  transform: scale(0.25);
}
slider .logo {
  position: absolute;
  top: -50px;
  left: -180px;
  display: block;
  z-index: 1000;
  transform: scale(0.25);
  pointer-events: all;
}
slider wrap {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  pointer-events: all;
  background-color: #e1f5e1;
}
slider h4:first-of-type {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  z-index: 10;
}
slider slide {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  clip: rect(auto, auto, auto, auto);
}
slider slide:not(.actif) {
  opacity: 0;
  left: 200%;
}
slider slide.actif {
  left: 0 !important;
  opacity: 1 !important;
}
slider slide.actif + slide {
  left: 100% !important;
  opacity: 1 !important;
}
slider slide img,
slider slide video,
slider slide iframe,
slider slide .wp-video {
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  height: 100% !important;
}
slider h4:last-of-type {
  position: fixed;
  bottom: 36px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
}
slider slide figure {
  width: 100vw;
  height: 100vh;
}
slider name {
  z-index: 1;
  position: sticky;
  top: 84px;
}
slider h4 {
  font-family: 'RationalText', sans-serif;
  text-transform: uppercase;
}
set.intro {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: sticky;
  top: 324px;
  z-index: -1;
  margin: 36px;
  width: calc(100vw - 72px);
}
set.intro .column:first-child {
  width: max-content;
  margin: 0 5% 0 10%;
  display: block;
}
set.intro .column {
  max-width: 800px;
}
set.intro h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 30px;
}
set.intro h5 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 13px;
}
set.intro a {
  margin-top: 20px;
}
@media (max-width: 500px) {
  set.intro {
    flex-wrap: wrap;
  }
  set.intro .column:first-child {
    margin: 0 0 30px 0;
  }
}

/*
 * Main
 */

#main > wrap {
  padding: 250px 36px 0;
  margin-bottom: 230px;
  background-color: #F4E9D1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
}
#main > wrap set {
  text-align: center;
}
.blog #main > wrap,
.category #main > wrap,
.archive #main > wrap {
  padding-top: 324px;
}
#main wrap > a,
#main set {
  pointer-events: all;
}
set.selected h4 {
  top: 40px;
  width: 100%;
  text-align: center;
  margin-bottom: 108px;
  z-index: 10;
  font-family: 'RationalText', sans-serif;
  font-weight: 300;
}
.blog #main h1,
.category #main h1,
.archive #main h1 {
  text-align: center;
  margin-bottom: 72px;
}
#main wrap set > ul {
  pointer-events: all;
  display: inline-table;
  justify-content: center;
  margin-bottom: 108px;
  position: sticky;
  top: 36px;
  z-index: 10;
}
#main wrap set > ul li {
  margin: 0;
  padding: 0;
  margin: 0 4.5px 0 4.5px;
  display: inline-block;
}
.current-cat a {
  pointer-events: none;
}
#main wrap set > h5 {
  align-self: flex-start;
  margin: 0 auto 108px;
}

@media (max-width: 1000px) {
  .workOverview row {
    margin-bottom: 0 !important;
  }

  .workOverview row fig {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 50px !important;
  }

  .workOverview row fig + fig {
    margin-top: 0 !important;
  }

  .about .resume p:nth-child(even) {
    margin-top: -20px;
  }
}

/*
 * Side
 */

#side {
  position: fixed;
  width: calc(50vw + 18px);
  right: -100%;
  top: 0;
  bottom: 0;
  left: auto;
  z-index: 500;
  background-color: white;
  clip: rect(auto, auto, auto, auto);
}
#side wrap {
  margin: 108px 36px 36px;
}
#side header a {
  max-width: none;
  color: #3f4537;
}
#side header a:hover {
  color: #e1f5e1;
}
#side wrap p {
  margin-bottom: 72px;
}
#side wrap p > label {
  display: block;
}
#side .wpcf7-list-item {
  margin: 0;
  padding: 0;
}
#side input[type="radio"],
#side input[type="checkbox"] {
  margin-bottom: 0;
  margin-right: 36px;
}
#side .wpcf7-list-item {
  width: 100%;
}
#side form p:last-of-type {
  margin-bottom: 0;
}
#side .wpcf7-text,
#side .wpcf7-textarea {
  width: 100%;
}
#side .your-email input {
  margin-bottom: 0;
}
input[type="radio"]:checked,
input[type="radio"]:not(:checked),
input[type="checkbox"]:checked,
input[type="checkbox"]:not(:checked) {
  position: absolute;
  left: -9999px;
}
input[type="radio"]:checked + span,
input[type="radio"]:not(:checked) + span,
input[type="checkbox"]:checked + span,
input[type="checkbox"]:not(:checked) + span {
  padding-left: 72px;
  position: relative;
  display: inline-block;
  cursor: pointer;
}
input[type="radio"]:checked + span:before,
input[type="radio"]:not(:checked) + span:before,
input[type="checkbox"]:checked + span:before,
input[type="checkbox"]:not(:checked) + span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border: #3f4537 1px solid;
  border-radius: 100%;
  background: white;
}
input[type="radio"]:checked + span:after,
input[type="radio"]:not(:checked) + span:after,
input[type="checkbox"]:checked + span:after,
input[type="checkbox"]:not(:checked) + span:after {
  content: "";
  width: 24px;
  height: 24px;
  background: #3f4537;
  position: absolute;
  top: 3px;
  left: 0px;
  border-radius: 100%;
}
input[type="radio"]:not(:checked) + span:after,
input[type="checkbox"]:not(:checked) + span:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}
input[type="radio"]:checked + span:after,
input[type="checkbox"]:checked + span:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/*
 * Figure
 */

row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row;
  margin: 0 auto 108px;
  align-items: flex-start;
  flex-wrap: wrap;
}
row.left:not(.right) {
  justify-content: flex-start;
}
#main row.right:not(.left),
#overlay row.right:not(:first-of-type):not(.left) {
  justify-content: flex-end;
}
#main row.left.inline.right {
  justify-content: space-between;
}
row.middle {
  justify-content: center;
}

fig,
figure {
  position: relative;
  display: inline-block;
  vertical-align: top;
  font-size: 0;
  margin: 0;
}
fig.XS,
figure.XS {
  width: calc(25% - 30px);
}
fig.home.XS,
figure.home.XS {
  width: calc(28% - 30px);
}
fig.S,
figure.S {
  width: calc(33.33% - 24px);
}
fig.home.S,
figure.home.S {
  width: calc(35% - 24px);
}
fig.M,
figure.M {
  width: calc(50% - 18px);
}
fig.home.M,
figure.home.M {
  width: calc(51% - 18px);
}
fig.L,
figure.L {
  width: calc(66.66% - 12px);
}
fig.XL,
figure.XL {
  width: 100%;
}
fig.left,
figure.left {
  margin-left: 0;
  margin-right: auto;
}
fig.right,
figure.right {
  margin-right: 0;
  margin-left: auto;
}
fig.indentRight,
figure.indentRight {
  margin-right: 10%;
}

fig .hover-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(0,0,0);
  opacity: 0;
}

fig:hover .hover-overlay {
  opacity: 0.25;
} 

#overlay row.inline.right figure:not(:first-of-type),
#overlay row.inline.left figure:not(:first-of-type) {
  margin-left: 18px;
}
row.inline.left fig:not(:last-of-type),
row.inline.left figure:not(:last-of-type),
row.inline.right figure:not(:last-of-type) {
  margin-right: 18px;
}
row.inline.left fig:only-of-type + group,
row.inline.left figure:only-of-type + group {
  margin-left: 18px;
}
row.inline.middle fig:not(:first-of-type),
row.inline.middle figure:not(:first-of-type) {
  margin-left: 18px;
}
row.inline.middle fig.home:not(:first-of-type),
row.inline.middle figure.home:not(:first-of-type) {
  margin-top: 8.9vw;
}
row.inline.middle fig:not(:last-of-type),
row.inline.middle figure:not(:last-of-type) {
  margin-right: 18px;
}
row.inline.middle fig.home:not(:last-of-type),
row.inline.middle figure.home:not(:last-of-type) {
  margin-right: 8.3%;
}
#main fig.home:hover .thumb-text {
  display: flex;
}
row.reverse {
  flex-direction: row-reverse;
  display: flex;
}
.thumb-text {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px;
  text-align: center;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  color: white;
  pointer-events: none;
}
.thumb-text h6 {
  font-family: 'RationalText', sans-serif;
}
.thumb-text ul li {
  display: inline-block;
  margin: 0 6px;
  font-family: 'RationalText', sans-serif;
}

.about .intro {
  display: grid;
  grid-template-columns: max-content 3fr 2fr;
  gap: 0 8%;
  max-width: 1600px;
  margin: 0 auto;
}

.about .intro img {
  height: 100%;
  align-self: start;
}

@media (max-width: 1400px) {
  .about .intro {
    grid-template-columns: auto;
    gap: 80px 0;
  }
}

.about .resumeTitle {
  font-family: 'RationalText', sans-serif;
  font-weight: 300;
  text-align: center;
  margin: 200px 0 150px;
}

.about .resume {
  display: grid;
  grid-template-columns: 300px fit-content(1400px);
  gap: 50px 0;
  max-width: 2000px;
  width: max-content;
  margin: 0 auto 100px;
}

@media (max-width: 1000px) {
  .about .resume {
    grid-template-columns: auto;
    gap: 40px 0;
  }
}



/*
 * Footer
 */

footer {
  color: #F4E9D1;
  background-color: #29524A;
  height: 230px;
  width: 100vw;
  position: fixed;
  bottom: 0;
  z-index: 0;
  display: none;
}
.nonhome {
  display: block;
  position: unset;
}
.blog footer,
.category footer,
.archive footer {
  display: block;
}
footer wrap {
  margin: 50px 36px 36px;
  display: flex;
  justify-content: space-between;
}
footer.nonhome wrap {
  margin: 0;
}
.connect:nth-child(1) {
  margin-right: 30px;
}
.connect:nth-child(2) {
  margin-right: 30px;
  flex-basis: 40%;
}
.connect:nth-child(3) {
  align-self: flex-end;
}
.connect h2 {
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 48px;
}
.connect p {
  line-height: 24px;
}
.connect p a {
  color: #F4E9D1;
}
.connect p a:hover {
  text-decoration: underline;
}
.connect ul li a {
  padding: 5px 0;
}
footer .logo {
  background-image: url('svg/studiovanilla-logo-footer.svg');
  display: block;
  width: 140.275px;
  height: 65.75px;
}
.menu {
  width: calc(16.66% + 2px);
  display: inline-flex;
  vertical-align: bottom;
  justify-content: flex-end;
}
.connect li {
  /* margin: 0 12px 9px 0; */
}
.menu ul {
  width: 83px;
}
.menu li {
  margin: 0 0 9px 12px;
  float: right;
}
footer p {
  font-size: 18px;
  margin: 0;
  padding: 0;
}
footer h5 a,
.footer h5 a {
  color: #F4E9D1;
  text-transform: none;
  letter-spacing: normal;
  font-family: 'FreightTextPro', serif;
  font-size: 18px;
}
footer h5 a:hover,
.footer h5 a:hover {
  transform: translateX(-10%);
  color: inherit;
}
footer .copyright,
.footer .copyright {
  width: 100%;
  height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/*
 * Overlay
 */

#overlay {
  transition: top 1s ease;
  z-index: 300;
}
.home #overlay,
.blog #overlay,
.category #overlay,
.archive #overlay {
  top: 100%;
  display: none;
}
.home #overlay.page,
.blog #overlay.page,
.category #overlay.page,
.archive #overlay.page {
  top: -100%;
}
#overlay wrap {
  min-height: calc(100% - 108px);
  padding: 36px 36px 36px;
  background-color: white;
  z-index: 200;
  clip: rect(auto, auto, auto, auto);
}
#overlay footer.nonhome wrap {
  background-color: #29524A;
}
#overlay.page wrap {
  background-color: #3f4537;
  color: #e1f5e1;
}
#overlay set container {
  justify-content: space-between;
  flex-direction: row;
  opacity: 0;
  margin-bottom: 192px;
  width: 100%;
}
#overlay container .sticky-title figure {
  margin-bottom: 312px;
}
#overlay container h1 {
  margin-bottom: 96px;
  display: block;
  width: 100%;
  text-align: center;
  position: sticky;
  top: 96px;
}
#overlay.page container h2 {
  margin-bottom: 36px;
  display: inline-block;
  width: 100%;
}
#overlay set p {
  margin-bottom: 36px;
}
#overlay set h3:last-of-type,
#overlay set h4:last-of-type,
#overlay set p:last-of-type {
  margin-bottom: 0;
}
#overlay set group.h4,
#overlay set group.p {
  width: calc(50% - 18px);
  display: inline-block;
}
#overlay set group.h4:not(:last-of-type),
#overlay set group.p:not(:last-of-type) {
  margin-bottom: 108px;
}

#overlay.page set {
  margin-top: 215px;
}
#overlay.page container h2 {
  width: calc(83.33% - 6px);
}
#overlay.page container row {
  margin-bottom: 0;
}
#overlay.page .about figure {
  margin-top: 144px;
}
#overlay.page container .group-title h4 {
  text-align: center;
  margin-bottom: 108px;
}
#overlay.page container.services ul {
  font-size: 24px;
  line-height: 36px;
  font-weight: 200;
  columns: 3;
  column-gap: 36px;
}
#overlay container group.h4 {
  columns: 2;
  column-gap: 36px;
  margin-top: 8px;
}
#overlay.post container group.h2 {
  text-align: center;
  width: 100%;
}
#overlay.page container.footer,
#overlay.post container:last-of-type {
  margin-bottom: 0;
}

#overlay .post figure {
  margin: -36px;
  width: 100vw;
  height: 56.25vw;
  object-fit: cover;
  position: relative;
}

#overlay .post .image-darken {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.3);
}

#overlay .post figure .logo {
  position: absolute;
  top: -50px;
  left: -180px;
  display: block;
  z-index: 1000;
  transform: scale(0.25);
  pointer-events: all;
}

#overlay .post .projectInfo {
  display: flex;
  justify-content: space-between;
  margin: 150px 0 80px;
}

#overlay .post .projectInfo .projectInfo-titles {
  flex-basis: 30%;
  flex-shrink: 0;
  margin-right: 12%;
}

#overlay .post .projectInfo h2, .videoTitle {
  font-family: 'RationalText', sans-serif;
  font-size: 50px;
  line-height: 120%;
  font-weight: 300;
  margin-bottom: 50px;
}

#overlay .post .projectInfo h4 {
  font-family: 'RationalText', sans-serif;
  font-size: 14px;
  line-height: 150%;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 500px) {
  #overlay .post .projectInfo {
    flex-direction: column;
  }

  #overlay .post .projectInfo > *,
  #overlay .post .projectInfo .projectInfo-titles {
    flex-basis: 100%;
  }

  #overlay .post .projectInfo h2 {
    margin-bottom: 30px;
  }
  
  #overlay .post .projectInfo h4 {
    margin-bottom: 50px;
  }
}

.draggableImages {
  padding-bottom: 120%;
  position: relative;
  height: 0;
}

.draggableImages .wrapper {
  position: relative;
  transform: scale(0.7);
}

@media (max-width: 500px) {
  .draggableImages {
    padding-bottom: 150%;
  }

  .draggableImages .wrapper {
    transform: none;
  }
}

.draggableImages .wrapper > div {
  position: absolute;
  height: 30vw;
  width: 30vw;
}

.draggableImages div:nth-child(2) {
  margin-left: 37%;
}

.draggableImages div:nth-child(3) {
  margin-left: 70%;
}

.draggableImages div:nth-child(4) {
  margin-left: 10%;
  margin-top: 28%;
}

.draggableImages div:nth-child(5) {
  margin-left: 33%;
  margin-top: 31%;
}

.draggableImages div:nth-child(6) {
  margin-left: 60%;
  margin-top: 27%;
}

.draggableImages div:nth-child(7) {
  margin-left: 0%;
  margin-top: 58%;
}

.draggableImages div:nth-child(8) {
  margin-left: 45%;
  margin-top: 58%;
}

.draggableImages div:nth-child(9) {
  margin-left: 70%;
  margin-top: 65%;
}

.draggableImages div:nth-child(10) {
  margin-left: 28%;
  margin-top: 75%;
}

.draggableImages div:nth-child(11) {
  margin-left: 5%;
  margin-top: 98%;
}

.draggableImages div:nth-child(12) {
  margin-left: 70%;
  margin-top: 104%;
}

.draggableImages div:nth-child(13) {
  margin-left: 23%;
  margin-top: 110%;
}

.draggableImages div:nth-child(14) {
  margin-left: 50%;
  margin-top: 115%;
}

.draggableImages div:nth-child(15) {
  margin-left: 0%;
  margin-top: 140%;
}

.draggableImages div:nth-child(16) {
  margin-left: 23%;
  margin-top: 155%;
}

.draggableImages div:nth-child(17) {
  margin-left: 52%;
  margin-top: 140%;
}

.draggableImages div:nth-child(18) {
  margin-left: 70%;
  margin-top: 150%;
}

@media (max-width: 1080px) {
  /*
     * Overlay content
     */

  #overlay set:first-of-type group.h3 {
    columns: 2;
  }
  #overlay set:nth-of-type(2) group.h4,
  #overlay set:nth-of-type(2) group.h3,
  #overlay set group.p {
    width: calc(50% - 18px);
  }
}

.imageRows {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.imageRows div + div {
  margin-top: 50px;
}

.imageRows .single {
  width: 80%;
}

.imageRows .singleWide {
  width: 100%;
}

.imageRows .double {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.imageRows .double img,
.imageRows .double video {
  width: 49%;
}

.imageRows .double.right {
  justify-content: flex-end;
}

.imageRows .double.right img:nth-child(1) {
  width: 35%;
  margin-right: 2%;
}

.imageRows .double.left {
  justify-content: flex-start;
}

.imageRows .double.left img:nth-child(1),
.imageRows .double.left video:nth-child(1) {
  width: 30%;
  margin-right: 2%;
}

.imageRows .double.left img:nth-child(2),
.imageRows .double.left video:nth-child(2) {
  width: 68%;
}

.imageRows .aspectRatio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.imageRows .aspectRatio iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.imageRows .videoTitle {
  margin-top: 30px;
}

.textRow, #overlay .textRow, #overlay .textRow:last-of-type {
  margin-bottom: 100px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  font-size: 20px;
}

.animateOnScroll {
  opacity: 0.1;
  transform: translateY(100px);
  transition-duration: 0.5s;
}
.animateOnScrollEnd {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 750px) {
  .imageRows .single {
    width: 100%;
  }
  .imageRows .double img {
    width: 100%;
  }
  .imageRows .double img + img {
    margin-top: 50px;
  }
  .imageRows .double.right img:nth-child(1) {
    width: 100%;
    margin-right: 0;
  }
  .imageRows .double.left img:nth-child(1) {
    width: 100%;
    margin-right: 0;
  }
  .imageRows .double.left img:nth-child(2) {
    width: 100%;
  }

  .textRow, #overlay .textRow, #overlay .textRow:last-of-type {
    font-size: 16px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
}

.casesNavigation {
  display: flex;
  justify-content: space-between;
  margin-top: 100px;
}

.casesNavigation .previous, .casesNavigation .next {
  flex-grow: 1;
  display: block;
  text-align: right;
  text-transform: uppercase;
  font-family: "RationalText", "sans-serif";
  font-weight: 200;
}

.casesNavigation .previous::before, .casesNavigation .next::before {
  display: none;
}

.casesNavigation .previous {
  text-align: left;
}

.casesNavigation .next {
  text-align: right;
}

.workTitle {
  font-family: "RationalText", "sans-serif";
  color: white;
  margin-bottom: 200px;
}

@media (max-width: 750px) {
  h1 {
    font-size: 36px;
    line-height: 48px;
  }
  h2 {
    font-size: 24px;
    line-height: 30px;
  }
  h4 {
    font-size: 11px;
    line-height: 12px;
    letter-spacing: 1px;
  }
  h5,
  .selected li a,
  input[type="submit"] {
    font-size: 12px;
    line-height: 9px;
    letter-spacing: 1px;
  }
  h5 a,
  close,
  .selected li a,
  input[type="submit"] {
    border-radius: 9px;
    padding: 4px 8px;
    height: 18px;
  }
  h6 {
    font-size: 8px;
    line-height: 12px;
    letter-spacing: 1px;
  }
  p,
  strong,
  input,
  textarea {
    font-size: 16px;
    line-height: 24px;
  }
  input {
    margin-bottom: 24px;
  }
  textarea {
    background-image: repeating-linear-gradient(
      transparent,
      transparent 23px,
      #3f4537 23px,
      #3f4537 24px
    );
    height: 168px;
  }

  /*
     * Header
     */

  header {
    top: 18px;
    right: 18px;
  }
  header ul li {
    margin-left: 6px;
  }

  /*
     * Logo
     */

  name {
    background-image: url("svg/studiovanilla-woordmerk-02.svg");
    left: 18px;
    right: 18px;
    top: 60px;
    height: calc(37vw - 3.6px);
    width: calc(100vw - 36px);
  }

  /*
     * Global
     */

  wrap {
    width: calc(100% - 36px);
  }

  /*
     * Main
     */

  #main > wrap {
    width: calc(100% - 36px);
    padding: 150px 18px 0;
    margin-bottom: 200px;
  }
  .blog #main > wrap,
  .category #main > wrap,
  .archive #main > wrap {
    padding-top: 252px;
  }
  set.selected h4 {
    top: auto;
    margin-bottom: 48px;
    position: unset;
  }
  .blog #main h1,
  .category #main h1,
  .archive #main h1 {
    margin-bottom: 36px;
  }
  #main wrap set > ul {
    margin-bottom: 108px;
    position: relative;
    top: auto;
  }
  #main wrap set > ul li {
    margin: 0 3px 0 3px;
  }
  #main wrap set > h5 {
    align-self: flex-start;
    margin: 0 auto 48px;
  }

  /*
     * Slider
     */

  slider {
    height: 180vh;
  }
  slider h4:first-of-type {
    top: 18px;
  }
  slider h4:last-of-type {
    bottom: 18px;
  }
  slider name {
    top: 60px;
  }
  set.intro {
    margin-bottom: 72px;
    top: 252px;
    margin: 18px;
    width: calc(100vw - 36px);
  }
  set.intro h2 {
    width: 100%;
    margin-bottom: 30px;
  }

  /*
     * Side
     */

  #side {
    width: 100%;
  }
  #side wrap {
    margin: 72px 18px 48px;
  }
  #side wrap p {
    margin-bottom: 48px;
  }
  input[type="radio"]:checked + span,
  input[type="radio"]:not(:checked) + span,
  input[type="checkbox"]:checked + span,
  input[type="checkbox"]:not(:checked) + span {
    padding-left: 36px;
  }
  input[type="radio"]:checked + span:before,
  input[type="radio"]:not(:checked) + span:before,
  input[type="checkbox"]:checked + span:before,
  input[type="checkbox"]:not(:checked) + span:before {
    top: 2px;
    width: 16px;
    height: 16px;
  }
  input[type="radio"]:checked + span:after,
  input[type="radio"]:not(:checked) + span:after,
  input[type="checkbox"]:checked + span:after,
  input[type="checkbox"]:not(:checked) + span:after {
    width: 18px;
    height: 18px;
    top: 2px;
  }

  /*
     * Figure
     */

  row {
    margin: 0 auto 0;
    display: block;
  }
  fig,
  figure,
  .wp-block-image {
    margin: 0 0 48px;
  }
  fig.XS,
  fig.S,
  fig.M,
  fig.L,
  fig.XL,
  figure.XS,
  figure.S,
  figure.M,
  figure.L,
  figure.XL {
    width: 100%;
  }
  fig.left.S,
  fig.left.M,
  fig.left.L,
  fig.middle.S,
  fig.middle.M,
  fig.middle.L,
  fig.right.S,
  fig.right.M,
  fig.right.L,
  fig.inline,
  row.inline.middle fig:not(:last-of-type),
  row.inline.middle fig:not(:first-of-type),
  figure.left.S,
  figure.left.M,
  figure.left.L,
  figure.middle.S,
  figure.middle.M,
  figure.middle.L,
  figure.right.S,
  figure.right.M,
  figure.right.L,
  figure.inline,
  row.inline.middle figure:not(:last-of-type),
  row.inline.middle figure:not(:first-of-type),
  #overlay row.inline.right figure:not(:first-of-type),
  #overlay row.inline.left figure:not(:first-of-type) {
    margin-left: 0;
    margin-right: 0;
  }
  row.inline.left fig:not(:last-of-type),
  row.inline.left figure:not(:last-of-type),
  row.inline.right figure:not(:last-of-type) {
    margin-right: 0;
  }
  row.inline.middle fig.home:not(:first-of-type),
  row.inline.middle figure.home:not(:first-of-type) {
    margin-top: 0;
  }
  .thumb-text {
    padding: 18px;
    display: flex;
  }

  /*
     * Footer
     */

  footer {
    height: 200px;
  }
  footer wrap {
    margin: 48px 18px 18px;
  }
  .connect {
    width: 100%;
  }
  .connect h2 {
    margin-bottom: 24px;
  }
  .menu {
    width: 100%;
    margin-top: 27px;
    display: inline-flex;
    vertical-align: bottom;
    justify-content: flex-start;
  }
  .connect li {
    margin: 0 6px 9px 0;
  }
  .menu ul {
    width: 100%;
  }
  .menu li {
    margin: 0 6px 9px 0;
    float: left;
  }
  footer .copyright,
  .footer .copyright {
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  /*
     * Overlay
     */

  #overlay wrap {
    padding: 18px;
  }
  #overlay.page set container {
    margin-bottom: 108px;
  }
  #overlay.post set container {
    margin-bottom: 36px;
  }
  #overlay container .sticky-title figure {
    margin-bottom: 174px;
  }
  #overlay container h1 {
    margin-bottom: 48px;
    top: 72px;
  }
  #overlay container h2 {
    margin-bottom: 36px;
    display: inline-block;
    width: 100%;
  }
  #overlay set p {
    margin-bottom: 30px;
  }
  #overlay set group.h4,
  #overlay set group.p {
    width: 100%;
    display: inline-block;
    margin-bottom: 48px;
  }
  #overlay set group.h4:not(:last-of-type),
  #overlay set group.p:not(:last-of-type) {
    margin-bottom: 48px;
  }
  #overlay set group.p:not(:last-of-type) {
    margin-bottom: 108px;
  }

  #overlay.page set {
    margin-top: 172px;
  }
  #overlay.page container h2 {
    width: 100%;
  }
  #overlay.page container row {
    margin-bottom: 0;
  }
  #overlay.page .about figure {
    margin-top: 66px;
  }
  #overlay.page container .group-title h4 {
    margin-bottom: 48px;
  }
  #overlay.page container.services ul {
    font-size: 14px;
    line-height: 18px;
    columns: 2;
    column-gap: 18px;
  }
  #overlay.page container group.h4 {
    columns: 2;
    column-gap: 18px;
    margin-top: 0;
  }
  #overlay.page container.footer {
    margin-bottom: 0;
  }
  row.reverse {
    flex-direction: column-reverse;
  }
  #overlay.post row figure {
    margin-bottom: 48px;
  }
}

@media (max-width: 600px) {
  #main > wrap {
    margin-bottom: 350px;
  }

  footer {
    height: 350px;
  }

  footer wrap {
    flex-wrap: wrap;
  }
  .connect:nth-child(1) {
    margin: 0;
  }
  .connect:nth-child(2) {
    margin: 30px 0;
  }
  .connect:nth-child(3) {
    align-self: flex-end;
  }
}
