html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: engravers-mt;
  src: url(fonts/engravers-mt.ttf);
}

@font-face {
  font-family: Lora-Regular;
  src: url(fonts/Lora-Regular.ttf);
}

@font-face {
  font-family: Lora-Bold;
  src: url(fonts/Lora-Bold.ttf);
}

@font-face {
  font-family: Lora-Italic;
  src: url(fonts/Lora-Italic.ttf);
}

@font-face {
  font-family: lora-bolditalic;
  src: url(fonts/Lora-BoldItalic.ttf);
}

@keyframes appear{
  from{
    opacity: 0;
    scale: 0.5;
  }
  to{
    opacity: 1;
    scale: 1;
  }
}

@keyframes disappear {
  from {
    opacity: 1;
    scale: 1;
  }
  to {
    opacity: 0;
    scale: 0.5;
  }
}

/* ====================================================================================================*/
/* background images*/
body {
  margin: 0;
  padding: 0;
  background: url('images/background.png');
  background-size: cover;
  background-attachment: fixed; 
  background-repeat: no-repeat;
  background-position: center;
}


.corner-tree {
  position: fixed; 
  bottom: 0;
  width: 20vw;
  height: auto;
  z-index: -1; 
}

.left-tree {
  left: 0;
}

.right-tree {
  right: 0;
}

.greek-pattern {
  position: fixed; 
  top: 3vh;
  left: 0;
  right: 0;
  width: 100vw;
  height: auto;
  z-index: -1;
}

/* ====================================================================================================*/
/* Container voor de animatie */
.animation-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1; 
}

.image-sequence {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-sequence img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.05s ease-out;
}

/* ====================================================================================================*/
/* navbar */ 
.nav-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  position: fixed; 
  top: 0;
  left: 8vw;
  right: 8vw;
  z-index: 1000;
}

.nav-button {
  width: 20vw;
  height: 12vh;
  background: url('images/navbar-button-shape.png') no-repeat center;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.nav-button a {
  margin-top: 12px;
  background-color: #0e335c;
  color: #fff;
  width: 8vw; 
  height: 5vh;
  border-radius: 30px;
  font-family: Lora-Italic;
  font-size: 1vw;
  font-weight: 500;
  z-index: 2;
  text-wrap: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  text-decoration: none;
}

.nav-button a:hover {
  transform: scale(0.85);
  transition: 0.2s ease;
}

.nav-button a.active {
  background-color: #BCA665;
}


.center-logo {
  position: relative;
  display: inline-block;
}

.center-shape {
  width: 25vw;    
  height: auto;
  z-index: 1;
}

.logo-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: 0.2s ease;
}

.logo {
  width: 60%;
  height: auto;
}

.logo-wrapper:hover {
  transform: scale(0.9); 
}

/* ====================================================================================================*/
/* scroll sections*/

.section-1{
  height: 200vh;
}

.section-2{
  height: 200vh;
}

