/* === HOJA DE ESTILO PARA EL FOOTER === */
/* === CONFIGURACIÓN DEL ÁREA DE LAS RRSS === */

.footer{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;  
    height: 200px;
    height: auto;
    background-color: rgb(32, 82, 149);
    border-top:3px solid rgba(75,190,150,1);
    border-bottom: 3px solid rgba(75,190,150,1);
    background-color: rgba(102,102,102,1);
}
.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;  
    /*background-color:rgb(32,82,149);*/
    flex-grow: 1;
    padding: 0.5em 0;
    padding: 0;
}

.pieizq{
    background-color: none;
}

.pieizq ul{
    margin-top: 0%;
    font-size: 1em;
    font-weight: bold;
    list-style-type: none;
}
.pieizq a{
    text-decoration: none;
    color: rgb(3, 201, 136);
}
.pieizq a:hover{
    font-size: 1em;
    background-color: rgb(3, 201, 136);
    color: rgb(0, 51, 124);
    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: rgb(20,66, 114);*/
}
address p{
    text-align: center;
    font-size: 150%;
    color: rgb(3, 201, 136);
    font-weight: bold;
}
address p:last-child{
    color: yellow;
    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: rgb(32,82,149);*/
}
.pieder{
    border-bottom-right-radius: 20px;
    padding: 0.25em 1.5em;
}
.pieder iframe{
    border-radius: 20px; 
}
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 screen and (max-width:900px){ 
    .footer{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;  
        height: auto;
    }
    address{
        border-top: 3px solid rgb(3, 201, 136);
        border-bottom: 3px solid rgb(3, 201, 136);
    }
}