/* CSS Variables */
:root {
  --primary-blue: #1a1aff;
  --text-color: #212529;
  --background-color: #fff;
  --gray-color: #666;
  --light-gray: #f3f3f3;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --button-hover-shadow: rgba(26, 26, 255, 0.15);
  --social-hover-shadow: rgba(26, 26, 255, 0.33);
}

/* General Styles */
body {
  margin: 0 auto;
  height: 100vh;
  overflow-y: auto;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes flipUp {
  0% {
   opacity: 0;
   margin-top: -10px;
  }
  13.2%{
    opacity: 1;
    margin-top: 0;
    transform: rotateX(0deg);
  }
  33%,100% {
    opacity: 0;
     margin-top: 0;
    transform: rotateX(90deg);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Page-specific Animations */
body {
  opacity: 0;
  transition: opacity 1s ease;
}

body.loaded {
  opacity: 1;
}

/* Hamburger Animation */
.hamburger span {
  transition: all 0.4s cubic-bezier(.68, -0.55, .27, 1.55);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Typing Text Animation */
#typed-text,
.typed-cursor {
  font-family: 'Roboto', Arial, sans-serif;
}

.typed-cursor {
  display: inline-block;
  width: 1ch;
  animation: blink 1s steps(1) infinite;
  color: #1a1aff;
  font-weight: bold;
}

/* Button Hover Animations */
.button1,
.button2 {
  transition: transform 0.2s cubic-bezier(.68, -0.55, .27, 1.55), box-shadow 0.2s;
}

.button1:hover,
.button2:hover {
  box-shadow: 0 4px 24px rgba(26, 26, 255, 0.15);
  transition: ease-in-out 0.3s;
  transform: translateY(-2px);
}

/* Name Bounce on Hover */
.main span {
  display: inline-block;
  transform: translateY(0);
}

.main span:hover {
  color: #1a1aff;
  text-shadow: 0 4px 12px #ffffff, 0 0 18px #4e4eff;
  transition: ease-in-out 0.3s;
}

/* Content Fade-in */
.content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(.68, -0.55, .27, 1.55), transform 1.2s cubic-bezier(.68, -0.55, .27, 1.55);
}

body.loaded .content {
  opacity: 1;
  transform: translateY(0);
}

/* Nav Slide-in Animation */
#nav-list li {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.7s cubic-bezier(.68, -0.55, .27, 1.55), transform 0.7s cubic-bezier(.68, -0.55, .27, 1.55);
}

body.loaded #nav-list li {
  opacity: 1;
  transform: translateY(0);
}

body.loaded #nav-list li:nth-child(1) { transition-delay: 0.2s; }
body.loaded #nav-list li:nth-child(2) { transition-delay: 0.3s; }
body.loaded #nav-list li:nth-child(3) { transition-delay: 0.4s; }
body.loaded #nav-list li:nth-child(4) { transition-delay: 0.5s; }
body.loaded #nav-list li:nth-child(5) { transition-delay: 0.6s; }

/* Social Icon Hover */
.socials img {
  transition: transform 0.3s cubic-bezier(.68, -0.55, .27, 1.55), box-shadow 0.3s;
  will-change: transform;
}

.socials img:hover {
  transform: scale(1.18) rotate(-4deg);
  box-shadow: 0 4px 24px #1a1aff33;
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

.hide {
  opacity: 0;
  transition: opacity 0.6s ease;
}

#preloader {
  display: none;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    background-size: 100%;
    z-index: 1000;
  }
  
  .loader {
    width: 50px;
    height: 50px;
    border: 6px solid #ddd;
    border-top: 6px solid #00796B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }


  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  body {
    margin: 0 auto;
    height: 100vh;
    overflow-y: hidden;
  }

  nav {
    width: 100%;
  }

  nav ul {
    display: flex;
    justify-content: right;
    padding: 30px; 
    margin: 0; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

nav ul li {
    display: flex;
    align-items: center;
      margin-right: 30px; 
      margin-left: 20px;
}
nav ul li a {
    display: flex;
    text-decoration: none;
    font-size:  20px;
    font-family: 'roboto';  
    font-weight: 700;
    color: #212529;
    flex-direction: flex-start;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: blue;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

nav ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

a.navcolinpouw {
  color: blue;
  font-size: 25px;
  display: flex;
  flex-direction: flex-start;
}

#home {
  display: block; 
}

.content {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  position: relative;
  top: 100px;
  
}

.hoi {
  font-size: 1.7rem;
  font-family: 'Roboto';
  font-weight: 490;
  color: gray;
}
.main {
  margin-top: 10px;
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 2.4rem;
}

.main span {
  margin-top: 10px;
  font-size: 2.4rem;
  font-weight: 600;
  color: blue;
  font-family: 'roboto';
}

.content .software {
  margin-top: 10px;
  font-size: 2rem;
  font-family: 'roboto';
  font-weight: 400;
}

span.holder{
  position: relative;
  background: white;
  width:  400px;
  height: 4em;
  overflow: hidden;
  padding-left: -5px;
}

span.item{
  font-family: 'roboto';
  position: absolute;
  color: gray;
  font-size: 1.5em;
  transform-origin: 50% 70%;
  width: 300px;
}

span.item:nth-child(1) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 0s both infinite;
}

span.item:nth-child(2) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 1.5s both infinite;
}
span.item:nth-child(3) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 3s both infinite;
}
span.item:nth-child(4) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 4.5s both infinite;
}
span.item:nth-child(5) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 6s both infinite;
}

