/* =========================
   PAGE
========================= */

html, body {
  margin: 0;
  padding: 0;

  font-size: 16px;
  line-height: 1.7;

   background-color: #FFCFF0;

  text-align: center;
}

/* =========================
   MAIN CONTAINER
========================= */

.container {
  width: 1100px;
  max-width: 95vw;

  margin: 0 auto;

  padding: 20px;

  box-sizing: border-box;
}

/* =========================
   SECTION HEADERS
========================= */

.funlabel {
  color: #F279C8;

  font-size: 22px;
  font-weight: bold;

  text-align: left;

  margin-top: 30px;
}

.funemptybox {
  border: 1px dashed #F279C8;

  margin-bottom: 15px;
}

/* =========================
   TEXT
========================= */

p {
  max-width: 800px;

  margin: 15px auto;

  text-align: left;
}

/* =========================
   ART GALLERY
========================= */

.gallery {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 15px;

  margin-top: 20px;
}

.gallery a {
  display: block;
}

/* THIS IS THE IMPORTANT PART */

.gallery img {
  max-height: 600px; /* change to 500px if still too big */

  width: auto;

  max-width: 100%;

  display: block;

  border: 1px dashed #F279C8;

  box-sizing: border-box;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);

  box-shadow: 0 0 12px #F279C8;
}

/* =========================
   LINKS
========================= */

a:hover {
  text-decoration: underline dotted;

  color: #F279C8;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .gallery img {
    max-height: 350px;
  }

  .container {
    width: 100%;
    padding: 10px;
  }
}