/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

html,
body {
  margin: 0;
  padding: 0;
  min-width: 1200px;
  background-image: url("imagenes/fondo2.jpg");
  background-repeat: repeat;
}


body {
  background-color: #080808;

  color: #ccc;

  overflow-x: auto;

  font-family: "Noto Serif", serif;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

#page-shell {

  /*
    Ancho fijo de la página.
  */
  width: 1200px;

  /*
    Centrada cuando hay espacio suficiente.
  */
  margin: 0 auto;

}


/* =========================================================
   BANNER
   ========================================================= */

#banner {
  height: 246px;

  background-image: url("imagenes/banner-pag.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
   border: 1px ridge #777;
   border-radius: 5px;
  box-shadow:
    inset 1px 1px 0 #999,
    inset -1px -1px 0 #444,
    1px 1px 0 #333;
  
}



/* =========================================================
   FOTO DE PERFIL
   ========================================================= */

#foto-perfil {
  width: 230px;
  height: 230px;

  background-image: url("imagenes/foto-perfil.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  position: absolute;

  /* Centrar horizontalmente dentro del banner */
  left: 50%;
  transform: translateX(-245%);

  /* Ajustá este valor para subir/bajar la foto */
  top: 3%;

  z-index: 10;
}



/* =========================================================
   gif1
   ========================================================= */

#gif1 {
  width: 230px;
  height: 230px;

  background-image: url("imagenes/gifbanner1.gif");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  position: absolute;

  /* Centrar horizontalmente dentro del banner */
  left: 50%;
  transform: translateX(-145%);

  /* Ajustá este valor para subir/bajar la foto */
  top: 10%;

  z-index: 10;
  
  filter:
    drop-shadow(0 0 3px #00ff00);

  animation:
    brillo 2s infinite alternate;
}

/* =========================================================
   gif2
   ========================================================= */

#gif2 {
  width: 180px;
  height: 180px;

  background-image: url("imagenes/gifbanner2.gif");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  position: absolute;

  /* Centrar horizontalmente dentro del banner */
  left: 61%;
  transform: translateX(-145%);

  /* Ajustá este valor para subir/bajar la foto */
  top: 30%;

  z-index: 10;
  
  filter:
    drop-shadow(0 0 3px #00ff00);

  animation:
    brillo 2s infinite alternate;
}


/* =========================================================
   gif3
   ========================================================= */

#gif3 {
  width: 180px;
  height: 180px;

  background-image: url("imagenes/gifbanner3.gif");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  position: absolute;

  /* Centrar horizontalmente dentro del banner */
  left: 78%;
  transform: translateX(-145%);

  /* Ajustá este valor para subir/bajar la foto */
  top: 30%;

  z-index: 10;
  
  filter:
    drop-shadow(0 0 3px #00ff00);

  animation:
    brillo 2s infinite alternate;
}

/* =========================================================
   gif4
   ========================================================= */

#gif4 {
  width: 210px;
  height: 210px;

  background-image: url("imagenes/gifbanner4.gif");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  position: absolute;

  /* Centrar horizontalmente dentro del banner */
  left: 97.7%;
  transform: translateX(-145%);

  /* Ajustá este valor para subir/bajar la foto */
  top: 15%;

  z-index: 10;
  
  filter:
    drop-shadow(0 0 3px #00ff00);

  animation:
    brillo 2s infinite alternate;
}


/* =========================================================
   TÍTULO
   ========================================================= */

#Titulo {

  color: #4b0082;

  font-family: "Nosifer", cursive;

  font-size: 60px;

  margin: 0;

  text-shadow:
    0 -3px darkred,
    0 6px 0 #600;

}


/* =========================================================
   MENÚ
   ========================================================= */

#menu {

  display: flex;

  justify-content: center;

  gap: 30px;

  padding: 15px 20px;

}


/* =========================================================
   NOTICIAS
   ========================================================= */

#news {
    
    
    
  background-image: url("imagenes/Important-news.jpg");
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*
    Como page-shell mide 1200px,
    esto también queda dentro de esos 1200px.
  */
  margin: 0 auto;
  width: 90%;
  height: 120px;
  display: flex;
 


  /*
    IMPORTANTE:
    box-sizing evita que padding + border
    hagan que el elemento supere los 1200px.
  */
  box-sizing: border-box;

  border: 1px ridge #777;
   border-radius: 5px;
  box-shadow:
    inset 1px 1px 0 #999,
    inset -1px -1px 0 #444,
    1px 1px 0 #333;

  padding: 5px 5px;


}


#extra-extra {
  background-image: url("imagenes/extra-extra.png");
  background-size: contain;

  background-repeat: no-repeat;
   margin-left: 20px;
  width: 200px;
  height: 200px;

}


#news p {
  
  margin-left: 75px;
  text-align: center;

  font-family: "Noto Serif", serif;

  font-size: 17px;

  color: #ccc;

}


#news a {

  color: rgba(210, 175, 129, 1);

}


/* =========================================================
   LAYOUT PRINCIPAL
   ========================================================= */