@keyframes flipUp {
  0% {
   opacity: 0;
   margin-top: -10px;
  }
  13.2%{
    opacity: 1;
    margin-top: 0;
    transform: rotateX(0deg);
  }
  33%,100% {
    opacity: 0;
     margin-top: 0;
    transform: rotateX(90deg);
    
  }
}

.bekijk {
  font-size: 1rem;
  font-family: 'roboto';
  font-weight: 400;
  color: gray;
  margin-top: 50px;
}

.content a {
  max-width: 150px;
}
.button {
  display: flex;
  border: none;
  color: white;
  padding: 16px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 600px;
}

.button-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-left: -2px;
  margin-top: 10px;
}

.button1 {
  font-family: 'roboto';
  font-weight: 600;
  background-color: white; 
  color: blue; 
  border: 1.4px solid blue;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
  display: flex;
  max-width: 150px;
  width: 150px;
  justify-content: center;
  letter-spacing: 1.2px;
  text-decoration: none;
}

.button1:hover {
  background-color: blue;
  color: white;
}


.button2 {
  font-family: 'roboto';
  font-weight: 600;
  background-color: white; 
  color: blue; 
  border: 1.4px solid blue;
  border-radius: 10px;
  display: flex;
  max-width: 150px;
  width: 150px;
  justify-content: center;
  letter-spacing: 1.2px;
}

.button2:hover {
  background-color: blue;
  color: white;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
}


.homepagepic {
  position: relative;
  bottom: 240px;
  left: 700px;
  width: 400px;
  height: 500px;
  border-radius: 55px;
  border: blue 2px solid;
  box-shadow: 0px 0px 15px rgba(0, 0, 255, 0.4);
}

#about {
  display: block;
  max-width: 1500px;
}

.about-container {
  display: flex;
  margin-top: 100px;
  border-bottom: black solid 1px;
  flex-direction: row;
  justify-content: space-around;
  margin-left: 200px;
  max-width: 1100px;
  align-items: center;
}

.aboutword {
  margin-left: 10px;
  font-family: 'Roboto';
  font-size: 32px;
  margin-bottom: 50px;
  width: 520px;
}

.pinfo {
  font-family: 'Roboto';
  font-size: 20px;
  margin-left: 50px;
  max-width: 1500px;
  margin-bottom: 30px;
}

.opleidingclass {
  display: flex;
  margin-top: 100px;
  border-bottom: black solid 1px;
  flex-direction: row;
  margin-left: 200px;
  max-width: 1100px;
  align-items: center;
}

.opleidingheader {
  display: flex;
  align-items: center;
  font-family: 'Roboto';
  font-size: 32px;
  margin-bottom: 50px;
  width: 240px;
  margin-left: 10px;
}

.opleiding {
  display: flex;
  justify-content: left;
  font-family: 'Roboto';
  font-size: 20px;
  max-width: 1500px;
  margin-bottom: 30px;
}

.interesse-container {
  display: flex;
  margin-top: 75px;
  border-bottom: black solid 1px;
  flex-direction: row;
  margin-left: 200px;
  max-width: 1100px;
  align-items: center;
}

.intheader {
  display: flex;
  align-items: center;
  font-family: 'Roboto';
  font-size: 32px;
  margin-bottom: 50px;
  width: 240px;
  margin-left: 10px;
}

