body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffb7f5;
}

header {
    background-color: #a4008e;
    color: #ffffff;
    padding: 30px;
    text-align: center;
}

.contenedor-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.contenedor-imagen img {
    max-width: 100%;
    height: 500px;
    border-radius: 10px;
}

.contenedor-texto {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-top: -50px;
    display: inline-block;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
    line-height: 1.5;
}

.seccion-botones {
    background-color: #fc65ff;
    padding: 20px;
    text-align: center;
}

.contenedor-botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.boton {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #f155a0;
    color: #000000;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.boton:hover {
    background-color: #9e00b3;
    transform: scale(1.05);
}

main {
    padding: 20px;
}

section {
    margin-bottom: 20px;
    border: 1px solid #ab1d91;
    padding: 20px;
    background-color: #fb83ff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.boton-volver-arriba {
    position: fixed; 
    top: 20px;      
    left: 20px;     
    background-color: #b100a2;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.boton-volver-arriba:hover {
    background-color: #6d1989;
}

footer {
    background-color: #7c1783;
    color: #fff;
    text-align: center;
    padding: 10px;
}


.boton-flotante {
    position: fixed; 
    bottom: 20px;   
    right: 20px;     
    background-color: #b100a2;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    font-size: 1.5em;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.boton-flotante:hover {
    background-color: #6d1989;
}

.curiosidades-contenido {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.datos-sobre-mi,
.mas-curiosidades {
    flex: 1;
    padding: 10px;
    border: 1px solid #ab1d91;
    border-radius: 10px;
    background-color: #fb83ff;
}

.datos-sobre-mi ul {
    list-style-type: disc;
    padding-left: 20px;
}

.mas-curiosidades img {
        width: 50%; 
        height: auto; 
        max-width: 100%;
        border-radius: 8px; 
        display: block; 
        margin: 0 auto; 
}

.carousel-inner img {
    max-width: 35%; 
    height: auto;
    margin: 0 auto; 
}

.imagenes-adaptativas {
    text-align: center;
    position: relative;
}

.foto_v, .foto_h {
    max-width: 60%;
    height: auto;
    display: none;
}

@media (orientation: portrait) {
    .foto_v {
        display: block;
    }
}

@media (orientation: landscape) {
    .foto_h {
        display: block;
    }
}

