


body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: linear-gradient(to right, black, black);
    color: #222;
    line-height: 1.6;
  }


  



  
  .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
   
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 1rem;
    animation: fadeIn 1s ease-in-out;
 background-image: linear-gradient(to bottom right,#320000,#5d2417,#8d4925);


  }

  p{
      background-color: rgba(0,0,0, .1);

  margin: auto;
  white-space: wrap;
  overflow: hidden;
  text-align: justify;
  }

  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  header h1 {
    margin-bottom: 0.2rem;
    font-size: 2rem;
    color: white;
  }
  
  header p {
    font-size: 0.9rem;
    color: white;
  }
  
  h2 {
    margin-top: 2rem;
    border-bottom: 2px solid white;
    padding-bottom: 0.3rem;
    color: white;
  }
  
  h3 {
    margin: 1rem 0 0.3rem;
    color: #c04848;
  }
  
  h3 span {
    font-size: 0.9rem;
    color: #777;
    font-weight: normal;
  }
  
  .job {
    /*background-color: #f9f9f9;*/
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
     backdrop-filter: blur(30px);
     color:white;
    /*box-shadow: 0px 0px 30px rgba(227,228,237,0.37);*/
    border:2px solid rgba(255, 255, 255, 0.18); /* Subtle border for depth */
  }
  
  .job:hover {
    transform: scale(1.01);

  }
  
  button.modal-btn {
     display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #f07241;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
  padding-top: 15px;
  }
  
  button.modal-btn:hover {
    background-color: #c04848;
  }
  
  ul {
    padding-left: 1.2rem;
  }
  
  ul li {
    margin-bottom: 0.5rem;
  }
  
  /* Modal styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
  }
  
  .close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
  }
  
  .close-btn:hover, .close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  .contact {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', sans-serif;
    max-width: 600px;
    margin: auto;
  }
  
  .contact h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
  }
  
  .contact ul {
    list-style: none;
    padding: 0;
  }
  
  .contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color:white;
  }
  
  .contact i {
    margin-right: 0.6rem;
    color: #0077b5; /* LinkedIn blue */
    width: 20px;
  }
  
  .contact a {
    color: #0077b5;
    text-decoration: none;
  }
  
  .contact a:hover {
    text-decoration: underline;
  }


  .btn-descargar-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #f07241;
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .btn-descargar-fixed i {
    margin-right: 10px;
    transition: transform 0.3s ease;
  }
  
  .btn-descargar-fixed:hover {
    background-color: #c04848;
    transform: scale(1.05);
  }
  
  .btn-descargar-fixed:hover i {
    transform: translateY(2px);
  }



  /* Preloader - fondo y centrado */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a; /* Fondo oscuro */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

/* Spinner circular */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animación del spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  }

  .github-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #f07241;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .github-button:hover {
    background-color:#c04848;
    transform: scale(1.05);
  }
  
  .github-icon {
    width: 20px;
    height: 20px;
    fill: white;
  }
  
  .educacion {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 16px;
    animation: fadeIn 1s ease-in;
  }
  
  .educacion h2 {
    font-size: 2rem;
    color: #480048;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.6s ease forwards;
  }
  
  .timeline {
    display: grid;
    gap: 1.5rem;
  }
  
  .card {
    background: #fff;
    border-left: 5px solid #f07241;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
  }
  
  .card:hover {
    transform: translateY(-5px);

  }
  
  .card h3 {
    margin: 0;
    color: #480048;
    font-size: 1.2rem;
  }
  
  .card p {
    margin: 0.3rem 0;
    color: #555;
  }
  
  .card .date {
    font-size: 0.9rem;
    color: #888;
  }
  
  .badge {
    display: inline-block;
    margin-top: 0.5rem;
    background: #f07241;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    animation: fadeIn 1.2s ease-in;
  }
  
  /* Animaciones */
  @keyframes fadeUp {
    0% {
      transform: translateY(20px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
  }
  
  @keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0 }
    to { transform: translateX(0); opacity: 1 }
  }


  
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1c1e; /* Dark, modern background for the splash screen */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0; /* Start transparent, for fade-in animation */
  animation: fadeInScreen 0.5s ease-out forwards;
}

