@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Nanum+Pen+Script|Roboto");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Eliminar en producción */
body {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: #f2f2f2;
  overflow-x: hidden;
}

.vintalight {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1200px;
  padding: 50px 0;
}

.vintalight__container {
  position: relative;
  width: 90%;
  max-width: 10.5em;
  height: 12.25em;
  background-color: #fff;
  font-size: 30px;
  box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1), box-shadow 0.5s, margin 0.5s;
}
.vintalight__container2 {
  position: relative;
  width: 90%;
  max-width: 35.5em;
  height: 30.25em;
  background-color: #fff;
  font-size: 30px;
  box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1), box-shadow 0.5s, margin 0.5s;
}
@media screen and (max-width: 500px) {
  .vintalight__container {
    max-width: 7.35em;
    height: 8.575em;
  }
}

.vintalight__container:nth-child(1) {
  transform: translate(40px, 30px) rotate(-30deg);
  z-index: 40;
}

.vintalight__container:nth-child(1):hover {
  transform: scale(1.15) translate(40px, 30px) rotate(0);
}

@media screen and (max-width: 700px) {
  .vintalight__container:nth-child(1) {
    transform: translate(0) rotate(-30deg);
  }
  .vintalight__container:nth-child(1):hover {
    transform: scale(1.1) translate(0) rotate(0);
  }
}

.vintalight__container:nth-child(2) {
  transform: translate(30px, 20px) rotate(7deg);
  z-index: 50;
}

.vintalight__container:nth-child(2):hover {
  transform: scale(1.15) translate(30px, 20px) rotate(0);
}

@media screen and (max-width: 700px) {
  .vintalight__container:nth-child(2) {
    transform: translate(0) rotate(7deg);
  }
  .vintalight__container:nth-child(2):hover {
    transform: scale(1.1) translate(0) rotate(0);
  }
}

.vintalight__container:nth-child(3) {
  transform: translate(-20px, 20px) rotate(20deg);
  z-index: 40;
}

.vintalight__container:nth-child(3):hover {
  transform: scale(1.15) translate(-20px, 20px) rotate(0);
}

@media screen and (max-width: 700px) {
  .vintalight__container:nth-child(3) {
    transform: translate(0) rotate(20deg);
  }
  .vintalight__container:nth-child(3):hover {
    transform: scale(1.1) translate(0) rotate(0);
  }
}

.vintalight__container:nth-child(4) {
  transform: translate(40px, -10px) rotate(10deg);
  z-index: 30;
}

.vintalight__container:nth-child(4):hover {
  transform: scale(1.15) translate(40px, -10px) rotate(0);
}

@media screen and (max-width: 700px) {
  .vintalight__container:nth-child(4) {
    transform: translate(0) rotate(10deg);
  }
  .vintalight__container:nth-child(4):hover {
    transform: scale(1.1) translate(0) rotate(0);
  }
}

.vintalight__container:nth-child(5) {
  transform: translate(30px, -20px) rotate(-20deg);
  z-index: 20;
}

.vintalight__container:nth-child(5):hover {
  transform: scale(1.15) translate(30px, -20px) rotate(0);
}

@media screen and (max-width: 700px) {
  .vintalight__container:nth-child(5) {
    transform: translate(0) rotate(-20deg);
  }
  .vintalight__container:nth-child(5):hover {
    transform: scale(1.1) translate(0) rotate(0);
  }
}

.vintalight__container:nth-child(6) {
  transform: translate(30px, -40px) rotate(-10deg);
  z-index: 40;
}

.vintalight__container:nth-child(6):hover {
  transform: scale(1.15) translate(30px, -40px) rotate(0);
}

@media screen and (max-width: 700px) {
  .vintalight__container:nth-child(6) {
    transform: translate(0) rotate(-10deg);
  }
  .vintalight__container:nth-child(6):hover {
    transform: scale(1.1) translate(0) rotate(0);
  }
}

