@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

:root {
  --artaud-green: #2e443f;
  --artaud-yellow: #d6b928;
  --artaud-black: #0d0d0d;
}

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


body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto Mono', monospace;
  background: linear-gradient(135deg, var(--artaud-black) 0%, #1a1a1a 50%, var(--artaud-black) 100%);
  color: #f5f5f5;
  overflow-x: hidden;
}




nav {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  gap: 12px;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--artaud-green), rgba(46,68,63,0.8));
  color: var(--artaud-yellow);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid var(--artaud-yellow);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(214,185,40,0.3);
  position: relative;
  overflow: hidden;
}

.nav-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.nav-button:hover::before {
  left: 100%;
}

.nav-button:hover {
  background: var(--artaud-yellow);
  color: var(--artaud-black);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 20px rgba(214,185,40,0.8), 0 0 30px rgba(214,185,40,0.4);
}

.lang-button {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--artaud-green), rgba(46,68,63,0.8));
  border: 2px solid var(--artaud-yellow);
  box-shadow: 0 0 10px rgba(214,185,40,0.3);
  transition: all 0.3s ease;
  animation: langButtonGlow 2s ease-in-out infinite alternate;
}

@keyframes langButtonGlow {
  0% { box-shadow: 0 0 10px rgba(214,185,40,0.3); }
  100% { box-shadow: 0 0 15px rgba(214,185,40,0.6); }
}

.lang-button:hover {
  background: var(--artaud-yellow);
  color: var(--artaud-black);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(214,185,40,0.8), 0 0 30px rgba(214,185,40,0.4);
}

.lang-button:active {
  transform: scale(0.95) rotate(5deg);
}

.lang-button:focus {
  outline: 2px solid var(--artaud-yellow);
  outline-offset: 2px;
}




header {
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 3rem;
}

header h1 {
  font-size: 3rem;
  color: var(--artaud-yellow);
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(214,185,40,0.8), 0 0 30px rgba(214,185,40,0.4), 0 0 45px rgba(214,185,40,0.2);
  animation: headerGlow 4s ease-in-out infinite alternate;
}

@keyframes headerGlow {
  0% { text-shadow: 0 0 15px rgba(214,185,40,0.8), 0 0 30px rgba(214,185,40,0.4), 0 0 45px rgba(214,185,40,0.2); }
  100% { text-shadow: 0 0 20px rgba(214,185,40,1), 0 0 40px rgba(214,185,40,0.6), 0 0 60px rgba(214,185,40,0.4); }
}

header p {
  color: #ccc;
  font-size: 1.2rem;
}




.skills-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.skills-section h2 {
  font-size: 2rem;
  color: var(--artaud-yellow);
  margin-bottom: 2rem;
  text-shadow: 0 0 8px rgba(214,185,40,0.7);
}


.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}



.skill-card {
  padding: 18px;

  background: rgba(46, 68, 63, 0.25);
  border: 1px solid var(--artaud-green);
  border-radius: 14px;

  font-size: 1.2rem;
  font-weight: 600;
  color: var(--artaud-yellow);

  display: flex;
  justify-content: center;
  align-items: center;

  backdrop-filter: blur(6px);
  transition: 0.25s ease;

  box-shadow: 0 0 15px rgba(214,185,40,0.12),
              inset 0 0 18px rgba(46,68,63,0.25);
  animation: fadeInUp 0.6s ease-out;
}

.skill-card:hover {
  background: rgba(46, 68, 63, 0.32);
  border-color: var(--artaud-yellow);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 0 25px rgba(214,185,40,0.35),
              inset 0 0 20px rgba(46,68,63,0.3),
              0 0 40px rgba(214,185,40,0.2);
}


.skill-card img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.45));
  transition: 0.25s ease;
}

.skill-card:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(214,185,40,0.7));
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.skill-card:nth-child(4) { animation-delay: 0.4s; }
.skill-card:nth-child(5) { animation-delay: 0.5s; }
.skill-card:nth-child(6) { animation-delay: 0.6s; }
.skill-card:nth-child(7) { animation-delay: 0.7s; }
.skill-card:nth-child(8) { animation-delay: 0.8s; }
.skill-card:nth-child(9) { animation-delay: 0.9s; }
.skill-card:nth-child(10) { animation-delay: 1.0s; }
.skill-card:nth-child(11) { animation-delay: 1.1s; }
.skill-card:nth-child(12) { animation-delay: 1.2s; }
.skill-card:nth-child(13) { animation-delay: 1.3s; }
.skill-card:nth-child(14) { animation-delay: 1.4s; }




footer {
  text-align: center;
  padding: 2rem;
  color: #aaa;
  font-size: 0.9rem;
}



#parallaxCanvas {
  position: fixed;
  inset: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -11;

  background: radial-gradient(circle at center, rgba(46,68,63,0.3), transparent 70%);
  animation: pulse 6s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 0.7; }
}


.falling-particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: -5;
}

.falling-particles .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--artaud-yellow);
  border-radius: 50%;
  opacity: 0.8;
  filter: drop-shadow(0 0 6px var(--artaud-yellow));
  animation: fall var(--speed) linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) translateX(var(--drift));
    opacity: 0;
  }
}



