body {
  background-color: #060607;
  color: #e0e0e0;
  font-family: "Nunito", sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
}
h1 {
  margin-left: -6px;
}
.justify {
  text-align: justify;
}

.profile-img {
  max-width: 400px;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .profile-img {
    max-width: 300px;
    height: 300px;
  }
}
@media (max-width: 768px) {
  main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  h1.display-1 {
    font-size: 3rem;
    text-align: center;
  }

  p {
    font-size: 1rem;
  }
  .btn-outline-hero {
    display: block;
    margin: 0 auto;
    width: fit-content;
  }
  .project-image {
    max-width: 100%;
  }
}

/* NAVBAR */
.nav-link {
  position: relative;
  font-family: sans-serif;
  font-weight: 600 !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: #6d1eb8;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 70%;
}

.btn-gradient {
  background: linear-gradient(45deg, #6d1eb8, #221eff);
  border: none;
  color: #ffffff;
  font-weight: 600;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border-radius: 0.5rem;
}

.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(26, 26, 46, 0.5);
}

.btn-outline-hero {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  transition:
    background 0.2s,
    color 0.2s;
}

.btn-outline-hero:hover {
  background: #ffffff;
  color: #0c0c0c;
}

/* FOOTER */
.footer a:hover {
  color: #8a2be2;
  text-decoration: underline;
}

/* PROJECTS*/
.project-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  padding: 2rem !important;
  transition:
    border-color 0.3s,
    transform 0.3s,
    background 0.3s;
}

.project-image {
  border-radius: 0.75rem;
  object-fit: cover;
  max-width: 70%;
  height: auto;
}

.project-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #6d1eb8;
}

.tech-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #c0c0d0;
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    border-color 0.3s,
    transform 0.3s,
    background 0.3s;
  cursor: default;
}

.tech-card:hover {
  border-color: rgba(109, 30, 184, 0.6);
  background: rgba(109, 30, 184, 0.08);
  transform: translateY(-4px);
  color: #ffffff;
}

.tech-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* SKILLS */
.skills-section {
  position: relative;
  overflow: hidden;
}

.skills-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(109, 30, 184, 0.15),
    transparent 70%
  );
  pointer-events: none;
}

.skills-label {
  color: #1b9eea;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.skills-title {
  color: #e0e0e0;
  font-size: 2.2rem;
  font-weight: 700;
}

.skills-highlight {
  color: #03d24c;
}

.skills-category {
  color: #ffcc02;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.skill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #c0c0d0;
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    border-color 0.3s,
    transform 0.3s,
    background 0.3s;
  cursor: default;
}

.skill-card:hover {
  border-color: rgba(109, 30, 184, 0.6);
  background: rgba(109, 30, 184, 0.08);
  transform: translateY(-4px);
  color: #ffffff;
}

.skill-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