.vintalight__container:hover {
  box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

@media screen and (max-width: 700px) {
  .vintalight__container:hover {
    margin: 0 25px;
  }
}

.vintalight__container:hover .vintalight__photo::before {
  transform: scale(1);
}

.vintalight__container.active, .vintalight__container.active:hover {
  transform: rotate(0) scale(1.25);
}

@media screen and (max-width: 500px) {
  .vintalight__container.active, .vintalight__container.active:hover {
    transform: rotate(0) scale(1.15);
  }
}

.vintalight__container.active {
  position: relative;
}

.vintalight__container.active .vintalight__photo {
  cursor: default;
}

.vintalight__container.active .vintalight__photo::before {
  display: none;
}

.vintalight__photo {
  position: relative;
  width: 9.25em;
  height: 9.25em;
  margin: 0.625em auto 0;
  overflow: hidden;
  cursor: pointer;
}

.vintalight__photo2 {
  position: relative;
  width: 28em;
  height: 27em;
  margin: 0.625em auto 0;
  overflow: hidden;
  cursor: pointer;
}

@media screen and (max-width: 500px) {
  .vintalight__photo {
    width: 6.475em;
    height: 6.475em;
    margin: 0.4375em auto 0;
  }
}

.vintalight__photo::before {
  content: "Vergroot";
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1em;
  font-family: "Roboto", sans-serif;
  transform: scale(0);
  transition: all 0.25s;
}

.vintalight__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vintalight__caption {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 2.375em;
}

@media screen and (max-width: 500px) {
  .vintalight__caption {
    height: 1.6625em;
  }
}

.vintalight__text {
  color: #222;
  font-size: 1em;
  font-family: "Nanum Pen Script", cursive;
}

.vintalight-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  z-index: 10000;
  transition: opacity 0.5s;
}

.vintalight-overlay.active {
  opacity: 1;
}

.vintalight__button {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-color: #f53d3d;
  border: 3px solid #fff;
  border-radius: 50%;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  box-shadow: -2px 2px 1px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  cursor: pointer;
}


/* Newspaper palette for the existing photo gallery; retain its layout and card sizes. */
body{background-color:#d5c7a8;background-image:linear-gradient(rgba(234,221,190,.22),rgba(234,221,190,.22)),url('./images/really-old.jpg');color:#302619}
.vintalight__container,.vintalight__container2{background-color:#eee3c9;border:1px solid #806b49;box-shadow:0 3px 10px rgba(48,38,25,.35)}
.vintalight__caption{color:#302619;font-family:Georgia,'Times New Roman',serif}
.vintalight__text{color:#302619;font-family:Georgia,'Times New Roman',serif}


/* Keep the outside white and print the original newsprint inside the page */
body{background-color:#fff!important;background-image:none!important;color:#302619}
#Table_01,#Table_04{background-color:#eee3c9;background-image:linear-gradient(rgba(234,221,190,.18),rgba(234,221,190,.18)),url('./images/really-old.jpg');background-repeat:repeat;background-position:center top}

/* Small white margin above the newspaper sheet */
#Table_01{margin-top:12px}
body{padding-top:12px!important}
#Table_01{position:relative;top:12px;margin-top:0}
.vintalight__container,.vintalight__container2{background-color:#fff!important}
.vintalight__text{font-family:'Nanum Pen Script',cursive!important;font-weight:400!important;letter-spacing:.02em}


/* Prevent the two-pixel table overflow from creating an inner horizontal scrollbar. */
#Table_02{overflow-x:hidden!important;overflow-y:visible!important}

/* Keep the article invitation on the same continuous newspaper sheet. */
#Table_04{width:900px!important;max-width:100%!important;margin:0 auto 18px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important}
#Table_04 td{padding-top:8px!important}

/* White space below the newspaper lets the sheet cast its bottom shadow. */
body{padding-bottom:50px!important}
/* Set the lift below the newspaper on the sheet itself so flex centering cannot absorb it. */
body{padding-bottom:0!important}
#Table_01{margin-bottom:50px!important}
/* Keep a 25px white margin below the newspaper sheet. */
#Table_01{margin-bottom:25px!important}
/* Explicit 25px white page area below the newspaper sheet. */
#Table_01{margin-bottom:0!important}
.newspaper-bottom-space{height:25px;width:100%;clear:both;flex:none}
/* Account for the centered table baseline so 25px remains visible below the sheet. */
.newspaper-bottom-space{height:37px!important}
/* Aged printed-paper edge around the newspaper sheet. */
#Table_01{border:1px solid #9a8764!important;outline:4px solid #e9dfc7!important;box-shadow:0 0 0 1px #b09b72,0 0 0 5px #f1e7cf,0 0 0 6px #a79570,0 12px 28px rgba(54,42,25,.22)!important}
