:root{
  --accent: #4d759b;
  --ink: #3c3c3c;
}


.date-card{
  display:flex; justify-content:center; align-items:center;
  margin-bottom: 1em;
  font-family:"Playfair Display", serif;
  color:var(--ink);
}


.date-wrap{
  text-align:center;
  max-width: 340px;            
  width:100%;
}

/* MONTH */
.month{
  font-variant: small-caps;
  letter-spacing:.32em;
  font-size: 1.05rem;           
}

/* 3-column core */
.content{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:.9rem;                     
}


.center-block .day{
  font-size: 3.2rem;            
  line-height:1;
  font-weight:500;
}
.center-block .year{
  margin-top:.15rem;
  font-size:1.2rem;             
  letter-spacing:.12em;
}


.side-label{
  display:flex; flex-direction:column; align-items:center;
  gap:.25rem;
}
.side-label .label{
  text-transform:uppercase;
  letter-spacing:.36em;
  font-size:.78rem;              
  white-space:nowrap;
}
.side-label .line{
  width:68%;                      
  height:2px;
  background:var(--accent);
  opacity:.85;
  border-radius:2px;
}


@media (min-width: 992px){
  .date-wrap{ max-width: 340px; } 
  .center-block .day{ font-size: 3.4rem; }
}
@media (max-width: 768px){
  .date-wrap{ max-width: 380px; } 
  .center-block .day{ font-size: 3.0rem; }
  .center-block .year{ font-size: 1.1rem; }
  .side-label .label{ font-size:.74rem; letter-spacing:.32em; }
}
@media (max-width: 480px){
  .date-wrap{ max-width: 300px; }
  .content{ grid-template-columns:1fr auto 1fr; gap:.7rem; }
  .side-label .line{ width:62%; }
}



#preloader{
  position: fixed; inset: 0;
  background: #fff;
  display: grid; place-items: center;
  z-index: 9999;
  opacity: 1; visibility: visible;
  transition: opacity .45s ease, visibility 0s linear .45s;
}

/* Center stack */
#preloader .preloader-inner{
  text-align: center;
  padding: 1rem 2rem;
}

/* Monogram breathing */
#preloader .preloader-mark{
  width: clamp(80px, 13vw, 100px);
  height: auto;
  animation: breathe 2.8s ease-in-out infinite;
  will-change: transform, filter;
  user-select: none;
  -webkit-user-drag: none;
}

/* Caption */
#preloader .preloader-text{
  margin-top: 2em !important;
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  letter-spacing: .2em;
  color: var(--accent);
  opacity: .9;
}

/* Fade-out state */
#preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
}

/* Lock scroll while loading */
html.preloading, body.preloading { overflow: hidden; }

/* Breathing keyframes */
@keyframes breathe{
  0%   { transform: scale(1);      filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
  50%  { transform: scale(1.06);   filter: drop-shadow(0 6px 14px rgba(0,0,0,.08)); }
  100% { transform: scale(1);      filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce){
  #preloader .preloader-mark{ animation: none; }
  #preloader{ transition: none; }
}


.cursive-title {
  font-family: 'Luxurious Script'!important;
  font-weight: 400;
  color: #4d759b;
}

#invitation .container div {
  font-family: 'Playfair Display' !important
}

img.monogram {
  max-height: max(15vw, 20vw) !important;
  margin-bottom: 1em;
}

@media (max-width: 960px) {
  .masthead {
    background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0), rgba(0,0,0,.5)), url("../../assets/img/Photo%2010-7-25,%208%2012%2012%20AM%20(1)-1.webp") !important;
    background-position-y: 60% !important;
    background-position-x: 65% !important;
    height: auto;
  }
}

.masthead {
  background-image: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,0),rgba(0,0,0,.5)),url(../../assets/img/HeroBanner.webp);
  background-position: 65% !important;
}

nav .cursive-title {
  font-size: 2.5em !important;
}

.cursive-title {
  display: inline-block;
  animation: breathe 10s ease-in-out infinite;
  transform-origin: center;
}

/* Keyframes for the gentle breathing effect */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

#invitation {
  background-image: url('../../assets/img/hydrangea%20right.webp'), url('../../assets/img/colorful%20left.webp');
  background-position: bottom right, top left;
  background-size: 18%, 27%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.invitation-text {
  margin-bottom: 1.5em !important;
}

