*{
    margin: 0;
    padding: 0;
}

.body-index{
    background: linear-gradient(to right, #4d82bc, pink);
    height: 100%; /* Para asegurarse de que el body ocupe todo el alto de la pantalla */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra la section verticalmente */
    align-items: center; /* Centra la section horizontalmente */
    /*box-shadow: inset 0 0 100px;*/
    font: 1em sans-serif;
}

header ul {
    display: flex;
    text-align: center;
    align-items: center;
    color: white;
}

header ul li{
    padding: 10px;
    margin: 10% 5px;
    min-width: 100px;
    list-style: none;
    border: 2px solid transparent;
    border-radius: 20px;
    width: auto;
    transition: background-color 0.3s, border 0.3s, border-radius 0.3s;
}

header ul li:hover{
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid white;
    border-radius: 20px;
    cursor: pointer;
}

.section-index{
    padding: 20px;
    margin: auto;
    border: 2px solid white;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    width: 80%;
    height: auto;
    max-width: 600px;
    text-align: center;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px black ;

    position: fixed;
    top: 50%;
    left: 50%;
    
    transform: translate(-50%, -50%);
    
}

.section-index .icon{
    font-size: 35px;
    padding: 5px;
    aspect-ratio: 1;
    border-radius: 100%;

    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    position: fixed;

    transform: translate(0, -100%);
    top: 99%;
    left: 1%;
    
    transition: background-color 0.3s , box-shadow 0.3s, transform 0.3s;

}

.section-index .icon:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 5px black;
    transform: translate(0, -100%) scale(1.2);
}

footer {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: auto;

}

footer a {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 16px;
    color: white;
    text-decoration: none;
    padding: 1px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s;
}

footer a:hover{
    border-bottom: 1px solid white;
}

footer img {
    width: 20px;
    margin-right: 8px;
}

@media screen and (max-width: 500px) {
    .section-index{
        aspect-ratio: 0.7;
    }

}

@media screen and (max-width: 400px) {
    .section-index{
        aspect-ratio: 0.6;
    }

}

/* ---------------- Gustos --------------------*/

body{
    align-items: center;
    font: 1em sans-serif;
}

.contenedor {
    color: black;
    text-align: center;
}

.parrafo{
    margin: 20px;
    font-size: 20px;
    text-align: justify;
}

.tabla-proyectos{
    border: 1px solid black;
    min-width: 100%;
}

.tabla-proyectos th, td{
    padding: 10px;
    border: 1px solid black;
    border-collapse: collapse;
}

.tabla-proyectos td .foto{
    width: 50%;
}

.lista{
    margin: 20px;
    text-align: left;
}

.tabla-gustos{
    border: 1px solid black;
    min-width: 100%;
}

.tabla-gustos th, td{
    padding: 10px;
    border: 1px solid black;
    border-collapse: collapse;
}

.foto{
    width: 50%;
}

.SM{
    filter: blur(5px);
    transition: filter 0.3s, transform 0.3s;
}

.SM:hover{
    transform: scale(1.1);
    filter: blur(0);
}