.section-3{
  height: 100vh;
  position: relative; 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-4{
  height: 200vh;
  position: relative; 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-5{
  height: 100vh;
  position: relative; 
  z-index: 1;
}
/* ====================================================================================================*/
/* section een */       
.portfolio-container {
  position: relative;
  background-color: #F7F4EC;
  width: 35vw;
  height: 60vh;
  margin-left: 10vw;
  top: 180px;
  border-radius: 30px;
  box-shadow: 
  -10px -10px 20px rgba(255, 255, 255, 0.5), 
  10px 10px 20px rgba(203, 203, 203, 0.5); 
  animation: disappear linear;
  animation-timeline: view();
  animation-range: exit 0% cover 100%;
  transition: 0.3s ease;
}

.portfolio-title {
  position: absolute;
  font-family: Lora-Italic;
  font-size: 3.2vw;
  color: #BCA665;
  margin-left: 5vw;
  margin-top: 3vh;
}

.vertical-line {
  position: absolute;
  left: 8%; 
  top: 5%; 
  height: 90%; 
  width: 0.4vw; 
  background-color: #BCA665; 
  border-radius: 50px;
}

.blue-rectangle {
  position: relative;
  width: 28vw;
  padding-top: 27vh;
  padding-left: 5vw;
}

.blue-rectangle-img {
  width: 28vw;
  height: auto;
  display: block;
}

.overlay-content {
  position: absolute;
  top: 80%;
  left: 58%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #BCA665;
  width: 28vw;
}

.quote {
  width: 28vw;
  font-family: engravers-mt;
  font-size: 1.2vw;
}

.scroll-prompt {
  display: flex;
  margin-left: 38%;
  align-items: center;
  gap: 8px;
  padding-top: 6vh;
  font-family: 'Lora-Italic';
  font-size: 1vw;
  animation: bounce 2s infinite;
}

.arrow-icon {
  width: 0.8vw;
  height: auto;
  rotate: 270deg;
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
/* ====================================================================================================*/
/* section twee*/

.over-mij-container {
  position: relative;
  background-color: #F7F4EC;
  width: 35vw;
  height: 60vh;
  margin-left: 10vw;
  top: 180px;
  border-radius: 30px;
  box-shadow: 
  -10px -10px 20px rgba(255, 255, 255, 0.5), 
  10px 10px 20px rgba(203, 203, 203, 0.5);
  animation: 
  appear linear,
  disappear linear;
  animation-timeline: 
  view(),
  view();
  animation-range: 
  entry 0% cover 30%,
  exit 0% cover 100%;
  transition: 0.3s ease;
  overflow: hidden;
}

.centered-image {
  position: absolute;
  width: 90%;
  margin-left: 5%;
  margin-top: 5%;
}

.text-overlay {
  position: relative;
  z-index: 1;
}

.section-2 h1{
  font-family: engravers-mt;
  font-size: 3vh;
  color: #BCA665;
  margin-left: 10%;
  margin-top: 10%;
}

.section-2 p{
  font-family: Lora-Italic;
  font-size: 1.8vh;
  color: white;
  padding-top: 5%;
  padding-left: 10%;
  padding-right: 10%;
}

.quote-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 13vh;
}

.quote-2 h2{
  font-family: engravers-mt;
  font-size: 1.1vw;
  color: #BCA665;
}

.underline-2 {
  width: 70%;
  height: 0.3vh;
  background-color: #BCA665;
  border-radius: 50px;
}


/* ====================================================================================================*/
/* section drie*/

.projecten-wrapper {
  display: flex;
}

.projecten-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 60vw;
}

.projecten-item {
  position: relative;
  display: inline-block;
  animation: 
  appear linear,
  disappear linear;
  animation-timeline: 
  view(),
  view();
  animation-range: 
  entry 0% cover 25%,
  exit 0% cover 100%;
  transition: 0.3s ease;
}

.projecten-item img {
  width: 100%;
  height: 100%;
}

.projecten-item:hover{
  scale: 0.9;
  transition: 0.3s ease;
}

.projecten-afbeelding {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 75%;
  max-height: 70%;
  z-index: 1;
  transition: 0.3s ease;
}

.projecten-item:hover .projecten-afbeelding {
  opacity: 0.5;
}
.projecten-arrow {
  position: absolute;
  width: 2.8vw; 
  aspect-ratio: 1 / 1;
  right: 10px;
  bottom: 10px;
  background-color: #0D3159;
  box-shadow: 
  -10px -10px 20px rgba(255, 255, 255, 0.5), 
  10px 10px 20px rgba(203, 203, 203, 0.5); 
  padding: 10px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projecten-arrow img {
  width: 50%;
  height: 50%; 
}

.projecten-item:hover .projecten-arrow{
  background-color: #BCA665;
  transition: 0.3s ease;
}

.projecten-item:hover .projecten-arrow img {
  content: url("images/arrow-3.svg");
  width: 90%;
  height: 90%; 
}


.rectangle {
  position: absolute;
  border-radius: 8px;
  animation: 
  appear linear,
  disappear linear;
  animation-timeline: 
  view(),
  view();
  animation-range: 
  entry 0% cover 10%,
  exit -100% cover 100%;
}

.rectangle.large {
  width: 30%;
  height: 12px;
  top: 85%;
  left: 35%;
  background-color: #0D3159;
}

.rectangle.small {
  width: 15%;
  height: 8px;
  background-color: #BCA665;
  border: 2px solid #0D3159;
  top: 85%;
  left: 35%;
}

.projects-heading {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  text-align: center;
  transition: top 0.6s ease;
  width: 100%;
  font-family: engravers-mt;  
  font-size: 8vw;
  color:  #BCA665;
}

.section-3.scrolled .projects-heading {
  top: 50%;
  transform: translate(-50%, -50%);
}

.projecten-img-wrapper {
  padding: 10px; /* pas dit aan naar wens */
  box-sizing: border-box;
  height: 100%;
  width: 100%;
}

.projecten-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*================================================================================================================*/
/* section vier*/
.expertises-container {
  display: grid;
  width: 68%; /* Same width */
  grid-template-columns: repeat(8, 1fr);
  border-radius: 50px;
  background-color: #F7F4EC;
  box-shadow: 
  -10px -10px 20px rgba(255, 255, 255, 0.5), 
  10px 10px 20px rgba(203, 203, 203, 0.5); 
  padding: 20px;
  margin-top: -50vh;
  animation: 
  appear linear,
  disappear linear;
  animation-timeline: 
  view(),
  view();
  animation-range: 
  entry 0% cover 15%,
  exit -20% cover 100%;
}

.apphover {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align cursor finger to the left of the text */
}

.apphover img {
  width: 32px; /* Same size as before */
  height: auto;
  margin-right: 10px; /* Adjust spacing between image and text */
}

.expertises-container p {
  font-family: "engravers-mt";
  font-size: 16px; /* Same size as before */
  color: #BCA665;
  margin-left: 2vw;
  margin-right: 100px;
}

.appicon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center images above the lines */
}

.appicon img {
  width: auto;
  height: 32px; /* Same height as before */
  padding-bottom: 10px;
  transition: 0.3s;
}

.appicon:hover img {
  transform: scale(1.2);
}

.border-shape {
  position: absolute;
  bottom: 5px; /* Same position as before */
  width: 40%; /* Same width as before */
  height: 4px; /* Same height as before */
  background-color: #BCA665;
  border-radius: 50px;
  transition: 0.3s;
}

.appicon:hover .border-shape {
  background-color: #0D3159;
}

.apphover img {
  width: 40px;
  height: auto;
  transform: rotate(45deg);
}

.info-box {
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F7F4EC;
  box-shadow: 
  -10px -10px 20px rgba(255, 255, 255, 0.5), 
  10px 10px 20px rgba(203, 203, 203, 0.5);
  color: white;
  padding: 20px;
  border-radius: 20px;
  width: 20vw;
  font-size: 14px;
  opacity: 0;
  z-index: 1;
  transition: 0.3s;
}

.appicon:hover .info-box {
  opacity: 1;
}

.appicon .info-box {
  opacity: 0;
  pointer-events: none; /* Prevent mouse events on the info-box */
  transition: opacity 0.3s;
}

.appicon img:hover + .border-shape + .info-box {
  opacity: 1;
  pointer-events: auto; /* Optional: enable interaction if needed when hovered on the image */
}


.info-box .title {
  font-family: "engravers-mt";
  text-align: left;
  font-size: 1.8vw;
  color: #BCA665;
  margin-bottom: 10px;
}

.info-box .info {
  font-family: Lora-Italic;
  color: black;
  text-align: center;
  font-size: 0.9vw;
}

/*================================================================================================================*/
/* section vijf*/
.Contact {
  position: absolute;
  width: 75%;
  height: 40%;
  background-color: #F7F4EC;
  box-shadow: 
  -10px -10px 20px rgba(255, 255, 255, 0.5), 
  10px 10px 20px rgba(203, 203, 203, 0.5); 
  border-radius: 50px 50px 0px 0px;
  bottom: 0;
  left: 12.5%; 
  background-image: url('images/greek-rectangle.png');
  background-size: 100%;
  animation: 
  appear linear,
  disappear linear;
  animation-timeline: 
  view(),
  view();
  animation-range: 
  entry 0% cover 30%,
  exit -20% cover 100%;
}

.contact-container {
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.Contact h1 {
  font-family: engravers-mt;
  font-size: 3vw;
  color: #BCA665;
  padding-left: 5vw;
}

.social-media {
  padding: 0.8vw;
  background-color: #0D3159;
  width: 22vw;
  border-radius: 30px;
  margin-left: 6vw;
  margin-top: 5vh;
  display: flex;             
  align-items: center;      
  justify-content: center;    
  overflow: hidden; 
}

.social-media img {
  width: 2.5vw; 
  height: auto; 
  padding: 1.2vw; 
  transition: all 0.2s ease; 
}

.social-media img:hover {
  transform: scale(1.2); 
}

.contact-details {
  text-align: right;
  margin-right: 6vw;
}

.contact-details img {
  width: 2.5vw;
  height: auto;
  transition: all 0.2s ease; 
}

.contact-details img:hover {
  transform: scale(1.2); 
}

.contact-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2vw;
  margin-bottom: 5vh;
}

.contact-item p {
  margin: 0;
  font-family: Lora-Italic;
  color: #BCA665;
  font-size: 1.5vw;
}
