* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  scroll-behavior: smooth;
}

:root {
  color: #fff;
}

body {
  position: relative;
  overflow-y: scroll;
  height: 100vh;
  background: black;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.358);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#main-header a-main-header {
  margin-left: 40px;
}

#main-header a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  transition: color 0.2s;
}

#main-header a:hover {
  text-shadow: 10px 0 30px #8e2de2;
  text-decoration: 3px underline #8e2de2;
}

#main-header span {
  padding-left: 40px;
  font-weight: 300;
  font-size: 14px;
  margin-left: 8px;
}

#main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  gap: 240px;
}

#contact-footer {
  width: 100%;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 300px;
  padding: 50px 20px;
  margin-bottom: 100px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.icon-header i {
  font-size: 2.5rem;
  color: white;
  margin-right: 15px;
}

.icon-header h2 {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}

.contact-item p {
  font-size: 1.1rem;
  text-decoration: underline;
  text-decoration-color: white;
  transition: color 0.2s;
}

.contact-item p:hover {
  color: #8e2de2;
  text-decoration-color: #8e2de2;
}

#main-footer {
  width: 100%;
  position: relative;
  z-index: 5;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.358);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.social-icons {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.social-icons a {
  color: white;
  font-size: 2rem;
  justify-content: space-evenly;
  transition: color 0.2s;
}

.social-icons a:hover {
  color: #8e2de2;
}

.copyright-text {
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.5;
}

.project-header {
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 140px;
  margin-top: 100px;
  padding: 10px 30px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.358);
  border: 3px solid rgba(255, 255, 255, 0.801);
  border-radius: 20px;
  position: relative;
  z-index: 10;
}

.project-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

main {
  padding-top: 100px;
  padding-bottom: 200px;
  position: relative;
  z-index: 5;
}

.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 2px;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  background-color: #fff;
  z-index: 1;
  background-image: linear-gradient(
    to bottom,
    #141414 3px,
    transparent 3px,
    transparent 15px
  );
  background-size: 100% 15px;
}

.timeline-item {
  padding: 10px 0;
  position: relative;
  width: 50%;
  z-index: 5;
  margin-bottom: 30px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  right: -8px;
  background-color: #fff;
  border: 2px solid #141414;
  top: 30px;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 5px #fff;
}

.left {
  left: 0;
  padding-right: 40px;
}

.left::after {
  left: calc(100% - 7px);
}

.right {
  left: 50%;
  padding-left: 40px;
}

.right::after {
  left: -7px;
}

.project-card {
  background-color: #141414;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.project-card h2 {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-card p {
  color: #ccc;
  font-size: 0.95em;
  line-height: 1.4;
  flex-grow: 1;
  margin-bottom: 15px;
}

.project-button {
  display: inline-block;
  padding: 8px 20px;
  background-color: #45e0ac9b;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
  border: none;
}

.project-button:hover {
  background-color: #45e0ac;
  box-shadow: 0 0 15px #45e0ac;
}

@media (max-width: 768px) {
  #main-nav {
    gap: 16px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .timeline-item::after {
    left: -7px;
  }

  .left,
  .right {
    left: 0;
  }
}