html {
  scroll-behavior: smooth;
}

/* Body y Layout */

header {
  position: fixed;        /* se mantiene arriba al hacer scroll */
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #0f0c29, #302b63, #24243e);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
  z-index: 1000;
  font-family: 'Press Start 2P', cursive; /* Fuente arcade de Google Fonts */
}

header .logo h1 {
  font-family: "Press Start 2P", cursive;
  font-weight: 900;
  margin: 0;
  font-size: 1.5em;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0px;
    padding: 0;
    gap: 10px;
    flex-wrap: wrap;
}

header nav ul li a {
  color: #0ff;  /* estilo arcade suave */
  text-decoration: none;
  font-family: "Press Start 2P", monospace;
  font-size: 0.8em;
  transition: color 0.2s;
}

header nav ul li a:hover {
  color: #ff0;
}

body {
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 120px;
  background: linear-gradient(135deg, #2E2E2E, #29053d);
  font-family: "Press Start 2P", sans-serif;
}

/* Presentación */
.presentacion-card {
    background: #c8ebe9;
    padding: 20px;
    border-radius: 12px;
    /* Borde degradado hacia el fondo */
    border: 5px solid transparent;
    border-image: linear-gradient(45deg, #ff00ff, #00ffff);
    border-image-slice: 1;
    box-shadow: 5 10px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    /* Para suavizar transición hacia el fondo si el color del body es diferente */
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2), 0 0 30px rgba(0, 255, 255, 0.2);
}

.presentacion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 20px rgba(0,0,0,0.2);
}

/* Foto  */

.perfil-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra horizontalmente */
  text-align: center;  /* centra el texto también */
}


.perfil-foto {
  width: 20%;
  height: 20%;
  border: 6px solid #00ffcc; /* color neón arcade */
  image-rendering: pixelated; /* mantiene ese look pixel */
  border-radius: 8px; /* un leve redondeo, para no hacerlo toscamente cuadrado */
  box-shadow: 0 0 15px #00ffcc, 0 0 30px #0088ff; /* brillo tipo arcade */
  background-color: #11111100; /* contraste si el fondo es claro */
}

.presentacion, h1 {
  text-align: center;
}
.presentacion-card, h1 {
    font-size: 1.5em;
    color: #00ffcc;
    margin-bottom: 10px;
}

.presentacion-card, h3 {
    font-size: 18px;
    color: #0077cc;
    margin-bottom: 10px;
}


.presentacion-card p,
.presentacion-card ul {
    font-size: 14px;
    color: #10130fe5;
    line-height: 1.5;
}

/* Experiencia */
#Experiencia, h2 {
    padding: 0px;
    color: #00ffcc;
    text-align: center;
}

#Experiencia h2 {
  color: #0ff;  /* estilo arcade suave */
  text-decoration: none;
  font-family: "Press Start 2P", monospace;
  font-size: 1.5em;
  transition: color 0.2s;
}

.experiencia-card {
    background: #c8ebe9;
    padding: 20px;
    margin: 10px;
    border-radius: 12px;
    /* Borde degradado hacia el fondo */
    border: 5px solid transparent;
    border-image: linear-gradient(45deg, #ff00ff, #00ffff);
    border-image-slice: 1;
    box-shadow: 5 10px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    /* Para suavizar transición hacia el fondo si el color del body es diferente */
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2), 0 0 30px rgba(0, 255, 255, 0.2);
}

.experiencia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.experiencia-card h3 {
    font-size: 18px;
    color: #0077cc;
    margin-bottom: 5px;
}

.experiencia-card h4 {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.experiencia-card p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* Párrafos y listas */
p, li {
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  #Presentacion, #Experiencia {
    width: 100%;
    margin-bottom: 20px;
  }
}


#Planificaciones {
  background: #111;
  color: #0f0;
  font-family: 'Press Start 2P', monospace; /* tip arcade */
  text-align: center;
  box-shadow: 0 0 10px #0f0, 0 0 20px #0f0 inset;
}

#Planificaciones h2 {
    font-family: "Press Start 2P", cursive; /* fuente arcade */
    font-size: 20px;
    color: rgb(255, 251, 0);
    margin-bottom: 20px;
    text-shadow: 2px 2px rgb(72, 255, 0);
}

#MenuPlanificaciones ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
}

#MenuPlanificaciones a {
  color: #ff0;
  text-decoration: none;
  font-weight: bold;
}

#MenuPlanificaciones a:hover {
  text-decoration: underline;
}

#Repositorio {
  background: #222;
  color: #0ff;
  font-family: 'Press Start 2P', monospace;
  text-align: center;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 15px #0ff, 0 0 30px #0ff inset;
  margin: 20px auto;
}

#Repositorio h1 {
    font-family: "Press Start 2P", cursive; /* fuente arcade */
    font-size: 20px;
    color: #0ff;
    margin-bottom: 20px;
    text-shadow: 2px 2px #f0f;
}

#Repositorio a {
    display: inline-block;
    margin: 10px;
    padding: 12px 20px;
    font-family: "Press Start 2P", cursive;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(145deg, #ff00ff, #00ffff);
    border: 2px solid #0ff;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 10px #0ff, inset 0 0 5px #f0f;
    transition: all 0.2s ease-in-out;
}

