*{  
 margin:0;  
 padding:0;  
}              
  
body{  
 background:#003300;  
 font-family: Arial, sans-serif;  
 font-size:13px;  
 line-height:1.6em;  
 text-align : justify;
 padding-left: 50px;
 padding-right: 50px;
 color:#FFFFFF;  
}       
  
p{  
 margin:35px 0;
 padding: 0px 20px 0px 20px; 
 
}                
  
h2{  
 margin-top:20px; 
 color:#FFC50F;   
}  
  
#container{  
 background:#2B6018;  
 border-left:1px #ddd solid;  
 border-right:1px #ddd solid;  
 border-bottom:1px #ddd solid;  
 width:600px;  
 margin:0 auto;  
}    
  
a:link {text-decoration: none; font-weight:bold; color:#FFFF00;}
a:visited {text-decoration: none; color:#FFFFFF; }
a:active {text-decoration: none; font-weight:bold; color:#FFFF00;}
a:hover {font-size:24; font-weight:bold; color: red;}
  
header h1 a{  
 text-indent:-9999px;  
 display:block;  
 width:600px;  
 height:98px;  
 background:url(image-med.jpg) no-repeat 50% 0;  
}               
  
#content{  
 padding:0 15px;  
}  
  
footer{  
 text-align:center;  
 width:100%;  
 display:block;  
 font-size:15px;  
}    

link {  
 text-align:right;  
} 
  
img {  
 max-width:570px;  

}  

#inferior{
  color: #FFF;
  background: #000;
  position:absolute; /*El div será ubicado con relación a la pantalla*/
  left:0px; /*A la derecha deje un espacio de 0px*/
  right:0px; /*A la izquierda deje un espacio de 0px*/
  bottom:0px; /*Abajo deje un espacio de 0px*/
  height:50px; /*alto del div*/
  z-index:0;
}


@media screen and (min-width:1200px){  
 img {  
 max-width:1000px;  
 }  
  
 #container{  
 width:1100px;  
 }    
  
 header h1 a{  
 width:1100px;  
 height:180px;  
 background:url(image.jpg) no-repeat 0 0;  
 }                            
  
}  

@media screen and (max-width:600px){  
 img {  
 max-width:290px;  
 }  
  
 #container{  
 width:auto;  
 }   
  
 header h1 a{  
 width:auto;  
 }  
}  

@media screen and (max-width:320px){  
 img {  
 max-width:200px;  
 }  
  
 #container{  
 width:auto;  
 }   
  
 header h1 a{  
 width:auto;  
 height:52px;  
 background:url(image-small.jpg) no-repeat 50% 0;  
 }  
}  

/* Estilos adicionales para rewind_images.php */

/* Contenedor principal de artículos */
#content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Imágenes de artículos */
#content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#content img:hover {
    transform: scale(1.01);
}

/* Enlaces de títulos */
#content a.hiper {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

#content a.hiper:hover {
    color: #D5D745;
}

/* Botón de leer más */
.leer-mas-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #D5D745;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #D5D745;
    text-align: center;
}

.leer-mas-btn:hover {
    background-color: #c4c43d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Formulario de página rápida */
#pagina_rapida {
    font-size: 16px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

#pagina_rapida:focus {
    border-color: #D5D745;
    outline: none;
    box-shadow: 0 0 5px rgba(213, 215, 69, 0.5);
}

/* Mensaje cuando no hay resultados */
.mensaje-vacio {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 2px dashed #ddd;
    margin: 30px 0;
}

.mensaje-vacio h2 {
    color: #666;
    margin-bottom: 20px;
}

/* Responsive para móviles */
@media (max-width: 600px) {
    #content {
        padding: 10px;
    }
    
    .paginacion a, .paginacion span {
        padding: 8px 12px;
        font-size: 14px;
        margin: 0 2px;
        min-width: 35px;
    }
    
    .boton-navegacion {
        padding: 10px 20px;
        font-size: 14px;
        display: block;
        width: 90%;
        margin: 10px auto;
    }
    
    /* Formulario responsive */
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    form label {
        margin-bottom: 10px;
    }
    
    form input, form button {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
}