@font-face {
    font-family: 'BR Segma';
    src: url('br-segma-cdnfonts/BRSegma-Regular-BF654d990a3279a.otf') format('woff'),
}  

html { 
  height: 100%;
  margin: 0;
}

nav {
  background: #020024;
  background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 0%, rgba(0, 212, 255, 1) 100%);
}

body {
  height: 100%;
  margin: 0;
  font-family: 'BR Segma', sans-serif;                                                
}

footer {
  padding: 40px 5% 0 5%;
  color: white;
  text-align: center;
  position: relative;
  -webkit-box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
  background: #020024;
  background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 0%, rgba(0, 212, 255, 1) 100%);
}

.btn-up {
  opacity: 0;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: 2px solid #0d6efd;
  background-color: #0d6efd;
  background: #0d6efd;
  color: white;
  outline: none;
  padding: 15px;
  border-radius: 50%;
  transition: 0.5s;  
}

.btn-up:hover {
  border: 2px solid #0d6efd;
  background-color: white;
  background: white;
  color: #0d6efd;
}

.nav-link {
    color: white;    
}

.nav-link:hover {
    color: black;    
}

.text {
  font-size: smaller;
}

.animation-navbar {
  animation-duration: 1s;
  animation-name: navbar-slide-in;
}

.animation-pulse {
  animation: pulse infinite;
  animation-duration: 4s;
}

.animation-name {
  text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #10cbff 0%,
    #1127eb 33%,
    #ff1361 67%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 4s linear infinite;
  display: inline-block;
}

.animation-slide-right {
  animation-duration: 2s;
  animation-name: slide-in-right;
}

.animation-slide-left {
  animation-duration: 2s;
  animation-name: slide-in-left;
}

.animation-fadein {
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
}

.animation-one {
    animation-delay: 2s;
}

.animation-two {
    animation-delay: 3s;
}

.animation-three {
    animation-delay: 4s;
}

.animation-four {
    animation-delay: 5s;
}

.hover-underline {
  font-size: 100px;
  color: black;
  position: relative;
  display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #a9a8a8, #202020);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -5px;
  transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}

.project-header {
  color: blue;
}

.project-lead {
  color: cadetblue;
}

.project-link {
  margin-bottom: 50px;
}

.card-hover {
  transition: 1s;
}

.card-hover:hover {
  background-color: var(--bs-primary-bg-subtle) !important;
}

@keyframes slide-in-right {
  from {
    translate: 150vw 0;
  }

  to {
    translate: 0 0;
  }
}

@keyframes slide-in-left {
  from {
    translate: -150vw 0;
  }

  to {
    translate: 0 0;
  }
}

@keyframes navbar-slide-in {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0%);
  }
}


@keyframes pulse {
  0% {
    transform: translateY(0%);
  }

  50% {
    transform: translateY(2.5%);
  }

  100% {
    transform: translateY(0%);
  }  
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0;
  }

  to { 
    opacity: 1;
  }
}

.contenedor {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.hero {
      background: linear-gradient(135deg, #172554, #0d6efd);
      color: white;
      padding: 5rem 0;
    }

    .stack-card {
      height: 100%;
      border: 0;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .stack-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
    }

    .technology {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem;
      border-radius: 0.5rem;
      background: #f8f9fa;
    }

    .technology i {
      font-size: 2rem;
    }

:root {
  --header-dark: #172554;
  --header-blue: #2563eb;
  --header-cyan: #06b6d4;
  --text-muted: #cbd5e1;
}

.page-header {
  position: relative;
  overflow: hidden;
  padding: 5rem 5rem 14rem 5rem;
  color: #ffffff;
  background:
    linear-gradient(
      115deg,
      var(--header-dark) 0%,
      var(--header-blue) 65%,
      var(--header-cyan) 100%
    );
}

/* Capa decorativa sutil */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 255, 255, 0.3),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(255, 255, 255, 0.18),
      transparent 32%
    );
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header__eyebrow {
  margin: 0 0 0.45rem;
  color: #bfdbfe;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-header__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-header__description {
  max-width: 650px;
  margin: 0.85rem auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 576px) {
  .page-header {
    padding: 2.75rem 1rem 3.25rem;
  }

  .page-header__description {
    font-size: 0.9rem;
  }
}


    .project-card {
      height: 100%;
      border: 0;
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .project-card:hover {
      transform: translateY(-7px);
      box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.15) !important;
    }

    .project-image {
      height: 190px;
      width: 100%;
      object-fit: cover;
      background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    }

    .project-placeholder {
      height: 190px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #2563eb;
      font-size: 3rem;
      background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    }

    .technology-badge {
      background-color: #eaf2ff;
      color: #1d4ed8;
      font-weight: 500;
    }    


    .contact-section {
      background-color: #f4f7fb;
    }

    .contact-card {
      border: 0;
      border-radius: 1rem;
    }

    .contact-icon {
      width: 44px;
      height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #2563eb;
      background-color: #dbeafe;
      border-radius: 50%;
      font-size: 1.25rem;
    }

    .form-control,
    .form-control:focus {
      border-radius: 0.6rem;
    }

    .form-control:focus {
      border-color: #2563eb;
      box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
    }

    .btn-contact {
      background-color: #2563eb;
      border-color: #2563eb;
      color: white;
    }

    .btn-contact:hover {
      background-color: #1d4ed8;
      border-color: #1d4ed8;
      color: white;
    }

    .article-page {
      background-color: #f4f7fb;
    }

    .article-card {
      max-width: 850px;
      margin: 0 auto;
      border: 0;
      border-radius: 1rem;
    }

    .article-content {
      color: #334155;
      font-size: 1.08rem;
      line-height: 1.85;
    }

    .article-content h2 {
      margin-top: 2.75rem;
      margin-bottom: 1rem;
      color: #172554;
      font-size: 1.65rem;
      font-weight: 700;
    }

    .article-content h3 {
      margin-top: 2rem;
      margin-bottom: 0.75rem;
      color: #1e3a8a;
      font-size: 1.3rem;
      font-weight: 600;
    }

    .article-content p {
      margin-bottom: 1.35rem;
    }

    .article-content ul,
    .article-content ol {
      margin-bottom: 1.5rem;
    }

    .article-content blockquote {
      margin: 2rem 0;
      padding: 1rem 1.5rem;
      color: #475569;
      border-left: 4px solid #2563eb;
      background-color: #eff6ff;
      font-style: italic;
    }

    .article-date {
      color: #64748b;
      font-size: 0.9rem;
    }

    .article-share a {
      width: 38px;
      height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }

    @media (max-width: 576px) {
      .article-content {
        font-size: 1rem;
        line-height: 1.75;
      }

      .article-card .card-body {
        padding: 1.5rem !important;
      }
    }    