/*==GENERAL STYLES==*/
:root {
  --purple: #9067c6;
  --yellow: #d2ba87;
  --white: #fff;
  --black: #333;
  --hero-height: 100dvh;
  --sticky-header-height: 90px;
}

* {
  box-sizing: border-box;
}

h1,h2,h3,ul, p, img, blockquote {
  margin-bottom: 1.5rem;
}

section {
  width: 95%;
  margin: 1.5rem auto;
  padding: .5rem 1rem;
  text-align: center;
}

body {
  background: url(assets/wedding-landing-background.png) repeat center;
  font-family: Mulish, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #444349;
}

h1, h2 {
  font-family: 'Great Vibes', cursive;
  text-align: center;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

a {
  text-decoration: none;
  color: #bd806e;
}

a:hover {
  color: #eda087;
  transition: color .15s ease-in-out;
}
/*dark sections*/

.dark {
  background-color: hsla(100,0%,0%,.6);
  color: #d2ba87;
}

/*==HEADER STYLES==*/

.cover {
  background: url(assets/wedding-landing-newcover.jpg) no-repeat center /cover;
   height: 100dvh;
  width: 100vw;
  color: hsla(0,0%,100%,.9);
  text-align: center;
   
  
  
}

.headline-wrapper {
 width: 100%;
  
}

.headline-text {
  margin: 0 auto;
  width:  100%;
  padding: .625rem;
  color: hsla(0,0%,100%,.9);
  background-color: hsla(100,0%,0%,.6);
}

.tagline, .date {
  font-size: 1.15rem;
  letter-spacing: .15rem;
  font-family: 'Libre Baskerville', serif;
}

.tagline::after {
  display: block;
  content: "";
  height: 1px;
  background-color: #fff;
  width: 12.5rem;
  margin: .5rem auto;
       
}

h1 {
  font-size: 3.15rem;
  color: #d2ba87;
  margin-bottom: 0;
}
.date {
  vertical-align: middle;
}

.date::before, .date::after {
  display: inline-block;
  content:"";
  height: 1px;
  width: 1.5rem;
  background-color: #fff;
  vertical-align: middle;
  margin: .5rem;
}

.first {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--hero-height);
  background-blend-mode: multiply;
  display: grid;
  place-items: end start;
  z-index: 1;
}

header,
.first > *, main {
  transition: all 0.9s;
}

.first > * {
  grid-area: 1/1;
  
}



.first .page-header {
  opacity: 0;
  visibility: hidden;
  place-self: end;
  width:      100%;
}

.first .page-header .date::before, .first .page-header .date::after {
  background-color: var(--yellow);
}

.second {
  padding: calc(var(--hero-height) + 10vh) 0 10vh 0;
}

/* JS STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.is-sticky::before {
  content: "";
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  height: 15px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.7);
}

.is-sticky .first {
  height: var(--sticky-header-height);
  background-color: hsla(100,0%,0%,.6);
  background-position: 50% 25%;
}

.is-sticky .first .headline-wrapper {
  opacity: 0;
  display: none;
}

.is-sticky .first .page-header {
  opacity: 1;
  visibility: visible;
  place-self:     end center;
 
}

.is-sticky .second {
  padding-top: calc(var(--sticky-header-height) + 10vh);
}

/* MQ STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media (max-width: 568px) {
  .js-navbar {
    visibility: hidden;
  }
  .menu-icon {
    position: relative;
    display: block;
    width: 1rem;
    height: 1rem;
    color: #d2ba87;
    z-index: 2;
  }
  .js-nav--menu:hover {
    color: #eda087;
  }
}

@media (min-width: 943px) {
  .is-sticky .first {
    background-position: 50% 30%;
  }  
  
 
}

@media (min-width: 1500px) {
  
  .is-sticky .first .page-header {
    place-self: center;
  }
}


/*==LOCATIONS STYLES==*/


.sites img {
  width: 8rem;
}



.sites::after {
  display: block;
  content: "";
  height: .1875rem;
  width:   50vw;
  margin: 1.5rem auto;
  background-color: #444349;
}

/*==PROGRAM STYLES==*/

.program {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  Justify-content: flex-start;
  width:       100vw;
  text-align:  left;
 
}

.program-wrapper {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: flex-start;
}

.program h2 {
  margin-top: 1rem;
  text-align: center;
}

.program blockquote {
  font-style: italic;
}

.program ul {
  letter-spacing: .025rem;
}

/*==GIFTS STYLES==*/

.gifts img {
  width: 8rem;
}

.gifts .answer:last-child {
  margin-bottom: 0;
}

/*==Q & A STYLES==*/

.Q-A {
  width: 100vw;
}

.faq h3 {
  text-align: left;
}

.Q-A h2 {
  margin-top: 1rem;
}

.question, .answer {
  text-align: left;
  font-size: 1.1rem;
}

.question {
  font-weight: bold;
  margin-bottom: .5rem ;
}

.faq p:last-child::after {
  display: block;
  content:"";
  height: .1875rem;
  width: 50vw;
  margin: 1.5rem auto;
  background-color: #d2ba87;
}

/*==FOOTER STYLES==*/

footer {
  background-color: #606060;
  color: #fff;
  width: 100vw;
  height: 10vh;
  font-size: .9rem;
  text-align: center;
  display: table
}

.footer-wrapper {
  display: table-cell;
  vertical-align: middle;
  padding: .5rem 1rem;
}

footer p {
  margin-bottom: 0;
}

footer small {
  line-height: 1.5;
}

/*==SCREEN ADJUST==*/

/*header*/
@media (min-width: 768px){
  .tagline {
    text-transform: uppercase;
    font-size: 1.25rem;
  }
  
  h1 {
    font-size: 7rem;
  }
  
  .date {
    font-size: 1.25rem;
    }
  
 
}

/*locations*/
@media (min-width: 768px) {
  .sites {
    display: inline-block;
    width: 30%;
    padding: 1.5rem;
    margin: .5rem;
    vertical-align: top;
  }
  
  .sites::after {
    display: none;
  }
}

/*program*/
@media (min-width: 768px) {
.program-wrapper {
  width: 30vw;
  margin: 0 auto;
 }
}

/*Q & A*/
@media (min-width: 768px){
.faq {
  width: 30%;
  display: inline-block;
  vertical-align: top;
  padding: 1.5rem;
  margin: .5rem;
}

  .faq p:last-child::after {
    display: none;
  }
}

/*footer*/
@media (min-width: 768px) {
  footer {
    min-height: 7vh;
  }
}