@media (max-width: 600px) {
  .about-photo {
    width: 70vw;
    max-width: 320px;
    border-radius: 12px;
    margin-bottom: 10px;
    margin-top: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  }
}
/* About section photo styling */
.about-photo {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  margin: 0 auto 18px auto;
}
/* --- Lightning effect left and right --- */
.lightning-effect {
  position: fixed;
  top: 95px; /* onder navbar */
  bottom: 0;
  width: 320px;
  max-height: calc(100vh - 95px);
  object-fit: contain;
  pointer-events: none;
  opacity: 0.1;
  z-index: 1001;
  transition: opacity 0.08s, filter 0.08s;
  transform: scaleX(-1);
}
#lightning-left {
  left: -40px;
  top: 180px;
}
#lightning-right {
  right: -40px;
  transform: scaleX(1);
}
@media (max-width: 900px) {
  .lightning-effect {
    display: none;
  }
}

#timeline-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  gap: 32px;
}
@media (max-width: 600px) {
  #scratch-pad-container #turntable-arm-container {
    display: block !important;
    left: 245px !important;
    top: -30px;
    width: 48px;
    height: 70px;
  }
  #turntable-arm-img {
    width: 66px;
    height: 96px;
    transform-origin: 42px 18px;
  }
}
/* --- Turntable Arm Animation --- */
#scratch-pad-container {
  position: relative;
}
#turntable-arm-container {
  position: absolute;
  left: 155px;
  top: -40px;
  width: 80px;
  height: 120px;
  pointer-events: none;
  z-index: 2;
  display: block;
}
#turntable-arm-img {
  width: 110px;
  height: 160px;
  transform-origin: 70px 30px;
  transform: rotate(-25deg);
  transition: transform 0.7s cubic-bezier(.7,1.7,.5,1);
}

/* --- Zorg dat secties niet achter de navbar zitten en altijd minstens schermhoogte --- */
#home, #about, #videos, #projects, #contact {
  padding-top: 95px;
  min-height: 100vh;
  box-sizing: border-box;
  scroll-margin-top: 100px;
}

#contact {
  padding-bottom: 0 !important;
}

@media (max-width: 900px) {
  #home, #about, #videos, #projects, #contact {
    padding-top: 75px;
    min-height: 100vh;
  }
}

/* --- ABOUT SECTION --- */
#about {
  position: relative;
  padding-top: 23vh;
  padding-bottom: 6vh;
  margin: 0 auto;
  max-width: 1100px;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.about-text {
  text-align: left;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 420px;
}
.about-text h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #fff;
  letter-spacing: 1px;
}
.about-text p {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.6;
}
.about-image {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
#about-three-container {
  width: 400px;
  height: 400px;
  max-width: 100vw;
  max-height: 80vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
#about-three-container canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 440px !important;
  max-height: 440px !important;
  display: block;
  border-radius: 2rem;
  transform: scaleY(-1);
}

@media (max-width: 900px) {
  #about {
    padding-top: 10vh;
    padding-bottom: 4vh;
    max-width: 98vw;
  }
  .about-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 60vh;
  }
  .about-image {
    margin-bottom: 1rem;
  }
  .about-text {
    text-align: center;
    align-items: center;
    padding-left: 30px;
    font-size: 0.98rem;
  }
}

@media (max-width: 600px) {
  #home, #about, #videos, #projects, #contact {
    padding-top: 70px;
    min-height: unset;
    scroll-margin-top: 70px;
  }
  #about-three-container {
    width: 200px;
    height: 200px;
    min-width: 0;
    min-height: 0;
    max-width: 90vw;
    max-height: 90vw;
  }
  .about-text {
    text-align: center;
    align-items: center;
    padding-left: 20px;
  }
  .about-text h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  .about-text p {
    font-size: 0.90rem;
    text-align: center;
  }
}

/* --- CONTACT SECTION --- */
footer#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000 !important;
  padding: 30px 0 20px 0;
  box-shadow: 0 0 32px 0 #000a;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  box-sizing: border-box;
}
.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
  padding: 14px 10px 10px 10px;
  max-width: 320px;
  width: 100%;
}
.contact-content h2 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(255,255,255,0.33);
}
.contact-icons {
  display: flex;
  gap: 18px;
  margin-bottom: 6px;
  justify-content: center;
}
.contact-icons img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.25));
  transition: transform 0.18s, filter 0.18s, box-shadow 0.18s;
  border-radius: 8px;
  background: #0000009f;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(255,255,255,0.13);
}
.contact-icons a:hover img {
  transform: scale(1.13) rotate(-6deg);
  filter: drop-shadow(0 4px 14px rgba(255,255,255,0.7)) brightness(1.13);
  box-shadow: 0 4px 14px rgba(255,255,255,0.7);
}
.contact-note {
  color: #fff;
  font-size: 0.93rem;
  margin-top: 7px;
  text-align: center;
  text-shadow: 0 1px 8px #23263a;
}

