
/*PAGINA INDEX-----------------------------------------------------------------------------------------------------*/

body {
  margin: 0;
  background-image: url("imagenes/fondo.jpg");
  background-size: 100%;
  background-repeat: no repeat;
  background-attachment: fixed;
  background-position: center;
  color: white;
  font-family: monospace;
}

/*=========================== 
           BANNER
===========================*/

#banner {
  height: 500%;
  aspect-ratio: 7 / 1;
  background-image: url("imagenes/banners/bannerhome.png") ;

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  text-align: center;
  padding-top: 10%;
  position: relative;
  overflow: hidden;
}

/*ESTILO DE TITULO*/
#Titulo {
  color: #4b0082;
  font-size: 60px;
  margin: 0;
  font-family: 'Nosifer';
  text-shadow: 0px -3px darkred,
  0 6px 0 #600;
}



/*ESTILO DE BOTONES*/

#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));
}


/*ESTILO NOTICIAS IMPORTANTES*/

#news {
  
  margin-top: 50px;
  width: 100%;
  background: rgba(24, 20, 16, 0.85);
  border-top: 3px solid rgba(210, 175, 129, 1.6);
  border-bottom: 3px solid rgba(210, 175, 129, 1.6);
  padding: 0px 0;
  
}

#news h2 {
  text-align: center;
  font-family: "New Rocker", system-ui;
  font-size: 40px ;
  color: rgba(210, 175, 129, 1.0);
  margin-top: 0px;
  margin-bottom: -13px;
  text-shadow: 0 0 0px rgba(210, 175, 129, 0.4);
}

#news p {
  text-align: center;
  font-size: 16px;
  font-family: "Noto Serif", serif;
  color: #ccc;
}



/*LAYOUT HOME----------------------------------------------------*/


#home-layout {
  display: flex;
  gap: 10px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
}

/* columnas -----*/
#left-column {
  width: 20%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* contenedores */
#left-column .side-box-props1,
#left-column .side-box-props2,
#left-column .side-box-props3 {
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  box-sizing: border-box;
  overflow: visible;
}

/* imágenes */
#left-column img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;

  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  transform-origin: center;
}

/* rotaciones base */
.side-box-props1 img { --rot: -3deg; }
.side-box-props2 img { --rot: 10deg; }
.side-box-props3 img { --rot: -7deg; }

/* animación figurita */
@keyframes sticker-peel {
  0% {
    transform: scale(1) rotate(var(--rot));
    filter: blur(0);
    opacity: 1;
  }

  40% {
    transform: scale(0.85) rotate(calc(var(--rot) + 8deg));
    filter: blur(2px);
    opacity: 0;
  }

  60% {
    transform: scale(0.85) rotate(calc(var(--rot) - 8deg));
    filter: blur(2px);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(var(--rot));
    filter: blur(0);
    opacity: 1;
  }
}



.side-box-props1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    display: block;
  transform: rotate(-3deg);
}


#right-column {
  width: 20%;
  display: flex;
  flex-direction: column;
  gap: 20px; 

}

.side-box {
  background: #0a0a0a;
  border: 2px solid rgba(210, 175, 129, 1.0);
  padding: 2px;
  box-sizing: border-box;

  text-align: center;
  font-family: "New Rocker", system-ui;
  color: rgba(210, 175, 129, 1.0);
}

#guestbook {
  background: #0a0a0a;
  border: 2px solid rgba(210, 175, 129, 1.0);
  box-sizing: border-box;
}


#guestbook iframe {
  width: 100%;
  height: 450px;
  border: none;
  overflow: hidden;
}



#center-column {
  width: 60%;
}

/* cajas laterales */
.side-box-props {
  
  background: #050505;
  border: 2px solid #333;
  padding: 15px;
  text-align: center;
  color: #ccc;
  
}

.side-box-books {
  
  background: #050505;
  border: 2px solid #333;
  padding: 15px;
  text-align: center;
  color: #ccc;
  
}




/* FORMATO POST----------------------------- */

.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;
  
}


/*BOTON MORE POSTS----------------------------------*/

.more-posts {
  text-align: center;
  margin-top: 30px;
}

.view-more {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #333;
  background: #050505;
  color: #ccc;
  text-decoration: none;
  font-family: "Times New Roman", serif;
}

.view-more:hover {
  background: #111;
  color: #fff;
}



/*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;
}

