body {
  font-family: "Rotis SemiSans W01", Helvetica, Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #111;
}

header {
  position: relative;
  width: 100%;
  padding: 2rem 1rem 1rem 1rem;
  min-height: 80px;
}

.logo {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  height: 70px;
  margin: 0;
  flex-shrink: 0;
}

h1 {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin: 0;
  padding-top: 40px;
}

.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 70px auto;
  padding: 2rem 1rem;
}

.exhibition-card {
  position: relative;
  background: #fafafa;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.exhibition-card:hover {
  box-shadow: 0 4px 16px rgba(209,60,60,0.10);
  transform: translateY(-4px) scale(1.01);
}

.exhibition-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.exhibition-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  pointer-events: none;
  border-radius: 3px;
  z-index: 1;
}

.exhibition-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.exhibition-card {
  position: relative;
}

.footer {
  background-color: #eee;
  width: 100%;
  height: 50px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px; 
  position: absolute;
  bottom: 0;
}

.footer a {
  color: black;
  text-decoration: none;
  padding: 0 20px;
}

a:hover {
  color: rgb(223, 0, 41);
}

@media (max-width: 600px) {
  header {
    padding: 0;
    min-height: 0;
  }
  .logo {
    position: static;
    display: block;
    margin: 0 auto 0.5rem auto;
    transform: none;
  }
  h1 {
    font-size: 1.8rem;
    text-align: center;
    padding-top: 0;
  }
  .exhibition-card img {
    height: 200px;
  }
  .exhibition-card::after {
    height: 50%;
  }

  .exhibition-grid {
    margin: 0 auto;
  }

  .footer {
  background-color: #eee;
  width: 100%;
  height: 50px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px; 
  position: inherit;
  bottom: 0;
}
}
