/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

*, *::before, *::after {
    box-sizing: border-box;
  }
  
  * {
    margin: 0;
  }
  
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
  }
  
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
      height: auto;
  }
  
  input, button, textarea, select {
    font: inherit;

  }
  input{
    visibility: hidden;
  }
  
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  
  p {
    text-wrap: pretty;
  }
  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
  }
  
  #root, #__next {
    isolation: isolate;
  }

  /* colors 
orange: #E59057
DONKER GRIJS: #624E45
light GREY: #BAAD9D
light: #faf8f2
dark: #271900


fonts 
    font-family: "Cagliostro", sans-serif;
    font-family: "Inter", sans-serif;
    font-family: "Vollkorn SC", serif;
*/

/* .cagliostro-regular {
    font-family: "Cagliostro", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  .vollkorn-sc-regular {
    font-family: "Vollkorn SC", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .vollkorn-sc-semibold {
    font-family: "Vollkorn SC", serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .vollkorn-sc-bold {
    font-family: "Vollkorn SC", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .vollkorn-sc-black {
    font-family: "Vollkorn SC", serif;
    font-weight: 900;
    font-style: normal;
  } */
  
  html {
    scroll-behavior: smooth;

  }
  button:hover {
    cursor: pointer;
  }
  .img-flex:hover {
    cursor: pointer;
  }
.grid-container li:hover {
    cursor: pointer;
  }

.up-button {
  width: 60px;
  height: 60px;
  border-radius: 60px;
  border-color: #E59057;
  border-style: dotted;
  background-color: #faf8f2;
  position: fixed;
  bottom: 50px;
  right: 50px;
  opacity: 0%;
}  
.mystyle {
opacity: 80%;

}
h1, h2, h4 {
  font-family: "Vollkorn SC", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

h1 {
  font-size: 70pt;
  padding-top: 150px;
}

h2 {
  font-size: 40pt;
  padding-top: 35px;
}

h4 {
  font-size: 40pt;
  padding: 0 10px;
  margin-left: 10vw;
  width: fit-content;
  height: auto;
  z-index: 1;
  text-align: left; /* overrides from global heading rule */
}

    
h3 {
  font-family: "Inter", sans-serif;
  font-size: 30pt;
}


h5 {
  font-family: "Cagliostro", sans-serif;
  font-size: 18pt;
}
h6 {
  font-family: "Cagliostro", sans-serif;
  font-size: 14pt;
}
p {
  font-family: "Inter", sans-serif;
  font-size: 15pt;

}
p1 {
  font-family: "Inter", sans-serif;
  font-size: 12pt;

}
.description {
margin-top: 10px;
  width: 60%;
  padding: 10px 10% ;
  /* background-color:#faf8f2b3; */
}

.img-flex {
  padding-top: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
    display: flex;
}
.img-flex img {
  max-width: 300px;  /* or whatever fits your layout */
  height: auto;
  flex-shrink: 1;
}
:root {
  --butterfly: 
"M387.43,148l-.2-.46c-1.07.47-2.11.93-3.14,1.37l-54.91,15.05c-.39.02-.75.03-1.08.05.08-1.09.14-2.17.17-3.24.07-2.68.03-6.16-.15-10.15l45.37-31.68c.68-.28,1.36-.57,2.07-.85l-.19-.46h0s0,0,0,0l-.19-.46c-32.26,13-41.73,24.97-46.82,31.4-.11.14-.22.27-.33.41-.4-7.54-1.25-16.73-2.67-26.04-4.16-27.26-9.3-54.86-22.14-66.75-5.96-5.52-37.75,9.6-47.35,14.36-9.28,4.6-19.46,10.14-29.71,16.22l-.03-.98c-.15-5.02-.22-7.53-.35-8.82-2.57-26.22-17.5-55.43-35.49-69.45-7.37-5.74-14.63-8.27-21-7.32-12.22,1.84-24.52,15.64-39.9,44.77-6.41,12.13-16.89,17.58-26.14,22.38-8.49,4.41-16.51,8.58-19.86,17.12-10.77,27.46,3.89,78.64,6.88,88.45-6.16-5.08-32.65-25.78-54.01-24.08-13.16,1.04-22.93,6.25-29.05,15.5-9.81,14.83-9.58,39.84.66,70.42,3.93,11.74,10.05,20.66,18.2,26.51,7.51,5.4,15.74,7.1,18.84,7.74l.16.03c4.4.91,8.4,1.18,11.63,1.18,2.75,0,4.93-.19,6.36-.35-2.88,16.21-3.32,29.64-1.61,32.46,4.9,8.1,26.7,12.82,39.26,14.92,12.9,2.15,26.7,3.35,37.24,3.35,4.11,0,7.73-.18,10.6-.56,44.2-5.83,89.84-28.05,125.21-60.95,31.75-29.53,51.74-64.34,54.26-94.06.44-.03.93-.05,1.5-.08,6.93-.3,23.15-1.01,58.13-16.49l-.2-.46Z";

}
body {
    background-color: #faf8f2;
    height: fit-content;
}
main {
  position: relative;
  background-image: url(../images/dots-trans2.png);
  background-repeat: repeat;
  background-size: 22%;
  z-index: 0;
}
.welcome {

    height: 1300px;
    width: 100vw;
    background-image: url(../images/dots-trans2.png);
    background-repeat: repeat;
    background-size: 22%;

}
header {
  width: 100vw;
  padding-top:20px;
  position: relative;
}
nav {
  z-index: 2;
  font-family: "Cagliostro", sans-serif;
  font-size: 18pt;

}
ul {

  list-style-type: none;
}
nav ul {
  z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}
nav li {
  z-index: 2;
    width: inherit;
    align-self: center;

}
a{
    color: black;
    text-decoration: none;
}
a:hover {
    color:#E59057 ;
}


#bugs{
  position: absolute;
  top:-50px;
  z-index: 0;
  opacity: 90%;
}
#logo{
  padding-top: -50px;
  width: 100px;
  height: auto;
}
.line {

    height: 2px;
    background-color: #271900;
}
#line-left {
  width: 10vw;
  position: absolute;
