main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  gap: 3rem;
  width: 100%;
  max-width: 900px;
  align-self: center;
}

main h1 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

main a {
  text-decoration: none;
  color: inherit;
}

.profile-card {
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);

  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);

  width: 250px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.profile-card h3 {
  font-size: 1rem;
  margin: 0;
  text-align: center;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}

.profile-git-icon {
  width: 32px;
  height: 32px;
}

.profile-git-icon {
  width: 32px;
  height: 32px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

#prof-profile-card {
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);

  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);

  width: 250px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  transition: width 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
  margin-bottom: 3rem;
}

#prof-profile-card:hover {
  width: 500px;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  align-items: flex-start;
}

#prof-profile-card:hover>div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

#prof-profile-card:hover h3 {
  flex-basis: 100%;
  text-align: center;
}

#prof-profile-card:hover #prof-description {
  display: block;
  flex: 1;
  min-width: 200px;
}

#prof-profile-card:hover #prof-description {
  display: block;
}

#prof-profile-card h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: center;
}

#prof-profile-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}

@media (max-width: 600px) {
  #prof-profile-card:hover {
    width: 100%;
    align-items: center;
  }

  #prof-profile-card:hover>div {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  #prof-profile-card:hover #prof-description {
    text-align: center;
    width: 100%;
  }

  #prof-profile-card:hover h3 {
    text-align: center;
  }
}

#prof-description {
  display: none;
}

/*
  procure pelo seu ID abaixo 
  adicione sua animação ou estilo dentro do bloco :hover.
  usar foto local | salve sua imagem em 'img/seunome.jpeg'.
*/
#artur-card {
  transition: all 0.3s ease;
  border: var(--color-background) 2px solid;
}

#artur-card:hover {
  /* animates a squash and stretch effect on hover */
  transform: translateY(0px);
  border: #fff 2px solid;
  animation: artur-animation 0.6s ease;
}

@keyframes artur-animation {
  0% {
    transform: scale(1.3, 0.7);
  }

  25% {
    transform: scale(0.8, 1.2);
  }

  50% {
    transform: scale(1.1, 0.9);
  }

  75% {
    transform: scale(0.9, 1.1);
  }

  100% {
    transform: scale(1, 1);
  }
}

#eduardo-card {
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
  background: var(--color-background);
  border: none;
}

#eduardo-card::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  z-index: -2;

  background: conic-gradient(transparent 0deg 120deg,
      #0000ff 120deg 180deg,
      transparent 180deg 300deg,
      #ff0000 300deg 360deg);

  opacity: 0;
  transition: opacity 0.3s ease;
}

#eduardo-card::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--color-background);
  border-radius: 10px;
  z-index: -1;
  background-color: #1a1a1a;
}

#eduardo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

#eduardo-card:hover::before {
  opacity: 1;
  animation: snake-rotate 2s linear infinite;
}

@keyframes snake-rotate {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(45deg);
  }

  30% {
    transform: rotate(135deg);
  }

  70% {
    transform: rotate(225deg);
  }

  80% {
    transform: rotate(315deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#leticia-card {
    transition: transform 0.4s ease, border-color 0.4s ease; 
    border: 1px solid var(--color-border-subtle, #eee); 
    transform-origin: center;
}

#leticia-card:hover {
    transform: rotateZ(-1deg); 
    
    border-color: var(--color-accent, #007bff); 
    
    box-shadow: inset 0 0 10px rgba(var(--color-accent-rgb, 0, 123, 255), 0.1);
}


#roberto-card {
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

#roberto-card:hover {
  transform: rotateY(360deg);
  border: #fff 2px solid;
}

#thiago-card {
  transition: all 0.3s ease;
}

#thiago-card:hover {
  animation: thiago-magnetic-pulse 1.5s ease-in-out infinite;
}

@keyframes thiago-magnetic-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
  }
  50% {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px 10px rgba(108, 92, 231, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
  }
}


#vinicius-card {
  position: relative;
  z-index: 1;
  background: var(--color-background);
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  background-color: #1a1a1a;
}

#vinicius-card:hover {
  transform: translateY(-5px);
  background-image: linear-gradient(90deg, #ffffff 50%, transparent 50%), linear-gradient(90deg, #ffffff 50%, transparent 50%), linear-gradient(0deg, #ffffff 50%, transparent 50%), linear-gradient(0deg, #ffffff 50%, transparent 50%);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 15px 2px, 15px 2px, 2px 15px, 2px 15px;
  background-position: 0px 0px, 100% 100%, 0px 100%, 100% 0px;
  animation: border-dance 4s linear infinite;
  z-index: 10;
}

#vinicius-card:hover .profile-img {
  transform: rotate(360deg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}