/* version 1.0.0 */

[x-cloak] {
  display: none !important;
}

.profile-container {
  animation: fadeIn 1s ease-out;
}

.profile-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
}

/* Sistema de sombra de texto agora é dinâmico via JavaScript */

.avatar-container {
  animation: fadeInDown 1s ease-out;
}

.contact-item {
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
  overflow: hidden;
}

.contact-item:nth-child(2) {
  animation-delay: 0.2s;
}

.social-link {
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px);
}

.social-link:nth-child(1) {
  animation-delay: 0.3s;
}

.social-link:nth-child(2) {
  animation-delay: 0.4s;
}

.social-link:nth-child(3) {
  animation-delay: 0.5s;
}

.social-link:nth-child(4) {
  animation-delay: 0.6s;
}

.social-link:nth-child(5) {
  animation-delay: 0.7s;
}

.social-link:nth-child(6) {
  animation-delay: 0.8s;
}

.social-link .icon-container {
  transition: background-color 0.3s ease;
  width: 3rem !important;
  height: 3rem !important;
  flex-shrink: 0;
}

.social-link:hover .icon-container {
  background-color: rgba(255, 255, 255, 0.2);
  width: 3rem !important;
  height: 3rem !important;
}

.contact-item .icon-container {
  transition: background-color 0.3s ease;
  width: 3rem !important;
  height: 3rem !important;
  flex-shrink: 0;
}

.contact-item:hover .icon-container {
  background-color: rgba(255, 255, 255, 0.2);
  width: 3rem !important;
  height: 3rem !important;
}

/* Garantir que icon-container nunca mude de tamanho */
.icon-container {
  width: 3rem !important;
  height: 3rem !important;
  min-width: 3rem !important;
  min-height: 3rem !important;
  max-width: 3rem !important;
  max-height: 3rem !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.social-link i {
  transition: transform 0.3s ease;
}

.social-link:hover i {
  transform: scale(1.1);
}

footer .footerage {
  text-align: center;
  padding: 10px 5px;
  font-weight: 100;
  text-align: 14px;
  color: gray;
  animation: fadeIn 1s ease-out 1s backwards;
}

.menu.editable {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  animation: fadeInDown 0.5s ease-out;
}

.menu.editable a {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background-color: #3c3d91;
  color: white;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(60, 61, 145, 0.1), 0 2px 4px -1px rgba(60, 61, 145, 0.06);
}

.menu.editable a:hover {
  background-color: #2d2e6e;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(60, 61, 145, 0.1), 0 4px 6px -2px rgba(60, 61, 145, 0.05);
}

.ig.min-h-screen {
  min-height: 90vh;
  max-height: 90vh;
}

.ig.min-h-screen.scroll-container {
  overflow-y: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media only screen and (max-width: 750px) {
  #contact-info {
    margin-bottom: 1rem;
  }
}

@media only screen and (max-width: 450px) {
  .text-4xl {
    font-size: 2rem !important;
    line-height: 2rem !important;
  }

  .contact-item.p-5,
  .social-link.p-5 {
    padding: 0.25rem;
  }
}

/* Mobile Contact Button - Add this style */
.save-contact-button {
  animation: scaleIn 0.5s ease-out 0.3s backwards;
  margin-bottom: 12px;
}
