@keyframes neonPulse {
  0%, 100% {
    box-shadow:
      inset 0 0 10px #ff0000,
      inset 0 0 15px #ff0000,
      inset 0 0 20px #ff0000;
  }
  50% {
    box-shadow:
      inset 0 0 1px #ff0000,
      inset 0 0 5px #ff0000,
      inset 0 0 10px #ff0000;
  }
}

body{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* evita que bloquee clics o scroll */
    z-index: 9999;
    animation: neonPulse 2s infinite;
}

.logo {
    width: 100px;
    height: auto;
}

.nav-link {
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: red;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.html-btn{
  margin-left: 1rem;
}

header{
    background-image: url('../img/header.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 349px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headerPulse {
  0%, 100% {
    text-shadow:
      0 0 0px #ff0000,
      0 0 0px #ff0000,
      0 0 0px #ff0000;
  }
  50% {
    text-shadow:
      0 0 5px #ff0000,
      0 0 10px #ff0000,
      0 0 20px #ff0000;
  }
}

.header-text {
  animation: fadeUp 2s ease forwards, headerPulse 2s ease-in-out infinite;
  animation-delay: 0.3s, 1.5s;
}

@keyframes profileFloatGlow {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  }
}

.profile-img {
    animation: profileFloatGlow 6s ease-in-out infinite;
    width: 300px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #fff;
}

.secondary-background-color{
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
}

.neon-box {
  background-color: rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
  border-radius: 15px;
  box-shadow: 
    0 0 5px #ff0000,
    0 0 10px #ff0000,
    0 0 20px #ff0000;
  padding-top: 2rem;
  margin-bottom: 2rem;
  margin-top: 4rem;
}

.neon-box ul {
  padding-left: 1.2rem;
}

.neon-box li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.neon-box li:hover {
  color: #ff4d4d;
  text-shadow:
    0 0 3px #ff4d4d,
    0 0 6px #ff4d4d;
  transition: all 0.3s ease;
  transform: translateX(5px);
}

.neon-effect {
    box-shadow: 
        0 0 5px #ff0000, 
        0 0 10px #ff0000, 
        0 0 20px #ff0000;
}

.neon-effect-text {
    text-shadow: 
        0 0 5px #ff0000, 
        0 0 20px #ff0000, 
        0 0 40px #ff0000;
}

.txt-lighter{
    color: rgba(255, 255, 255, 0.7);
}

.timeline-item {
  border-left: 3px solid #ff0000;
  padding-left: 15px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 5px;
  width: 12px;
  height: 12px;
  background-color: #ff0000;
  border-radius: 50%;
}

.project-image {
  border-radius: 50%;
  border: 2px solid #fff;
  width: 686px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 15px #000000 !important;
}

.proj-desc-text{
    padding-top: 0rem;
  }

.company-image {
  width: 300px;
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(255, 0, 0, 1);
  background-color: floralwhite;
}

.education-image {
  width: 250px;
}

.btn-danger {
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.btn-danger:hover {
  background-color: #ff1a1a;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.9);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .html-btn{
    margin-left: 0rem;
  }
  
  .header {
    min-height: 250px;
  }

  .profile-img {
    width: 200px;
  }

  .project-image {
    width: 100%;
    height: auto;
  }

  .company-image, .education-image {
    width: 100%;
    height: auto;
  }

  .proj-desc-text{
    padding-top: 1rem;
  }
}