.countdown-text {
  margin: 1em 0;
}

.countdown-text h3, h4 {
  color: white;
  font-family: 'Playfair Display' !important;
}

.cursive-title.header-names {
  font-size: clamp(1.2em, calc(14vw + 1rem), 2em) !important;
}

@media (min-width: 400px) and (max-width:760px) {
  .cursive-title.invitation-names {
    /*font-size: 4em;*/
  }
}

@media (max-width:576px) {
  .invitation-white, .gift-registry-white, .entourage-white {
    background-color: rgba(255,255,255,0.7);
    padding: 1em;
  }
}

.wc-col {
  background-color: rgba(255,255,255,0.7);
  padding: 1em;
}

.invitation-white {
  text-align: center;
}

@media (max-width:380px) {
  #invitation {
    background-size: 30vh;
    padding: 10vh 0;
    background-attachment: initial;
  }
}

@media (max-width:576px) {
  #invitation {
    background-size: 32%, 52%;
    background-attachment: initial;
  }
}

@media (max-width:700px) {
  .intro-text {
    text-align: center;
    padding-top: 11em!important;
    padding-bottom: 1em !important;
  }
}

@media (min-width: 701px) {
  .intro-text {
    text-align: center;
    /*padding: 32vh 0 20vh 0 !important;*/
    padding-top: 17em !important;
    padding-bottom: 1em;
  }
}

@media (max-width: 400px) {
  .cursive-title.invitation-names {
    font-size: 2.5em;
  }
}

br {
  margin: 0 0;
}

.invitation-location {
  position: relative;
  margin-bottom: 2em;
}

.invitation-location a {
  text-decoration: none;
}
.invitation-location a:hover {
  text-decoration-color: var(--accent) !important;
  text-decoration: underline;
}

.invitation-rsvp {
  position: relative;
}

.cursive-title.invitation-names {
  font-size: clamp(1em, calc(8vw + 1em), 4em);
}

#our-story {
  background-color: #c5e0f5;
  background-image: url('../../assets/img/Save%20the%20Date%20Paolo%20and%20Marian%20(1).webp');
  background-repeat: no-repeat;
  background-size: 35%;
  background-position: bottom right;
  /*height: 100vh;*/
}

.our-story-heading {
  font-family: 'Luxurious Script';
  font-size: 5em;
  text-align: center;
  color: #4d759b;
  font-weight: 400;
  margin: 25px 0;
}

#mainNav {
  background-color: rgba(255,255,255,.7) !important;
}

@media (min-width: 992px) {
  .our-story-paragraph {
    font-family: 'Playfair Display';
  }
}

@media (max-width: 576px) {
  .our-story-paragraph {
    text-align: center;
  }
}

.our-story-paragraph {
  font-family: 'Playfair Display';
}

.our-story-column-paragraph {
  display: flex;
  align-items: center;
}

@media (max-width: 580px) {
  .header-subtext {
    font-size: 1em !important;
    color: var(--bs-body-bg);
    font-family: 'Playfair Display';
  }
}

.header-invitation-link {
  padding: 20px 0;
  font-family: 'Playfair Display';
  animation: floatDown 2.5s ease-in-out infinite;
}

.header-subtext {
  font-size: 1.5em;
  font-family: 'Playfair Display';
}

.header-invitation-link a:hover {
  color: white;
  font-weight: 400;
  /*font-size: 1.1em;*/
}

@media (max-width: 380px) {
  .header-invitation-link a {
    text-decoration: none;
    font-size: 1em;
    transition: .5s;
  }
}

.header-invitation-link a {
  text-decoration: none;
  font-size: 1em;
  /*transition: all .5s ease-in-out;*/
}

.gallery {
  display: grid;
  width: 100%;
  align-items: center;
  justify-items: center;
  margin: 25px 0;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.5/3;
  object-fit: cover;
  border: 15px solid #f2f2f2;
  border-bottom: 30px solid #f2f2f2;
  box-shadow: 0 0 4px #0007;
  transition: transform .3s ease-in-out;
  transform: scale(1);
  transform: rotate(2deg)!important;
  object-position: bottom;
}

.gallery img:hover {
  transform: scale(1.05)!important;
  transform: rotate(2deg)!important;
}

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

.polaroid-div {
  display: grid;
  place-content: center;
  /*overflow: hidden;*/
  justify-items: center;
}

