/*
Theme Name: Samuel Zeidler Portfolio
Author: Samuel Zeidler
Description: Modernes Darkmode-Portfolio für Game Design
Version: 1.0
*/

:root {
    --background: #121212;
    --text: #f0f0f0;
    --accent: #bb86fc;
  }
  
  body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--text);
  }

  main section {
    max-width: 800px;
    margin: 0 auto;
  }
  
  main h2, main h3 {
    color: var(--accent);
  }
  
  a {
    color: var(--accent);
    text-decoration: none;
  }
  
  header, footer {
    position: static;
    padding: 1rem 2rem;
    background-color: #1e1e1e;
  }
  
  nav a {
    margin-right: 1.5rem;
  }
  
  main {
    padding: 2rem;
  }

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 6rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  color: var(--accent);
}

.hero h1 span {
  color: var(--text);
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 1rem auto;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  background-color: var(--accent);
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #d0a5ff;
}

/* PROJECT GRID */
.featured-projects {
  text-align: center;
}


.project-grid {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}


.projekt-card {
  width: 300px;
  background-color: #1e1e1e;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.projekt-section {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
}



.more-link {
  display: inline-block;
  margin: 2rem auto 0;
  text-align: center;
}


.kontakt-link {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.kontakt-link:hover {
  color: #d0a5ff;
  border-color: #d0a5ff;
}

@media (min-width: 700px) {
  .pong-section {
    margin-top: 3rem;
  }
}

.projekt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(187, 134, 252, 0.3);
}

.projekt-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.slide {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.slide.active {
  display: block;
}

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  z-index: 2;
}

.slider .prev { left: 10px; }
.slider .next { right: 10px; }


.projekt-card .slider {
  max-width: 100%;
  height: auto;
}

.projekt-card .slide {
  max-height: 240px;
  object-fit: cover;
}

/*Footer*/

.site-footer {
  padding: 2rem;
  background-color: #121212;
  color: var(--text);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text);
  margin-right: 1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-socials a {
  color: var(--accent);
  margin-left: 0.75rem;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #d0a5ff;
}
/* Grundlayout für Sticky Footer */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.about-me-page {
  min-height: 100vh;
  padding-bottom: 6rem; /* Platz für Footer */
}


  /*Background und Animationen*/
  
  .triangleDecor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }
  
  
  .triangle, .diamond, .polygon {
    position: absolute;
    opacity: 0.5;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  }
  
  /* Dreiecke */
  .triangle {
    width: 0;
    height: 0;
  }

  .blue1 {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #030563;
    top: 10%;
    left: -40px;
    transform: rotate(-15deg);
  }
  
  .purple1 {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #6e36b2;
    top: 10%;
    left: -40px;
    transform: rotate(-15deg);
  }
  
  .purple2 {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #5512b2;
    top: 45%;
    right: -30px;
    transform: rotate(25deg);
  }
  
  .purple3 {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 180px solid #8518ea;
    bottom: 5%;
    left: 10%;
    transform: rotate(5deg);
  }

  .purple4 {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 180px solid #62487a;
    bottom: 5%;
    left: 10%;
    transform: rotate(5deg);
  }

  .purple5 {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 180px solid #c792fa;
    bottom: 5%;
    left: 10%;
    transform: rotate(5deg);
  }

  .purple6 {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 180px solid #aa68e8;
    bottom: 5%;
    left: 10%;
    transform: rotate(5deg);
  }

  .purple7 {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 180px solid #4b2d66;
    bottom: 5%;
    left: 10%;
    transform: rotate(5deg);
  }
  
  .triangle.small {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #a277ff;
    top: 70%;
    left: 5%;
    transform: rotate(-30deg);
  }

  .circle {
    border-radius: 50%;
    opacity: 0.25;
    animation: glowPulse 4s ease-in-out infinite;
  }
  
  .glow1 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #3d5afe 0%, #1a237e 100%);
    filter: drop-shadow(0 0 20px #3d5afe);
  }
  
  .glow2 {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #3d5afe, #0d47a1);
    filter: drop-shadow(0 0 12px #3d5afe);
  }

  .sparkle {
    width: 10px;
    height: 10px;
    background: #3d5afe;
    border-radius: 50%;
    opacity: 0.2;
    filter: drop-shadow(0 0 10px #3d5afe);
    animation: glowPulse 4s ease-in-out infinite;
  }

  .redbox1, .redbox2, .redbox3 {
    width: 50px;
    height: 50px;
    background: #8b0000;
    position: absolute;
    opacity: 0.3;
    filter: drop-shadow(0 0 10px #ff1744);
    border-radius: 4px;
    z-index: -1;

  }
  
  /* Optional leicht unterschiedliche Größen/Farben */
  .redbox2 {
    width: 70px;
    height: 40px;
    background: #b71c1c;
    filter: drop-shadow(0 0 14px #ff1744);
  }
  
  .redbox3 {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #8b0000, #b71c1c);
    filter: drop-shadow(0 0 8px #ff1744);
  }
  
  
  
  
  
  .triangleDecor div:hover {
    transform: scale(1.1) rotate(8deg);
    opacity: 0.7;
  }

  
  @keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(30px); }
    100% { transform: translateY(0); }
  }

  @keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 8px #1b01e2); }
    50% { filter: drop-shadow(0 0 18px #392efb); }
  }

  @keyframes rotateCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  @keyframes rotateCCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
  }

  .rotateContainer {
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  
  .rotate {
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  .wrapper {
    position: absolute;
    animation: float 16s ease-in-out infinite;
    transition: transform 0.3s ease;
  }
  