/*PAGINA FONDO-----------------------------------------------------------------------------------------------------*/

body {
  margin: 0;
  background-image: url("../imagenes/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;
}


/*=========================== 
           BANNER
===========================*/

#banner {
  height: 270px;
  background-image: url("../imagenes/banners/bannerblog.jpg") ;

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  text-align: center;
  padding-top: 40px;
  position: relative;
  overflow: hidden;
}

/*=========================== 
           BOTONERA
===========================*/

#menu {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.menu-btn {
  padding: 8px 16px;
  border: 2px solid rgba(210, 175, 129, 1.0);
  box-shadow: 0px 0px 10px  rgba(210, 175, 129, 1.0);
  background: rgba(24, 20, 16, 1.6);
  text-decoration: none;
  font-family: "New Rocker", system-ui;
  font-size: 20px;
  color: rgba(210, 175, 129, 1.0);
  transition: all 0.2s ease;
}

.menu-btn:hover {
  filter:
    drop-shadow(0 0 6px rgba(210, 175, 129, 0.4))
    drop-shadow(0 0 12px rgba(255, 147, 0, 0.25));
}








#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);
}




















/* BLOGS-----------------------------------------------------------------------------------------------------------------*/

.post {
  margin-top: 20px;
  background: rgba(24, 20, 16, 1.6);
  border: 4px solid rgba(210, 175, 129, 1.0);
  border-radius: 10px 10px 0 0;
  padding: 20px;
  max-width: 600px;
  margin: 20px auto 40px auto;
  margin-bottom: 40px;
  box-shadow: 0 0 0px rgba(255, 0, 0, 0.3);
}

.post-title {
  border: 4px solid rgba(210, 175, 129, 1.0);
  border-radius: 10px 10px 0 0;
  padding: 10px;
  text-align: center;
  margin: -30px auto 15px auto;
  background: rgba(24, 20, 16, 1.6);
  font-family: "New Rocker", system-ui;
  color: rgba(210, 175, 129, 1.0);
  font-size: 25px;
  text-shadow: 0 0 0px red;
}

.post-date {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 15px;
}

.post-content p {
  font-family: system-ui;
  line-height: 1.6;
  color: #ddd;
}

.post-content img {
  max-width: 100%;
  display: block;
  margin: 15px auto;
  border: 1px solid #300;
}

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;
}
