*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header {
    background-color: #fff;
    color: #2c3e50; 
    padding: 10px 20px;
    display: flex; 
    justify-content: space-between;
    align-items: center; 
     border-bottom: 1px solid #ddd;
    box-shadow: 5px 5px 20px #babecc;
    position: relative;
}
/* Estilos generales del nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.bienvenido{
   text-shadow: 3px 3px  #b8b6b6;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative; /* Importante para el submenu */
}

.nav-links a {
    text-decoration: none;
    color: grey;
    
    display: block;
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 100;
}

.submenu li a {
    padding: 10px 15px;
    color: grey;
}

.submenu li a:hover {
    background-color: #f0f0f0;
    color: black;
}

/* Mostrar submenu en hover (desktop) */
.nav-links li:hover > .submenu {
    display: block;
}

/* Hamburguesa */

.hamburguer{
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar{
    width: 25px;
    height: 3px;
    margin: 4px;
    transition: 0.3s;
    background-color: black;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
   
    background-image: linear-gradient(black, white);
    background-image: url("../img/back3.png");
    text-align: center;
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100vh; 
   
    
}


body {
    display: grid;
    grid-template-rows: auto 1fr auto; 
    height: 100vh;
}





main {
    padding: 20px; 
    overflow-y: auto; 
}
p{
    margin: 20px;
}




.logo {
   filter:drop-shadow( 3px 3px  #d4d8e4);
}

.li {
    list-style-type: none;
  
    background-color: lightgrey;
    padding: 15px;
    margin: 10px auto;
    width: 80%;
    border-radius: 5px;
}


nav a {
    text-decoration: none;
    color: grey;
}
textarea {
    width: 300px;  
    border-radius: 5px;
}
.cont {
    display: grid;
    
    grid-gap:  20px 20px 20px ;
    grid-template-areas:"cont cont cont ";
   
    align-items: center;
    justify-items: center;
}
#miTextarea {
    width: 400px;
    height: 150px;
}
.imagen {
   filter:drop-shadow( 5px 5px  #d4d8e4);
    height: 200px;
}

.button {
    display: inline-block; 
    background-color: #4CAF50; 
    color: white; 
    padding: 10px 20px; 
    text-decoration: none; 
    border-radius: 5px;
    margin-top: 20px;
    filter:drop-shadow( 5px 5px  #d4d8e4);
}
input {
    
    width: 300px;
    padding: 10px;
    margin: 10px 0;
    border: none;
   
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

form {
    box-sizing: border-box;
    background-color: #2c3e50;
    box-shadow: 10px 10px 20px #babecc;
  
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    
    margin-top: 50px;
    padding: 55px 55px;
    border-radius: 20px;
    width: 340px;
    
}
.button {
    background-color: #2980b9;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.select{
    width: 300px;
    padding: 10px;
    margin: 10px 0;
    border: none;
   
    border-radius: 5px;
    font-size: 16px;
    text-align: center;

}
.custom-file-upload {
    background-color: #fff;
    width: 300px;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
        }
        .custom-file-upload input[type="file"] {
            display: none; 
        }
        .custom-file-upload:hover {
            background-color: lightgrey; 
}
.pdf{
    display:none; 
    margin: 20px 20px 20px 20px; 
    
    justify-content: center;
}
.iframe{
    
    width:50% ;
    height: 600px;
    border:1px solid #ccc;
     justify-content: center;
} 
.cont2{
    
    
    grid-gap:  20px 20px 20px ;
    
    
    align-items: center;
    justify-items: center;
}
.tabla {
    box-sizing: border-box;
   
    box-shadow: 10px 10px 20px #babecc;
 
    
    flex-direction: column;
    text-align: center;
    align-items: center;
    
    margin-top: 50px;
    padding: 55px 55px;
    border-radius: 10px;
    width: 100%;
    

 }
    
    
    


.concejales {
    margin: 50px auto;
    width: 80%;
}

.concejales h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}


.concejal-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 5px 5px 15px #babecc;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.concejal-card:hover {
    transform: translateY(-5px);
}

.concejal-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-right: 2px solid #ddd;
}


.concejal-info {
    padding: 20px;
    flex: 1;
    text-align: left;
}

.concejal-info h3 {
    font-size: 20px;
    color: #00324a;
    margin-bottom: 10px;
}

.concejal-info p {
    font-size: 16px;
    color: #555;
}
   
.notification-wrapper {
    position: relative;
    margin-left: 15px;
}

.notification-icon {
    position: relative;
    cursor: pointer;
}

.notification-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 12px;
    font-weight: bold;
}

.notification-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: white;
    width: 300px;
    max-height: 350px;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
}

.notification-dropdown h4 {
    margin: 0;
    padding: 10px;
    background: #00324a;
    color: white;
    border-radius: 10px 10px 0 0;
}

.notification-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.notification-item:hover {
    background: #f5f5f5;
    cursor: pointer;
}

.no-notifications {
    text-align: center;
    padding: 15px;
    color: #999;
}

@media (max-width: 768px) {
    nav{
        justify-content: space-between;
}
.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: 934%;
    flex-direction: column;
    text-align: center;
}

.nav-links li {
    margin: 15px 0;
}

.hamburguer {
    display: flex;
}

.nav-links.show {
    display: flex;
    background-color: white;
    box-shadow: 5px 5px 20px #babecc;
}
.imagen {
    display: none;
}
main {
    padding: 0px; 
    overflow-y: auto; 
}
.cont {

    
   
    align-items: center;
    justify-items: center;
    justify-content: center
}

.pdf {
  display: none;
  margin: 20px;
  justify-content: center;
}


.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%; 
  height: 0;
  overflow: hidden;
}
p{
    margin: 2px;
}
.iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
}
}
    
