/* ================= PROJECT SECTION ================= */

#projects.content.active {
  display: block;
  padding: 0.7rem;
}

/* ---------- Layout ---------- */

.project {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
  margin-top: 1rem;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---------- Headings ---------- */

.project-info h3 {
  font-size: 5rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.project-info h4 {
  font-size: 3rem;
}

.project-info p {
  font-size: 1.3rem;
  text-align: justify;
}

/* ---------- Tech Stack ---------- */

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;

  font-size: 1.3rem;
  font-weight: 500;
  color: var(--green);
}

/* ---------- Links & Buttons ---------- */

.links,
.arrows {
  display: flex;
  align-items: center;
  gap: 20px;
}

.links {
  margin-top: 1rem;
}

/* Circle Buttons */
.links a,
.arrows a {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 50%;

  overflow: hidden;
  transition: 0.3s linear;
}

/* Hover Effect */
.links a:hover,
.arrows a:hover {
  background: var(--green);
  color: var(--primary);
  box-shadow:
    2px 2px 2px var(--green),
    -2px 2px 2px var(--green),
    2px -2px 2px var(--green),
    -2px -2px 2px var(--green);
}

/* Special Rotate Icon */
.links a:first-child {
  rotate: -45deg;
}

.links a:first-child:hover {
  rotate: 0deg;
}

.links a i,
.arrows a {
  font-size: 1.5rem;
}

/* ---------- Carousel ---------- */

.carousel {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.carousel img {
  width: 100%;
  border-radius: 10px;
}

/* ---------- Arrow Buttons ---------- */

.arrows {
  align-self: center;
  gap: 1.2rem;
}

/* Disabled Button */
.disabled-btn {
  color: var(--disabled) !important;
  border-color: var(--disabled) !important;
  opacity: 0.5;
  pointer-events: none;
}

.disabled-btn:hover {
  background: none;
  box-shadow: none;
  cursor: auto;
}

/* ================= RESPONSIVE ================= */

@media (min-width: 1024px) {

  .project {
    flex-direction: row;
  }

  .carousel {
    place-items: end;
  }

  .carousel img {
    width: 90%;
  }

  .arrows {
    margin-left: auto;
  }
}