#Repositorio a:hover {
    transform: scale(1.1);
    background: linear-gradient(145deg, #00ffff, #ff00ff);
    box-shadow: 0 0 20px #ff0, inset 0 0 8px #0ff;
    color: #ff0;
}

#Repositorio p {
    color: #fff;
    text-align: center;
    font-family: "Press Start 2P", cursive; /* fuente arcade */
}

#Certificaciones {
    padding: 40px;
    background-color: #f0f0f0;
    text-align: center;
}

#Certificaciones, h2 {
    font-family: "Press Start 2P", cursive; /* fuente arcade */
    font-size: 20px;
    color: #0ff;
    margin-bottom: 20px;
    text-shadow: 2px 2px #f0f;
}

.certificado {
    display: inline-block;
    background: rgb(255, 255, 255);
    border-radius: 50px;
    padding: 20px;
    margin: 10px;
    width: 500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.certificado:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.certificado h3 {
    font-size: 16px;
    color: #0077cc;
    margin-bottom: 10px;
}

.certificado p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.certificado a {
    display: inline-block;
    padding: 8px 12px;
    background-color: #0077cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.certificado a:hover {
    background-color: #005fa3;
}

/* Contenedor de tarjetas */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Estilo base de tarjetas */
.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-top: 0;
  color: #333;
}

.card p {
  margin: 5px 0;
  color: #555;
}

.card .estado {
  font-style: italic;
  color: #0066cc;
}


footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-family: "Open Sans", sans-serif;
  margin-top: 40px;
  border-top: 3px solid #0ff; /* toque arcade sutil */
}

footer a {
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

footer a:hover {
  color: #ff0; /* efecto arcade al pasar el mouse */
}

footer .contacto p {
  margin: 5px 0;
}

footer .copyright {
  margin-top: 15px;
  font-size: 0.8em;
  color: #aaa;
}


/* Sección de Proyectos */
#proyectos {
  text-align: center;
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #fff;
}

#proyectos h2 {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #00bcd4; /* Celeste tecnológico */
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.5);
}

/* Galería */
/* Galería */
.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cada proyecto */
.proyecto {
  flex: 1 1 250px; /* cada tarjeta ocupa mínimo 250px y se adapta */
  max-width: 300px;
  text-align: center;
  background-color: #111;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proyecto:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
}

/* Imagen circular o redondeada */
.proyecto img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 50%; /* podés cambiar a 20px si querés bordes suaves */
  border: 3px solid #00bcd4;
  margin-bottom: 15px;
}

/* Descripción */
.proyecto p {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
}

/* === Zona Arcade Educativa === */
.arcade-section {
  background: radial-gradient(circle at top, #0a0a0f 0%, #050507 100%);
  color: #e6e6e6;
  text-align: center;
  padding: 60px 20px;
  border-top: 2px solid #6a00ff;
  border-bottom: 2px solid #6a00ff;
}

.arcade-section h2 {
  font-family: 'Press Start 2P', cursive; /* Google Font estilo pixel */
  color: #00ffcc;
  text-shadow: 0 0 8px #00ffaa;
  font-size: 1.3rem;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.game-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.game-card {
  background: rgba(20, 20, 30, 0.9);
  border: 2px solid #6a00ff;
  border-radius: 20px;
  width: 300px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #00ffaa;
}

.game-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.game-card h3 {
  color: #00ffcc;
  font-family: 'Press Start 2P', sans-serif;
  margin-bottom: 10px;
}

.game-card p {
  font-size: 0.9rem;
  color: #d0d0d0;
  margin-bottom: 15px;
  line-height: 1.4;
}

.game-card a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #6a00ff, #00ffaa);
  padding: 8px 14px;
  border-radius: 10px;
  font-family: 'Press Start 2P', sans-serif;
  transition: background 0.3s ease;
}

.game-card a:hover {
  background: linear-gradient(90deg, #00ffaa, #6a00ff);
}


@media (max-width: 768px) {
    body {
        flex-direction: column; /* Secciones una debajo de otra */
    }

    section {
        width: 95% !important;  /* Ocupa casi todo el ancho del celular */
        max-width: 600px;       /* Evita que se estire demasiado */
        margin: 10px auto;      /* Centra la sección */
        padding: 15px;
    }

    nav ul {
        flex-direction: column; /* Menú vertical en móvil */
        text-align: center;
    }

    nav li {
        margin: 5px 0;
    }

    .presentacion-card,
    .game-card,
    .experiencia-card,
    .certificacion-card,
    .estudio-card {
        width: 100% !important; /* Tarjetas ocupan todo el ancho */
        margin: 10px 0;
    }

    img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}

.language-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 20px;
}

.language-switcher .lang {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-weight: 600;
  color: #f5f5f5;
  background: #222;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.language-switcher .lang img {
  width: 20px;
  height: auto;
}

.language-switcher .lang:hover {
  background: #007bff;
  color: #fff;
}

/* Fuentes arcade */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Press+Start+2P&display=swap');



