/* === Hoja de Estilo ANTOINE SAINT-EXUPÉRY === */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;1,500&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap');*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}
html {
  scroll-behavior: smooth;
}
h1{
   font-family: Arial, Helvetica, sans-serif; 
    font-size: 3.75em;
    font-weight: bolder;
}
h2{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3.5em;
}
/* == ESTILO DEL BODY == */
body{
    background-color: rgb(250, 225, 185);
}
/* == ESTILO DE LA CABECERA == */
.cabecera{
    display: flex;
    flex-direction: row;
    justify-content: center;    /*Centrado horizontal*/
    align-items: center;        /*Centrado Vertical*/
    /*flex-flow: row wrap;*/        /*Para pantallas más pequeñas dividir por filas: me da problemas...*/
    text-align: center;
    height: 20vh;
}
.cab1{
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../imagenes/imagen4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    color: rgb(222, 255, 4);
    height: 100%;
    /*border: 3px solid red;*/
}
.cab11{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../imagenes/imagen1_2.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}
.cab2{
    flex-grow: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../imagenes/imagen4.jpg");
    background-size: cover;
    background-position: top;
    color: rgba(25, 5, 125, 0.75);
    height: 100%;
    /*border: 3px solid red;*/
}
/* === ESTILO "FRANJA" MENU === */
.menusup{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: rgb(38, 105, 211);
    color: white;
    text-align: center;
}
.menusup li{
    display: inline-block;
    margin: 0.75em 4em;
    font-size: 1em;
    text-decoration: none;
}
.menusup li:hover{
    font-size: 1em;
    background-color: white;
    color: black;
    border-radius: 0.5em;
    padding: 0;
}
.menusup a{
    color:white;
    text-decoration: none;
}
.menusup a:hover{
    font-size: 1em;
    background-color: white;
    color: black;
    border-radius: 0.5em;
    padding: 0;
}
/* === ESTILO SECCION DE LA BIOGRAFIA === */
.sector1{
    display: flex;
    justify-content: center;
    align-items: normal;
    background-image: url(../imagenes/imagen5.jpg);
    background-position: top;
    padding: 10px;
}
.sector1 p{
    text-align: justify;
    color: white;
    font-size: 1.5em;
}
.sector1 a{
    color:rgb(93, 226, 231);
    text-decoration: none;
}
/* === CONFIGURACIÓN DEL FOOTER === */

.footer{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;   
}
.pieizqbig{
    display:flex;                /*Voy a "incrustar" un div dentro de éste para poder */
    flex-direction: row;         /*centrar, vertical y horizontalmente las RRSS */
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;  
    /*border-bottom-left-radius: 20px;*/
    background-color:rgba(255,229,182,1);
    flex-grow: 1;
    padding: 0.5em 0;
}

.pieizq{
    background-color: rgba(255,229,182,1);
}

.pieizq ul{
    margin-top: 10%;
    font-size: 1em;
    font-weight: bold;
    list-style-type: none;
  /*  margin-left: 10%; */
}
.pieizq a{
    text-decoration: none;
    color: rgb(0, 0, 0);
}
.pieizq a:hover{
    font-size: 1em;
    background-color: rgb(20, 25, 100);
    color: rgb(255, 255, 255);
    border-radius: 0.5em;
    padding: 0;
}
.pieizq a:visited {
    color: rgb(0, 51, 0);
}
.pieizq img{
    margin-right: 10px;
}

/* === ESTILO DEL ÁREA DE LA  DIRECCIÓN ==== */
address {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:rgba(255,229,182,1);
}
address p{
    text-align: center;
    font-size: 150%;
    color: rgb(0, 0, 0);
    font-weight: bold;
}
address p:last-child{
    color: rgb(20, 40, 200);
    font-size: 75%;
    margin-top: 2em;
    font-weight: lighter;
}
/* === ESTILO DEL ÁREA DEL MAPA === */
.pieder{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    background-color: rgba(255,229,182,1);
}
.pieder{
    border-bottom-right-radius: 20px;
    padding: 0.25em 1.5em;
}
.pieder iframe{
    border-radius: 15px;  
}
iframe {
    border: 1px solid black;
    width: 90%; /* takes precedence over the width set with the HTML width attribute */
  }

/* == ESTILO DE LA SUELA == */
.suela{
    height: 10vh;
    background-color: black;
}

/* ESTILO PARA LA FLECHA "Volver al Inicio" FLOTANTE */
#backToTop {
    position: fixed;
    right:25px;
    bottom: 25px;
    display: none; /* Inicialmente oculta */
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #ff0;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000; /* Asegurarse de que esté por encima de otros elementos */
}

#backToTop:hover {
    background-color: #333;
}

#backToTop span {
    font-size: 25px; /* Tamaño de la flecha */
}

/* == MEDIA QUERY ==*/
@media screen and (max-width:900px){
    h1{
        font-size: 3.75em;
    }
    .cabecera{
        flex-direction: column;
        height: auto;
    }
    .cab1{
        width: 100%;
        height: 100px;
        background-image: url("../imagenes/21_espacio.jpg");
        background-size: cover;
        background-position: center;
        /*background-size: contain;*/
    }
    .cab11{
        
        background-image: url("../imagenes/Banner_El_Principito.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center
    }
    .cab2{
        width: 100%;
    }
    
    }
    .footer{
        flex-direction: column;
    }
    address{
        border-top: 2px solid white;
        border-bottom: 2px solid white;;
    }
}
@media screen and (max-width:550px){
    h1{
        font-size: 2.5em;
    }
   

    
@media  screen and (max-width: 400px){
    
}

/* === FIN DE LA HOJA DE ESTILO DE LA PAGINA ACERCA DE LA OBRA DE ANTOINE de SAINT-EXUPÉRY === */