/*Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Body */
body.dark-mode {
  font-family: 'Open Sans', sans-serif;

  background: linear-gradient(to bottom, #12173c, #000000); /* Azul oscuro a negro */
  color: #ffffff;
  min-height: 100vh;
  margin: 0;
}


body{
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #eff1ff, #ffffff);
    color: #000000;
    min-height: 100vh;
    margin: 0;
}

body:not(.dark-mode) .btn-outline-light {
  color: #000;
  border-color: #717171;
  background-color: transparent;
}


body:not(.dark-mode) .btn-outline-light:hover {
  color: #fff;
  border-color: #fff;
  background-color: #12173c; 
}

/* Icono de la luna para el modo oscuro */
body.dark-mode #theme-icon {
  content: "\f186";
}

.fa-moon, .fa-sun::before{
  color: #ffffff;
}

/* Evitar anchuras fijas */
.container {
  width: 100%;
  max-width: 100%; 
}

/* Evitar imágenes que no se adapten al tamaño de pantalla */
img {
  max-width: 100%;
  height: auto;
}

/* Contenedor principal */
.wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Menú navegación */
.button-style{
    color: white;
}
.button-style:hover{
    color: #4056fb;
}

.button-style:active{
    color: #8e72ff;
}

.floating-menu {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1030;
  }

.option-nav{
    font-size: 14px;
}

.navbar-color{
    background-color: #12173c;
    padding: 0px 14px;
}

/* Profile */
.hero-content{
    width: 100vh;
    height: 300px;

    padding-top: 200px;
    padding-bottom: 150px;
    padding-left: 100px;
    margin-bottom: 100px;
}

.img-profile{
    width: 100px;
    height: 100px;
}

.img-profile img{
    width: 100%;
    height: auto;
}


/* Imagen de proyectos */
.image-container {
    width: 330px;
    height: 250px;
    overflow: hidden;
    position: relative;
  }

  .image-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
  }
  
  .image-container:hover img {
    transform: scale(1.05);
  }

  /* Estilo general de la línea de tiempo */
.timeline {
    position: relative;
    margin: 2rem auto;
    padding: 1rem 0;
    border-left: 2px solid #232a62;
    width: 90%;
    max-width: 1000px;
  }
  
  /* Elemento de cada hito */
  .timeline-item {
    position: relative;
    margin: 2rem 0;
    padding-left: 2rem;
  }
  
  /* Punto de cada hito */
  .timeline-dot {
    position: absolute;
    top: 0;
    left: -7px;
    width: 12px;
    height: 12px;
    background-color: #ffc800;

    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
  
  /* Contenido de los hitos */
  .timeline-content {
    border-radius: 5px;
  }
  
  .timeline-content h4 {
    margin: 0 0 0.5rem;
    color: #ffc800;
    font-size: 1rem;
  }
  
  .timeline-content p {
    margin: 0;
    font-size: 0.8rem;

  }

/* Tarjeta */
.border-card {
  border-width: 1px;
  border-color: rgb(120, 120, 120);
  border-style: solid;
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
  width: 100%; 
  max-width: 350px;
  margin: 0 auto;
}

.border-card:hover {
  border-color: #1d234b;
}

.border-card:active {
  border-color: #12173c;
}

/* Contenedor de la imagen */
.image-container {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.image-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Iconos y textos */
.software {
  font-size: 12px;
  white-space: nowrap;
}

/* Mobile (310px a 450px) */
@media (min-width: 310px){
  body {
      font-size: 14px;
  }

  .header {
      margin-top: 10px;
  }

  .content {
      padding: 10px;
  }

  img {
      width: 100%;
      height: auto;
  }


  /*Hero Content */
  .hero-content {
    padding: 60px;
    margin-top: 30px;
    margin-bottom: 140px;
  }

  .hero-content .align-items-center {
    flex-direction: column;
    text-align: center;
  }

  .img-profile {
    width: 80px;
    height: 80px;
  }

  .text-center {
    margin-top: 10px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content{
    width: 95%;
  }
  .hero-content p {
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 30px;
  }

  .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .btn-sm {
    font-size: 0.9rem; 
  }

}