@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

header {
    background-color: #0b1e4e;
    box-shadow: 0 4px 2px #0000003f;
    position: sticky;
    top: 0;
    z-index: 8000;
    color: white;
    padding: 10px 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
}
header,
footer {
  background-color: hsl(236, 81%, 8%);
  color: hsl(0, 0%, 100%);
  padding: 0.5em;
}


.header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    background-color: hsl(236, 81%, 8%);
    color: hsl(0, 0%, 100%);
    padding: 0.5em;
}

.logo-mobile {
    font-size: 1.5em;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.logo-mobile a {
    color: #ffffff;
    text-decoration: none;
    padding-left: 1em;
    font-size: 30px;
}

.nav-menu-input-mobile {
    background-color: hsl(236, 81%, 8%);
    border: 0;
    cursor: pointer;
    font-size: 2em;
    height: 50px;
    width: 50px;
    color: white;
}

.nav-menu-input-mobile:hover {
    background-color: hsl(236, 81%, 8%);
    color: #904141;
}

aside
{
  background-color: hsl(236, 81%, 8%);
  height: 100vh;
  right: -45%;
  position: absolute;
  top: 0;
  transition: left .5s;
  width: 45%;
  z-index: 1000;
  transition: all 1s cubic-bezier(0.36, -0.01, 0, 0.77) 0s;
}

aside > header
{
  background-color: hsl(236, 81%, 8%);
  display: flex;
  justify-content: right;
}

aside > section
{
  color: #fff;
  padding: 1em;
}

.nav-menu-mobile {
    display: flex;
    flex-direction: column;
    justify-items: start;
}

.menu-item-mobile {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    margin-bottom: 10px;
}
.separador {
    border-bottom: 1px solid #fff;
    margin-bottom: 10px;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.logo a {
    color: #ffffff;
    text-decoration: none;
    padding-left: 1em;
    font-size: 30px;
}

nav .enlaces-nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

nav .enlaces-nav a:hover {
    text-decoration: underline;
}

nav .area-personal {
    display: flex;
    align-items: center;
}

nav .area-personal input {
    padding: 5px;
    margin-right: 15px;
    border: none;
    border-radius: 5px;
}

nav .area-personal a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav .area-personal a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    
}

footer {
    background-color: #04031e;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    display: block;
    unicode-bidi: isolate;
}
.contenedora-footer {
    max-width: 65rem;
    margin-inline: auto;
    padding: 1rem;
}
footer p {
    margin-block-end: 1rem;
}
footer p {
    font-size: smaller;
}

/* Estilos para inicio.html */
.noticia-principal {
    margin-bottom: 20px;
}

.tarjeta {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.tarjeta img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.noticia-recomendada {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.noticia-recomendada img {
    max-width: 300px;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;
}

.noticia-recomendada div {
    flex: 1;
}

.noticia-recomendada .etiqueta {
    background-color: #8f1010;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
}

.detalles-noticia {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.btn-ver-mas {
    background-color: #4085d9;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block; 
    box-sizing: border-box; 
    margin: 0; 
    text-align: center; 
    white-space: nowrap; 
}


.btn-ver-mas:hover {
    background-color: #878787;
}

.titulo-otras-noticias {
    text-align: center;
    margin-bottom: 20px;
}

.otras-noticias {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.otras-noticias .tarjeta {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    width: 45%;
    display: grid;
    grid-template-rows: auto 1fr;
}

.otras-noticias img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.img-noticia {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para noticia.html */
.detalle-noticia {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.detalle-noticia h1 {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.detalle-noticia .detalles-noticia {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.detalle-noticia img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.detalle-noticia p {
    line-height: 1.6;
    margin-bottom: 20px;
}

blockquote.destacado {
    background-color: #ffeb3b;
    padding: 10px 20px;
    border-left: 5px solid #fdd835;
    margin: 20px 0;
    font-style: italic;
}

.interaccion {
    margin-top: 20px;
}

.interaccion button {
    background-color: #ff4c4c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    margin-right: 10px;
}

.interaccion button:hover {
    background-color: #e43e3e;
}

.comentarios {
    margin-top: 40px;
}

.comentarios h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.comentarios .comentario {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.comentarios .comentario p {
    margin: 0 0 10px 0;
}

.comentarios .comentario button {
    background-color: #0b1e4e;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.comentarios .comentario button:hover {
    background-color: #0b1e4e;
}
.comentario-respuesta {
    display: none;
    flex-direction: column;
    margin-top: 10px;
}

.comentario-respuesta textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.comentario-respuesta button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.comentario-respuesta button:hover {
    background-color: #218838;
}


/* Estilos adicionales para uba.html */
.uba-section .uba-image img {
    display: block;
    margin: 0 auto;
}

.uba-section ul {
    list-style: none;
    padding: 0;
}

.uba-section ul li {
    margin-bottom: 10px;
}


#presentacion {
    height: 15em;
    /* background-color: rgb(14, 219, 168); */
    background-image: url(../imagenes/fadu1.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    margin-top: 3em;
    margin-bottom: .5em;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}


.uba-section button {
    background-color: #020919;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin: 5px 0;
}

.uba-section button:hover {
    background-color: #878787;
}
/* Estilos para el dropdown */
.desplegable {
    position: relative;
    display: inline-block;
}

.desplegable-contenido {
    display: none;
    position: absolute;
    background-color: hsl(236, 81%, 8%);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.desplegable-contenido a {
    color: rgb(255, 255, 255);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.desplegable-contenido a:hover {
    background-color: #da6d13;
}

.desplegable:hover .desplegable-contenido {
    display: block;
}

/* Estilo específico para el botón dentro del dropdown */
.desplegable-boton {
    background: none; /* Elimina el fondo */
    border: none; /* Elimina el borde */
    padding: 0; /* Elimina el padding si es necesario */
    font: inherit; /* Usa la fuente heredada */
    cursor: pointer; /* Añade el cursor de puntero */
}
.desplegable-boton p {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.4rem;
    font-family: 'DM Sans', sans-serif;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    text-transform: uppercase;
}
.detalle-noticia {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.detalle-noticia .imagen-noticia1 {
    background-image: url('../webapp/imagenes/pagina 12 noticia.jpg');
    background-size: cover;
    background-position: center;
    height: 290px; /* Ajusta la altura según sea necesario */
    width: 100%; /* Ocupa todo el ancho disponible */
    border-radius: 10px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .enlaces-nav {
        display: none;
    }
}

@media (max-width: 1200px) {
    .noticia-recomendada {
        flex-direction: column;
    }

    .noticia-recomendada img {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .header-mobile {
        display: flex;
    }

    .header-desktop {
        display: none;
    }

    .otras-noticias .tarjeta {
        width: 100%;
    }
}

.equipo_articulos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 1rem;
  }
  
  .equipo_articulos article {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 2rem;   
  }
  
  .equipo_textos {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 1.25em;
  }
  section.contenedora {
    padding-block: 2em;
  }
  
  .titulo {
    border-block-end: 4px solid hsl(231, 71%, 16%);
    padding-block-end: .27rem;
  }
  
  .comitente {
    font-size: 1.10em;
  }
  
  .equipo article {
    background-color: hsla(283, 37%, 60%, 0.066);
    margin-block: .5em;
    padding: 2em;
    border-radius: .25em;
    transition: transform 0.3s ease;
  }
  
  .equipo article:hover {
    transform: scale(1.05);
  }
  
  .equipo img {
    width: 7em;
    aspect-ratio: 1;
    border: solid .2em hsl(221, 58%, 72%);
    border-radius: 50%;
    box-shadow:
      0 4px 4px hsl(0 0% 0% / 30%);
    margin-top: 1.6rem;
  }  

  .contenedor-formulario {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 40rem;
      background-color: #f4f4f4;
  }

  .formulario-login {
      background-color: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 400px;
      box-sizing: border-box;
  }

  .formulario-login h2 {
      margin-bottom: 20px;
      font-size: 1.5em;
      color: #0b1e4e;
  }

  .formulario-login label {
      display: block;
      margin-bottom: 10px;
      font-weight: 500;
      color: #333;
  }

  .formulario-login input {
      width: 100%;
      padding: 10px;
      margin-bottom: 20px;
      border: 1px solid #ddd;
      border-radius: 5px;
      box-sizing: border-box;
  }

  .formulario-login button {
      background-color: #0b1e4e;
      color: white;
      border: none;
      padding: 10px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 700;
      width: 100%;
      box-sizing: border-box;
  }
  .formulario-login button a {
    text-decoration: none;
    color: white;
}

  .formulario-login button:hover {
      background-color: #0a1b3e;
  }

  .formulario-login p {
      text-align: center;
      margin-top: 10px;
  }

  .formulario-login p a {
      color: #3a73b8;
      text-decoration: none;
  }

  .formulario-login p a:hover {
      text-decoration: underline;
  }

  .profile {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    background-color: #fff;
    font-family: 'DM Sans', sans-serif;
}

.profile-header {
    text-align: center;
    margin-bottom: 20px;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.profile-age-location {
    font-size: 1.1em;
    color: #666;
}

.profile-info h2 {
    font-size: 1.2em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.profile-info p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.profile-info ul {
    list-style: none;
    padding: 0;
}

.profile-info ul li {
    background: #f4f4f4;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 5px;
    font-size: 0.9em;
    color: #333;
}


.calendar {
    padding: 20px;
}

.calendar h2 {
    text-align: center;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    background-color: #e4e4e4;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.calendar-day[data-info]:hover::after {
    content: attr(data-info);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 10;
}

.calendar-day.marked {
    background-color: #3a73b8;
    color: white;
}

.calendar-info {
    margin-top: 20px;
    text-align: center;
    font-size: 1.2em;
    color: #333;
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.links button {
    background-color: #0b1e4e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.links button:hover {
    background-color: #3a73b8;
}


.card-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.card-buttons button, .card-buttons a{
    background-color: #e4600d;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.card-buttons button i, .card-buttons a i {
    margin-right: 8px;
}

.card-buttons a {
    background-color: #2f6dd0;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.comentarios {
    width: 100%;
    margin: 20px 0;
}

.comentario {
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.comentario-header, .respuesta-header {
    margin-bottom: 5px;
}

.comentario-body, .respuesta-body {
    margin-bottom: 10px;
}

.respuesta {
    background-color: #e9ecef;
    padding: 8px;
    margin-top: 10px;
    border-radius: 5px;
}

.respuesta-header {
    margin-bottom: 5px;
}

.respuesta-body {
    margin-bottom: 5px;
}

.respuesta-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
}

.btn-like, .btn-responder {
    padding: 6px 12px;
    margin-left: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
}

.btn-like:hover, .btn-responder:hover {
    background-color: #0056b3;
}

