/* Header scroll states */
header {
  transition: transform 0.3s ease;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #000000CC;
    font-family: 'Lexend' , sans-serif;
}

.Lex{
     font-family: 'Lexend', sans-serif;
}

.Alex{
    font-family: 'Alexandria', sans-serif ;
}


.marquee {
  animation: marquee 8s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}





/* global.css */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  scrollbar-width: none;
}

/* Projects carousel */
.projects-carousel {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* MOBILE FIRST */
.project-card {
  height: 40dvh;
  position: relative;
}

/* DESKTOP */
@media (min-width: 640px) {
  .project-card {
    flex: 0 0 45%;   /* 👈 DESKTOP: mitad del ancho */
    height: 45dvh;
  }
}

/* Image */
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover */
.project-card:hover img {
  transform: scale(1.03);
}

/* Contact Form Feedback Styles */
#formFeedback.success #feedbackContent {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

#formFeedback.error #feedbackContent {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

#formFeedback.info #feedbackContent {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

/* Loading spinner animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}


