*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10b981;
    --dark-bg: #111827;
    --card-bg: #1f2937;
    --gray: #dddddd;
    --white: #ffffff;
}

body {
    background-color: var(--card-bg) !important;
    color: white;
    overflow-x: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.cursor {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 
      0 0 10px var(--white),
      0 0 20px var(--white);
  }

  .trail-line {
    position: fixed;
    height: 2px;
    z-index: 9999;
    background: var(--primary-color);
    pointer-events: none;
    transform-origin: left center;
    opacity: 0.8;
    filter: blur(1px);
    box-shadow: 
      0 0 5px var(--primary-color),
      0 0 10px var(--primary-color),
      0 0 20px var(--primary-color);
  }

  @keyframes fadeOut {
    to {
      opacity: 0;
    }
  }

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color) !important;
    
}

::-webkit-scrollbar-track {
    background-color: var(--dark-bg);
    
}

::-webkit-scrollbar-thumb {
    border-radius: 2px;
}

.contenedor-inicio{
    position: relative;
    overflow: hidden;
}
  .waves::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at center,
      var(--primary-color) 0%,
      transparent 70%
    );
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
  }

  .wave {
    position: absolute;
    left: -25%;
    z-index: -1;
    width: 200%;
    height: 200%;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 40%;
    transform-origin: 47% 58%;
    animation: wave 12s linear infinite;
  }

  .wave:nth-child(2) {
    animation-duration: 16s;
    opacity: 0.03;
  }

  .wave:nth-child(3) {
    animation-duration: 20s;
    opacity: 0.02;
  }

  @keyframes wave {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
  }



/* MENU DISEÃ‘O */

header{
    height: 100px;
    background-color: transparent;
    position: relative;
    z-index: 999;
}

header i {
    font-size: 25px;
}

header i:nth-child(1){
    position: absolute;
    left: 8.5%;
    top: 40px;
    cursor: pointer;
    color: var(--white);
}

header i:nth-child(2){
    position: absolute;
    right: 8.5%;
    top: 40px;
    z-index: 99;
    cursor: pointer;
    position: fixed;
    color: var(--primary-color);
}

header .lista-menu{
    background-color: rgba(0, 109, 73, 0.171);
    backdrop-filter: blur(20px);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: circle(0 at 100% 0);
    transition: 1s ease;
    position: fixed;
}

header .lista-menu.activate{
    clip-path: circle(141% at 100% 0);
}

header .lista-menu ul li{
    list-style: none;
    margin: 30px 0;
    text-align: center;
}

header .lista-menu ul li a{
    text-decoration: none;
    position: relative;
    color: var(--white);
    font-size: 25px;
}

.lista-menu ul li a::before,
.lista-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.4s ease;
}

.lista-menu ul li a::before {
    left: 0;
    width: 0;
}

.lista-menu ul li a::after {
    right: 0;
    width: 0;
}

.lista-menu ul li a:hover::before {
    width: 50%;
}

.lista-menu ul li a:hover::after {
    width: 50%;
}








/* CONTENIDO DEL PORTAFOLIO */
.saludo-text{
    color: var(--gray);
}

.highlight-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(5, 150, 105, 0.7), 0 0 20px rgba(5, 150, 105, 0.5);
}

.profile-container {
    position: relative;
    width: 320px;
    height: 320px;
}

.profile-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    animation: spin 10s linear infinite;
    transition: all 0.5s ease-in-out;
}

.profile-container:hover .profile-circle{
    box-shadow: 0 0 10px #059669, 0 0 20px #059669, 0 0 30px #059669;
}

.profile-image-container {
    position: absolute;
    inset: 8px;
    background-color: var(--card-bg);
    border-radius: 50%;
    overflow: hidden;
    mask-image: linear-gradient();
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.));
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #059669;
    color: white;
    box-shadow: 0 0 10px #059669, 0 0 10px #059669, 0 0 30px #059669;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(5, 150, 105, 0.7), 0 0 20px rgba(5, 150, 105, 0.5);
 
  }
  .social-icon i{
    transition: all 0.3s ease;
  }

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

.stat-card {
    cursor: pointer;
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: background-color 0.3s ease;
}

