* {
  margin: 0;
  padding: 0;
  
}
  :root{
    --pxspecial-main-font: "Outfit", sans-serif;
    --pxspecial-heading-font:  "Kavoon", serif;
    --pxspecial-subtitle-font: "Roboto Condensed", sans-serif;
    --pxspecial-letter-space: 1px;
    --pxspecial-heading-font-size:30px;
    --pxspecial-subtitle-font-size:28px;
    --pxspecial-main-font-size:18px;
  }

.pxspecial-section {
  padding-bottom: 30px;
  background:#e1c0e0;;
  background-size: 300% 300%;
  animation: sectionGradient 15s ease infinite;
}

@keyframes sectionGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pxspecial-team-title{
  text-align: center;
  padding: 20px 0 0 0;
  color: #fff;
  font-weight: 600;
  font-family: var(--heading-font);
  text-transform:capitalize; 
  font-size: 40px;
}
.pxspecial-team-subtitle{
  text-align: center;
  padding: 0px 0 10px 0;
  color: #fff;
  font-weight: 400;
  font-family: var(--subtitle-font);
  text-transform:capitalize; 
  font-size: var(--subtitle-font-size);
  /* letter-spacing: 0.1em; */
}
.pxspecial-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
 
}

.pxspecial-box {
  position: relative;
  width: 250px;       
  height: 250px;      
  background: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

 .pxspecial-box::before,
.pxspecial-box::after {
  content: "";
  position: absolute;
  inset: -80px 100px;
  transition: 0.5s;
  filter: hue-rotate(calc(var(--i) * 120deg));
  animation: pxspecial-animate 8s linear infinite;
}

.pxspecial-box::after {
  filter: hue-rotate(calc(var(--i) * 120deg));
  animation-delay: -2s;
}


.pxspecial-box:hover::before,
.pxspecial-box:hover::after {
  animation-play-state: paused;
  inset: -80px 80px;
}

@keyframes pxspecial-animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pxspecial-box i {
  position: absolute;
  inset: 3px;
  background: #210440 ;
  z-index: 1;
}

.pxspecial-content {
  position: absolute;
  inset: 20px;
  background: #210440 ;
  border: 2px solid white;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  background-size: cover;
}

.pxspecial-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.3s;
  z-index: 3;
  pointer-events: none;
}

.pxspecial-box:hover .pxspecial-content img {
  opacity: 0;
}

.pxspecial-content h2 {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.25em;
  text-transform: uppercase;
     font-family: var(--pxspecial-main-font);
  
    font-size:var(--pxspecial-main-font-size) ;
}

.pxspecial-content h2 span {
  font-weight: 300;
  font-size: 0.75em;
}

.pxspecial-content a {
  position: relative;
  margin-top: 10px;
  padding: 10px 20px;
    font-family: var(--pxspecial-main-font);
  background: #fff;
  color: #210440 ;
  border-radius: 25px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: 0.3s;
}

.pxspecial-content a:hover {
  letter-spacing: 0.2em;
}


@media screen and (max-width: 430px) {

.pxspecial-team-title{
  font-size: 32px;
}
.pxspecial-team-subtitle{
  font-size: 23px;
}
  .pxspecial-content h2 {
    font-size: 0.85em;
  }

  .pxspecial-content h2 span {
    font-size: 0.75em;
  }

  .pxspecial-content a {
    font-size: 0.65em;
  }
}