.sponsor-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px 0 28px 0;
}
.sponsor-label {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-right: 8px;
  text-shadow: 0 1px 8px #23263a;
  white-space: nowrap;
  width: auto;
}
.sponsor-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.sponsor-logos img {
  height: 44px;
  width: auto;
  border-radius: 2px;
  background: #000000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.18s, box-shadow 0.18s;
  padding: 2px 3px;
}
.sponsor-logos a:hover img {
  transform: scale(1.09) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(255,255,255,0.18);
}

@media (max-width: 600px) {
  .sponsor-row {
    gap: 7px;
    margin: 14px 0 14px 0;
  }
  .sponsor-label {
    font-size: 0.92rem;
    margin-right: 4px;
    white-space: normal;
    width: 100px;
    line-height: 1;
    text-align: center;
    display: inline-block;
  }
  .sponsor-logos {
    gap: 10px;
  }
  .sponsor-logos img {
    height: 28px;
    padding: 1px 2px;
    border-radius: 2px;
  }
}

@media (max-width: 600px) {
  footer#contact {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: auto;
    max-width: 98vw;
    box-sizing: border-box;
  }
  .contact-content {
    background: #000;
    padding: 10px 3px 7px 3px;
    gap: 7px;
    max-width: 98vw;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
  }
  .contact-icons img {
    width: 22px;
    height: 22px;
    padding: 1px;
    border-radius: 5px;
  }
  .contact-content h2 {
    font-size: 1.3rem;
  }
  .contact-note {
    font-size: 0.78rem;
  }
}
/* --- PROJECTS SECTION --- */
.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0 auto;
  max-width: 1000px;
  padding: 5.5rem 0 2rem 0;
}

.project-card {
  background: rgba(255,255,255,0.04);
  border-radius: 1.2rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.13), 0 0 8px 1px #ffffff0d, 0 0 8px 2px rgba(255,255,255,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 3px 12px rgba(0,0,0,0.16), 0 0 12px 2px #ffffff14, 0 0 12px 4px rgba(255,255,255,0.08);
}
.project-thumb {
  width: 100%;
  aspect-ratio: 16/7;
  background: #222 url('https://placehold.co/600x338/222/fff?text=Project') center/cover no-repeat;
  min-height: 80px;
  max-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project1-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  max-height: 140px;
}
.project2-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.project3-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.project-info {
  padding: 1rem 1.2rem 1.2rem 1.2rem;
  width: 100%;
  text-align: left;
}
.project-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #fff;
}
.project-info p {
  color: #aaa;
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 900px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 2rem;
  }
}
@media (max-width: 600px) {
  .projects-container {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding: 1.3rem 0;
    max-width: 100vw;
    justify-items: center;
  }
  .project-card {
    border-radius: 0.3rem;
    box-shadow: 0 2px 7px rgba(0,0,0,0.13), 0 0 16px 3px #ffffff33;
    margin: 0.7rem auto;
    max-width: 240px;      
    min-width: 0;
    width: 100vw;          
  }
  .project-thumb {
    min-height: 76px;     
    max-height: 130px;    
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .project1-img,
  .project2-img,
  .project3-img {
    height: 100%;
    width: 240px;          
    max-height: 130px;    
    object-fit: cover;
  }
  .project-info {
    padding: 0.45rem 0.7rem 0.7rem 0.7rem; 
  }
  .project-info h3 {
    font-size: 0.8rem;       
  }
  .project-info p {
    font-size: 0.7rem;   
  }
}
/* --- VIDEO SECTION --- */
.videos-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2.5rem; 
  row-gap: 0.5rem;      
  margin: 0 auto;
  max-width: 1200px;
  padding: 3rem 0 0rem 0; 
  justify-content: center;
}