.timeline {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.timeline h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: var(--artaud-yellow);
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(214,185,40,0.65);
}


.timeline-list {
  position: relative;
  margin-left: 40px;
  padding-left: 20px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(214,185,40,0.7),
    rgba(214,185,40,0.15)
  );
  filter: drop-shadow(0 0 6px rgba(214,185,40,0.6));
  animation: timelineGlow 3.5s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}




.timeline {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.timeline h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: var(--artaud-yellow);
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(214,185,40,0.65);
}

.timeline-list {
  position: relative;
  margin-left: 40px;
  padding-left: 20px;
}


.timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, rgba(214,185,40,0.7), rgba(214,185,40,0.15));
  filter: drop-shadow(0 0 6px rgba(214,185,40,0.6));
  animation: timelineGlow 3.5s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}


.timeline-item {
  position: relative;
  display: flex;
  align-items: center;      
  justify-content: space-between;
  padding: 25px 35px;
  margin-bottom: 28px;

  background: rgba(46,68,63,0.18);
  border: 1px solid rgba(214,185,40,0.35);
  border-radius: 14px;
  backdrop-filter: blur(6px);

  transition: 0.35s ease;
  box-shadow: 0 0 14px rgba(214,185,40,0.08),
              inset 0 0 22px rgba(46,68,63,0.32);
  animation: fadeInUp 0.6s ease-out;
}

.timeline-item:hover {
  transform: translateX(6px) translateY(-3px);
  border-color: var(--artaud-yellow);
  box-shadow: 0 0 24px rgba(214,185,40,0.25),
              inset 0 0 26px rgba(46,68,63,0.48);
}


.timeline-item .dot {
  position: absolute;
  left: -25px;
  top: 35px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe281 0%, #b89c2b 70%);
  box-shadow: 0 0 10px rgba(214,185,40,0.9),
              0 0 20px rgba(214,185,40,0.4);
  transition: 0.4s ease;
}

.timeline-item:hover .dot {
  transform: scale(1.35) rotate(180deg);
  box-shadow: 0 0 14px rgba(255,232,120,1),
              0 0 28px rgba(214,185,40,0.8);
}


.timeline-item .text {
  display: flex;
  flex-direction: column;
  justify-content: center;  
  gap: 6px;
}

.timeline-item .when {
  color: var(--artaud-yellow);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px rgba(214,185,40,0.4);
  margin: 0;
}

.timeline-item .what {
  color: #e8e8e8;
  opacity: 0.92;
  font-size: 1rem;
  line-height: 1.45;
  transition: 0.25s;
  margin: 0;
}

.timeline-item:hover .what {
  opacity: 1;
}


.timeline-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(214,185,40,0.15);
  border: 1px solid rgba(214,185,40,0.35);
  transition: 0.3s ease;
}

.timeline-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline-item:hover .timeline-icon {
  border-color: var(--artaud-yellow);
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(214,185,40,0.4);
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }


@media (max-width: 768px) {

  .falling-particles,
  #parallaxCanvas {
    display: none;
  }

  .background {
    animation: none;
  }

  header {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  header h1 {
    font-size: 2.5rem;
  }

  header p {
    font-size: 1rem;
  }

  nav {
    top: 10px;
    left: 10px;
    gap: 8px;
  }

  .nav-button {
    padding: 10px 14px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }

  .nav-button:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 6px rgba(214, 185, 40, 0.2);
  }

  .skills-section {
    max-width: 95%;
    padding: 1.5rem;
    margin: 2rem auto;
  }

  .skills-section h2 {
    font-size: 1.8rem;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }

  .skill-card {
    padding: 14px;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(214,185,40,0.1);
    transition: transform 0.2s ease;
  }

  .skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(214,185,40,0.2);
  }

  .skill-card img {
    width: 45px;
    height: 45px;
  }

  .timeline {
    max-width: 95%;
    padding: 40px 0;
  }

  .timeline h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .timeline-list {
    margin-left: 30px;
    padding-left: 15px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(214,185,40,0.08);
    transition: transform 0.2s ease;
  }

  .timeline-item:hover {
    transform: translateX(3px);
    box-shadow: 0 0 15px rgba(214,185,40,0.15);
  }

  .timeline-item .dot {
    left: -20px;
    top: 20px;
  }

  .timeline-item .text {
    gap: 4px;
  }

  .timeline-item .when {
    font-size: 1rem;
  }

  .timeline-item .what {
    font-size: 0.95rem;
  }

  .timeline-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 0.9rem;
  }

  nav {
    top: 5px;
    left: 5px;
    gap: 5px;
  }

  .nav-button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .skills-section h2 {
    font-size: 1.5rem;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }

  .skill-card {
    padding: 12px;
    font-size: 0.9rem;
  }

  .skill-card img {
    width: 40px;
    height: 40px;
  }

  .timeline h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .timeline-list {
    margin-left: 20px;
    padding-left: 10px;
  }

  .timeline-item {
    padding: 15px 20px;
    margin-bottom: 15px;
  }

  .timeline-item .dot {
    left: -15px;
    top: 15px;
    width: 12px;
    height: 12px;
  }

  .timeline-item .when {
    font-size: 0.95rem;
  }

  .timeline-item .what {
    font-size: 0.9rem;
  }

  .timeline-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}