@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

html {
  background: #101418;
}

* {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
  color: #fff;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* HEADER */
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  padding: 20px;
}

nav a {
  transition: color 0.3s ease; /* Add transition for smooth color change */
}

nav a:hover {
  color: darkgray; /* Change color on hover */
}

button {
  background: #000000;
  border: none;
  border-radius: 5px;
  padding: 5px 12px;
  cursor: pointer;
  transition: transform 0.3s ease; /* Add transition for smooth scaling */
}

.contact-link button {
  padding: 10px 20px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-link button:hover {
  transform: scale(1.1); /* Enlarge on hover */
  background-color: #333333; /* Darken color on hover */
}

/* HERO */
.hero {
  text-align: center;
  height: 70vh;
  background: #181f26;
  margin-bottom: 80px;
  margin-top: -90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  max-width: 700px;
}

.hero p {
  margin-top: 10px;
  opacity: 0.6;
  font-size: 1.3rem;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 9999px;
  border: 5px solid #000000;
}

h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.resume-btn,
.projects-btn {
  padding: 10px 20px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease; /* Add transition for smooth scaling */
}

.resume-btn:hover,
.projects-btn:hover {
  transform: scale(1.1); /* Enlarge on hover */
  background-color: #333333; /* Darken color on hover */
}

/* ABOUT */
.about-wrapper,
.project-wrapper,
.socials-wrapper {
  max-width: 1000px;
  margin: 100px auto;
  margin-top: 0;
  padding: 20px;
}

.about-wrapper {
  justify-content: center;
  display: flex;
}

.about-wrapper .col p {
  line-height: 32px;
}

.about-wrapper .col {
  flex: 1;
}

.about-wrapper .skills {
  margin-left: 50px;
}

.about-wrapper .skills ul {
  display: flex;
  flex-wrap: wrap;
}

.about-wrapper .skills ul li {
  border: 2px solid #2d2d2d;
  width: max-content;
  padding: 3px 10px;
  border-radius: 12px;
  margin: 7px;
  margin-left: 0;
  font-weight: 500;
  background: rgb(25, 31, 38);
  position: relative;
  overflow: hidden;
}

.about-wrapper .skills ul li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
}

.about-wrapper .skills ul li:hover::before {
  animation: shine 0.5s ease-in-out;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* PROJECTS */
.projects ul {
  display: flex;
  flex-wrap: wrap;
}

.projects ul li {
  background: #181f26;
  margin: 13px;
  margin-left: 0;
  padding: 10px;
  border-radius: 15px;
  width: 300px;
}

.projects ul li img {
  border-radius: 15px;
  margin-bottom: 17px;
  width: 100%;
}

/* SOCIALS */
.socials-wrapper {
  line-height: 30px;
}

.socials-wrapper .social-icons img {
  border: 2px solid #2d2d2d;
  margin-right: 20px;
  margin-top: 20px;
  padding: 6px;
  border-radius: 12px;
}

.socials-wrapper .social-icons img:hover {
  background: #2d2d2d;
}

/* MOBILE */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .about-wrapper {
    flex-direction: column;
  }

  .about-wrapper .skills {
    margin-left: 0;
    margin-top: 100px;
  }

  .projects ul li {
    width: 100%;
  }
}

/* AVAILABILITY INDICATOR */
.availability {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.available {
  background-color: green;
  box-shadow: 0 0 10px green;
}

.indicator.unavailable {
  background-color: red;
  box-shadow: 0 0 10px red;
}