.video-card {
  background: rgba(255,255,255,0.04);
  border-radius: 0.5rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.13), 0 0 8px 1px #ffffff0d, 0 0 8px 2px rgba(255,255,255,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.video-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 3px 12px rgba(0,0,0,0.16), 0 0 12px 2px #ffffff14, 0 0 12px 4px rgba(255,255,255,0.08);
}
.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #222 center/cover no-repeat;
  min-height: 120px;
}
.video-info {
  padding: 0.5rem 1.2rem 0.7rem 1.2rem;
  width: 100%;
  text-align: left;
}
.video-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #fff;
}
.video-info p {
  color: #aaa;
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 900px) {
  .videos-container {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 4.5rem;
  }
}
@media (max-width: 600px) {
  .videos-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
    max-width: 98vw;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .video-card {
    border-radius: 0.5rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.13);
    margin: 0 auto 1rem auto;
    max-width: 300px;
    min-width: 0;
    width: 93vw;
  }
  .video-thumb {
    min-height: 56px;
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .video-info {
    padding: 0.35rem 0.5rem 0.5rem 0.5rem;
  }
  .video-info h3 {
    font-size: 0.85rem;
  }
  .video-info p {
    font-size: 0.72rem;
  }
}
/* --- NAVBAR & HAMBURGER MENU --- */
body {
  font-family: "Poppins", sans-serif;
  background-color: black;
  color: white;
}

nav,
.nav-links {
  display: flex;
}
.nav-logo {
  height: 5rem;
  width: auto;
  display: block;
  margin: 0 0.2rem 0 0;
}
nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  background-color: black;
}
.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}
a {
  color: white;
  text-decoration: none;
  transition: all 300ms ease;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
}

section {
  max-width: 100vw;
  overflow-x: hidden;
}
a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: rgb(74, 74, 74);
}
.logo {
  font-size: 2rem;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.music-player {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  background: #000000;
  border-radius: 6px;
  padding: 0.2rem 0.7rem;
}
.music-player #song-select {
  display: none;
  position: absolute;
  left: 0;
  top: 120%;
  z-index: 10;
  background: #2222226c;
  color: #fff;
  border: 1px solid #888;
  border-style: inset;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  min-width: 90px;
}
.music-player:hover #song-select,
.music-player:focus-within #song-select {
  display: block;
}
#play-pause-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#play-pause-icon {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), opacity 0.25s cubic-bezier(0.4,0,0.2,1);
  will-change: transform, opacity;
}
#play-pause-btn:active #play-pause-icon,
#play-pause-btn:focus #play-pause-icon {
  transform: scale(1.18) rotate(-8deg);
  opacity: 0.85;
}
#play-pause-btn:hover #play-pause-icon {
  transform: scale(1.12) rotate(5deg);
  opacity: 0.92;
}
.music-player #volume-bar {
  width: 70px;
  accent-color: #888;
  vertical-align: middle;
}

  #desktop-nav {
    display: flex;
    width: 100vw;
    margin: 0;
    padding: 0 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
#hamburger-nav {
  display: none;
}
.hamburger-menu {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
}
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 1.5rem;
}

#hamburger-nav .logo {
  display: none !important;
}
.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease-in-out;
}
.menu-links-container {
  margin-right: 1rem;
}
.menu-links {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  background-color: black;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 20;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.menu-links a {
  display: block;
  padding: 22px 10px;
  text-align: center;
  font-size: 1.5rem;
  color: white;
}
.menu-links li {
  list-style: none;
}
.menu-links.open {
  max-height: 600px;
  align-items: left;
}
.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}
.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

@media screen and (max-width: 768px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 10vh;
    background-color: black;
  }
  .menu-links {
    width: 100vw;
    left: 0;
    text-align: center;
  }
}

