.header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(/media/worksbg.png);
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  z-index: -1;
}
.header > * {
  position: relative;
  z-index: 1;
}
.content {
  padding: 4rem 0;
}
.marquee {
  width: 100%;
  overflow: hidden;
  cursor: grab;
}
.marquee:active {
  cursor: grabbing;
}
.marqueeTrack {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0 2rem;
}
.workCard {
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.workCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.workCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.workCard .info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}
.modalTemplates {
  display: none;
}
.workModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.workModalBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
}
.workModalContent {
  position: absolute;
  background: #0b0b0b;
  border-radius: 20px;
  overflow: auto;
  color: white;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.workModalInner {
  padding: 2rem;
  opacity: 0;
}
.workModalInner .title {
  margin-top: 0;
  font-size: 6vh;
  font-size: 2rem;
}
.workModalInner p {
  line-height: 1.6;
  font-size: 3vh;
  opacity: 0.85;
}
.workModalInner a {
  position: absolute;
  bottom: 0;
  margin-bottom: 15px;
  background-color: rgb(4, 38, 69);
  padding: 15px 25px;
  border-radius: 15px;
  text-decoration: none;
  font-family: Inter;
  font-weight: 100;
  color: white;
  font-size: clamp(22px, 2vw, 40px);
}
.workModalContent::-webkit-scrollbar {
  width: 8px;
}
.workModalContent::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
