/*PAGINA FONDO-----------------------------------------------------------------------------------------------------*/

body {
  margin: 0;
  background-image: url("fondo.jpg");
  background-size: 100%;
  background-repeat: repeat;
  background-attachment: fixed;
  background-position: center;
  color: white;
  font-family: monospace;
}

/*ESTILO DE TITULO*/
#Titulo {
  color: #4b0082;
  font-size: 60px;
  margin: 0;
  font-family: 'Nosifer';
  text-shadow: 0px -3px darkred,
  0 6px 0 #600;
}










#right-column {
  position: absolute;
  right: 1%;
  width: 20%;
  height: relative;

  background: #0a0a0a;
  border: 2px solid rgba(210, 175, 129, 1.0);
  box-sizing: border-box;
  font-family: "New Rocker", system-ui;
  color: rgba(210, 175, 129, 1.0);
}

#historial-header {
text-align: center;
font-size: 130%;
}

#history-list,
#history-list ul {
  list-style: none;
  padding-left: 15px;
  margin-left: 0;
}

#history-list li {
  margin: 6px 0;
}

/* ===== YEAR ===== */
.history-year {
  font-family: "New Rocker", system-ui;
  font-size: 18px;
  color: rgba(210, 175, 129, 1.0);
  letter-spacing: 1px;
  transition: 0.2s;
}

.history-year:hover {
  color: #ffffff;
  text-shadow: 0 0 5px rgba(210, 175, 129, 0.6);
}

/* ===== MONTH ===== */
.history-month {
  font-family: "New Rocker", system-ui;
  font-size: 16px;
  color: #c9a66b;
  margin-left: 5px;
  transition: 0.2s;
}

.history-month:hover {
  color: white;
}

/* ===== POSTS ===== */
.history-post {
  font-family: system-ui;
  font-size: 14px;
  color: rgba(210, 175, 129, 0.9);
  text-decoration: none;
  transition: 0.2s;
}

.history-post:hover {
  color: white;
  text-shadow: 0 0 3px rgba(210, 175, 129, 0.5);
}




















/* CUERPO-----------------------------------------------------------------------------------------------------------------*/

.cuerpo {
  margin-top: 20px;
  background: rgba(0, 0, 0, 1.6);
  border: 4px solid rgba(0, 255, 94, 1.0);
  border-radius: 10px 10px 0 0;
  padding: 10px;
  max-width: 1000px;
  margin: 20px auto 40px auto;
  margin-bottom: 40px;
  box-shadow: 0 0 0px rgba(5, 173, 67, 0.3);
}

.cuerpo-title {
  border: 4px solid rgba(5, 173, 67, 1.0);
  border-radius: 10px 10px 10px 10px;
  padding: 10px;
  text-align: center;
  margin: -30px auto 15px auto;
  background: rgba(0, 0, 0, 1.6);
  font-family: "New Rocker", system-ui;
  color: rgba(0, 255, 94, 1.0);
  font-size: 25px;
  text-shadow: 4px 4px 3px #03451b;
}

.cuerpo-date {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 15px;
}

.cuerpo-content p {
  font-family: system-ui;
  line-height: 1.6;
  color: #ddd;
}

.cuerpo-content img {
  max-width: 100%;
  display: block;
  margin: 15px auto;
  border: 1px solid #300;
}


/* CUERPO : texto inicial-----------------------------------------------------------------------------------------------------------------*/


.textoprincipal {
  
  font-size: 15px;
  
  font-weight: bold;
  color: #FAFAFA;
}

.nombresaga {
  
  font-size: 20px;
  text-shadow: 2px 2px  green;
  font-weight: bold;
  color: #FAFAFA;
  
}

.textosaga {
  
  font-size: 15px;
  font-weight: bold;
  color: #FAFAFA;
  
}

.listadosagatitulo{
  
    font-size: 18px;
  font-weight: bold;
  color: #FAFAFA;
  display: inline;
  
}

.listadosaga {
  
  font-size: 13px;
  font-weight: bold;
  color: #FAFAFA;
  
}


summary {
  color: rgba(210, 175, 129, 1.0);
  font-size: 15px;
  
}




.layout {
  min-height: 450px;
  display: flex;
  justify-content: center;
  padding: 50px 20px;
}

.cards {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 30px;
}

.card {
  min-height: 180px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  background: rgba(10, 10, 10, 0.9);
  border: 2px solid rgba(210, 175, 129, 1);
  box-shadow: 0 0 12px rgba(210, 175, 129, 0.35);

  color: rgba(210, 175, 129, 1);
  text-align: center;
  text-decoration: none;
  font-family: "New Rocker", system-ui;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.card p {
  margin: 0;
  font-family: system-ui;
  color: #ddd;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 22px rgba(255, 147, 0, 0.6);
  border-color: #fff;
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}




/*FOOTER*------------------------------------------------------*/

#footer {
  margin-top: 50px;
  padding: 5px;
  text-align: center;
  
  background: #0a0a0a;
  border-top: 2px solid rgba(210, 175, 129, 1.0);
  
  color: rgba(210, 175, 129, 1.0);
  font-family: "New Rocker", system-ui;
  font-size: 14px;
}