z-index: -1;
  top: 195px;
}
#line-right {
  position: absolute;
  left: calc(10vw + 420px);
  top: 195px;
  width: calc(90vw - 420px);
}
#line-right2 {
  position: absolute;
  left: calc(10vw + 520px);
  top: 195px;
  width: calc(90vw - 520px);
}

.block {
    width: 100vw;
    height: 150px;
  
}

.illustraties {
height: 580px;
  width: 100%;
  background-image: url(../images/dots-trans2.png);
  background-repeat: repeat;
  background-size: 22%;
position: relative;
  overflow-x: hidden; /* Just in case */
}
.illustraties img {
  height: 100%;
  object-fit: contain; /* or 'cover' depending on your intent */
  display: block;
}



.about {
  position: relative;
  width: 100%;
  height: fit-content;
  background-image:url(../images/ruitjes-trans2.png);
  background-repeat: repeat;
  background-size: contain;
}
.about-title{
  width: 40vw;
  padding-top: 80px ;
  padding-left: 15vw;
  padding-bottom: 20px;
}

.about-text {

  width: 50vw;
  padding-left: 15vw;
  padding-bottom: 50px;
}


.container {
  height: 100vh;
  width: 100%;
}

img#img-profile {
  width: 800px;
    max-width: 100%;
}


.butterfly-container {
  width: 500px;
  z-index: 0;
  top: 100px;
  right: 100px;
position: absolute;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.frame {
  width: 400px;
  position: relative;
  clip-path: path(var(--butterfly));
}

.frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

#butterfly {
  width: 385px;
position: absolute;
top: 0px;
left: 50px;
  z-index: 1;
}


