@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: "Poppins", sans-serif !important;
    box-sizing: border-box;
    scroll-behavior: smooth !important;
}

.header{
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    background-color: rgba(255, 255, 255, .2);
    backdrop-filter: blur(2px);
}

.menu__link{
    transition: all ease-in-out 0.5ms;
    -webkit-transition: all ease-in-out 0.5ms;
    -moz-transition: all ease-in-out 0.5ms;
    -ms-transition: all ease-in-out 0.5ms;
    -o-transition: all ease-in-out 0.5ms;
}

.menu__link:hover{
    color: rgb(201, 159, 88);
}

.runnig__svg {
  animation: rotate360 6s linear infinite;
  transform-origin: center;
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.scroll-active .header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  transform: translate(0);
  border-radius: 0px;
  transition: all .3s ease-in-out;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.scroll-active svg{
  fill: #C99F58;
  transition: all .3s ease-in-out;
}

.scroll-active .header > a > span{
  color: #C99F58;
  transition: all .3s ease-in-out;
}

.scroll-active .header .menu > a{
  color: rgba(0, 0, 0, .8);
  transition: all .3s ease-in-out;
}

.scroll-active .header .menu > a:hover{
  color: #C99F58;
}

.projects > a.active{
  background-color: #C99F58;
}

.content__card{
  backdrop-filter: blur(2px);
}

/* Projects filter wrapper */
.projects {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

/* scrollbar hide */
.projects::-webkit-scrollbar {
  display: none;
}
.projects {
  scrollbar-width: none; /* firefox */
}

/* Filter buttons */
.project-filter {
  background-color: #331100;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;   /* 🔥 MOST IMPORTANT */
  transition: all 0.3s ease;
}

/* Hover */
.project-filter:hover {
  opacity: 0.9;
}

/* Active */
.project-filter.active {
  background-color: #C99F58;
  color: #000;
}


@media (max-width : 768px){
  .mySwiperProjects,
  .mySwiperMedia{
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
