/* Hoja de estilo de la página web galeria */
/*@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-style: normal;
}
body{
    background-color: rgb(204, 226, 255);
}
header{
    margin: 10px 0;
    padding: 10px 0;
    width: 100%;
    height: 100px;
    background-color: rgb(153, 197, 255);
}
h1{
    /*margin-top: 10px;*/
    text-align: center;
    color:rgb(0, 0, 0);/* Color interior (texto) */
    text-shadow: 0px 0px 5px rgb(255, 255, 255); /* Contorno de 0px con niebla de 5px en blanco */
}
h2{
    /*margin:10px 0;*/
    text-align: center;
    color:rgb(0, 0, 0);
}
.menu_sup{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    text-align: center;
    color:darkblue;
    background-color: rgb(153, 255, 204);
    width: 100%;
    height: 50px;
}
.menu_sup li {
    display: inline-block;
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 150%;
    font-weight: bold;
}
.menu_sup li {
    height: 50px;
    padding: 10px 0;
    padding-left: 50px;
    margin-left: 50xp;
    margin-right: 50px;
    list-style-position: outside;
}
.menu_sup a{
    text-decoration: none;
}
.menu_sup li:first-child{
    background: url("../imagenes/facebook25.png") no-repeat left center;
}
.menu_sup li:nth-child(2){
    background: url("../imagenes/instagram25.png") no-repeat left center;
}
.menu_sup li:nth-child(3){
    background: url("../imagenes/linkedin25.png") no-repeat left center;
}
.menu_sup li:last-child{
    background: url("../imagenes/telegram25.png") no-repeat left center;
}
/* ====== ESTILO PARA LA GALERIA DE IMAGENES ===== */
.seccion1{
    margin-top: 25px;
    padding: 25px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: space-around;
    border: 2px solid rgb(0, 51, 204);
    /*height: 800px;*/
}
/* === MODIFICACIONES PARA INTRODUCIR EL VELO === */

/* Estilo para el velo */
article .velo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Color negro con 70% de transparencia */
    color: white; /* Texto en color blanco */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* Ocultar el velo al hacer hover sobre el artículo */
article:hover .velo {
    opacity: 0;
}

/* Asegurar que los artículos tengan position: relative para el efecto del velo */
article {
    position: relative;
}

/* Otros estilos existentes para los artículos */
.art1, .art2, .art3, .art4, .art5, .art6, .art7, .art8, .art9 {
    background-color: rgb(179, 255, 217);
    margin: 10px 0;
    border: 2px solid rgb(0, 0, 102);
    border-radius: 25px;
    width: 250px;
    height: 250px;
    padding: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.art1 img, .art2 img, .art3 img, .art4 img, .art5 img, .art6 img, .art7 img, .art8 img, .art9 img {  
    max-width: 100%;
    max-height: auto;
    border-radius: 25px;
}

.art1:hover, .art2:hover, .art3:hover, .art4:hover, .art5:hover, .art6:hover, .art7:hover, .art8:hover, .art9:hover {
    background-color: rgb(255, 102, 153);
}

/* === CONFIGURACIÓN DEL ÁREA DE LAS RRSS === */

.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:rgb(32,82,149);
    flex-grow: 1;
    padding: 0.5em 0;
}

.pieizq{
    background-color: rgb(32, 82, 149);
}

.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(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 QUERY ==*/
@media screen and (max-width:900px){
    .footer{
        flex-direction: column;
    }
    address{
        border-top: 2px solid white;
        border-bottom: 2px solid white;;
    }
    .menu_sup{
        height: 100px;
    }
    .menu_sup li{
        font-size: 100%;
        padding: 15px 0;
        padding-left: 30px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

