body {
    margin: 0;
    background: url('theater.jpeg');
    background-size: cover;
    font-family: 'Courier New', monospace; /* change to handwriting font later */
  }

nav {
  position: absolute;
  top: 20px;
  left: 10px;
  z-index: 10;
  background-color: #DC2026;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  text-decoration: underline;
}

.board {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

  .card {
    width: 300px;
    height: 200px;
    perspective: 1000px;
  }

  .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }

  .card:hover .card-inner {
    transform: rotateY(180deg);
  }

  .card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 4px solid #ffffff;
    overflow: hidden;
  }

  .card-front {
    background-size: cover;
    background-position: center;
  }

  .card-back {
    background-color: #fff8dc; /* postcard paper color */
    background-image: url(paper.png);
    transform: rotateY(180deg);
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.4;
    overflow-y: auto;
  }

h4 {
    color: rgb(98, 32, 32);
    margin-top: -1px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}

.filmstrip-container {
  width: 100%;
  height: 60px; /* height of your film strip */
  background: black url('filmstrip.jpg') repeat-x;
  background-size: contain; /* makes sure it fits height */
  animation: scrollFilm 20s linear infinite;
}
@keyframes scrollFilm {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -100% 0;
  }
}

.modal {
      display: none; 
      position: fixed; 
      z-index: 1000; 
      left: 0; 
      top: 0; 
      width: 100%; 
      height: 100%; 
      overflow: auto; 
      background-color: rgba(0,0,0,0.6);
    }

    /* Popup content */
    .modal-content {
      background: #fff;
      margin: 10% auto;
      padding: 0;
      border-radius: 12px;
      width: 90%;
      max-width: 800px;
      height: 500px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      position: relative;
    }

    /* Close button */
    .close {
      position: absolute;
      top: 8px;
      right: 16px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
      color: white;
    }

    iframe {
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 0 0 12px 12px;
    }

    .open-guestbook {
      cursor: pointer;
      color: #ffffff;
      font-weight: bold;
      font-size: 20px;
      text-align: center;
      margin-bottom: -20px;
    }

h6 {
    color: #939393;
    font-size: 14px;
    text-align: center;
    margin-bottom: -20px;
}