html {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-image: url('a2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
 filter: sepia(30%);
}

  
   section {
            position: relative; /* Necesario para posicionar la imagen de forma absoluta dentro */
            background-color: rgba(255, 255, 255, 0.6);
            margin-bottom: 2rem;
            padding: 1rem;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: background-color 0.5s ease;
            min-height: 200px; /* Asegura que haya espacio suficiente para el contenido */
        }

        /* Estilo para la imagen */
        #yo { float:right;
 
            width: 80px;
             
             /* border-radius: 50%;  */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
			border: 2px solid white;
            z-index: 10; /* Asegura que la imagen esté por encima del contenido de la sección */
        }
		h2.minombre{
           
		}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2); /* Inicialmente casi transparente */
    transition: background-color 0.5s ease;
    z-index: -1;
}

header {
    background-color: rgba(255, 255, 255, 0.8);
  /*  padding: 1rem;*/
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.5s ease;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  padding-top: 0px;
  	display:flex;
	 align-items: center;  
	 justify-content:center;
	 padding-left:6px; 
	  z-index: 1;
}

header h1 {
    margin: 0;
    color: #333;
}

nav ul {
    padding: 0;
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 1rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}
/*
section {
    background-color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.5s ease;
}
*/
h2 {
    color: #2c3e50;
}

.libros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.libro {
    text-align: center;
}

.libro img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.poesia-contenedor {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.video-poesia, .audio-poesia {
    flex: 1;
    min-width: 300px;
}

audio {
    width: 100%;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #fff;
}
ul{
	padding-left:6px; 
}
@media (max-width: 600px) {
    xnav ul li {
        display: block;
        margin-bottom: 0.5rem;
    }
	#yo{opacity:0;}

body {
 
background-image: none;
background-color: #f0f0f0;
}	
}
a{
	font-size:12px;
}