/*---------- TAPED PHOTO ----------*/

.taped-image {
  width: 200px;
  margin: 0;
  position: relative;
  padding: 2px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  transform: rotate(-3deg);
  cursor: url('/assets/images/cursors/pointer.png') 16 16, pointer;
}
.taped-image img {
  width: 100%;
  display: block;
}
.taped-image:before {
  display: block;
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 100px;
  height: 20px;
  margin-left: -50px;
  background: rgba(255, 255, 255, 0.6);
}


/*---------- TAPED PHOTO POPUP ----------*/

.photo-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 26, 24, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.photo-popup.is-open {
    display: flex;
}

.photo-popup-content {
    background: #352a42;
    color: #cbbfda;
    max-width: 320px;
    width: 100%;
    padding: 1.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    font-family: "Default Serif", cursive;
    font-size: 1rem;
}

.photo-popup-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/images/textures/old-mathematics.png");
    opacity: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 3;
}

.photo-popup-image {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
    filter: grayscale(100%) sepia(15%) contrast(110%) brightness(90%);
}

.photo-popup-content h2 {
    color: #765e92;
    font-family: "Headlines", serif;
    margin: 0 0 0.25rem;
}

.photo-popup-content p {
    text-align: justify;
    margin-bottom: 0;
}