.interesse {
  display: flex;
  align-items: center;
  font-family: 'Roboto';
  font-size: 20px;
  max-width: 800px;
  margin-bottom: 30px;
}

.clubheader {
  display: flex;
  font-family: 'Roboto';
  font-size: 32px;
  width: 400px;
  margin-bottom: 30px;
  margin-left: 10px;
}

.clubs {
  display: flex;
  margin-top: 50px;
  flex-direction: row;
  margin-left: 200px;
  width: 800px;
  align-items: center;
}

.agavs, .irene, .pdkhuizen {
  display: flex;
  font-family: 'Roboto';
  font-size: 20px;
  max-width: 1500px;
  margin-bottom: 15px;
  margin-left: 20px;
  letter-spacing: 1px;
}

.flexdirection {
  display: flex;
  justify-content: left;
  font-family: 'Roboto';
  font-size: 20px;
  margin-top: 20px;
  margin-left: -55px;
  max-width: 1500px;
  margin-bottom: 30px;
}

 .mywork {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'roboto';
  font-size: 52px;
  margin-bottom: 50px;
}

.content {
  display: flex;
  justify-content: center;
}

.gallery {
  display: flex;
  justify-content: center;
  text-align: center;
 outline: 1px solid black; 
 width: 100%;
  padding: 20px;
} 

.gallery-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 50px; 
  justify-content: space-between;
  width: 100%;
  background-color: #f2f2f2;
  padding: 40px;
  border-radius: 50px;
}

.gallery-items p {
  margin-top: 10px;
  text-align: center;
  font-family: 'Roboto';
  font-weight: 500;
}

.gallery-items img {
  border-radius: 35px;
  max-width: 200px;
  height: 200px;
  max-height: 200px;
  object-fit: cover; 
  transition: ease-in-out 0.3s;
} 

.gallery-items img:hover {
  transform: scale(1.1);

} */

/* Parallax Effect for Home */
#home {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* Components */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  height: 100vh;
  overflow-y: auto;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes flipUp {
  0% {
   opacity: 0;
   margin-top: -10px;
  }
  13.2%{
    opacity: 1;
    margin-top: 0;
    transform: rotateX(0deg);
  }
  33%,100% {
    opacity: 0;
     margin-top: 0;
    transform: rotateX(90deg);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Font Face */
@font-face {
  font-family: 'Montserrat';
  src: url('Montserrat-Regular.ttf');
}



#preloader {
  display: none;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    background-size: 100%;
    z-index: 1000;
  }
  
  .loader {
    width: 50px;
    height: 50px;
    border: 6px solid #ddd;
    border-top: 6px solid #00796B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }


  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  body {
    margin: 0 auto;
    height: 100vh;
    overflow-y: hidden;
  }

  nav {
    width: 100%;
  }

  nav ul {
    display: flex;
    justify-content: right;
    padding: 30px; 
    margin: 0; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

nav ul li {
    display: flex;
    align-items: center;
      margin-right: 30px; 
      margin-left: 20px;
}
nav ul li a {
    display: flex;
    text-decoration: none;
    font-size:  20px;
    font-family: 'roboto';  
    font-weight: 700;
    color: #212529;
    flex-direction: flex-start;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: blue;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

nav ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

a.navcolinpouw {
  color: blue;
  font-size: 25px;
  display: flex;
  flex-direction: flex-start;
}

#home {
  display: block; 
}

.content {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  position: relative;
  top: 100px;
  
}

.hoi {
  font-size: 1.7rem;
  font-family: 'Roboto';
  font-weight: 490;
  color: gray;
}
.main {
  margin-top: 10px;
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 2.4rem;
}

.main span {
  margin-top: 10px;
  font-size: 2.4rem;
  font-weight: 600;
  color: blue;
  font-family: 'roboto';
}

.content .software {
  margin-top: 10px;
  font-size: 2rem;
  font-family: 'roboto';
  font-weight: 400;
}

span.holder{
  position: relative;
  background: white;
  width:  400px;
  height: 4em;
  overflow: hidden;
  padding-left: -5px;
}

span.item{
  font-family: 'roboto';
  position: absolute;
  color: gray;
  font-size: 1.5em;
  transform-origin: 50% 70%;
  width: 300px;
}

span.item:nth-child(1) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 0s both infinite;
}

span.item:nth-child(2) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 1.5s both infinite;
}
span.item:nth-child(3) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 3s both infinite;
}
span.item:nth-child(4) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 4.5s both infinite;
}
span.item:nth-child(5) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 6s both infinite;
}

@keyframes flipUp {
  0% {
   opacity: 0;
   margin-top: -10px;
  }
  13.2%{
    opacity: 1;
    margin-top: 0;
    transform: rotateX(0deg);
  }
  33%,100% {
    opacity: 0;
     margin-top: 0;
    transform: rotateX(90deg);
    
  }
}

.bekijk {
  font-size: 1rem;
  font-family: 'roboto';
  font-weight: 400;
  color: gray;
  margin-top: 50px;
}

.content a {
  max-width: 150px;
}
.button {
  display: flex;
  border: none;
  color: white;
  padding: 16px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 600px;
}

.button-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-left: -2px;
  margin-top: 10px;
}

.button1 {
  font-family: 'roboto';
  font-weight: 600;
  background-color: white; 
  color: blue; 
  border: 1.4px solid blue;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
  display: flex;
  max-width: 150px;
  width: 150px;
  justify-content: center;
  letter-spacing: 1.2px;
  text-decoration: none;
}

.button1:hover {
  background-color: blue;
  color: white;
}


.button2 {
  font-family: 'roboto';
  font-weight: 600;
  background-color: white; 
  color: blue; 
  border: 1.4px solid blue;
  border-radius: 10px;
  display: flex;
  max-width: 150px;
  width: 150px;
  justify-content: center;
  letter-spacing: 1.2px;
}

.button2:hover {
  background-color: blue;
  color: white;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
}


.homepagepic {
  position: relative;
  bottom: 240px;
  left: 700px;
  width: 400px;
  height: 500px;
  border-radius: 55px;
  border: blue 2px solid;
  box-shadow: 0px 0px 15px rgba(0, 0, 255, 0.4);
}

#about {
  display: block;
  max-width: 1500px;
}

.about-container {
  display: flex;
  margin-top: 100px;
  border-bottom: black solid 1px;
  flex-direction: row;
  justify-content: space-around;
  margin-left: 200px;
  max-width: 1100px;
  align-items: center;
}

.aboutword {
  margin-left: 10px;
  font-family: 'Roboto';
  font-size: 32px;
  margin-bottom: 50px;
  width: 520px;
}

.pinfo {
  font-family: 'Roboto';
  font-size: 20px;
  margin-left: 50px;
  max-width: 1500px;
  margin-bottom: 30px;
}

.opleidingclass {
  display: flex;
  margin-top: 100px;
  border-bottom: black solid 1px;
  flex-direction: row;
  margin-left: 200px;
  max-width: 1100px;
  align-items: center;
}

.opleidingheader {
  display: flex;
  align-items: center;
  font-family: 'Roboto';
  font-size: 32px;
  margin-bottom: 50px;
  width: 240px;
  margin-left: 10px;
}

.opleiding {
  display: flex;
  justify-content: left;
  font-family: 'Roboto';
  font-size: 20px;
  max-width: 1500px;
  margin-bottom: 30px;
}

.interesse-container {
  display: flex;
  margin-top: 75px;
  border-bottom: black solid 1px;
  flex-direction: row;
  margin-left: 200px;
  max-width: 1100px;
  align-items: center;
}

.intheader {
  display: flex;
  align-items: center;
  font-family: 'Roboto';
  font-size: 32px;
  margin-bottom: 50px;
  width: 240px;
  margin-left: 10px;
}

.interesse {
  display: flex;
  align-items: center;
  font-family: 'Roboto';
  font-size: 20px;
  max-width: 800px;
  margin-bottom: 30px;
}

.clubheader {
  display: flex;
  font-family: 'Roboto';
  font-size: 32px;
  width: 400px;
  margin-bottom: 30px;
  margin-left: 10px;
}

.clubs {
  display: flex;
  margin-top: 50px;
  flex-direction: row;
  margin-left: 200px;
  width: 800px;
  align-items: center;
}

.agavs, .irene, .pdkhuizen {
  display: flex;
  font-family: 'Roboto';
  font-size: 20px;
  max-width: 1500px;
  margin-bottom: 15px;
  margin-left: 20px;
  letter-spacing: 1px;
}

.flexdirection {
  display: flex;
  justify-content: left;
  font-family: 'Roboto';
  font-size: 20px;
  margin-top: 20px;
  margin-left: -55px;
  max-width: 1500px;
  margin-bottom: 30px;
}

 .mywork {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'roboto';
  font-size: 52px;
  margin-bottom: 50px;
}

.content {
  display: flex;
  justify-content: center;
}

.gallery {
  display: flex;
  justify-content: center;
  text-align: center;
 outline: 1px solid black; 
 width: 100%;
  padding: 20px;
} 

.gallery-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 50px; 
  justify-content: space-between;
  width: 100%;
  background-color: #f2f2f2;
  padding: 40px;
  border-radius: 50px;
}

.gallery-items p {
  margin-top: 10px;
  text-align: center;
  font-family: 'Roboto';
  font-weight: 500;
}

.gallery-items img {
  border-radius: 35px;
  max-width: 200px;
  height: 200px;
  max-height: 200px;
  object-fit: cover; 
  transition: ease-in-out 0.3s;
} 

.gallery-items img:hover {
  transform: scale(1.1);

} */



#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  min-height: 80vh;
}
#contact .contact-card {
  margin: 0 auto;
  margin-top: 50px;
  max-width: 600px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
#contact h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1a1aff;
  font-size: 2rem;
  font-weight: 700;
}
#contact p {
  text-align: center;
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
#contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#contact label {
  font-weight: 500;
  color: #222;
  margin-bottom: 0.2rem;
}
#contact .feedback-input {
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #a30101;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s;
}
#contact .feedback-input:focus {
  border: 1.5px solid #1a1aff;
  outline: none;
}
#contact button[type="submit"] {
  background: #1a1aff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
#contact button[type="submit"]:hover {
  background: #a30101;
}
#contact .socials {
  margin-top: 2rem;
  text-align: center;
}
#contact .socials img {
  width: 35px;
  height: auto;
  margin: 0 8px;
  border-radius: 10px;
  filter: grayscale(1) brightness(0.8);
  transition: filter 0.2s, transform 0.2s;
}
#contact .socials img:hover {
  filter: grayscale(1) brightness(0.1);
  transform: scale(1.1);
}

/* Personal Info */
.personal-info {
  margin-bottom: 2rem;
}

.personal-info h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: #1a1aff;
  font-size: 1.3rem;
  font-weight: 700;
}

.info-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #1a1aff;
}

.info-text p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #333;
}

.info-text strong {
  color: #1a1aff;
}

/* Activity Graph */
.activity-graph {
  margin-top: 1.5rem;
}

.activity-graph h4 {
  text-align: center;
  margin-bottom: 1rem;
  color: #1a1aff;
  font-size: 1.4rem;
  font-weight: 600;
}

.graph {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 150px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  gap: 0.5rem;
}

.bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
}

.bar {
  width: 100%;
  background: #1a1aff;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  min-height: 20px;
  transition: height 0.3s ease;
}

.bar:nth-child(1) { height: 60%; }
.bar:nth-child(2) { height: 80%; }
.bar:nth-child(3) { height: 90%; }
.bar:nth-child(4) { height: 70%; }
.bar:nth-child(5) { height: 50%; }
.bar:nth-child(6) { height: 30%; }
.bar:nth-child(7) { height: 20%; }
@media (max-width: 600px) {
  #contact {
    margin-top: 2rem;
    min-height: unset;
    padding: 0 0.5rem;
  }
  #contact .contact-card {
    max-width: 100%;
    width: 100%;
    padding: 1rem 0.5rem;
    margin-top: 20px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  }
  #contact h2 {
    font-size: 1.2rem;
  }
  #contact p {
    font-size: 0.95rem;
  }
  #contact .feedback-input {
    font-size: 0.95rem;
    padding: 0.6rem;
  }
  #contact button[type="submit"] {
    font-size: 1rem;
    padding: 0.7rem;
  }
  #contact .socials img {
    width: 28px;
    margin: 0 4px;
  }
}
@media (max-width: 500px) {
  #contact .contact-card {
    padding: 1rem;
  }
  #contact h2 {
    font-size: 1.3rem;
  }
}






#projects {
  height: 89.5%;
  width: 100%;
  /* background-color: rgb(255, 255, 255); */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 0;
}

.slider {
  position: relative;
  width: 100%;
  height: 500px;
}

.projects_text {
  position: absolute;
  z-index: -99;
  font-size: 14vw;
  font-family: "Arial Black";
  color: #000000;
  opacity: 0.441;
}

.kaarten {
  /*max-width: 400px;*/
  width: 25vw;
  /*   */
  margin: 1rem;
  padding: 1rem;
  border: 1px solid #ffffff22;
  /*background-color: #282c34;*/
  background: #dfdfdf;
  box-shadow: 0 7px 10px 5px #00000088;
  border-radius: .7rem;
  /*backdrop-filter: blur(100px);*/
  /*-webkit-backdrop-filter: blur(100px);*/
  position: absolute;
  left: calc(50% - 400px / 2);  
  transition: 1s;
  /*z-index: 1;*/
  cursor: pointer;
}

hr {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ffffff55;
}

ins {
  font-family: "Roboto";
  text-decoration: none;
  margin-left: 10px;
}

.in-kaarten {
  display: flex;
  flex-direction: column;
}

.kaarten-image {
  border-radius: 15px;
  /*max-width: 100%;*/
  width: 100%;
  height: 300px;
  margin-bottom: 10px;
  object-fit: cover;
}

/*.img-logo {*/
/*    height: 20px;*/
/*    width: 20px*/
/*}*/
h2 {
  font-family: "Roboto";
}

.description {
  font-family: "Roboto";
  font-weight: bold;
  margin: .5rem 0;
  color: #000000;
}

/* .kaarten h2 {
  /*margin-bottom: 5;*/
/* }  */

.creator {  
  display: flex;
  align-items: center;
  margin-top: 5px;
  /*margin-bottom: -.3rem;*/
}

.wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #ffffff22;
  padding: .3rem;
  border-radius: 100%;
  box-shadow: inset 0 0 0 4px #000000aa;
}

img {
  border-radius: 100%;
  /*border: 1px solid #ffffff22;*/
  width: 2rem;
  height: 2rem;
  object-fit: cover;
}

#next,
#prev {
  position: absolute;
  top: 40%;
  color: rgb(0, 0, 0);
  background-color: transparent;
  border: none;
  font-size: 5rem;
  font-family: monospace;
  font-weight: bold;
  left: 50px;
  z-index: 999;
  cursor: pointer;
  transition: 0.5s;
}

#next:hover,
#prev:hover {
  color: blue;
  font-size: 5rem;
  transform: scale(140%);
  /*transition: 1s;*/
}

#next {
  left: unset;
  right: 50px;
}

@media(max-width:800px) {
  body {
      margin: 0;
      padding: 0;

      /* overflow-y: scroll;
      scroll-behavior: revert; */
  
  }  
  header{
      background-color:  rgb(255, 255, 255);
      height: 50px;
  }  
  .kaarten {
      width: 90%;
      left: -0.00001%;
      top: 10%;
  }
  .slider {
      height: 90vh;
      overflow-x: hidden;
   }
   /* .kaarten {

      position: absolute;
      left: 0;

      width: 90vw;
  
  }
  .slider {
      height: 100vh;
      overflow-x: hidden;
      display: flex;
   } */
  #next, #prev {
      top: 78%;
  }

}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 2001;
  position: absolute;
  top: 18px;
  right: 30px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #1a1aff;
  border-radius: 2px;
  transition: 0.4s;
}
@media (max-width: 900px) {
  nav {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    background: #fff;
  }
  nav ul {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100vw;
    width: 70vw;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0,0,0,0.08);
    padding: 80px 0 0 0;
    align-items: flex-start;
    transition: right 0.3s cubic-bezier(0.77,0.2,0.05,1.0);
    z-index: 2001;
    overflow-y: auto;
  }
  nav ul.open {
    right: 0;
  }
  .hamburger {
    display: flex;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 6px 8px;
    z-index: 2002;
  }
  nav ul li {
    margin: 20px 0 0 30px;
    width: 100%;
  }
  nav ul li a {
    right: 0;
    font-size: 22px;
  }
  a.navcolinpouw {
    right: 0;
    font-size: 25px;
    margin-bottom: 30px;
  }
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== 404 Page Styles ===== */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: #1a1aff;
  margin-bottom: 1rem;
  animation: fadeIn 1s ease;
}

.error-message {
  font-size: 2rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 1rem;
  animation: fadeIn 1.5s ease;
}

.error-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 500px;
  animation: fadeIn 2s ease;
}

.home-button {
  background: #1a1aff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  text-decoration: none;
  display: inline-block;
}

.home-button:hover {
  background: #a30101;
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .error-code { font-size: 5rem; }
  .error-message { font-size: 1.5rem; }
  .error-description { font-size: 1rem; }
}