/* --- HOME SECTION --- */
#home {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  text-align: center;
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}
.home-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 375px;
  box-sizing: border-box;
  margin-bottom: 2rem;
}
#three-container {
  transform: scaleY(-1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 375px;
  height: 375px;
  position: relative;
  z-index: 1;
  background: transparent;
}
@media (max-width: 600px) {
  #three-container {
    width: 240px;
    height: 240px;
    min-width: 0;
    min-height: 0;
    max-width: 90vw;
    max-height: 90vw;
  }
}
.glitch-text-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.glitch-text {
  position: relative;
  color: #fff;
  font-family: inherit;
  filter: url(#glitch-filter);
  animation: glitch-anim 2.8s steps(1, end) infinite;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: #fff;
  z-index: 1;
  pointer-events: none;
}
.glitch-text::before {
  text-shadow: 0.5px 0 #ff00c880;
  clip-path: inset(0 0 60% 0);
  animation: glitch-top 2.8s steps(1, end) infinite;
}
.glitch-text::after {
  text-shadow: -0.5px 0 #00fff980;
  clip-path: inset(60% 0 0 0);
  animation: glitch-bottom 2.8s steps(1, end) infinite;
}
@keyframes glitch-anim {
  0%, 67% { filter: none; }
  68% { filter: url(#glitch-filter); }
  69%, 82% { filter: none; }
  83% { filter: url(#glitch-filter); }
  84% { filter: none; }
  87% { filter: url(#glitch-filter); }
  88%, 100% { filter: none; }
}
@keyframes glitch-top {
  0%, 67% { transform: translate(0, 0); }
  68% { transform: translate(-1.5px, -1.5px); }
  69%, 82% { transform: translate(0, 0); }
  83% { transform: translate(1.5px, 1.5px); }
  84% { transform: translate(0, 0); }
  87% { transform: translate(-1.5px, 1.5px); }
  88%, 100% { transform: translate(0, 0); }
}
@keyframes glitch-bottom {
  0%, 67% { transform: translate(0, 0); }
  68% { transform: translate(1.5px, 1.5px); }
  69%, 82% { transform: translate(0, 0); }
  83% { transform: translate(-1.5px, -1.5px); }
  84% { transform: translate(0, 0); }
  87% { transform: translate(1.5px, -1.5px); }
  88%, 100% { transform: translate(0, 0); }
}

@media (max-width: 600px) {
  #three-container {
    width: 220px;
    height: 220px;
    min-width: 0;
    min-height: 0;
    max-width: 120vw;
    max-height: 120vw;
  }
}

/* --- TIMELINE SECTION --- */
.Timeline {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2.2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  flex-wrap: nowrap;
  position: relative;
}
.timeline-line {
  z-index: 0;
  position: relative;
}
.timeline-line line {
  stroke: #004165;
  stroke-width: 5;
}
/* Last faded line */
.timeline-line:last-of-type line {
  stroke: #004165;
}
.timeline-dot-svg circle {
  fill: #004165;
}
.timeline-line.gray line {
  stroke: rgba(162,164,163,0.37);
  stroke-width: 5;
}
.timeline-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 120px;
  margin: 0 1.2rem;
  z-index: 1;
}
.eventBubble {
  position: relative;
  background-color: rgba(158,158,158,0.10);
  width: 180px;
  min-height: 70px;
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(158,158,158,0.22);
  padding: 14px 18px 10px 18px;
  margin-bottom: 6px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.eventTime {
  display: flex;
  align-items: flex-end;
  margin-bottom: 2px;
}
.DayDigit {
  font-size: 20px;
  font-family: "Arial Black", Gadget, sans-serif;
  margin-left: 2px;
  color: #800020;
  font-weight: bold;
}
.Day {
  font-size: 11px;
  margin-left: 5px;
  font-weight: bold;
  margin-top: 2px;
  font-family: Arial, Helvetica, sans-serif;
  color: #9E9E9E;
}
.MonthYear {
  font-weight: 600;
  line-height: 10px;
  color: #9E9E9E;
  font-size: 9px;
}
.eventTitle {
  font-family: "Arial Black", Gadget, sans-serif;
  color: #ffffff;
  font-size: 10px;
  text-transform: uppercase;
  margin-left: 2px;
  margin-top: 2px;
}
.eventPlace {
  font-family: Arial, Helvetica, sans-serif;
  color: #666;
  font-size: 10px;
  margin-left: 2px;
  margin-top: 13px;
}
.timeline-dot-svg circle {
  fill: #004165;
}
.timeline-title {
  font-size: 2.7rem;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  margin: 2.7rem 0 1.2rem 0.5rem;
  letter-spacing: 1.7px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  width: 100%;
  text-align: center;
}
@media (max-width: 700px) {
  .Timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    max-width: 98vw;
    flex-wrap: nowrap;
  }
  .timeline-event {
    min-width: 0;
    width: 100%;
    margin: 0.5rem 0;
  }
  .eventBubble {
    width: 98vw;
    max-width: 240px;
    min-width: 0;
    padding: 10px 7px 7px 7px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3px;
    font-size: 1em;
  }
  .timeline-dot-svg {
    display: none;
  }
  .timeline-title {
    font-size: 1.15rem;
    margin: 1.2rem 0 0.6rem 0;
    text-align: center;
    min-height: 54px;
  }
  .glitch-text.timeline-title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    width: 100%;
    text-align: center;
    margin: 2rem 0 1rem 0;
  }
}

@media (max-width: 700px) {
  .timeline-line {
    display: none;
  }
}

/* Specifiek voor de PROJECTS titel boven de project cards */
#projects > .glitch-text.timeline-title {
  margin-bottom: 0.2rem;
  margin-top: 1.2rem;
}

@media (min-width: 701px) {
  .timeline-event:hover .eventBubble {
    transform: scale(1.18);
    z-index: 2;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25), 0 0 24px 2px #00416544;
    background: rgba(255,255,255,0.13);
    color: #222;
    font-size: 1.15em;
    padding: 12px 16px 10px 16px;
    min-width: 140px;
  }
}
.timeline-event .eventBubble {
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
.more-videos-link {
  text-align: center;
  margin: 1.5rem 0 0 0;
}
.more-videos-link a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .more-videos-link {
    display: none;
  }
}

@media (max-width: 600px) {
  #home {
    font-size: 1.08rem;
  }
}

/* --- SCRATCH PAD SECTION --- */
.scratch-pad-container {
  display: none;
  flex-direction: column;
  align-items: center;
  margin: 1.2rem 0;
}
.scratch-pad-container.visible {
  display: flex;
}
.scratch-sample-slider-container {
  width: 200px;
  margin: 32px auto 0 auto;
  text-align: center;
}

#scratch-sample-labels {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-top: 2px;
  padding: 0 2px;
  margin-left: 32px;
}
#scratch-sample-labels span {
  display: inline-block;
  transform: rotate(45deg);
  transform-origin: top left;
  font-size: 0.95em;
  color: #fff;
  margin-top: 0;
  min-width: 36px;
  text-align: center;
  pointer-events: none;
  margin-bottom: 16px;
}