.flourish {
  justify-items: center;
  margin: 1em;
  max-width: clamp(2em, calc(3vw + 1em), 5vw);
  display: block;
  margin: 1em auto 1em auto;
}

@media (max-width: 576px) {
  .flourish {
    width: none;
  }
}

.invitation-rsvp {
  margin: 10px 10px;
  margin-left: 10px;
  margin-right: 10px;
  background: #E4A9B7;
  border-width: 0px;
  font-family: 'Playfair Display';
}

.invitation-rsvp:hover {
  background-color: #FBD3B0 !important;
  color: var(--ink);
  font-weight: 800;
}

#our-story {
  background-size: 75vh;
}

@media (min-width: 300px) and (max-width: 768px) {
  .gallery > img {
    transform: rotate(-2deg);
    z-index: 1;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .gallery > img:nth-child(1) {
    transform: rotate(-4deg);
    z-index: 1;
    grid-area: 2/1;
  }
}

.photos img {
  width: 100%;
  aspect-ratio: 2.5/3;
  object-fit: cover;
  border: 10px solid #f2f2f2;
  border-bottom: 30px solid #f2f2f2;
  box-shadow: 0 0 4px #0007;
}

::selection {
  background-color: #e4a9b7!important;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #fbd3b0 !important;
  border-color: #fbd3b0 !important;
  color: #fff;
}

.nav-item > a:hover {
  /*text-decoration: underline !important;*/
  color: #4d759b !important;
}

.nav-item > a {
  font-family: 'Playfair Display' !important;
  transition: .3s ease-in-out;
  font-weight: 400 !important;
}

.navbar-brand {
  font-size: 1em;
  transition: .3s ease-in-out;
}

.navbar-brand:hover {
  color: #4d759b !important;
}

#accordion-1, .accordion-header {
  font-family: 'Playfair Display' !important;
}

.accordion-button:not(.collapsed) {
  background-color: #c5e0f5 !important;
  color: var(--ink);
}

.accordion-button {
  background-color: #c5e0f5 !important;
  color: var(--ink);
  font-weight: 800;
}

.accordion-button:focus {
  background-color: #c5e0f5 !important;
  border-color: #4d759b !important;
  z-index: 3;
  outline: 0;
  box-shadow: none !important;
}

#entourage-container {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

#entourage-container h6 {
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-family: 'Playfair Display' !important;
  text-transform: uppercase;
  color: #4d759b !important;
  font-size: 1.3em;
}

.two-column {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-top: 10px;
}

.two-column div, .two-column div {
  width: 48%;
}

.pair {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-bottom: 25px;
}

@media (max-width: 400px) {
  .two-column div, .pair div {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 400px) {
  .two-column, .pair {
    flex-direction: column;
    align-items: center;
  }
}

.photo-gallery {
  background-image: url('../../assets/img/colorful%20left.webp'), url('../../assets/img/colorful%20right.webp');
  background-position: top left, top right;
  background-size: 30%;
  background-repeat: no-repeat;
  padding: 3em 0 !important;
}

@media (max-width: 780px) {
  .photo-gallery {
    background-size: 100%;
    background-image: url("../../assets/img/colorful-top.webp");
    background-position: top center;
    background-position-y: -4%;

  }
}

.accordion-item {
  margin: 10px 0;
}

.venue-hover img {
  width: 100%;
  transform: scale(1);
  transition: all .3s ease;
  opacity: 1;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1/1;
}

.venue-hover:hover img {
  transform: scale(.9);
  opacity: .5;
}

.cursive-heading {
  font-family: 'Luxurious Script';
  font-size: clamp(1em, calc(9vw + 1em), 4em);
  font-weight: 400;
  text-align: center;
  color: #4d759b;
  /*margin-bottom: 25px;*/
}

@media (min-width: 768px) {
  .attire-image, .palette {
    max-width: 50%;
    display: block;
    margin: 25px auto;
  }
}

@media (max-width: 767px) {
  .attire-image, .palette {
    width: 90%;
    margin: 25px auto;
  }
}

.attire-col {
  text-align: center;
}

@media (max-width: 1200px) {
  #rsvp, #our-story {
    background-size: 50% !important;
  }
}

@media (max-width: 580px) {
  #rsvp, #our-story {
    background-size: 100% !important;
    background-position: left bottom!important;
  }
}

