* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* uso el box sizing para que el relleno y el borde se incluyan el ancho y largo */

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
}
/* cuerpo*/

header {
    background-color: #76098b;
    background-image: url(./Images/banner\ kidt.png);
    background-size: cover; 
    background-repeat: no-repeat;
    background-position-y: center;
    padding: 20px;
    text-align: center;
}
/* encabezado*/

.logo {
    width: 150px;
    height: 200px;
    background-size: cover; 
}
/* ajustes de la foto */


header h1 {
    font-size: 24px;
    margin-bottom: 10px;
    transition: 0.5s;
}

header h1:hover {
    color: #0004ff00;
    padding: 10px;
}

.logo img {
    width: 200px;
    height: 250px;
    margin-top: 0;
}

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

nav ul li {
    display: inline;
    margin-right: 20px;

}
nav a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #76098b;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #5d076e;
    color: #ffcc00;
}
/* le da efecto a los enlaces de nav */

.content {
    padding: 17px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px; /* hago esto para dar espacio entre las secciones */
}
/* estilo del contenido*/

.fotosgaleria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 10px;
    padding: 10px;
}

.fotosgaleria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease, object-fit 0.3s ease;
    filter: grayscale(100%);
}

.fotosgaleria img:hover {
    transform: scale(1.1);
    object-fit: contain; 
    filter: grayscale(0%);
    opacity: 1;
} */


/* configuracion de las imagenes que estan en galeria*/

footer {
    background-color: #121212;
    color: #fff;
    padding: 20px;
    text-align: center;
}
/* pie de pagina*/

#botonflotante {
    display:block; 
    position: fixed; /* fijo en la pantalla */
    bottom: 20px; 
    right: 30px; 
    z-index: 99; /* asegura que el botón esté en frente de otros elementos */
    font-size: 18px; 
    border: none; /* sin borde */
    outline: none; /* sin contorno */
    background-color: #76098b; 
    color: white; 
    cursor: pointer;
    padding: 15px;
    border-radius: 50%; /* para que queden los bordes redondeados */
    transition: background-color 0.3s ease;
}

#botonflotante:hover {
    background-color: #42054e; 
}


html {
    scroll-behavior: smooth; /*para volver hacia arriba lento y no bruscamente*/
}

/*configuracion del boton flotante*/

.volver{
    font-size: 30px;
    float: left;
    color: #121212;
    margin-bottom: 10px;
}


@media screen and (max-width: 720px) {
    .logo  {
        visibility: hidden;
    }
        
    nav ul {
        list-style-type: none;
    }
    
    nav ul li {
       display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-right: 20px;
    }
    nav a {
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
        padding: 10px 20px;
        border-radius: 20px;
        background-color: #76098b;
        text-decoration: none;
        transition: background-color 0.3s ease;
        flex-wrap: wrap;
    }
    
    nav a:hover {
        background-color: #5d076e;
        color: #ffcc00;
}

}