.grid-container {
  position: relative;

width: 90vw;
margin: 50px auto;
display: grid;
grid-template-columns: repeat(16, 5vw);
grid-template-rows: repeat(16, 5vw);
row-gap: 30px;
column-gap: 30px;

}
.grid-container li {
  position: relative;
  height: fit-content;
}

.item {
  display: block;
  z-index: 0;
  width: 100%;
  height: auto;
}

#digit-11 {
  grid-column: 5 / 10;
  grid-row: 1 ;
margin: 0 10px;
}
#digit-2 {
  grid-column: 9 / 13;
  grid-row: 4;
  margin-top: 40px;
}
#digit-6 {
  grid-column: 6 / 9 ;
  grid-row: 5;
  align-self: center;
}
#digit-4 {
  grid-column: 1 / 5 ;
  grid-row: 2;

}
#digit-5 {
  grid-column: 10 / 13;
  grid-row: 2;

}
#digit-1 {
  grid-column: 2 / 5;
  grid-row: 5;

}
#digit-8 {
  grid-column: 1 / 6 ;
  grid-row: 8;
}
#digit-7 {
  grid-column: 5 / 7;
  grid-row: 7;
  align-self: end;

}
#digit-9 {
  grid-column: 8 / 13;
  grid-row: 10;

}
#digit-10 {
  grid-column: 6 / 9;
  grid-row: 8;

}
#digit-3 {
  grid-column: 2 / 8;
  grid-row: 12;

}
#illu-6 {
  grid-column: 6 / 9;
  grid-row: 1 ;

}
#illu-2 {
  grid-column: 3 / 6;
  grid-row: 2;
}
#illu-11 {
  grid-column: 10 / 14 ;
  grid-row: 5;
  align-self:end;
  z-index: 0;
}
#illu-4 {
  grid-column: 11 / 13 ;
  grid-row: 2;
  align-self: end;
 

}
#illu-5 {
align-self: center;
  grid-column: 9 / 11 ;
  grid-row: 1;

}
#illu-5 h5 {
font-size: 12pt;
}
#illu-5 p {
  font-size: 12pt;
  }
#illu-1 {
  grid-column: 2 / 6;
  grid-row: 10;

}
#illu-7 {
  grid-column: 1 / 6;
  grid-row: 6;

}
#illu-8 {
  grid-column: 6 / 10;
  grid-row: 9;

}
#illu-9 {
  margin-top: 50px;
  grid-column: 10 / 14;
  grid-row: 8;

}
#illu-10 {
  grid-column: 6 / 11;
  grid-row: 5;
z-index: 1;
}

#illu-3 {
  grid-column: 11 / 14;
  grid-row: 6;
z-index: 1;
}
.project {
  width: 350px;
  height: fit-content;
}

.see-more {
  position: absolute;
  left: calc(50vw - 64px);
  bottom:  40px;
padding: 10px 30px;
  border-radius: 2px;
background-color: #E59057;
border: none;
color: #faf8f2;
}

.see-more:hover {
  background-color: #624E45;
}

.hover-box {
  padding: 20px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #624E45;
  color: #faf8f2;
}

.grid-container li:hover .hover-box{
  background-color: #624e45bc;
  opacity: 1;
  height: 100%;
}

.contact-inf {
  width: 600px;
  height: 200px;
}
.contact-title{
  padding-left: 15vw;
}

.lightbox-overlay {
  font-family: "Cagliostro", sans-serif;
  font-size: 14pt;
  position: fixed;
  inset: 0;
  background: #624e45c7;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
  max-height: 100vh;
}

.lightbox-overlay.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  text-align: center;
  color: white;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 70vh;
}

#lightbox-title {
  margin-top: 1rem;
  font-size: 1.5rem;
}

#lightbox-caption {
  font-size: 1rem;
  max-width: 80vw;
  margin: 0.5rem auto 0;
  color: #ccc;
}

.nav-btn {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
  transform: translateY(-50%);
}

#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }


