/* Global Typography */ /* Global Typography */ /* Global Typography */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/GeistVF.woff2') format('woff2'),
       url('/fonts/GeistVF.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/GeistMonoVF.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
}

body, p, span, div {
  font-family: 'Geist', sans-serif;
  line-height: 1.6;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  font-weight: 400;
}

.hero h2 {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
}



h3 {
  font-size: clamp(1rem, 2vw, 1.25rem); /* Increased from 0.875rem to 1rem minimum and 1.25rem maximum */
  font-weight: 700; /* Added bold weight */
  line-height: 1.3;
  text-transform: uppercase;
  padding-bottom: .5rem;
}

h4 {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  line-height: 1.3;
}

h5 {
  font-size: clamp(0.75rem, 1vw, 0.8rem);
  line-height: 1.4;
}

h6 {
  font-size: clamp(0.7rem, 0.9vw, 0.75rem);
  line-height: 1.4;
}

p {
font-size: 18px;
font-weight: 300;
letter-spacing:0.02rem;

}
/* CSS Variables */ /* CSS Variables */ /* CSS Variables */

:root {
  color-scheme: light dark;

  /* Core Colors */
  --color-primary: #6320EE; 
  --color-primary-hover: #cf0048;
  --color-secondary: #FF075E;
  --color-light: #ebebeb;
  --color-dark: #232323;

  /* Semantic Colors */
  --color-background: var(--color-light);
  --color-background-dark: var(--color-dark);
  
  --color-text-heading: var(--color-primary);
  --color-text-paragraph: var(--color-dark);

  /* Padding */
  --section-padding-h: calc(0.5rem + 1vw);
  --section-padding-v: calc(6rem);
  --section-padding-full-width: 0;
  --section-max-width:1200px;
  /* Border Radius */
  --border-radius-small: 0.5rem;
  --border-radius-medium: 1rem;
  --gap: clamp(1rem, 0.8929vw + 0.7143rem, 2rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-primary:#FF075E;
    --color-secondary: #6320EE;  
    --color-dark: #ebebeb;
    --color-light:#232323;
  }
}

/* CSS reset */ /* CSS reset */ /* CSS reset */

*, *::before, *::after {
	box-sizing: border-box;
}

html {
  color-scheme: dark light;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

body {
    min-height: 100vh;
    font-family: 'Geist', Helvetica, sans-serif;
    color: var(--color-dark);
}

img, picture, svg,  video { 
	display: block;
	max-width:100%;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


/* Global styling */ /* Global styling */ /* Global styling */
body.index{
  display: flex;
  flex-direction: column;
  }
  
  .index .hero {
    flex: 1;
  }

body {
  background-color: var(--color-background);
  color: var(--color-text-paragraph);
}

::selection {
  background: var(--color-primary); /* highlight color */
  color: #ebebeb;         /* text color */
}

.button {
  color: var(--color-light);
  background-color: var(--color-dark);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  font-family: 'Geist Mono', monospace;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 200ms ease;
}

.button:hover {
  background-color: var(--color-primary);
  color: #ebebeb;
  transform: translateY(-2px);
}

.button-secondary {
  padding: 0.75rem 1.5rem;
  color: var(--color-primary);
  transition: all 200ms ease;
}

.button-secondary:hover {
  color: var(--color-primary-hover);
  transform: translateY(-2px);
}



.column-reverse {
  flex-direction: column-reverse;
}

.row-reverse {
  flex-direction: row-reverse;
}
/* Header styling */ /* Header styling */ /* Header styling */
/* Header styling */
header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 100;
 display: flex;
 justify-content: center;
 width: 100vw;
 height: 5rem;
 transform: translateY(0);
 transition: transform 300ms ease-out;
}

header nav ul {
 height: 100%;
 display: flex;
 align-items: center;
 gap: 2rem;
}

header nav ul li {
 list-style: none;
}

header nav ul li a svg {
 width: 2.5rem;
 height: 2.5rem;
 fill: var(--color-primary);
 transition: transform 300ms ease, width 300ms cubic-bezier(0.4, 0, 0.2, 1), height 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Normal state */
header nav ul li a.button {
 opacity: 1;
 transition: opacity 300ms ease-out;
}

/* Scrolled down state */
header.scrolled-down {
 transform: translateY(-2.35rem)
}

header.scrolled-down nav ul li a.nav-logo svg {
 width: 4rem;
 height: 4rem;
}

header.scrolled-down nav ul li a.button {
 opacity: 0;
 pointer-events: none;
}

/* Hover effect when scrolled down */
header.scrolled-down:hover {
 transform: translateY(0);
}

header.scrolled-down:hover nav ul li a.button {
 opacity: 1;
 pointer-events: auto;
}

header.scrolled-down:hover nav ul li a.nav-logo svg {
 width: 2.5rem;
 height: 2.5rem;
}

/* hero */ /* hero */ /* hero */

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--section-padding-v) var(--section-padding-h);

}
.hero-container {
  display: flex;
  flex-direction: column;
  width:100%;
  max-width: var(--section-max-width);
}

.hero-container h2{
  font-size: 1.2rem;
  max-width: 48ch;
  text-transform: none;
  align-self: flex-end;
  font-weight: 300;
  
}

.hero h1 {
max-width: 26ch;
padding-bottom: 1rem;

}
/* Projects */ /* Projects */ /* Projects */

.projects {
  width: 100%;
  display: flex;

  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding: 0 var(--section-padding-h) var(--section-padding-v) var(--section-padding-h);
}

.projects-text{
  width: 100%;
  max-width: var(--section-max-width);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap);
  padding-bottom: 1rem;
}

.project-cards {
  display: flex;
  flex-wrap: wrap;
  flex-direction:column;
  gap: 1rem;
  width: 100%;
  max-width:var(--section-max-width);
  transition: all 200ms ease-out;
}

.project-cards:hover .project-card-link {
  opacity: 0.5;
  transition: all 200ms ease-out;
}

.project-cards:hover .project-card-link:hover {
  opacity: 1;
  transition: all 200ms ease-out;
}



.project-card-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
  width: 100%;
  transition: transform 200ms ease;
}

.tags {
  background-color: var(--color-light);
  color: #ebebeb;
  padding:.25rem .5rem;
  border-radius: .25rem;
}

.project-card {
  display: flex;
  flex-direction:column;
  flex-grow:1;
  gap: .5rem;
  width:100%;
  aspect-ratio: 16 / 12;
  border-radius: .3rem;
  overflow:hidden;
}

.project-thumbnail{
  height: 85%;
  flex-shrink: 0;
  border-radius: .3rem;
  transition: height 200ms ease-out;
  overflow:hidden;
}

.project-card-link:hover .project-thumbnail {
  height: 85%;
}

.project-title {
  flex-shrink:0;
  height: 10%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-title h3{
padding-bottom: 0;
}


/*           Project Cards Groups             */

.project-card.know-your-crypto .project-thumbnail,
.project-card.project-card.cyber-cypher .project-thumbnail,
.project-card.boat-buddies .project-thumbnail,
.project-card.belasting-form .project-thumbnail {
  display: grid;
  place-items: center;
}

/* design tags */
.design {
  background-color: var(--color-primary);
}
.frontend {
  background-color: var(--color-secondary);
}

.crypto-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-conic-gradient( from 0deg,
    #f0376b 0deg 30deg,
    #EF2B61 30deg 60deg
  );
  scale: 2;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
  
/*           Know Your Crypto             */
@media (hover: hover) {
.crypto-background {
  
  animation: spin 10s linear  infinite forwards;
  animation-play-state: paused;
}
.project-card-link:hover .crypto-background {
    animation-play-state: running; 

}
}



#logo-crypto {
  height: 30%;
  z-index: 2;
}

.project-card.know-your-crypto .project-thumbnail {
  position: relative;
}

/*           Cyber Cypher             */

.project-card.cyber-cypher .project-thumbnail {
  position: relative;
  background-image:
  linear-gradient(45deg,#ff8400 0%, #D26D00 100%); 
}

.project-card.cyber-cypher img {
  position: absolute;
  filter: drop-shadow(0 0 0 #181818);
  
  
}

#cyber-logo {
  width: 30%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: filter 200ms ease-in-out, transform 200ms ease-in-out;
}

.project-card.cyber-cypher:hover #cyber-logo {
  filter: drop-shadow(-0.5rem 0.5rem 0 black);
  transform: translate(-52%, -52%) scale(1.1);
}

#advisory-logo {
  width: 20%;
  top: 100%;
  left: 70%;
   transition: top 300ms ease-out;
}

.project-card.cyber-cypher:hover #advisory-logo {
  width: 20%;
  top: 70%;
  left: 70%;
}

/* #travis-logo {
  width: 20%;
  top: 10%;
  left: 70%;
}

#eminem-logo {
  width: 30%;
  top: 10%;
  left: 10%;
}

#snoopdog-logo {
  width: 30%;
  top: 75%;
  left: 10%;
} */



/*           Boat Buddies             */

.project-card.boat-buddies .project-thumbnail {
  position: relative;
  background-color:#314EE7;
  overflow: hidden;
}

.parallax-waves {
  width: 100%;
  height: 0%;
  max-height: 100vh;
  margin: 0;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  transition: height 300ms ease-out;
}

.project-card.boat-buddies:hover .parallax-waves {
  height: 30%;
}


.waves > use:nth-child(1) {
  animation: wave 12s linear infinite -2s;
  animation-play-state: paused;
}
.waves > use:nth-child(2) {
  animation: wave 5s linear infinite -1s;
  animation-play-state: paused;
}
.waves > use:nth-child(3) {
  animation: wave 3s linear infinite -1s;
  animation-play-state: paused;
}
.project-card.boat-buddies:hover .waves > use {
  animation-play-state: running;
}

@keyframes wave {
  0%   { transform: translate(-90px, 0); }
  100% { transform: translate(85px, 0); }
}



/*           Belasting Dienst             */

.project-card.belasting-form .project-thumbnail {
  position: relative;
  background-color:#FFC917;
}
#ns-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  z-index: 2;
}

#ns-swoop {
  position: absolute;
  width: 100%;
  right: 30%;
  bottom: -80%;
  opacity: 0;
  transition: right 300ms ease-out, bottom 300ms ease-out, opacity 300ms ease-out;
  z-index: 1;
}

.project-card-link:hover #ns-swoop {
  right: 0%;
  bottom: -10%;
  opacity: 1;
}

#ns-mockup {
  width: 60%;
  padding-top:50%;
  transition: padding-top 300ms ease-out;
  z-index: 2;
}

.project-card-link:hover #ns-mockup {
  padding-top:30%;
}



/*           CSS Piano             */

.project-card.css-piano .project-thumbnail {
  position: relative;
  background-color:#F09;
}
.piano-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 20%;
  transition: height 300ms ease-out, top 300ms ease-out; 
}

.project-card.css-piano:hover .piano-logo{
  height: 15%;
  top: 15%;
}

.piano {
--piano-background: #242424;
--piano-keys-white: #F4F4F4;
--piano-keys-black: var(--piano-background);

  position: absolute;
  top: 130%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  aspect-ratio: 16/9;
  background-color:var(--piano-background);
  border-radius: 1rem;
  padding: .5rem;
  transition: opacity 100ms ease-out, top 300ms ease-out ;
}

.project-card.css-piano:hover .piano {
  top: 60%;
}

.piano > * {
  display: flex;
}

.drumpads {
  justify-content: space-between;
  height: 40%;
  width: 100%;
  padding-bottom: .5rem;
}

.drumpad { 
  aspect-ratio: 1/1;
  background-color:#f90;
  border-radius: .35rem;
  transition: background-color 100ms ease-out;
}

.drumpad:hover {
  background-color:rgb(255, 77, 0);
}

.keys {
  height: 60%;
  width: 100%;
  gap: .25rem;
}

.key {
  border-radius: .35rem;
  transition: background-color 100ms ease-out;
}

.key.white{
  height: 100%;
  width: 17%;
  background-color: white;
}

/* Custom hover colors for specific white keys */
.key.white:nth-of-type(1):hover { background-color: #e53935; }  /* red */
.key.white:nth-of-type(3):hover { background-color: #fb8c00; }  /* orange */
.key.white:nth-of-type(5):hover { background-color: #fdd835; }  /* yellow */
.key.white:nth-of-type(6):hover { background-color: #43a047; }  /* green */
.key.white:nth-of-type(8):hover { background-color: #1e88e5; }  /* blue */
.key.white:nth-of-type(10):hover { background-color: #8e24aa; } /* indigo */
.key.white:nth-of-type(12):hover { background-color: #d81b60; } /* violet */


.key.black{
  margin-left: -9%;
  transform: translateX(60%);
  width: 9%;
  height: 60%;
  background-color: var(--piano-background);
  border-radius: 0 0 .25rem .25rem;
  z-index: 2;
}


/*           Jokes Api             */

.project-card.joke-api .project-thumbnail {
  position: relative;
  background-image: url(images/projects/windows-background.png);
  background-size: 100%;
} 
.project-card.joke-api .project-thumbnail > * {
  position: absolute;
  }

#clippy {
  opacity: 0;
  top:0%;
  right:40%;
  z-index: 2;
  transition: top 300ms ease-out, opacity 100ms linear, scale 300ms ease-out;
}

.project-card.joke-api:hover #clippy {
  opacity: 1;
  top: 40%;
  scale: 1.4;
}

#clippy-mustache {
  top:100%;
  left:20%;
  transition: top 300ms ease-out, scale 300ms ease-out;
}

.project-card.joke-api:hover #clippy-mustache {
  top: 20%;
  scale: 1.4;
}

#clippy-wig {
  top:100%;
  right:10%;
  transition: top 300ms ease-out, scale 300ms ease-out;
}

.project-card.joke-api:hover #clippy-wig {
  top: 30%;
  scale: 1.4;
}

#hill {
  width: 100%;
  bottom:-30%;
  left:0;
  transition: bottom 300ms ease-out;
}
.project-card.joke-api:hover #hill {
  bottom:-10%;
}

