body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(90deg, #1e3c72, #2a5298);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
}

.logo {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav input {
  padding: 0.5rem;
  border-radius: 4px;
  border: none;
}

.container {
  display: flex;
  margin-top: 80px;
  min-height: calc(100vh - 120px);
}

.sidebar {
  width: 30%;
  background-color: #e3eaf2;
  padding: 1rem;
  box-shadow: inset -1px 0 0 #ccc;
}

.card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
}

.thumbnail {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.2s;
}

.card-text {
  flex: 1;
}

.card:hover .thumbnail {
  transform: scale(1.05);
}

.content {
  width: 70%;
  padding: 2rem;
  background: white;
}

footer {
  height: 40px;
  background-color: #2a2a2a;
  color: #ccc;
  text-align: center;
  line-height: 40px;
}

/* Modal estilo lupa */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
}

#caption {
  margin: auto;
  text-align: center;
  color: #ccc;
  padding: 1rem;
}

#closeModal {
  position: absolute;
  top: 50px;
  right: 80px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}