/* Estilos para secciones */
section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-bottom: 2px solid #e9ecef;
}

h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-left: 4px solid #3498db;
  padding-left: 0.75rem;
}

/* Estilos específicos para la sección de Skills */
#skills ul {
  columns: 2;
  list-style-type: none;
  padding-left: 0;
}

#skills li {
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: #f8f9fa;
  border-radius: 4px;
  display: inline-block;
}
body {
  color: #343a40;
  background-color: #313131;
}

h1,
h2,
h4,
h5,
h6 {
  color: #28a745
}

h3 {
  font-size: 21px;
  color: #41ac11;
}

.experience-item {
  margin-bottom: 30px
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px
}

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

.btn-download {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000
}

#imageContainer {
  width: 100vw;
  height: 100vh;
  opacity: 0.2;
  position: absolute;
  z-index: 0;
  top: 0;
}
#imageContainer img {
  display: block;
  position: fixed;
  width: 100vw;
  height: 100vh;
}

.container {
  max-width: 800px;
  margin: 50px auto;
  border-radius: 30px;
  padding: 45px;
  z-index: 2;
  position: sticky;
  background-color: #f8f9fa;
}
/* Estilos generales para el botón */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}



/* Ocultar el texto del botón en móviles */
@media (max-width: 768px) {
  .btn-download {
    padding: 10px;
    font-size: 0; /* Ocultar texto */
  }

  .btn-download::before {
    content: "CV"; 
    font-size: 16px; /* Ajustar tamaño del ícono */
    margin-right: 0; /* Eliminar margen */
  }
}
@media print {
    .no-imprimir
    {
        display: none !important;
    }
  }

/* Para ExperienceItem */
#experience .experience-item:not(:last-child) {
  border-bottom: gray 1px dashed;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

/* Para PortfolioItem */
.port-item:not(:last-child) {
  border-bottom: gray 1px dashed;
  padding-bottom: 20px;
  margin-bottom: 20px !important;
}

.port-item strong {
      color: grey;
}


.badge {
  margin-bottom: 5px;
}
@media (max-width: 768px) {
 .container {
    max-width: 100vw!important;
    padding: 45px 0!important;
  }
}

 .port-item-tech .badge {
    transition: all 0.2s ease;
    padding: 0.5em 0.8em;
    /* Fuerza contraste de color */
    --bs-bg-opacity: 1;
    border: 1px solid rgba(0,0,0,0.1);
  }
  
  /* Colores oscuros - texto blanco */
  .badge.bg-dark,
  .badge.bg-primary,
  .badge.bg-success,
  .badge.bg-danger,
  .badge.bg-warning,
  .badge.bg-info {
    color: white !important;
  }
  
  /* Colores claros - texto oscuro */
  .badge.bg-light,
  .badge.bg-secondary {
    color: white !important;
  }