#splash-icon {
  width: 80px; 
  height: 80px;
  opacity: 0;
  transform: scale(0.8);
  animation: popInIcon 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards; /* Starts after screen fade-in, with a slight bounce effect */
  margin-bottom: 20px;
}

#splash-text {
  color: #e0e0e0; /* Light text color for contrast against dark background */
  font-size: 1.2em;
  font-weight: 300;
  opacity: 0;
  animation: fadeInText 0.8s ease-out 1s forwards; /* Starts after icon animation begins */
}

/* Keyframe Animations */
@keyframes fadeInScreen {
  to {
      opacity: 1;
  }
}

@keyframes popInIcon {
  0% {
      opacity: 0;
      transform: scale(0.7);
  }
  70% {
      opacity: 1;
      transform: scale(1.05);
  }
  100% {
      opacity: 1;
      transform: scale(1);
  }
}

@keyframes fadeInText {
  to {
      opacity: 1;
  }
}

/* Class added by JavaScript to trigger fade-out */
#splash-screen.hidden {
  animation: fadeOutScreen 0.7s ease-in forwards;
}

@keyframes fadeOutScreen {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
      visibility: hidden; /* Hide after fading out to prevent interaction */
  }
}




.business-card {
    /*background: linear-gradient(135deg, #2C3E50, #4A6B8A); /* Dark gradient background */
    color: #ECF0F1; /* Light text color */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 900px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(30px);
    box-shadow: 0px 0px 30px rgba(227,228,237,0.37);
    border:2px solid rgba(255, 255, 255, 0.18); /* Subtle border for depth */
}



@media screen and (max-width: 800px) {
 
    .business-card {
      width: 100%;
    }
  }




.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    padding: 30px 20px;
    text-align: center;
    background-color: rgba(0,0,0,0.1); /* Slightly darker header */
}

.profile-pic-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px auto;
    border: 4px solid #1ABC9C; /* Accent color border */
    box-shadow: 0 0 15px rgba(26, 188, 156, 0.5);
}

.profile-pic {
    width: 700px;
    height: 900px;
    object-fit: cover;
}

.card-header h1 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
    color: #FFFFFF;
}

.card-header .title {
    font-size: 1em;
    font-weight: 300;
    color: #BDC3C7; /* Lighter grey for title */
    margin-top: 5px;
}

.card-body {
    padding: 25px 30px;
}

.card-body h2 {
    font-size: 1.3em;
    font-weight: 600;
    color: #1ABC9C; /* Accent color for headings */
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(236, 240, 241, 0.2);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.contact-list li .icon {
    color: #1ABC9C; /* Accent color for icons */
    font-size: 1.2em;
    margin-right: 15px;
    width: 20px; /* Ensure icons align */
    text-align: center;
}

.contact-list li a,
.contact-list li span {
    color: #ECF0F1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list li a:hover {
    color: #1ABC9C; /* Accent color on hover */
    text-decoration: underline;
}

.card-footer {
    background-color: rgba(0,0,0,0.2); /* Slightly darker footer */
    padding: 15px;
    text-align: center;
    font-size: 0.8em;
    color: #BDC3C7;
}

 .job-glosary {
      display: flex;
      border: 1px solid #ddd;
      color:white;
      border-radius: 8px;
      overflow: hidden;
      max-width: 900px;
      max-height: 400px;
      margin: auto;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
     padding: 20px;
     backdrop-filter: blur(30px);
    box-shadow: 0px 0px 30px rgba(227,228,237,0.37);
    border:2px solid rgba(255, 255, 255, 0.18); /* Subtle border for depth */
    }

    .job-texto {
     display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    }

    .job-img {
     display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
      
    }

    .job-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
   display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    }



    @media screen and (max-width: 700px){
      .job {
        flex-direction: column;
      }

      .job-img {
        height: 200px;
      }
      .business-card{
            width: 350px;
      }
    }

    i{
      color: white;
    }

    p{
         font-family: Helvetica, Verdana, sans-serif;
    }




