body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.6;
  font-family: 'Nunito', sans-serif;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background-color: grey;
  box-shadow: inset -20px -14px 14px 0px #fffacf;
}

.circle.top-right {
  top: 10vh;
  right: 10vw;
  width: 100px;
  height: 100px;
}
.circle.top-left {
  top: 10vh;
  left: 5vw;
  width: 150px;
  height: 150px;
}
.circle.bottom-right {
  bottom: 10vh;
  right: 10vw;
  width: 120px;
  height: 120px;
}

@media (max-width: 768px) {
  .circle.top-left {
    top: 9vh;
    left: 2vw;
    width: 150px;
    height: 150px;
  }
}

.star {
  position: absolute;
  border-radius: 50%;

  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );

  opacity: 0.8;
}

.white-star {
  background-color: white;
}

.gold-star {
  background-color: gold;
}

.stars {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

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

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.intro {
  max-width: 600px;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
}

.blog-link {
  color: #58a6ff;
  text-decoration: none;
  font-size:18px;
}
.greeting {
  font-size: 2em;
  margin-bottom: 0.2em;
}

.profession {
  font-size: 1.5em;
  color: #58a6ff;
}

.company {
  font-size: 1.2em;
  margin-top: 0.5em;
  font-weight: normal;
  color: #9f9f9f;
  display: flex;
  align-items: center;
}

.company pre {
  font-family: inherit;
}

.company svg {
  width: 200px;
}

.company a {
  text-decoration: none;
}

.company .company-name {
  color: #9f9f9f;
  text-decoration: none;
}
.line {
  display: block;
  height: 3px;
  width: 120px;
  background-color: #58a6ff;
  margin: 8px auto;
}

.social-links {
  margin-top: 20px;
  text-align: center;
}

.social-icon {
  display: inline-block;
  margin: 0 10px;
  color: #58a6ff;
  font-size: 24px;
  transition: color 0.3s;
}

.social-icon:hover {
  color: #3498db;
}

.about-me {
  border: 1px solid white;
  max-width: 1000px;
  margin: 100px auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  color: #fff;
  line-height: 1.6;
  text-align: center;
  z-index: 1;
}

.about-me p {
  margin: 1em 0;
  font-size: 1.2em;
}

.about-me .about-me-content {
  padding:5px;
}

.about-me h2 {
  font-size: 2em;
  color: #58a6ff;
  margin-bottom: 0.5em;
}

@media (max-width: 768px) {
  .about-me {
    margin: 50px 20px;
    padding: 15px;
  }
}

.skills-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #58a6ff;
}

.skills-section {
  z-index: 1;
  border: 1px solid white;

  text-align: center;
  padding: 50px 20px;
  color: #fff;
  max-width: 1000px;
  margin: 100px auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.skills-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0 auto;
}

.skill-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(20% - 20px);
  padding: 15px;
  margin: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease, border 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.skill-box:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #58a6ff;
}
.skill-box i {
  font-size: 40px;
  margin-bottom: 10px;
}

.skill-box p {
  font-size: 1em;
  margin: 0;
}

@media (max-width: 768px) {
  .skills-section {
    margin: 50px 20px;
  }
  .skill-box {
    width: calc(35% - 10px);
    margin: 5px;
  }
}

.experience-section {
  border: 1px solid white;

  text-align: center;
  padding: 50px 20px;
  color: #fff;
  margin: 100px auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.experience-section h2 {
  color: #58a6ff;
  margin-bottom: 30px;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #58a6ff;
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-dot {
  position: absolute;
  left: -14px;
  transform: translateX(-50%);
  top: 5px;
  width: 20px;
  height: 20px;
  background: #58a6ff;
  border-radius: 50%;
  z-index: 2;
}
.experience-content {
  text-align: left;
  z-index: 3;
  margin-left: 20px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 0px;
}

.experience-content h3,
.experience-content p {
  margin: 5px 0;
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 20px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-dot {
    width: 20px;
    height: 20px;
    left: -9px;
  }

  .experience-content {
    margin-left: 40px;
  }

  .experience-content h3,
  .experience-content p {
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .experience-section {
    width: 80%;
  }
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30px;
  background-color: #333;
  color: white;
  padding: 1px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

footer p {
  margin: 0 auto;
}

.heart {
  color: #58a6ff;
}

.social-icons {
  display: flex;
  align-items: center;
  padding-right: 20px;
}

.social-icons a {
  color: #58a6ff;
  margin-left: 10px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  color: #3498db;
}

#particles-container .particle {
  position: fixed;
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  opacity: 1;
  animation: moveParticle linear infinite;
}

@keyframes moveParticle {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-50px, 50px);
  }
  50% {
    transform: translate(50px, -50px);
  }
  75% {
    transform: translate(50px, 50px);
  }
}

.navbar {
  display: flex;
  justify-content: flex-end;
  background-color: black;
  padding: 1em;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.navbar.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.nav-link {
  color: #58a6ff;
  text-decoration: none;
  margin-right: 30px;
  position: relative;
  display: inline-block;
}

.nav-link:hover {
  color: #0056b3;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #58a6ff;
  left: 0;
  bottom: -5px;
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 30px;
  height: 3px;
  background-color: #58a6ff;
  display: block;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: '';
  background-color: #58a6ff;
  width: 100%;
  height: 3px;
  display: block;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.hamburger::before {
  top: -10px;
}
.hamburger::after {
  top: 10px;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding-top: 60px;

    height: auto;

    background: black;
  }

  .navbar.active {
    transform: translateX(0);
    margin: 0;
  }

  .nav-btn {
    position: fixed;
    width: 100%;
    height: 60px;
    background: black;
    z-index: 10;
  }

  .nav-toggle {
    display: block;
    margin-top: 20px;
  }

  .nav-link {
    display: block;
    padding: 10px;
    color: #58a6ff;
    text-align: center;
  }

  .nav-link:hover,
  .nav-link:focus {
    background-color: #0056b3;
    color: white;
  }

  .nav-link::after {
    background-color: white;
  }
}

.projects-section {
  display: none; /* to hide project section */
  text-align: center;
  padding: 50px 20px;
  color: #fff;
  max-width: 1000px;
  margin: 100px auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  z-index: 1;
  border: 1px solid white;
}

.projects-section h2 {
  color: #58a6ff;
  margin-bottom: 30px;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.project-box {
  width: calc(45% - 20px);
  margin: 10px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease, border 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.project-box:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #58a6ff;
}

.project-box h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .projects-section {
    margin: 20px;
  }
  .project-box {
    width: calc(100% - 20px);
  }
}