#rsvp {
  background-color: #c5e0f5;
  background-image: url("../../assets/img/Save%20the%20Date%20Paolo%20and%20Marian%20(1).webp");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 75vh;
}

.venue-hover {
  position: relative;
}

.venue-hover:hover .venue-hover-heading-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  opacity: 1 !important;
  border-bottom: 1px solid;
}

.venue-hover-heading-container {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%,-50%);
  opacity: 0;
  border-bottom: 1px solid;
  transition: all .3s ease;
}

@media (max-width: 768px) {
  .col-md-7 {
    flex: 0 0 auto;
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .col-md-5 {
    flex: 0 0 auto;
    width: 90%;
    margin: 0 auto;
  }
}

.venue-row {
  /*margin-bottom: 25px;*/
}

.venue-hover-heading-container a {
  font-family: 'Playfair Display';
  text-decoration: none;
  color: #4d759b;
  font-weight: 600;
  font-size: 1.5em;
}

.photos img {
  transform: rotate(0deg) scale(1);
}

.photos img:hover {
  transform: rotate(2deg) scale(1.1);
}

.rsvp-image {
  width: 90%;
  aspect-ratio: 2.5/3;
  object-fit: cover;
  border: 15px solid #f2f2f2;
  border-bottom: 30px solid #f2f2f2;
  box-shadow: 0 0 4px #0007;
  transform: rotate(-2deg);
  display: block;
  margin: 0 auto;
  transition: all .3s ease;
  justify-content: center;
  margin-top: 25px;
}

.venue-address {
  text-decoration: underline;
  text-decoration-color: #4d759b;
  margin: 1em 0 !important;
  font-family: 'Playfair Display';
  max-width: 800px;
  color: #4d759b !important;
}

#gift {
  background-image: url("../../assets/img/hydrangea%20left.webp"), url("../../assets/img/colorful%20right.webp");
  background-repeat: no-repeat;
  background-position: bottom left, top right;
  background-attachment: fixed;
  background-size: 18%, 27%;
}

#venue {
  background-image: url("../../assets/img/hydrangea%20left.webp"), url("../../assets/img/colorful%20right.webp");
  background-repeat: no-repeat;
  background-position: bottom left, top right;
  background-attachment: fixed;
  background-size: 18%, 27%;
}

@media (max-width: 576px) {
  #venue, #gift {
    background-attachment: initial;
    background-size: 50%, 60% !important;
  }
}

@media (max-width: 1024px) {
  #invitation, #venue, #gift {
    background-attachment: initial;
    background-size: 28%, 37%;
  }
}

@media (max-width: 576px) {
  .venue-white {
    background-color: rgba(255,255,255,0.7);
    width: 95%;
  }
}

.timeline-svg {
  width: 80%;
  filter: invert(100%);
  margin: 0 auto;
}

.timeline-svg.timeline-horizontal {
  display: block;
}

.timeline-svg.timeline-vertical {
  display: none;
}

@media (max-width: 760px) {
  .timeline-svg.timeline-horizontal {
    display: none;
  }
}

@media (max-width: 760px) {
  .timeline-svg.timeline-vertical {
    display: block;
  }
}

#timeline {
  background-position-x: 55% !important;
  background-attachment: fixed;
}

@media (max-width: 580px) {
  #timeline {
    background-attachment: initial;
    background-position-y: 95% !important;
    background-position-x: 50% !important;
  }
}

#timeline .cursive-heading {
  color: white;
}

.rsvp-image:hover {
  transform: scale(1.05);
}

#entourage-container p {
  font-family: 'Playfair Display';
  text-transform: uppercase;
}

h5, h4, h3 {
  text-align: center;
  font-family: 'Playfair Display';
  margin-bottom: 25px;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}

#timeline h4 {
  color: white;
}

.icon-location-pin {
  color: #4d759b;
}

.group {
  margin-bottom: 25px;
}

#entourage {
  background-image: url('../../assets/img/hydrangea%20right.webp'), url('../../assets/img/colorful%20left.webp');
  background-position: bottom right, top left;
  background-size: 18%, 27%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#attire {
  background-image: url('../../assets/img/hydrangea%20right.webp'), url('../../assets/img/colorful%20left.webp');
  background-position: bottom right, top left;
  background-size: 18%, 27%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#faq {
  background-image: url("../../assets/img/hydrangea%20right.webp"), url("../../assets/img/hydrangea%20left.webp");
  background-repeat: no-repeat;
  background-position: bottom right, bottom left;
  background-size: 20%;
  /*padding-top: .5em !important;*/
}