.proveedores{
  width: 90px;
  height: 90px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ancla{
  padding: 10px 20px;
  background-color:#f07241;;
  color: white;
  border: none;
  border-radius: 5px;
 
 display: grid; /* Enables CSS Grid */
margin: 0 auto; /* Centra el botón dentro de un contenedor en bloque */
  display: block; /* Necesario para que el margen automático funcione */
  text-align: center;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
text-decoration: underline;
scroll-behavior: smooth;

}
#ancla:hover {
  background-color: #c04848;
}
#ancla:active {
  background-color: #c04848;
}




    .page-content {
      max-width: 900px;
      padding: 2rem;
      text-align: center;
    }

    /* Overlay de indicación */
    .rotate-overlay {
      position: fixed;
      inset: 0; /* top/right/bottom/left = 0 */
      display: none; /* por defecto no se muestra */
      align-items: center;
      justify-content: center;
      background: rgba(5,10,25,0.75);
      z-index: 9999;
      padding: 1.5rem;
      box-sizing: border-box;
    }

    .rotate-card {
      max-width: 420px;
      width: 100%;
      background: linear-gradient(180deg,#ffffff, #f3f7ff);
      border-radius: 14px;
      padding: 1.25rem 1.25rem;
      box-shadow: 0 10px 30px rgba(2,10,30,0.45);
      text-align: center;
      color: #05203a;
      transform: translateY(0);
      animation: pop 420ms ease;
    }

    .rotate-card h2 {
      margin: 0 0 .25rem 0;
      font-size: 1.15rem;
    }

    .rotate-card p {
      margin: 0 0 .75rem 0;
      font-size: 0.95rem;
      opacity: .92;
    }

    .rotate-icon {
      font-size: 2.6rem;
      display: block;
      margin-bottom: 0.5rem;
      line-height: 1;
    }

    .rotate-small {
      font-size: 0.82rem;
      opacity: .8;
    }

    @keyframes pop {
      from { transform: translateY(8px) scale(.99); opacity: 0; }
      to   { transform: translateY(0) scale(1); opacity: 1; }
    }

    /* Mostrar overlay cuando el dispositivo está en portrait y ancho razonable (móvil) */
    @media (orientation: portrait) and (max-width: 900px) {
      .rotate-overlay {
        display: flex;
      }
      /* opcional: prevenir scroll de fondo */
      html, body { height: 100%; overflow: hidden; }
    }

    /* Aumenta tamaño en pantallas muy pequeñas */
    @media (max-width: 360px) {
      .rotate-card { padding: 1rem; border-radius: 12px; }
      .rotate-icon { font-size: 2.2rem; }
    }

    /* Accesibilidad: botón de cerrar (oculta temporalmente la capa para pruebas) */
    .close-btn {
      background: transparent;
      border: none;
      color: #0b2545;
      font-weight: 600;
      padding: .35rem .6rem;
      border-radius: 8px;
      cursor: pointer;
      margin-top: .6rem;
      display: inline-block;
    }
    .close-btn:focus { outline: 3px solid rgba(3, 102, 214, .25); outline-offset: 2px; }


    .progress-bar{
      position: fixed;
      width: 100%;
      height: 10px;
    }

    .progress{
      width: 0%;
      height: 100%;
      background-color: red;
    }




    


.context {
    width: 100%;
    position: absolute;
    top:100%;
    
}

.context h1{
    text-align: center;
    color: #fff;
    font-size: 800px;
}


.area{
  
    width: 100%;
    height: 800px;
    
   
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}