body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(../img/fondo_azul_estrellas1.JPG);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.hoja-vida-container {
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 0);
    width: 90%;
    max-width: 1200px;
    padding: 2rem;
    border-radius: 15px;
    margin: 20px;
}

.foto-profesor {
    width: 100%;
    max-width: 300px;
    margin-right: 2rem;
}

.foto-profesor img {
    width: 100%;
    border-radius: 15px;
}

.info-personal {
    flex: 1;
    margin-bottom: 2rem;
}

.info-personal h2 {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.info-personal p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
}

.number-profesor {
    font-size: 1 rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: #ffffff;
}

.contexto-profesional {
    flex: 1;
}

.contexto-profesional h3 {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.contexto-profesional p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
}

button {
    background-color: #ffd700;
    color: #0077b6;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 2rem;
}

button:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.floating-button {
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background-color: #0077b6;
    color: white; 
    padding: 10px 20px 10px 60px; 
    border-radius: 50px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
    cursor: pointer; 
    z-index: 1000; 
    transition: background-color 0.3s, transform 0.3s; 
    list-style: none; 
    animation: fadeIn 0.5s; 
    animation-delay: 0.5s;
    animation-fill-mode: forwards; 
    text-decoration: none; 
}

.floating-button:hover {
    background-color: #005f8a; 
    transform: translateY(-3px); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
}

.floating-button-img {
    width: 60px; 
    height: 60px;
    border-radius: 50%; 
    position: absolute; 
    left: -20px; 
    bottom: 0;
    border: 3px solid #0077b6; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
}

.floating-button-text {
    font-size: 1rem; 
    font-weight: 500;
    text-decoration: none;
    color: white;
}