@media (max-width: 1024px) {
  #attire, #entourage {
    background-size: 28%, 37%;
    background-attachment: initial;
  }
}

@media (max-width: 576px) {
  #attire, #entourage {
    background-size: 50%, 60%;
    background-attachment: initial;
  }
}

@media (max-width: 576px) {
  .attire-white {
    background-color: rgba(255,255,255,0.7);
  }
}

#attire .col-md-12, .col-sm-12, .col-xs-12 {
  margin-bottom: 50px;
}

.header-btn {
  background-color: rgba(255,255,255,0.5);
  font-family: 'Playfair Display';
  margin: 20px;
  color: #323232 !important;
  /*color: white;*/
  border: 1px solid #cccccc;
}

.header-btn:hover {
  border: 1px solid white;
  background-color: initial;
  color: #cccccc !important;
}

.icon-arrow-down.header-icon {
  margin-bottom: 25px;
  color: white;
  text-decoration: underline !important;
  display: inline-block;
  animation: floatDown 2.5s ease-in-out infinite;
}

@keyframes floatDown {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.7;
  }
}

@media (max-width: 760px) {
  .qrs {
    display: none !important;
  }
}

.qrs {
  width: 70%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .qrs-vertical {
    display: block !important;
    width: 80%;
    margin: 0 auto;
  }
}

.qrs-vertical {
  display: none;
}

.parallax-div2 {
  width: 100%;
  height: 70vh;
  background-image: url("../../assets/img/Banner2.webp");
  background-attachment: fixed;
  background-size: cover;
  opacity: .8;
  background-position: center;
}

.parallax-div {
  width: 100%;
  height: 70vh;
  background-image: url("../../assets/img/Banner1.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  opacity: .8;
}

#timeline {
  background-color: #4d759b;
  background-image: url("../../assets/img/Timeline%20Banner.webp");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: cover;
}

p {
  font-family: 'Playfair Display';
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 576px) {
  .parallax-div, .parallax-div2 {
    background-attachment: initial;
    background-position: center;
  }
}

h3.cursive-heading {
  font-size: clamp(1em, calc(6vw + 1rem), 3em);
}

@media (max-width: 576px) {
  p, .venue-address, .invitation-text, #entourage h6 {
    font-size: .9em;
    color: var(--ink);
  }
}

@media (min-width: 778px) {
  p, .venue-address, .invitation-text {
    font-size: 1em;
    color: var(--ink);
  }
}

@media (min-width: 1200px) {
  p, .venue-address, .invitation-text {
    font-size: 1.2em;
    color: var(--ink);
  }
}

@media (max-width: 576px) {
  #faq {
    background-size: 30%, 30%;
  }
}

.rsvp-frame {
  display: block;
  overflow: hidden;
}

@media (max-width: 576px) {
  .venue-hover img {
    width: 100%;
    object-fit: contain;
  }
}

#venue p {
  margin: 1em auto !important;
  max-width: 90%;
  text-align: center;
}

.hover-p {
  position: absolute;
  text-decoration: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.dropdown-item:active {
  background-color: initial;
}

.dropdown-item {
  font-size: .9em;
}

#gift p {
  max-width: 800px;
  margin: 0 auto !important;
  display: block;
}

.carousel-item img {
  aspect-ratio: 2.5/3;
  object-fit: cover;
  border: 10px solid #f2f2f2;
  border-bottom: 30px solid #f2f2f2;
  box-shadow: 0 0 4px #0007;
}

iframe {
  display: block;
  margin: 0 auto;
  position: relative;
  width: 125%;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 316px) {
  .intro-text {
    padding-top: 8em !important;
    padding-bottom: 1em !important;
  }
}

.active {
  background-color: rgba(0,0,0,0) !important;
  color: var(--bs-body-color) !important;
}

@media (max-width: 768px) {
  .dropdown-menu {
    background-color: rgba(0,0,0,0) !important;
  }
  .dropdown-item {
    margin: 10px 0;
  }
  #mainNav {
    background-color:rgba(255,255,255,1) !important;
  }
}

