@font-face {
  font-family: "Monocraft";
  src: url("../Fuentes/monocraft/Monocraft.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Monocraft", monospace;
  text-align: center;

  color: #ffffff;
  padding: 40px 20px;
  margin: 0;
  line-height: 1.6;
  background-color: #1e243c;
}

.topBar {
  background-color: #1e243c;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;

  /* AGREGA ESTO PARA IGUALAR AL CONTAINER: */
  padding-left: 3%;
  padding-right: 3%;

  /* Opcional: Si quieres que el texto no quede pegado arriba/abajo */
  padding-top: 10px;
  padding-bottom: 10px;
}

summary {
  color: #ffffff;
}

/* Enlaces */
a {
  color: #66b2ff; /* Azul claro para enlaces */
  text-decoration: none; /* Opcional: quitar subrayado */
}
a:hover {
  text-decoration: underline; /* Opcional: subrayar al pasar el ratón */
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 3%;
  padding-right: 3%;
  padding-top: 3%;
  background-color: #2a3b51;
}

header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.top-icons {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  justify-content: center; /* Centra los círculos */
  gap: 20px; /* Espacio entre los círculos */
}

/* círculo*/
.top-icons a {
  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%; /* Forma redonda */
  width: 50px; /* Ancho del círculo */
  height: 50px; /* Alto del círculo */

  background-color: #1e2a3a;

  text-decoration: none; /* Quita el subrayado*/
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* El icono dentro del círculo */
.top-icons i {
  color: #ffffff; /* Icono blanco*/
  font-size: 1.2em;
  margin: 0; /* IQuitamos el margen izquierdo*/
}

/* Efecto al pasar el ratón  */
.top-icons a:hover {
  transform: scale(1.1); /* Crece un poco */
  background-color: #2c3e50; /* Cambia  color */
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #2c3e50;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5em;
  margin: 10px 0;
  text-transform: uppercase;
}

h2 {
  font-size: 1.2em;
  font-weight: normal;
  margin: 0 0 20px 0;
  color: #a0b0c0;
  text-transform: uppercase;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 0.9em;
  color: #a0b0c0;
  border-top: 1px solid #34495e;
  padding-top: 15px;
}

.contact-info i {
  margin-right: 5px;
  color: #ffffff;
}

/* QR Section */
.qr-section {
  width: 100%; /* Fuerza a que ocupe todo el ancho y baje de línea */
  text-align: center; /* Centra la imagen horizontalmente */
  margin-top: 20px; /* Un poco de espacio por encima */
  padding-top: 20px; /* Espacio extra interno */
  border-top: 1px solid #34495e; /* Opcional: Una línea separadora elegante */
}

.qr-section img {
  max-width: 150px;
  height: auto;
}

/* Layout del contenido principal */
.resume-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.left-column {
  flex: 2;
  padding-right: 20px; /* Espacio extra dentro de la columna izquierda */
  border-right: 1px solid #34495e; /* Línea divisoria sutil */
}

.right-column {
  flex: 1;
  padding-left: 20px; /* Un poco de "aire" al inicio de la columna derecha */
}

section {
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.1em;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.section-title i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #1e2a3a; /* Fondo oscuro (el mismo del body) para contraste */
  color: #66b2ff; /* Color del icono (azul claro) */
  margin-right: 15px;
}

p {
  color: #a0b0c0;
  font-size: 0.95em;
}

/* Experiencia laboral */
.work-entry {
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.work-entry::before {
  content: "•";
  font-family: Arial, sans-serif;
  font-weight: normal;
  position: absolute;
  left: 0;
  top: 0px;
  font-size: 1.2em;
  color: #66b2ff;
}

.work-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.9em;
  color: #ffffff;
}

.work-role {
  font-weight: bold;
}

.work-company {
  color: #a0b0c0;
}

.work-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.work-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
  color: #a0b0c0;
  font-size: 0.9em;
}

.work-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a0b0c0;
}

/* Listas generales */
.tech-stack-list,
.soft-skills-list,
.projects-list,
.education-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-stack-list li,
.soft-skills-list li,
.projects-list li,
.education-list li {
  margin-bottom: 10px;
  color: #a0b0c0;
  font-size: 0.95em;
  border-bottom: 1px solid #34495e;
  padding-bottom: 5px;
}

/* Habilidades blandas */
.soft-skills-list li {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  border-bottom: none;
  background-color: #2c3e50;
  padding: 5px 10px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 0.85em;
}

/* Títulos de proyectos y educación */
.projects-list li h3,
.education-list li h3 {
  margin: 0 0 5px 0;
  color: #ffffff;
  font-size: 1em;
}

.education-list li span {
  display: block;
  font-size: 0.9em;
  color: #a0b0c0;
}

/* Idiomas */
.languages-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.languages-list li {
  margin-bottom: 15px;
}

.language-name {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 0.95em;
}

/* Barras de progreso */
.progress-bar {
  background-color: #2c3e50;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 5px;
}

.tech-stack-list li span {
  display: block;
  font-weight: bold;
  margin-bottom: 2px;
}

.progress {
  background-color: #66b2ff;
  height: 100%;
}

/* Software Icons */
.software-list.icons-row {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  gap: 20px;
}

.software-icon {
  height: 40px;
  width: 40px;
  font-size: 40px;
  fill: #66b2ff;
  color: #66b2ff;
  transition: transform 0.3s ease, fill 0.3s ease, color 0.3s ease;
}

.software-icon:hover {
  transform: scale(1.1);
  fill: #ffffff;
  color: #ffffff;
}

/* =========================================
   EFECTO PIXELADO Y TRANSICIÓN (NUEVO)
   ========================================= */

/* El contenedor de los píxeles (cubre toda la pantalla) */
.pixel_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999; /* Z-index muy alto para tapar todo */
  display: flex;
  pointer-events: none; /* Permite clickear a través cuando no hay pixeles */
}

.pixel_column {
  display: flex;
  flex-direction: column;
}

.pixel {
  width: 100%;
  /* He puesto negro, pero puedes poner #66b2ff si quieres pixeles azules */
  background: #0b111a;
  opacity: 0;
  transition: opacity 0.1s;
}

.pixel.active {
  opacity: 1;
}

img {
  height: 64px;
}