#scratch-sample-slider {
  accent-color: #888;
  vertical-align: middle;
  /* Hide default thumb for custom image */
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  background: none;
  position: relative;
}

#scratch-sample-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 48px;
  height: 48px;
  background: url('assets/fader-cap.png') no-repeat center center/contain;
  border: none;
  box-shadow: 0 2px 8px #000a;
  cursor: pointer;
  margin-top: -20px;
}
#scratch-sample-slider::-moz-range-thumb {
  width: 48px;
  height: 48px;
  background: url('assets/fader-cap.png') no-repeat center center/contain;
  border: none;
  box-shadow: 0 2px 8px #000a;
  cursor: pointer;
  margin-top: -14px;
}
#scratch-sample-slider::-ms-thumb {
  width: 48px;
  height: 48px;
  background: url('assets/fader-cap.png') no-repeat center center/contain;
  border: none;
  box-shadow: 0 2px 8px #000a;
  cursor: pointer;
  margin-top: -14px;
}

#scratch-sample-slider:focus {
  outline: none;
}

#scratch-sample-slider::-webkit-slider-runnable-track {
  height: 8px;
  background: #888;
  border-radius: 4px;
}
#scratch-sample-slider::-ms-fill-lower,
#scratch-sample-slider::-ms-fill-upper {
  background: #888;
  border-radius: 4px;
}
#scratch-sample-slider::-moz-range-track {
  height: 8px;
  background: #888;
  border-radius: 4px;
}

.show-scratchpad-btn {
  white-space: nowrap;
  border-radius: 0.4rem;
  margin-top: 1.2rem;
  margin-right: 1.2rem;
  display: block;
  background: #000000;
  color: #fff;
  border: 1px solid #444;
  padding: 0.32rem 0.65rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 8px #000000;
}
.show-scratchpad-btn:hover {
  background: #222 ;
  color: #fff;
  box-shadow: 0 2px 12px 0 #ffffff99;
}

#scratch-pad {
  background: #222;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.533);
  cursor: grab;
  touch-action: none;
}
.scratch-label {
  color: #fff;
  box-shadow: 0 2px 12px 0 #ffffff99;
  font-size: 0.7rem;
  margin-top: 2.2rem;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 8px #23263a;
}

@media (max-width: 700px) {
  .about-content {
    flex-direction: column;
  }
  .about-image {
    order: 1;
  }
  .about-text {
    order: 2;
  }
  .show-scratchpad-btn {
    order: 3;
    width: auto;
    min-width: 120px;
    max-width: 80vw;
    display: flex;
    justify-content: center;
    margin-top: 0.7rem;
    margin-bottom: 0.3rem;
    padding: 0.22rem 0.45rem;
    font-size: 0.8rem;
  }
  }
  .scratch-pad-container {
    order: 4;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    width: 100%;
    justify-content: center;
    /* display: none; wordt geregeld door de basisregel */
  }