#home-layout {

  /*
    Las tres columnas permanecen siempre en una fila.
  */
  display: flex;

  flex-direction: row;

  /*
    Evita que las columnas se apilen.
  */
  flex-wrap: nowrap;

  gap: 20px;

  /*
    Ya no usamos max-width.

    El layout ocupa el ancho completo de page-shell.
  */
  width: 100%;

  box-sizing: border-box;

  margin: 30px auto;

  padding: 20px;

  /*
    Permitimos que elementos internos sobresalgan.
  */
  overflow: visible;

}


/* =========================================================
   COLUMNA IZQUIERDA
   ========================================================= */

#left-column1 {

  /*
    20% de la zona principal.
  */
  width: 20%;

  /*
    IMPORTANTE:

    flex-shrink: 0 evita que esta columna
    se haga más pequeña.
  */
  flex-shrink: 0;

  display: flex;

  flex-direction: column;

  gap: 20px;

  background-image: url("imagenes/pared-ladrillo.jpg");

  transform: translateY(60px);

}


/* =========================================================
   LATEST POSTS
   ========================================================= */

.lastest.posts img {

  width: 110%;

  height: auto;

  display: block;

  position: relative;

  z-index: 2;

  transform:
    translate(-10%, -30%);

  filter:
    drop-shadow(0 0 3px #00ff00);

  animation:
    brillo 2s infinite alternate;

}


/* =========================================================
   CONTENIDO COLUMNA IZQUIERDA
   ========================================================= */

#left-column {

  width: 100%;

  display: flex;

  flex-direction: column;

  gap: 20px;

}


#left-column .side-box-props1,
#left-column .side-box-props2,
#left-column .side-box-props3 {

  width: 100%;

  margin: 0;

  padding: 0;

  overflow: visible;

}


#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;

}


.side-box-props1 img {

  transform: rotate(-3deg);

}


/* =========================================================
   COLUMNA CENTRAL
   ========================================================= */

#center-column {

  /*
    60% de la zona principal.
  */
  width: 60%;

  /*
    Evita que flex la comprima.
  */
  flex-shrink: 0;

}


/* =========================================================
   COLUMNA DERECHA
   ========================================================= */

#right-column {

  /*
    20% de la zona principal.
  */
  width: 20%;

  /*
    Evita que se comprima.
  */
  flex-shrink: 0;

  display: flex;

  flex-direction: column;

  gap: 20px;

}


/* =========================================================
   SIDE BOX
   ========================================================= */

.side-box {

  min-height: 150px;

  padding: 28px 20px;

  text-align: center;

  color: green;

  font-family: "New Rocker", system-ui;

  background-image: url("imagenes/cartel.png");

  background-size: 100% 100%;

  background-position: center;

  background-repeat: no-repeat;

}


.contactos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* =========================================================
   Icono1
   ========================================================= */

.icono1 {

  width: 70px;
  height: 70px;

  background-image: url("imagenes/icono.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  filter: drop-shadow(0 0 6px rgba(0, 255, 80, 0.45));
  opacity: 0.65;
}

.icono1 a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* =========================================================
   Icono2
   ========================================================= */

.icono2 {
  
  width: 70px;
  height: 90px;

  background-image: url("./imagenes/icono2.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  filter: drop-shadow(0 0 6px rgba(0, 255, 80, 0.45));
  opacity: 0.65;
}

.icono2 a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}


/* =========================================================
   POSTS
   ========================================================= */

.post {

  max-width: 600px;

  margin: 20px auto 40px;

  padding: 20px;

  background: rgba(24, 20, 16, 0.96);

  border: 4px solid rgba(210, 175, 129, 1);

  border-radius:
    10px 10px 0 0;

}


.post-title {

  margin:
    -30px auto 15px;

  padding: 10px;

  text-align: center;

  background:
    rgba(24, 20, 16, 0.96);

  border:
    4px solid rgba(210, 175, 129, 1);

  border-radius:
    10px 10px 0 0;

  color:
    rgba(210, 175, 129, 1);

  font-family:
    "New Rocker", system-ui;

  font-size:
    25px;

}


.post-date {

  display: block;

  margin-bottom: 15px;

  color: #aaa;

  font-size: 12px;

}


.post-content p {

  color: #ddd;

  font-family: system-ui;

  line-height: 1.6;

}


.post-content img {

  display: block;

  max-width: 100%;

  margin: 15px auto;

  border: 1px solid #300;

}


summary {

  color: rgba(210, 175, 129, 1);

  font-size: 15px;

}


/* =========================================================
   BOTÓN MORE POSTS
   ========================================================= */

.more-posts {

  margin-top: 30px;

  text-align: center;

}


.view-more {

  display: inline-block;

  padding: 10px 20px;

  background: #050505;

  border: 2px solid #333;

  color: #ccc;

  font-family:
    "Times New Roman", serif;

  text-decoration: none;

}


.view-more:hover {

  background: #111;

  color: #fff;

}


/* =========================================================
   FOOTER
   ========================================================= */

#footer {

  margin-top: 50px;

  padding: 10px;

  text-align: center;

  background: #0a0a0a;

  border-top:
    2px solid rgba(210, 175, 129, 1);

  color:
    rgba(210, 175, 129, 1);

  font-family:
    "New Rocker", system-ui;

  font-size: 14px;

}

