body{
    background-color: #E6DAD1;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: block;
}

footer{
    background-color: #7a8878;
    width: 100%;
    text-align: center;
    padding: 10px;
    font-style:italic;
}

.demo{
    background-color: #7a8878;
    color: #E6DAD1;
}

.button{
    background-color: #7a8878;
    color: #E6DAD1;
}

.button:hover, .button:focus{
    color: #7a8878;
    background-color: #E6DAD1;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 10px;
  margin-top: 20px;
}

.notes-title {
  font-size: 2.6rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.notes-subtitle {
  color: #7a8878;
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.film-section {
  margin-top: 40px;
}

.film-category {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.film-grid {
  display: grid;
  gap: 20px;
}

/* MOBILE: stacked */
.film-card {
  background: #fff7f9;
  padding: 10px;
  border-radius: 12px;
  border: 3px solid black;
  text-align: center;
}

.film-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.film-caption {
  font-size: 0.9rem;
  margin-top: 8px;
  color: #555;
  font-style: italic;
}

.film-grid {
  display: grid;
  gap: 25px;
}

.polaroid {
  background: #fff;
  padding: 10px 10px 20px 10px; /* extra bottom space = classic polaroid */
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  text-align: center;
}

.polaroid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

.polaroid p {
  margin-top: 10px;
  font-size: 0.9rem;
  font-style: italic;
  color: #555;
}

.film-section {
  margin-top: 50px;
}

.film-category {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

@media (min-width: 768px) {
  .film-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .film-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}