body {
    background-color: var(--ltgray);
}

main {
    margin: 20px;
  }

.films h2 {
    font-size: 2.25rem;
    text-align: center;
}

.films p {
    font-size: 1.25rem;
    font-weight: 400;
}

h2 {
    font-size: 2.75rem;
    text-align: center;
    text-transform:uppercase;
    padding: 15px 0;
    line-height: 3rem;
}

.artistic {
    padding: 20px 0;
    font-weight: 600;
    font-size: 2.5rem;
}

.category {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 2.1rem;
    padding-bottom: 30px;
}

.one-film h4 {
 font-size: 1.75rem;
 font-weight: 800;
} 
  
p, li{
    font-size: 1.25rem;
}

li {
    list-style: none;
}

.after {
    font-style: italic;
    font-size: 1rem;
}

.time {
    font-weight: 600;
}

.film-article {
    padding-bottom: 25px;
}

.one-film img {
    padding: 35px;
}

.awarded {
    font-weight: 700;
    font-size: 1.7rem;
    background-color:var(--yellow);
}

.gallery-container {
    position: relative;
    text-align: center;
    color: white;
    -webkit-text-stroke: 0.8px black;
}

.gallery-pic {
    width: 100%;
}

.bottom-right {
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: .5rem;
    position: absolute;
    bottom: 8px;
    right: 10px;
  }

  /* body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
} */

.gallery-container {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-container h1 {
  color: black;
  text-align: center;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.gallery-item {
  cursor: pointer;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  color: black;
  padding: 5px;
  font-size: 0.85rem;
  text-align: center;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.lightbox p {
  color: white;
  margin-top: 10px;
  text-align: center;
  font-size: 1rem;
}

/* Mobile-friendly */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .lightbox p {
    font-size: 0.9rem;
  }
}

@media (min-width:900px){
 main {
    width: 60%;
    margin:0 auto;
 }

.films h2 {
    font-size: 3rem;
    line-height: 4rem;
    padding-top: 40px;
 }

.category {
    font-size: 3rem;
    padding-top: 30px;
}

 .one-film {
    display: flex;
 }

 .one-film img {
    padding: 0;
    width: 35%;
    margin: 0 30px 30px 0;
    border-radius: 10px;
 }

 .one-film h4 {
    font-size: 2.5rem;
 }

 .films p {
    font-size: 1.7rem;
 }

 .bottom-right {
    font-size: 2rem;
 }
} 
