body {
    margin: 0;
    padding: 0;
    background-image: url('imagenes/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
    color: yellow;
    display: flex;
    flex-direction: column;
    align-items: center;
 }

h1 {
    font-size: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 
                 0px 0px 2px #000;
}

h2 {
    margin-top: -1rem;
    font-size: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 
                 0px 0px 2px #000;
    
}

li {
    list-style: none;
}



.fotoPerfil {
margin-top: 15px; /* Reducir margen superior */
    width: 250px; /* Ancho ligeramente menor */
    height: auto; /* Mantener proporciones originales */
    object-fit: contain; /* Mejor que cover para mantener toda la imagen visible */
    border-radius: 30%; /* Opcional: bordes redondeados suaves */
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.logos {
    margin-right: .8rem;
    border-radius: 70%;
}

.contenedorInfo {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.redes {
    display: flex;
    justify-content: center;
  
}

.botones {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: black;
    
}

.botones li{
    margin-bottom: 2.25rem;
    background-color: yellow;
    border: .625rem solid yellow;
    border-radius: 2rem;
    width: 15rem;
    text-align: center;
    margin-right:2.2rem ;
}
/*
.botones li:hover {
    background-color: greenyellow;
    border: .625rem solid greenyellow;
}*/


@media screen and (min-width: 768px){
    h1{
        font-size: 48px;
    }

    h2 {
        font-size: 24px;
    }

    .fotoPerfil {
        width: 350px;
        height: 230px;
    }

    .logos {
        width: 3rem;
        margin-right: 1.2rem;
    }
    
    .botones li {
        width: 30rem;
        font-size: 2rem;
    }
}

/* Escritorio (1024px y superior) */
@media screen and (min-width: 1024px) {
    body {
        background-size: cover;
        background-position: center;
    }
    
    h1 {
        font-size: 56px;
    }
    
    .fotoPerfil {
        width: 400px;
        height: 260px;
    }
    
    .botones {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .botones li {
        width: 25rem;
        font-size: 2rem;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
    .botones li:hover {
        transform: scale(1.05);
    }

    .logos:hover{
            transition: .5s ease;
    background-color: rgb(107, 105, 105);
    border-radius: 1.25rem; /* 20px */
    }
}


