@import url("https://fonts.googleapis.com/css?family=Sacramento%3Aregular%7CRubik%3A300%2Cregular%2C500%2C700&subset=latin&display=swap&ver=05b0bdcdff8a5bb6d3cc14e5ecc1207c");


/****************/

a.nav-link.active-imp {
  color: #e035a0 !important;
}

.h-good {
  height: 150px;
}

.nav-item a {
  padding: 8px 20px !important;
}

@media(max-width:678px) {
  .nav-link {
    font-size: 14px !important;
  }
}

/***************/

html {
  font-family: 'Rubik',sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

.b-body a {
  text-decoration: none;
  color:inherit;
}

.nav-link {
  font-size: 18px;
/*   font-weight: bold; */
}

.b-container {
  width:1170px;
  margin: 0 auto;
}

.content {
  overflow: hidden;
}

header {
  transition: all 90ms;
  z-index:111111;
  background: transparent;
  position: fixed;
  background: transparent;
  width: 100%;
  top:0;
}

.b-logo {
  font-family: 'Sacramento', sans-serif;
  font-weight: 300;
  color: #d0b8ac;
  font-size: 1.7em;
}

.b-logo a:hover {
  text-decoration: none;
}

.logo-image {
  background: url("http://estore.bracecodes.com/wp-content/uploads/2020/06/Webp.net-resizeimage.png") no-repeat;
  width: 200px;
  color: rgba(0,0,0,0);
}

.b-nav {
  display:flex;
  justify-content: space-between;
  align-items: center;
}

.b-ul {
  font-family: 'Rubik';
  display:flex;
  list-style-type: none;
  align-items: center;
  margin:0;
}

.b-ul li {
  margin: 0 1em;
}

.b-ul a {
  font-family:inherit;
  font-size: 1rem;
}

.featured-image {
  background: url("http://demo.kaliumtheme.com/wedding/wp-content/uploads/2019/01/wedding-1.jpg");
  height: 730px;
  display:flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size:100% 100%;
}

.featured-image h1 {
  color: #413327;
  font-size: 4em;
  font-family: 'Sacramento', San-serif;
  font-weight: 500;
  margin: 0;
}


.featured-image p {
  margin: 0; 
  font-size: 17px;
  color:#503331;  
}

.featured-image p:nth-child(2) {
  font-size: 17px;
}

.featured-image p:nth-child(3) {
  font-weight: 100;
  margin-top: 5px;
}

.our-story{
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 750px;
  text-align: center;
}

.our-story div {
  margin: 2rem 0;
}

.our-story h1,
.events--text h1{
  font-weight: 100;
  font-family: 'Sacramento', sans-serif;
}

.sep {
  width: 200px;
  height: 23px;
}

.our-story-text,
.events--text p{
  color:#666;
  font-family: 'Rubik';
  font-weight: 300;
  margin-top: 1rem;
}

.our-story-desc {
  font-family: 'Rubik';
  font-weight: 300;
}

.timeline {
  background: #f9f2eb;
  padding: 2rem;
  display:grid;
  grid-template-columns: auto repeat(3,390px) auto;
  text-align: center;
}

.timeline-start {
  grid-column: 3/4;
}

.timeline-column-alan {
  grid-column: 2/3;
}

.timeline-column-image {
  grid-column: 3/4;
}

.timeline-column-juliette {
  grid-column: 4/5;
}

.timeline-column-meeting {
  grid-column: 3/4;
}

.timeline-image {
  width: 360px;
}

.is-centerable {
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
}

.timeline div>h1 {
  font-family: 'Sacramento', sans-serif;
}

.timeline div>p {
  font-family: 'Rubik',sans-serif;
}

.timeline div>p:last-child {
  font-weight: 100;
}

.events {
  padding: 2rem 0;
}

.events--text {
  text-align:center;
}

.events--text > p:nth-child(3) {
  margin-bottom: 0;
}
.events--text > p:last-child {
  margin-top: 0;
}

.wedding-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px,1fr));
    grid-gap: 20px;
  text-align:center;
}


.wedding-photos-heading {
  font-family: 'Sacramento',sans-serif;
  font-size: 1.9rem;
  margin-top: 1rem;
}

.wedding-photos-text {
  font-family: 'Rubik',sans-serif;
}

.invitation {
  background: url("https://demo.kaliumtheme.com/wedding/wp-content/uploads/2019/01/floral_pattern.png?id=782");
  padding: 2rem;
}

.invite {
  background: #FFF;
  padding: 3em;
  width: 585px;
  margin:0 auto;
  text-align: center;
}

.invite .header h1 {
  font-family: 'Sacramento',sans-serif;
  font-weight: 300;
}

.invite .header p {
  margin-top: 1em;
}

.invite {
  font-family: 'Rubik',sans-serif;
  padding: 4rem;
}

.form-input {
  display: flex;
  flex-direction:column;
  text-align: left;
}

.form-input-group {
  display: flex;
  justify-content: space-between;
}

.form-input-group:not(:first-child) {
  margin-top: 1rem;
}

.form-input-group + .form-input {
  margin-top: 1rem;
}

.invite button[type="submit"] {
  background: #d0b8ac;
  margin-top: 1rem;
  border: 1px solid #d0b8ac;
  outline: none;
  color: #fff;
  padding: 0.25rem 0;
}