.stat-card:hover {
    background-color: #374151;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-text {
    color: #9ca3af;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.projects-section {
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
  }

  /* Efecto de fondo animado */
  .background-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.4;
  }

  .bg-line {
    position: absolute;
    height: 200%;
    width: 1px;
    background: var(--primary-color);
    opacity: 0.2;
    transform: translateY(-50%);
    animation: lineDrift 20s linear infinite;
  }

  @keyframes lineDrift {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
  }

  /* TÃ­tulo de secciÃ³n */
  .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
  }

  .title-wrapper {
    display: inline-block;
    position: relative;
  }

  .title-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    position: relative;
    z-index: 1;
  }

  .title-decoration {
    position: absolute;
    bottom: -10px;
    left: -20px;
    right: -20px;
    height: 20px;
    background: var(--primary-color);
    opacity: 0.1;
    transform: skew(-20deg);
    animation: titleGlow 3s ease-in-out infinite;
  }

  @keyframes titleGlow {
    0%, 100% { opacity: 0.1; transform: skew(-20deg) scaleX(1); }
    50% { opacity: 0.2; transform: skew(-20deg) scaleX(1.05); }
  }

  /* Grid de proyectos */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .project-card {
    background: rgba(0, 0, 0, 0.171);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }

  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.1);
  }

  .project-image {
    width: 100%;
    height: 200px;
    background: #2a3441;
    position: relative;
    overflow: hidden;
  }

  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
   
  }

  .project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(31, 41, 55, 0.8),
      transparent
    );
  }

  .project-content {
    padding: 1.5rem;
  }

  .project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
  }

  .project-description {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0 0 1rem 0;
    line-height: 1.5;
  }

  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .project-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
  }

  .link-proyectos{
    text-decoration: none;
  }



/* SECCION DE HABILIDADES */
.skills-section {
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Efecto de fondo */
.skills-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  overflow: hidden;
}

.skills-bg::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--primary-color) 0%, transparent 70%);
  animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
  0% { transform: scale(1) translate(-50%, -50%); }
  50% { transform: scale(1.2) translate(-50%, -50%); }
  100% { transform: scale(1) translate(-50%, -50%); }
}


  .skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
  }

  /* CategorÃ­as de habilidades */
  .skill-category {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease;
  }

  .skill-category:hover {
    transform: translateY(-5px);
  }

  .category-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .category-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
  }

  /* Lista de habilidades */
  .skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .skill-item {
    position: relative;
  }

  .skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }

  .skill-name {
    color: #e5e7eb;
    font-weight: 500;
  }

  .skill-level {
    color: var(--primary-color);
    font-size: 0.875rem;
  }

  .skill-bar {
    height: 6px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 3px;
    overflow: hidden;
  }

  .skill-progress {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #00ff62, var(--primary-color));
    border-radius: 3px;
    transition: width 1s ease;
    position: relative;
  }

  .skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 5px;
    background: white;
    opacity: 0.3;
    animation: progressGlow 2s ease-in-out infinite;
  }

  @keyframes progressGlow {
    0%, 100% { transform: translateX(5px); opacity: 0; }
    50% { transform: translateX(-5px); opacity: 0.3; }
  }



  /* SECCION DE CONTACTAME */
  .contact-section{

            color: white;
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
  }

  .container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.circle-decoration {
    position: absolute;
    top: 50%;
    right: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    transform: translate(50%, -50%);
    background: radial-gradient(circle at center, var(--dark-bg) 0%, var(--card-bg) 70%);
    z-index: 0;
}

.glowing-circle {
    position: absolute;
    top: 50%;
    right: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    transform: translate(50%, -50%);
    border: 2px solid rgba(0, 255, 157, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.1);
}

.subtitle {
    color: #888;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.highlight {
    color: #00ff9d;
}

.contact-form {
    max-width: 600px;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 2rem !important;
}

.form-control {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgba(0, 255, 157, 0.2) !important;
    padding: 0.5rem 0 !important;
    color: white !important;
    font-size: 1rem !important;
    transition: all 0.3s ease;
}


.form-control:focus {
    outline: none !important;
    border-bottom-color: #00ff9d !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

textarea.form-control {
    min-height: 100px !important;
    resize: vertical !important;
}

.btn-enviar {
  font-family: inherit;
  font-size: 20px;
  background: var(--primary-color);
  color: white;
  padding: 0.3em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-enviar span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}

.btn-enviar svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.btn-enviar:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.btn-enviar:hover svg {
  transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

.btn-enviar:hover span {
  transform: translateX(5em);
}

.btn-enviar:active {
  transform: scale(0.95);
}

@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}


.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00ff9d;
}

.success-message {
    display: none;
    color: #00ff9d;
    margin-top: 1rem;
}

@-webkit-keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}
.slider {
  background: transparent;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 1600px;
  margin-top: 50px;
}
.slider::before, .slider::after {
  background: linear-gradient(to right, #1f2937 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  -webkit-animation: scroll 40s linear infinite;
          animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.slide { min-width: 250px; max-width: 250px; margin: 0 10px; }
.slide img {
  height: 100px; /* Ajusta la altura de las imágenes */
  width: auto;   /* Mantén las proporciones */
  object-fit: contain; /* Asegura que toda la imagen sea visible */
}

  /* Responsive */

@media (max-width: 768px) {
	
    .cursor{
       display: none;
    }

    .profile-container {
        width: 260px;
        height: 260px;
    }

    .projects-section {
        padding: 2rem 1rem;
      }
      
      .title-text {
        font-size: 2rem;
      }

      .skills-section {
        padding: 2rem 1rem;
      }
}
