@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
:root {
  --experience-title-color: #fff; /* Define the color variable */
  --experience-title-weight: 500; /* Define the font-weight variable */
}

.experience-header .experience-title {
  color: var(--experience-title-color); /* Use the variable */
  font-weight: var(--experience-title-weight); /* Use the variable */
}

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

section {
  padding: 100px;
}

/* Experience Section */
#experience {
  padding: 20px;
  background-color: #0a192f;
  margin-top: -275px;
  margin-left: 520px;
}

.experience-card {
  padding: 20px;
  margin-bottom: 20px;
}

.experience-card:hover {
  background-color: #112240;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.experience-date {
  font-size: 14px;
  color: #adb4ca;
  font-weight: 500;
}

.experience-header h3 {
  font-size: 18px;
  color: #adb4ca;
  font-weight: 600;
  margin: 0;
}

.experience-header h3 .external-link {
  font-size: 16px;
  color: #64ffda;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.experience-header .experience-title {
  color: var(--experience-title-color);
  font-weight: var(--experience-title-weight);
}

.experience-title {
  margin-top: 16px;
  color: var(--experience-title-color);
  font-weight: var(--experience-title-weight);
  .external-link {
    font-size: 16px;
    color: #64ffda;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
  }

  .external-link:hover {
    color: #adb4ca;
  }
}

.view-resume {
  margin-left: 24px;
  margin-top: 16px;
  color: var(--experience-title-color);
  font-weight: var(--experience-title-weight);
  .external-link {
    font-size: 16px;
    color: #64ffda;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
  }

  .external-link:hover {
    color: #adb4ca;
  }
}

.experience-header h3 .external-link:hover {
  color: #adb4ca;
}

.experience-description {
  font-size: 16px;
  line-height: 1.6;
  color: #adb4ca;
  margin: 10px 0 20px;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background-color: #233554;
  color: #64ffda;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}

#project {
  width: 60%;
  padding: 20px;
  background-color: #0a192f;
  margin-left: 520px;
}

.project-card {
  padding: 20px;
  margin-bottom: 20px;
}

.project-card:hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #112240;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.project-header {
  display: flex;
  /* justify-content: space-between; */
  /* align-items: center; */
  margin-top: 40px;
}

.project-header img {
  width: 150px;
  height: 100px;
  border: 2px solid #64ffda;
  border-radius: 8px;
  /* font-size: 14px;
	color: #adb4ca;
	font-weight: 500; */
}

.project-header h3 {
  font-size: 18px;
  color: #adb4ca;
  font-weight: 600;
  margin: 0;
}

.project-header h3 .external-link {
  font-size: 16px;
  color: #64ffda;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.project-box {
  margin-left: 10px;
  .project-title {
    margin-top: 4px;
    color: var(--experience-title-color);
    font-weight: var(--experience-title-weight);
    a {
      font-size: 16px;
      color: #64ffda;
      text-decoration: none;
      margin-left: 5px;
      transition: color 0.3s ease;
    }

    a:hover {
      color: #adb4ca;
    }
  }
  .project-description {
    margin-top: 4px;
  }
}

.project {
  margin-top: 10px;
}

.heading {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  color: #111;
}
.heading h2 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 30px;
}
.btn {
  position: relative;
  background: #2196f3;
  display: inline-block;
  color: #fff;
  margin-top: 20px;
  padding: 10px 30px;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: 500;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  border: 1px solid #2196f3;
  outline: 0;
}
.btn:hover {
  box-shadow: 0 0 10px #2196f3, 0 0 40px #2196f3, 0 0 80px #2196f3;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.hidden {
  display: none;
}

.bg {
  position: relative;
  min-height: 100vh;
  background-color: #0a192f;
  color: #adb4ca;
  background-size: cover;
  background-position: right;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 120px;
  gap: 40px;
  flex-wrap: wrap;
}

.bg > div {
  flex: 1 1 45%;
  color: #fff;
}

#about {
  padding-top: 24px;
  display: inline-block;
  color: #adb4ca;
  margin-right: 24px;
  .highlight {
    font-size: 1em;
    font-weight: 600;
  }
}

.bg .headingStyles {
  font: bold 50px/72px "Poppins", sans-serif;
}

.bg .subtitle {
  font: normal 400 20px/30px "Poppins", sans-serif;
  display: block;
  margin-top: 10px;
  margin-bottom: 30px;
}

.bg h2 {
  /* display: b; */
  font-size: 3em;
  color: #fff;
  font-weight: 300;
  line-height: 1.5em;
  .span {
    font-size: 1.5em;
    font-weight: 700;
  }
}
.bg h3 {
  font-size: 1em;
  color: #adb4ca;
  font-weight: 300;
  .name {
    font-weight: 800;
  }
}

.sidebar {
  margin-top: 80px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  color: #adb4ca;
  cursor: pointer;
  transition: all 0.3s;
}

.sidebar li span {
  width: 30px;
  height: 1px;
  background-color: #adb4ca;
  margin-right: 10px;
  transition: all 0.3s;
}

.sidebar li.active {
  color: #adb4ca;
}
.sidebar li:hover {
  color: #adb4ca;
}

.sidebar li.active span {
  width: 80px;
}
.sidebar li:hover span {
  width: 80px;
}

.sidebar a {
  color: inherit;
  text-decoration: none;
}

.footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-link {
  color: #64ffda;
  text-decoration: none;
  margin: 0 10px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-link i {
  margin-right: 5px;
}

.footer-link:hover {
  color: #adb4ca;
}

.footer-text {
  font-size: 14px;
  color: #adb4ca;
}

@media screen and (max-width: 1600px) {
  #about {
    margin-right: 36px;
  }
}

@media screen and (max-width: 1300px) {
  #about {
    padding: 0px;
  }

  .bg {
    width: 115%;
  }

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

  #project {
    width: 100%;
    margin-left: -40px;
  }

  .footer {
    width: 115%;
  }

  .view-resume {
    margin-left: -20px;
  }
}

@media screen and (max-width: 999px) {
  .bg {
    width: 130%;
  }

  .footer {
    width: 130%;
  }

  #project {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  #about {
    margin-top: -60px;
  }
  #experience {
    margin-left: 0px;
    margin-top: 0px;
    padding-top: 0px;
  }
  .bg {
    padding: 40px;
  }
  .bg > div {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
  .sidebar {
    margin-top: 20px;
  }
  .sidebar ul li {
    font-size: 14px;
  }

  .project-header img {
    width: 100px; /* Adjust image size for smaller screens */
    height: 70px;
  }
  .project-header h3 {
    font-size: 16px;
  }
  .project-header h3 .external-link {
    font-size: 14px;
  }
}

@media screen and (max-width: 391px) {
  .bg {
    width: 125%;
  }
  .footer {
    width: 125%;
  }
}

@media screen and (max-width: 375px) {
  .bg {
    width: 125%;
  }
  .footer {
    width: 125%;
  }
}

#loader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a192f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s;
}

.loader-s-svg {
  width: 100px;
  height: 100px;
  display: block;
}

.loader-s-path {
  stroke: #64ffda;
  stroke-width: 6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px #64ffda88);
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw-s 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate;
}

@keyframes draw-s {
  to {
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 16px #64ffda);
  }
}