/* =========== PANTALLA PRINCIPAL ===================== */

body {
  background-color: #000;
  color: #00ff66;
  font-family: 'Courier New', monospace;
  margin: 0;
  padding: 0;
  height: 100vh;
  scroll-behavior: smooth;
}


.pantalla {
  width: 90%;
  max-width: 900px;
  border: 2px solid #00ff66;
  box-shadow: 0 0 15px #00ff66;
  padding: 20px;
  background: radial-gradient(circle at center, #001800 0%, #000 80%);
  margin: 40px auto;
  display: none; 
}


.activa,
:target {
  display: block;
}


.cabecera {
  text-align: center;
}
h1 {
  font-size: 2rem;
  text-shadow: 0 0 8px #00ff66;
}
.subtitulo {
  color: #66ffb3;
  font-size: 0.9rem;
}


.menu {
  display: flex;
  flex-wrap: wrap;              
  justify-content: center;      
  align-items: center;
  gap: 25px;                    
  margin-top: 40px;
}

.opcion {
  border: 2px solid #00ff66;
  padding: 20px 30px;           
  text-align: center;
  text-decoration: none;
  color: #00ff66;
  background: rgba(0, 30, 0, 0.6);
  transition: all 0.3s ease;
  border-radius: 10px;          
  flex: 1 1 200px;              
  max-width: 250px;
}

.opcion:hover {
  background-color: #00aa44;
  color: #00ff66;
  box-shadow: 0 0 10px #00ff66;
  text-shadow: 0 0 10px #00ff66;
  transform: scale(1.05);

}



.volver {
  display: inline-block;
  text-decoration: none;
  color: #00ff66;
  border: 1px solid #00ff66;
  padding: 6px 10px;
  margin-top: 20px;
  transition: all 0.3s ease;
}
.volver:hover {
  background-color: #00ff66;
  color: #000;
}


.pie {
  text-align: center;
  border-top: 1px solid #00ff66;
  margin-top: 30px;
  padding-top: 10px;
  color: #66ffb3;
}



/* Textareas y botones globales */
textarea {
  width: 100%;
  height: 200px;
  background: #000;
  color: #00ff66;
  border: 2px solid #00ff66;
  font-family: 'Courier New', monospace;
  padding: 10px;
  resize: vertical;
}

button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #00ff66;
  color: #000;
  border: none;
  cursor: pointer;
  font-family: 'Courier New', monospace;
}
button:hover { 
  box-shadow: 0 0 10px #00ff66; 
  background: #00ff66;
}



/* ================ SUBSECCIÓN RED DE ARTICULOS =============== */


.lista-articulos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.articulo {
  border: 1px solid #00ff66;
  padding: 15px;
  background: rgba(0, 20, 0, 0.8);
  box-shadow: 0 0 10px #00ff66;
}

.articulo h3 {
  color: #66ffb3;
  margin-bottom: 10px;
}

.articulo p {
  color: #e0e0e0;
  font-size: 0.9rem;
}

.imagen-articulo {
  text-align: center;
  margin: 15px 0 20px 0;
}

.imagen-articulo img {
  width: 100%;
  max-width: 200px;
  border: 2px solid #00ff66;
  box-shadow: 0 0 15px #00ff66;
  border-radius: 8px;
}




/* =============== SUBSECCIÓN RED DE PROYECTOS =========== */


.red-page {
  background: radial-gradient(circle at center, #000 60%, #001122 100%);
  color: #00ffff;
  text-align: center;
  padding: 40px;
}

.red-page h1 {
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
}

.lista-proyectos {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.lista-proyectos li {
  margin: 15px 0;
}

.red-page .proyecto {
  display: inline-block;
  padding: 12px 25px;
  border: 1px solid #00ffff;
  border-radius: 8px;
  text-decoration: none;
  color: #00ffff;
  font-family: "Courier New", monospace;
  transition: all 0.3s ease;
}

.red-page .proyecto:hover {
  background-color: #00ffff;
  color: #000;
  box-shadow: 0 0 10px #00ffff;
}

.red-page .volver {
  display: inline-block;
  margin-top: 30px;
  color: #00ffff;
  text-decoration: none;
  border: 1px solid #00ffff;
  padding: 8px 15px;
  border-radius: 5px;
  transition: 0.3s;
}

.red-page .volver:hover {
  background-color: #00ffff;
  color: #000;
}

@keyframes blink {
  0%, 50% { opacity: 1;}
  51%, 100% { opacity: 0;}
}

.cursor-blink{
  animation: blink 1.5s infinite;
}

.seccion{
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1;}
}


