* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    color: white;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    /*
    background-image: url(/img/imgIndex/wallpaper2.jpg);
    background-size: cover;
    background-position: center;
    */
    /*
    background: radial-gradient(circle at 25% 40%, rgba(201, 227, 253, 0.2), transparent 60%),
              radial-gradient(circle at 75% 30%, rgba(51, 76, 119, 0.2), transparent 60%),
              radial-gradient(circle at 50% 80%, rgba(0, 0, 0, 0.8), transparent 60%),
              #000000f1;
    */
    /*
    background: linear-gradient(135deg, #0d1b2a, #1b263b, #415a77, #0d1b2a);
    */
    background: linear-gradient(
    135deg,
    #010409,   /* casi negro, base profunda */
    #0a1929,   /* azul oscuro denso */
    #0d203d,   /* azul noche intermedio */
    #283d5c,   /* azul más vivo pero aún oscuro */
    #091420,   /* vuelve a lo profundo */
    #010409    /* cierra con el más oscuro */
    );

    font-family: 'Caudex', serif;
    position: relative;
}



main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px 0px 0px 0px;
}


nav {    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(131, 224, 236, 0.1); 
    gap: 15px;    
    width: 15%;
    height: 20%;
    border-radius: 15px;
    padding:5px;
    
}

.container_info_links {
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;    
    cursor: pointer; /* hace que cuando el cursor este dentro del contenedor cambie */
}

.container_info_links span {
    opacity: 0;
    position: absolute;
    left: 110%;
    top: 25%;    
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    white-space: nowrap;        
}
span{
    display: flex;        
    text-align: center;
}
.container_info_links:hover span {
    opacity: 1;
    width: 100px;
    white-space: normal;
}

.container_info_links:hover {
    background: rgba(239, 239, 245, 0.3); 
    border-radius: 10px;    
}

a {
    display: flex;
    align-items: center;
    justify-content: center;    
    padding: 5px;     
}

a img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

section {
    height: 50%;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 10px;
    gap: 10px;
    text-align: right;
}
h2{
    font-size: rem3;
}
.marco{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 250px;
    height: 250px;
}

.marco img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.container_img p {
    font-size: 1.2rem;
    max-width: 350px;
    text-align: right;
    color: #ccc;
    font-style: italic;
}
@media (max-height: 500px){
    main{
        flex-direction: column;       
          
    }
    nav{        
        position: relative;
        left: 40%;        
        height: 10%;
        width: 20%;
        flex-direction: row;        
    }
    .marco{
        width: 150px;
        height: 150px;
    }
    section{
        width: 90%;
        height: 90%;
    }
    a img {
        width: 25;
        height: 25px;
    }
    
}
@media (min-width: 800px) and (min-height: 600px){
    main{        
        display: flex;
        flex-direction: column;
        padding: 10px;
    }
    
    nav{
        width: 150px;
        position: relative;
        left: 40%;        
        height: 10%;    
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
    section{       
        height: 90%; 
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    h2{
        font-size: 50px;
    }
    h3{
        font-size: 30px;
    }
    p{
        font-size: 20px;
    }
    .container_info_links{
        word-wrap: wrap;
    }
    .container_info_links span{
        left: 0px;
        top: 110%
    }

}
