

/* POLAROID STYLING */
.polaroid {
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  background-color: #FF0365;
  padding: .5rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

/* HOVER EFFECT: ZOOM + SHADOW POP + ROTATE */
.polaroid:hover {
  transform: scale(1.05) rotate(0deg) !important;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 10);
}

/* IMAGE CONTAINER */
.polaroid__content-image {
  height: 350px;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

/* IMAGE ZOOM ON HOVER */
.polaroid__content-image > img {
  height: 100%;
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.polaroid:hover .polaroid__content-image > img {
  transform: scale(1.1);
}

/* CAPTION */
.polaroid__content-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  padding-top: 10px;
  text-align: center;
  font-weight: 500;
}