.invite button[type="submit"]:hover {
  background: #c7aa9c;
  border-color: #c7aa9c
}

.gallery {
  padding: 3em;
}

.gallery--text, .happy-moments--text {
  text-align: center;
}

.gallery--text h1, .happy-moments--text h1 {
  font-family: 'Sacramento',sans-serif;
  font-weight: 300;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
}

.gallery-grid img {
  width: 357px;
  height: 237px;
  object-fit:cover
} 

.happy-moments {
  padding: 3rem;
  background-color: #f9f2eb;
}
 
/* .happy-moments--photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  
} */

/* .happy-moments--photos img {
  width: 225px;
  height: 225px;
} */

footer {
  text-align: center;
  padding-top: 1rem;
  font-family: 'Rubik',sans-serif;
}

footer h1 {
  font-family: 'Sacramento',sans-serif;
  font-weight: 300;
}

footer p {
  font-weight: 100;
}  

.social {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.social a {
  background: #f9f2eb;
  padding: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social a:not(:first-child) {
  margin-left: 1rem;
}

.social a:hover {
  text-decoration: none;
  color: currentColor;
}



/*****************/
nav {
  padding:.5rem 6rem !important;
  transition: 0.25s;
}

.nav-link {
  color: #000 !important;
}


@media (max-width: 1250px){
  html {
    font-size: 14px;
  }
  .timeline {
    display: flex;
    flex-direction: column;
  }
  .wedding-photos {
    grid-template-columns: 1fr; 
  }
  .wedding-photos img {
    object-fit: cover;
  }
  /* .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(327px, 1fr));
  }
  .happy-moments--photos {
    grid-template-columns: repeat(auto-fit,minmax(225px,1fr));
  } */
}


.carousel .carousel-cell img {
  height: 400px;
}



@media(max-width: 678px) {
  .carousel .carousel-cell img {
  height: 200px;
}
  html {
    font-size: 13px;
  }
  nav {
    padding-left:1rem !important;
    padding-right:1rem !important; 
  }
  .featured-image {   
    max-width: 678px;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
  }

  .our-story {
    max-width: 350px;
  }

  .timeline {
    display: flex;
    flex-direction: column;
  }

  .events {
    display: flex;
    flex-direction: column;
    align-items: center;
  }


  .invite {
    max-width: 400px;
    width: unset;
    padding: 2rem;
  }

  .form-input-group {
    justify-content: unset;
    flex-direction: column;
  }

  .gallery {
/*     max-width: 400px; */
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
/* 
  .happy-moments {
    display: flex;
    flex-direction: column;
    align-items: center;
  } */

  /* .happy-moments--photos {
    grid-template-columns: repeat(2,1fr);
  } */

}


.happy-moments .sep,
.gallery .sep {
  margin-bottom: 1rem;
}



.sticky {
  position: fixed !important;
  width: 100%;
  top:0;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  z-index:11111;
  background: #fff !important;
}





.up {
  position: fixed;
  z-index:99999;
  right:20px;
  bottom: 20px;
  background: #d0b8ac;
  transition: all 0.2s;
  padding: 1rem;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  visibility: hidden;
}

.up:hover {
  background: #c7aa9c;
  text-decoration: none;
  color: #000;
}

.show {
  visibility: visible;
}






















/*************/
.carousel-cell img {
  height: 200px;
  object-fit: cover;
  /* padding: 20px; */
}

.carousel-cell {
  margin-left: 1rem;
}

.flickity-page-dots {
  display: none;
}





/************************/

.image-box img {
  width: 100%;
   object-fit:cover;
  display:block;
} 

.scratch-gallery {
  
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  grid-template-rows: repeat(3,384px);
}


.image-box:nth-child(1) {
  grid-row: 1/3;
}

.image-box:nth-child(4) {
  grid-row: 2/4;
  grid-column: 2/3;
}



.image-box:nth-child(5) {
  grid-row: 2/3;
  grid-column: 3/4;
}

.image-box:nth-child(6) {
  grid-row: 3/4;
  grid-column: 1/2;
}

.image-box:nth-child(7) {
  grid-row: 3/5;
  grid-column: 3/4;
}

.image-box:nth-child(8) {
  grid-row: 4/5;
  grid-column: 1/2;
}

.image-box:nth-child(9) {
  grid-row: 4/5;
  grid-column: 2/3;
}

.image-box:nth-child(1) img,
.image-box:nth-child(4) img,
.image-box:nth-child(7) img {
  height: 100%;
}

@media(max-width:678px){
  .up {
  right:50px;
  bottom: 100px;
  }
  .scratch-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto
  }
  
  .image-box:nth-child(1n){
    grid-row: unset;
    grid-column: 1/2;
  } 
}




/****************************/
.moments-items {
  /* width: 290px; */
  height: 290px;
  transition: 200ms;
}

.moments-items:hover {
  box-shadow: 0px 4px 8px rgba(0,0,0,.12), 0 3px 6px rgba(0,0,0,.08);
  cursor: pointer;
}

.moments-items img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit:cover;
}

.moments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  grid-gap: 10px; 
}

@media(max-width:678px) {
  .happy-moments {
    padding: 3rem 1rem 3rem 1rem!important;
    
  }
  .moments {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .moments-items {
    width: 150px;
    height: 150px;
  }
  
  .moments-items:not(:first-child),
  .moments-items:not(:nth-child(2)) {
    margin-top: 10px;
  }
}