/* ESTE ES L BUENO */

.container {  
    display: grid;
    grid-template-columns: 1.7fr 0.5fr 0.5fr;
    grid-template-rows: 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "Data vertical-bar ux";
    
    height: fit-content;
    width: 90%;

    margin-top: 0.5%;
    margin-bottom: 0.5%;
    margin-left: 2%;
    margin-right: 0%;
    
    /* background-color: #F3EFE4; */
    background-color: #f9f8f3;
    
    border-radius: 10px;
    border: 2px solid #b3b3b3;
    padding: 5px;
    
    transition: transform 0.5s ease-in-out;
    
    /* font-size: 0.5em; */
    color: white;
    justify-content: center; 
    align-items: center;
    font-family: 'Open Sans', sans-serif;

    
  }

  .container:hover {
    background-color: #F3EFE4;
    transform: scale(1.048); 
}


  
  .Data { 
    grid-area: Data; 
    height: fit-content;
  
  }
  
  /* .Titulo { grid-area: Titulo; }
  
  .Lugar { grid-area: Lugar; }
  
  .Editor { grid-area: Editor; }
  
  .Fecha { grid-area: Fecha; } */
  
  .vertical-bar {
    grid-area: vertical-bar;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='100'%3E%3Crect width='1' height='100' fill='%23808080'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .ux { 
    grid-area: ux; 
    align-items: center;
  }
  
  /* .procedencia-text { grid-area: procedencia-text; } */
/*   
  .signatura { grid-area: signatura; }
  
  .pdf-checkbox { grid-area: pdf-checkbox; } */
  

a {
  color: #9CC2E7;
  margin-top: 0; 
  margin-bottom: 0.5em;
}

a:visited {
  color: #9CC2E7;
}


.selected-container {
  background-color: #f9f8f3; /* Cambia el color de fondo según tus necesidades */
}


.hidden {
  display: none;
}




.container .hidden {
  display: none;
}

.container .visible {
  flex-basis: calc(100% / 3); /* Ajusta el tamaño según tus necesidades */
}



/* h1 {
  font-size: 1em;

} */

h2 {
  color: #3f3f3f;
  font-size: 1.2em;
  margin-top: 0;
  margin-bottom: 1;
  font-weight: normal;

}

h3 {
  color: #3f3f3f;
  font-size: 1.0em;
  /* font-size: 10px; */
  margin-top: 0; 
  margin-bottom: 0;
  font-weight: normal;
}

h4 {
  color: #3f3f3f;
  font-size: 0.8em;
  margin-top: 0;
  margin-bottom: 1;
  font-weight: normal;
}


/* h5 {
  color: #3f3f3f;
  font-size: 0.8em;
  margin-top: 0;
  margin-bottom: 1;
  font-weight: normal;
} */

/* 
DETAIL STUFF 
*/


.detail-container {  display: grid;
  grid-template-columns: 10fr 5fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px 5px;
  grid-auto-flow: row;
  grid-template-areas:
    "main-data metadata_"
    "interactivity images";

    background-color: #f9f8f3;
    width: 85%;
    font-family: 'Open Sans', sans-serif;

}

.main-data { 
  grid-area: main-data; 
  border-radius: 5px;
  border: 5px solid #ebebeb;
  margin: 2%;
  margin-left: 50px;
  margin-right: 50px;
  color: #020202;
}

.interactivity { 
  grid-area: interactivity; 

}

.metadata_ { 
  grid-area: metadata_; 
  margin-top: 20px;
  margin-bottom: 8px;
  margin-left: 1px;
  margin-right: 1px;
  width: 25%;
  color: #020202;
}

/* .space-inbetween { grid-area: space-inbetween; } */

.images { 
  grid-area: images; 
  width: 100%;
}


.imagen-ampliada {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semi-transparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.imagen-ampliada img {
  max-width: 90%;
  max-height: 90%;
}

nav.results {
  display: grid;
  grid-template-columns: 1fr; /* 2 columnas */
  grid-template-rows: 1fr; /* 1 fila */
  gap: 10px; /* Espacio entre los elementos del grid */
  color: black; /* Establece el color del texto en blanco */
  text-align: right; /* Centra el contenido del elemento */
  padding: 2px; /* Agrega un espacio de relleno alrededor del contenido */
  margin-right: 10%;
  height: 100px;


  grid-template-areas:
  "resultados";
}

#author-list-container {
  text-align: left;
  height: auto; 
  min-height: 150px;
  max-height: 200px;
  max-width: 600px;
  overflow-y: scroll;
  line-height: 5px;
  margin-bottom: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.financiacion {
  color: black;
  background-color: #ffffff;
  align-self: flex-end;
  /* margin-top: 100px; */
  }

.logos {
  position: relative;
  height: 100px;
  width: 800vw;
  max-width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  align-self: flex-start;

  color: black; 


  background-color: #ffffff;
}


.logo-1 { 
  height: auto;
  width: auto;
  max-height: 100px;
  max-width: 200px;
}

.logo-2 { 
  height: auto;
  width: auto;
  max-height: 100px;
  max-width: 200px;
}

.logo-3 { 
  height: auto;
  width: auto;
  max-height: 100px;
  max-width: 200px;
}



input[type="checkbox"] {
  color: red; /* Cambia el color del texto a rojo */
}

ul {
  list-style-type: none;
}
li:nth-child(odd) {
  background-color: rgb(255, 255, 255);
}
li:nth-child(even) {
  background-color: #f9f8f3;
}

ul li {
  margin-top: 0;
}

header {
  display: flex;
  position: fixed;
  justify-content: space-between;
  align-items: center;
  margin-left: 10px;
  margin-right: 10px;
  background-color: #C63335;
  border-radius: 10px;
  z-index: 999;
}

.author-cards {  display: grid;
  grid-template-columns: 0.75fr 2fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "sidebar cards"
    "sidebar cards"
    "sidebar cards";
}

.sidebar { grid-area: sidebar; }

#author-list-container {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}


.cards { 
  grid-area: cards; 
  animation: animate-from-bottom 1.5s ease-out;
}


div > .custom-checkbox, div > label {
  margin: 10px 0 10px 20px; /* Ajusta '20px' al espacio que prefieras */
}

/* Aplica estilos a los labels que tienen un número entre paréntesis */
.number-in-parentheses {
  font-weight: bold; /* Hace el texto en negrita */
}




@keyframes animate-from-bottom {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: blue;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}