* {
  margin: 0;
  padding: 0;
}
.header1 {
  margin: 10rem auto;
  padding: 1rem;
}
.header1 h1 {
  font-size: 3rem;
}
.contributor-container {
  width: 90%;
  margin: 5rem auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;

}
/* .card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: rgb(37, 37, 37);
  width: 40%;
  text-align: center;
  justify-content: center;
  border-radius: 24px;
  transition: all 0.3s ease;
}
.card:hover{
    transform: scale(1.09);
    box-shadow: -6px 10px 11px 1px aqua;
} */


  /* .profile-pic {
    width: 100px;
    height: 100px;
    background-color: gray;
    border: 1px solid aqua;
    border-radius: 50%;
    margin: auto;
  }
  span{
      font-size: 1rem;
      font-weight: bold;
  }
  .card p{
      font-size: 0.8rem;
  }
  .cont-socials img{
    width: 24px;
    height: 24px;

  }

.profile-pic {
  width: 200px;
  height: 200px;
  background-color: gray;
  border: 1px solid aqua;
  border-radius: 50%;
  margin: auto;
}
span{
    font-size: 2rem;
    font-weight: bold;
}
.card p{
    font-size: 1.5rem;
}
.cont-socials img:hover{
    transform: scale(1.2);
    transition: all 0.3s ease;
} */

 /* calude */
 .card {
  width: 40%;
  position: relative;
  padding: 20px;
  background: black;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

/* Create the animated border container */
.card::before {
  content: '';
  position: absolute;
  width: 500%;
  height: 500%;
  background: conic-gradient(
      from 0deg,
      transparent 0deg,
      aqua 90deg,
      red 180deg,
      aqua 270deg,
      transparent 360deg
  );
  animation: rotateAnimation 4s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Create the inner card content background */
.card::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: black;
  border-radius: 8px;
  z-index: 0;
}

/* Ensure card content stays above the animation */
.card > * {
  position: relative;
  z-index: 1;
}

@keyframes rotateAnimation {
  0% {
      transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
      transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Rest of the card styling */
.profile-pic {
  width: 200px;
  height: 200px;
  background-color: gray;
  border: 1px solid aqua;
  border-radius: 50%;
  margin: auto;
  object-fit: cover;
}

span{
  font-size: 2rem;
  font-weight: bold;
}
.card p{
  font-size: 1.5rem;
  color: aqua;
}

.cont-socials {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.cont-socials img {
  width: 45px;
  height: 45px;
  transition: transform 0.3s ease;
  pointer-events: none;              /* Prevent right-click/interaction */
  -webkit-user-drag: none;           /* Chrome, Safari */
  user-select: none;                 /* Prevent text/image selection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.cont-socials img:hover{
  transform: scale(1.2);
  transition: all 0.3s ease;
} 
 
/* media query for mobile */
/* @media (max-width: 768px) {
    .header1 {
        margin: 5rem auto;
        padding: 0.5rem;
      }
      .header1 h1 {
        font-size: 1.5rem;
      }
      .contributor-container {
        width: 90%;
        margin: 2.5rem auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
      
      }
      .card {
        padding: 0.5rem;
        row-gap: 2rem;
        width: 60%;
        text-align: center;
        justify-content: center;
        border-radius: 15px;
      }
      .card:hover{
        transform: scale(1.01);
        box-shadow: -6px 10px 11px 0px aqua;
    }
    
}

/* media query for tablets */
/* 
@media (min-width :768px) and (max-width: 1024px){
    .contributor-container {
        width: 90%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
      
      }
      .card {
        width: 60%;
        justify-content: center;
        border-radius: 15px;
      }
      .profile-pic {
        width: 100px;
        height: 100px;
        background-color: gray;
        border: 1px solid aqua;
        border-radius: 50%;
        margin: auto;
      }
      span{
          font-size: 0.8rem;
          font-weight: bold;
      }
      .card p{
          font-size: 0.6rem;
      }
      .cont-socials img{
        width: 30px;
        height: 30px;

      }
} */ 

/* claude */
@media screen and (max-width: 768px) {
  .header1 {
    margin: 5rem auto;
    padding: 0.5rem;
  }
  .header1 h1 {
    font-size: 2rem;
        margin: 3rem auto;
  }
  .contributor-container {
    width: 90%;
    margin: 2.5rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  
  }
  .card {
      width: 60%;
      padding: 25px;
  }

  .profile-pic {
      width: 120px;
      height: 120px;
      
  }

  .card span {
      font-size: 1.2rem;
      text-align: center;
  }

  .card p {
      font-size: 1.1rem;
  }

  .cont-socials img {
      width: 28px;
      height: 28px;
      pointer-events: none;              /* Prevent right-click/interaction */
      -webkit-user-drag: none;           /* Chrome, Safari */
      user-select: none;                 /* Prevent text/image selection */
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
  }
}

/* Media query for laptops/desktops (1024px) */
@media screen and (min-width: 1024px) {
  .card {
      width: 400px;
      padding: 30px;
  }

  .profile-pic {
      width: 150px;
      height: 150px;
  }

  .card span {
      font-size: 1.4rem;
      text-align: center;
  }

  .card p {
      font-size: 1.2rem;
  }

  .cont-socials {
      gap: 20px;
      margin-top: 15px;
  }

  .cont-socials img {
      width: 32px;
      height: 32px;
      pointer-events: none;              /* Prevent right-click/interaction */
      -webkit-user-drag: none;           /* Chrome, Safari */
      user-select: none;                 /* Prevent text/image selection */
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
  }
}