/* Estilos CSS con Flexbox */
body {
    font-family: Arial, sans-serif;
    background-color: black;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
::-webkit-scrollbar {
    display: none;
}
header {
    background-color: #333;
    
    position: sticky;   
    top: 0;
 
    left:23%;
 
    width: 60%;
 height: 6%;
border-radius: 30px;
   /* color: white;
    text-align: center;
    padding: 10px;*/
}

nav {
    background-color: #444;
    color: white;
    padding: 5px;
    border-radius: 30px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a{
    color: white;
}

main {
    
    flex: 1;
    display: flex;

    justify-content: space-between;
    /*max-width: 800px;*/
    margin: 20px;
    padding: 20px;
}

aside {
    flex-basis: 10%;
    width:10vb ;
    position: sticky;   
    top: 0;
 
    
}

aside ul {
    list-style-type: none;
    padding: 0;
}
section aside ul li a{
    color: white;   
}
aside ul li img{
    margin-bottom: 10px;
    
    width:10vb; /* Establece el ancho deseado para la imagen */
    height: 10vb; /* Mantiene la proporción de la imagen */
}

section {
    background-color: black;
    margin-left: 10px;
    margin-top: 0%;
}
#miSection {
    background-color: black;
    margin-top: -25px;
    color: white; /* Puedes cambiar el color del texto si es necesario */
    margin-left: -1%;
}
article {
    margin-bottom: 20px;
}

a{
 text-decoration: none;
}
.concellos-img {
    max-width:100%;
   /* max-height: 100%;*/
}
img {
    max-width: 100%;
    max-height: 100%;
 border-radius: 35%;
}

    img nav ul {
        max-width: 25%;
       
    }
    
video{
    width: 400px;
}
h1 {
    font: 2em sans-serif;
    text-align:center;
    color: #f50606;
    /*margin-left: 30%;*/
}

h2 {
    color: #333;
    margin-left: 25%;
}
h3 {
    color: #aa0a0a;
    margin-left: 30%;
}
h4 {
    font-size: 1.9vh;
    color: #aa0a0a;
   margin-left: 34%;
}
/* Establecer un estilo predeterminado para el overlay */
.area-concello {
    position: relative;
    display: inline-block;
}

.overlay {
    position: relative;
    top:auto;
    left: 0;
    width: 100%;
    height: auto;
   /**/ background-color: transparent;
    transition:ease ;
}

.map-image {
    position: relative;
    display: block;
    width: 100%;
    height:auto ;
}

/*.fondo .area-concello:hover .overlay {
    background-color: rgba(52, 152, 219, 0.5); /* Cambia esto al color y opacidad que desees 
}*/
.fondo .overlay {
    position: relative;
    top:auto;
    left: 0;
    width: 100%;
    height: auto;
   /* background-color: transparent;*/
    transition: background-color 0.3s ease;
}

/*.fondo area:hover + .overlay {
    background-color: rgba(52, 152, 219, 0.5);
}*/

#searchForm{
    margin-left: 35%;
}
#selected-area {
    background-color: blue !important;
  }

footer {
    background-color: #130101;
    font-size: 1.1em;
    width: 30%;
    color: rgb(232, 6, 6);
    text-align: center;
    margin: auto;

    padding: 10px;
}
.blinking {
    animation: blinkEffect 1s infinite;
  }
  
  @keyframes blinkEffect {
    0% {
      fill: #ff0000; /* Cambia el color a rojo */
    }
    50% {
      fill: #ffffff; /* Cambia el color a blanco */
    }
    100% {
      fill: #ff0000; /* Cambia el color a rojo nuevamente */
    }
  }