@keyframes --card-animation {
  0% {
    height:100%;
  }
  100% {
    height: 80%;
  }
}

/* footer */ /* footer */ /* footer */


footer {
  position: relative;
  background-color: var(--color-secondary);
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(0, 0, 0, 0.03) 35px,
      rgba(0, 0, 0, 0.03) 70px
    );
  color: var(--color-dark);
  padding: calc(var(--section-padding-v) / 2) var(--section-padding-h);
  overflow: hidden;
}


.footer-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--section-max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}


/* Social section */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Enhanced social icons with better contrast */
.social-link {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #232323;
  border-radius: var(--border-radius-small);
  color: #ebebeb;
  transition: all 200ms ease;
}

.social-link:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
} 

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.contact-info a {
  color: #ebebeb;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 1.25rem;
}

.contact-info a::before {
  content: '→';
  position: absolute;
  left: 0;
  transition: transform 0.2s ease;
}

.contact-info a:hover {
  padding-left: 1.5rem;
}

.contact-info a:hover::before {
  transform: translateX(0.25rem);
}




/* Group social icons */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links:hover {
background-color: var(--color-secondary);
}

/* Mobile responsive */
@media (max-width: 640px) {
  footer {
    padding: 3rem 1rem 2rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-left {
    align-items: center;
    width: 100%;
  }

  .contact-info {
    align-items: center;
  }

  .footer-socials {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }


}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .footer-accent {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}


.hero-about{
  width: 100%;
  max-width: var(--section-max-width);
  display: flex;
  gap: var(--gap);
  flex-direction: column;
}

.hero-about h2 {
  text-transform: none;
}
.hero-about h1 span {
  color: var(--color-secondary);
}

.hero-about span {
  color: var(--color-primary);
}

.hero.work {
  flex: 0;
}

.projects.work{
padding-top: var(--section-padding-v);
  flex: 1;
}

.stijn {
  width: 100%;
  min-width: 200px;
}


/* media queries */ /* media queries */ /* media queries */
@media (min-width: 640px) {
  .project-cards {
    flex-direction: row;
  }
  .project-card-link {
    width:40%;
  }


.hero-about{
display: flex;
gap: var(--gap);
flex-direction: row;
}
}
@media (min-width: 1200px) {

  .project-card-link {
    width:30%;
  }
}

@media (hover: none) and (max-width: 640px) {

  .project-thumbnail {
    transition: height 300ms ease;
  }
  
  /* Your existing animations... */
  .crypto-background {
    animation: spin 10s linear infinite;
    animation-play-state: paused;
  }
  /* Crypto */
  .crypto-background {
    animation: spin 10s linear infinite;
    animation-play-state: paused;
  }
  
  /* Cyber Cypher */
  #cyber-logo {
    transition: filter 300ms ease, transform 300ms ease;
  }
  
  /* Boat Buddies */
  .parallax-waves {
    transition: height 300ms ease;
  }
  .waves > use {
    animation-play-state: paused;
  }
  
  /* Belasting form */
  #ns-swoop {
    transition: right 300ms ease, bottom 300ms ease, opacity 300ms ease;
  }
  
  /* CSS Piano */
  .piano {
    transition: top 300ms ease;
  }
  .piano-logo {
    transition: height 300ms ease, top 300ms ease;
  }
  
  /* Joke API */
  #clippy {
    transition: top 300ms ease, opacity 300ms ease, transform 300ms ease;
  }
  #clippy-mustache {
    transition: top 300ms ease, transform 300ms ease;
  }
  #clippy-wig {
    transition: top 300ms ease, transform 300ms ease;
  }
  #hill {
    transition: bottom 300ms ease;
  }
}


@media (hover: hover) {
  .project-thumbnail{
    height: 100%;
  }
  
  .project-card-link:hover .project-thumbnail {
    height: 85%;
  }
  
  /* Your existing crypto animation */
  .crypto-background {
    animation: spin 10s linear infinite forwards;
    animation-play-state: paused;
  }
  .project-card-link:hover .crypto-background {
    animation-play-state: running;
  }
}
