/*!   
 * Template Name: Matrimony - Bootstrap 5 website template for webdding invitations
 * Version: 3.0
 * Author: Xiaoying Riley
 * Copyright: 3rd Wave Media Ltd.
 * Website: http://themes.3rdwavemedia.com/
 * Twitter: @3rdwave_themes
*/
/*************************** Theme Colours****************************/
/*************************** Theme Styles ****************************/
/* ======= Base ======= */
html, body {
  height: 100%;
}

body {
  font-family: "Montserrat", arial, sans-serif;
  color: #413a38;
  font-size: 16px;
}

p {
  line-height: 1.8;
}

a {
  color: #f4af9c;
  text-decoration: none;
}
a:hover, a:active {
  text-decoration: underline;
  color: #f19c85;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}
a:focus {
  text-decoration: none;
  color: #f19c85;
  outline: none;
}

.btn, a.btn {
  border-radius: 30px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  font-weight: bold;
  font-size: 18px;
}
.btn .fa, a.btn .fa {
  color: #fff;
  margin-right: 5px;
}
.btn:focus, a.btn:focus {
  color: #fff;
  box-shadow: none;
}
.btn:hover, a.btn:hover {
  text-decoration: none;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

a.btn-primary, .btn-primary {
  background: #f4af9c;
  border: none;
  color: #fff;
  padding: 15px 45px;
  text-transform: uppercase;
}
a.btn-primary.active:hover, a.btn-primary.active:active, a.btn-primary.active:focus, .btn-primary.active:hover, .btn-primary.active:active, .btn-primary.active:focus {
  background: #f19c85;
  border: none;
  color: #fff;
  outline: none;
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
}
a.btn-primary:hover, a.btn-primary:active, a.btn-primary:focus, a.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active:focus {
  background: #f19c85;
  border: none;
  color: #fff;
  outline: none;
  box-shadow: none;
}

.form-control, .form-select {
  box-shadow: none;
  height: 45px;
  border-color: #c1b9b7;
}
.form-control::-webkit-input-placeholder, .form-select::-webkit-input-placeholder { /* WebKit browsers */
  color: #a99f9c;
}
.form-control:-moz-placeholder, .form-select:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #a99f9c;
}
.form-control::-moz-placeholder, .form-select::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #a99f9c;
}
.form-control:-ms-input-placeholder, .form-select:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #a99f9c;
}
.form-control:focus, .form-select:focus {
  border-color: #b5aca9;
  box-shadow: none;
}

.script {
  font-family: "Satisfy", cursive;
  font-weight: bold;
}

input[type=text],
input[type=email],
input[type=password],
input[type=submit],
input[type=button],
textarea {
  -moz-appearance: none;
       appearance: none; /* for mobile safari */
  -webkit-appearance: none;
}

label {
  color: #f19c85;
}

.form-group {
  margin-bottom: 45px;
}

.display-block {
  display: block;
}

.display-inline-block {
  display: inline-block;
}

.text-highlight {
  color: #f4af9c;
}

#back-to-top {
  background: #f4af9c;
  color: #fff;
  text-align: center;
  display: inline-block;
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  z-index: 30;
}
#back-to-top:hover {
  background: #f7c2b3;
}
#back-to-top svg {
  margin-top: 4px;
}

/* section genetic */
.title {
  font-size: 60px;
  margin-top: 0;
  margin-bottom: 90px;
}
.title .title-text {
  display: inline-block;
  padding-left: 15px;
  padding-right: 15px;
}

.title-reversed {
  color: #fff;
  color: rgba(255, 255, 255, 0.85);
}
.title-reversed .title-deco-left {
  background: transparent url("../images/rose-left-white.svg") no-repeat left bottom;
  background-size: contain;
  -webkit-opacity: 0.85;
  -moz-opacity: 0.85;
  opacity: 0.85;
}
.title-reversed .title-deco-right {
  background: transparent url("../images/rose-right-white.svg") no-repeat right bottom;
  background-size: contain;
  -webkit-opacity: 0.85;
  -moz-opacity: 0.85;
  opacity: 0.85;
}

.title-deco-left {
  background: transparent url("../images/rose-left-pink.svg") no-repeat left bottom;
  background-size: contain;
  width: 75px;
  height: 86px;
  display: inline-block;
}

.title-deco-right {
  background: transparent url("../images/rose-right-pink.svg") no-repeat right bottom;
  background-size: contain;
  width: 75px;
  height: 86px;
  display: inline-block;
}

/* ======= Header ======= */
.header {
  background: #413a38;
  color: #fff;
  min-height: 55px;
}

/* ====== Nav ======= */
.navbar-toggler {
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 18px;
  background: none;
  position: relative;
  top: 12px;
  padding: 0;
  border: none;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler .toggle-title {
  display: inline-block;
  float: left;
  color: rgba(255, 255, 255, 0.9);
  color: #f4af9c;
  margin-right: 10px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  top: 7px;
  font-size: 14px;
}
.navbar-toggler .icon-bar-wrapper {
  float: left;
}
.navbar-toggler .icon-bar {
  background-color: #f4af9c;
  height: 3px;
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
}
.navbar-toggler:hover .icon-bar {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}

.nav > li > a {
  color: #fff;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
}

.nav > li > a:focus, .nav > li > a:hover {
  background: none;
  color: #fff;
  outline: none;
  text-decoration: none;
}

.nav > li.active > a {
  color: #f4af9c;
}

/* ======= Footer ======= */
.footer {
  background: #413a38;
  color: rgba(255, 255, 255, 0.6);
  font-weight: normal;
}
.footer a {
  color: #f4af9c;
}
.footer a:hover {
  color: #ef8a6e;
}

.footer-content {
  padding: 30px 15px;
}

.credit {
  margin-top: 5px;
}

/* ======= Hero Section ======= */
.hero-section {
  background: #000 url("../images/madeira.jpg") no-repeat center center;
  background-size: cover; /* Fill full screen width */
  background-repeat: no-repeat;
  height: 100vh; /* Full screen height */
  max-height: 760px; /* Optional: cap height */
  position: relative;
}

.curve-holder {
  display: block;
  background: transparent url("../images/curve-mask.svg") no-repeat 50% bottom;
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-width: 100%;
  height: 120px;
  z-index: 10;
}

.btn-rsvp {
  position: relative;
  z-index: 20;
}

.hero-box {
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.85);
  padding: 30px;
  padding-top: 90px;
  padding-bottom: 60px;
  height: 760px;
}
.hero-box .date {
  font-size: 28px;
  color: #413a38;
  background: transparent url("../images/ribbon-lime.svg") no-repeat center top;
  height: 126px;
  padding-top: 8px;
  font-weight: bold;
  margin-bottom: 15px;
  -webkit-opacity: 0.85;
  -moz-opacity: 0.85;
  opacity: 0.85;
}

.headline .names {
  font-size: 76px;
  margin-bottom: 20px;
}
.headline .statement {
  font-size: 36px;
  margin-bottom: 45px;
}
.headline .statement-text {
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
}
.headline .swirl-left {
  display: inline-block;
  background: transparent url("../images/swirl-left.svg") no-repeat left center;
  background-size: contain;
  width: 34px;
  height: 39px;
}
.headline .swirl-right {
  display: inline-block;
  background: transparent url("../images/swirl-right.svg") no-repeat right center;
  background-size: contain;
  width: 34px;
  height: 39px;
}

/* ======= Wedding Section ======= */
.wedding-section {
  padding-top: 90px;
}
.wedding-section .title {
  margin-bottom: 30px;
}
.wedding-section .love-icon {
  font-size: 32px;
  width: 48px;
  display: inline-block;
  color: #f4af9c;
  vertical-align: middle;
}
.wedding-section .cols-wrapper {
  margin-bottom: 45px;
}
.wedding-section .col-inner {
  padding: 60px 30px;
  background: #f5f5f5;
  border-radius: 10px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.wedding-section .subtitle {
  font-size: 28px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 30px;
}
.wedding-section .intro {
  margin-bottom: 45px;
  color: #786b67;
  font-size: 16px;
  line-height: 1.8;
}
.wedding-section .meta-list {
  font-size: 16px;
  display: inline-block;
}
.wedding-section .meta-list li {
  margin-bottom: 30px;
  font-weight: 600;
}
.wedding-section .meta-list .list-link {
  padding-left: 55px;
  font-size: 16px;
  margin: 10px 0;
}
.wedding-section .meta-list a {
  color: #ef8a6e;
}
.wedding-section .action-wrapper {
  margin-bottom: 90px;
}

.countdown-box {
  margin-bottom: 60px;
}
.countdown-box span {
  display: inline-block;
  margin-left: 5px;
  min-width: 100px;
  text-align: center;
  font-weight: normal;
}
.countdown-box span:first-child {
  margin-left: 0;
}
.countdown-box span.number {
  font-size: 38px;
  display: block;
  color: #ef8a6e;
  font-weight: bold;
}
.countdown-box span.unit {
  font-size: 22px;
  display: block;
  color: #786b67;
}

.map-container {
  height: 460px;
  position: relative;
}
.map-container .map-iframe {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

/* ======= Story Section ======= */
.story-section {
  background: #413a38 url("../images/story-bg.jpg") no-repeat 50% top;
  background-size: cover;
  padding-top: 60px;
  padding-bottom: 90px;
}
.story-section .container {
  position: relative;
}

.story-box .title {
  margin-bottom: 60px;
}
.story-box .content-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px 45px;
  text-align: left;
  border-radius: 10px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

.story-carousel {
  padding-bottom: 30px;
}
.story-carousel .item {
  min-height: 500px;
  padding: 15px;
  font-size: 16px;
}
.story-carousel p {
  line-height: 1.85;
  font-weight: normal;
}
.story-carousel .item-title {
  font-size: 26px;
  margin-bottom: 30px;
  margin-top: 15px;
  font-weight: bold;
}
.story-carousel .carousel-indicators {
  bottom: 0;
}
.story-carousel .carousel-indicators button {
  background: #a99f9c;
  border-color: #a99f9c;
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
  border: none;
  height: 6px;
  border-radius: 2px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.story-carousel .carousel-indicators button.active {
  background-color: #413a38;
  border-color: #413a38;
}
.story-carousel .love-icon {
  display: inline-block;
  margin-right: 10px;
}
.story-carousel .icon-jar {
  font-size: 40px;
}
.story-carousel .icon-glasses {
  font-size: 42px;
}

/* ======= Gallery Section ======= */
.gallery-section {
  padding-top: 90px;
  padding-bottom: 90px;
  background: #f5f5f5;
}
.gallery-section .title {
  margin-bottom: 30px;
}
.gallery-section .intro {
  margin-bottom: 60px;
  font-size: 18px;
  color: #786b67;
}
.gallery-section .intro .hashtag {
  font-family: "Montserrat", arial, sans-serif;
}

.instafeed-wrapper {
  overflow: hidden;
}

.instagram-item {
  float: left;
  display: inline-block;
}

.btn-load-more {
  margin-top: 45px;
}

.nav-tabs {
  border: none;
  display: inline-block;
  margin: 0 auto;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}
.nav-tabs > li {
  margin-right: 15px;
}
.nav-tabs > li.last {
  margin-right: 0;
}
.nav-tabs > li > a {
  border-radius: 0;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #786b67;
  padding: 5px;
  border: none;
  border-bottom: 4px solid transparent;
  font-size: 18px;
}
.nav-tabs > li > a:hover {
  background: transparent;
  border: none;
  border-bottom: 4px solid transparent;
  color: #413a38;
}
.nav-tabs > li.active > a {
  color: #413a38;
  background: transparent;
  border: none;
  border-bottom: 4px solid #f4af9c;
  font-weight: bold;
}
.nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  border: none;
  border-bottom: 4px solid #f4af9c;
  background: transparent;
  color: #413a38;
}

.tab-pane {
  padding: 15px;
}

.photos-wrapper {
  overflow: hidden;
}
.photos-wrapper .item {
  display: inline-block;
  width: 25%;
  float: left;
}
.photos-wrapper .item.w2 {
  width: 50%;
}

.blueimp-gallery > .prev, .blueimp-gallery > .next {
  border-color: #f4af9c;
  color: #f4af9c !important;
}
.blueimp-gallery > .prev:hover, .blueimp-gallery > .next:hover {
  color: #f9d4ca;
}

.blueimp-gallery > .close {
  color: #f4af9c !important;
}

/* ======= Gift Section ======= */
.gift-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.message-container {
  background: transparent url("../images/frame-pink.png") no-repeat center top;
  min-height: 620px;
  position: relative;
  margin-bottom: 200px;
}
.message-container .intro {
  margin-bottom: 30px;
  color: #786b67;
  font-size: 18px;
  line-height: 1.85;
  padding: 0 15px;
}
.message-container .thank-you {
  font-size: 38px;
  color: #f4af9c;
  margin-bottom: 15px;
}
.message-container .signature {
  font-size: 28px;
  color: #786b67;
}

.message-inner {
  max-width: 600px;
  padding: 30px;
  padding-top: 130px;
}

.couple-profile {
  position: absolute;
  bottom: -150px;
  left: 50%;
  margin-left: -163px;
  width: 326px;
  height: 304px;
  background: transparent url("../images/heart-couple-pink.png") no-repeat center center;
  background-size: contain;
}

.brand-list li {
  padding: 0 30px;
  margin-bottom: 30px;
}
.brand-list li a:hover img {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.brand-list img {
  max-width: 160px;
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
}

/* ======= Comments Section ======= */
.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget span iframe[style] {
  min-width: 100% !important;
  width: 100% !important;
  background: #fff;
}

.comments-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #f4af9c url("../images/heart-pattern.png") repeat center top;
}
.comments-section .title {
  font-size: 24px;
  margin-bottom: 30px;
  margin-top: 30px;
  font-weight: bold;
}

.comments-container {
  max-width: 760px;
  background: rgba(255, 255, 255, 0.8);
  padding: 15px;
  border-radius: 10px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

.fb-comments {
  background: #fff;
}

/* ======= Modal ======= */
.modal .modal-dialog {
  width: 760px;
}
.modal .modal-title {
  font-weight: bold;
  font-size: 32px;
  padding-top: 26px;
}
.modal .modal-title .title {
  margin-bottom: 15px;
}
.modal .modal-title .subtitle {
  font-size: 18px;
  font-weight: normal;
  color: #786b67;
}
.modal .modal-body {
  padding: 30px 45px;
}
.modal .modal-header {
  border: none;
  justify-content: center !important;
  position: relative;
}
.modal .btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
}
.modal .btn-close:hover {
  color: #413a38;
  border-radius: 1;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #413a38;
}
.modal .btn-close:focus {
  outline: none;
  box-shadow: none;
}
.modal .error {
  color: #E65348;
  display: block;
  font-size: 14px;
  text-align: left;
  padding-top: 5px;
  padding-left: 5px;
  font-weight: 300;
}
.modal .event-col {
  padding-left: 30px;
  padding-right: 30px;
}
.modal .col-title {
  color: #786b67;
  font-size: 18px;
}
.modal .col-subtitle {
  font-size: 32px;
  margin-bottom: 45px;
}
.modal .section-title {
  color: #ef8a6e;
  font-size: 16px;
}
.modal .section-title .svg-inline--fa {
  display: inline-block;
  margin-right: 5px;
}
.modal .figure-container {
  margin-bottom: 30px;
}
.modal .figure-container img {
  border-radius: 10px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.modal .facilities-list {
  margin-bottom: 30px;
}
.modal .facilities-list li {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 16px;
  font-weight: bolder;
}
.modal .facilities-list li .svg-inline--fa {
  color: #f4af9c;
  display: inline-block;
  margin-right: 5px;
  flex-shrink: 0;
}
.modal .facilities-list li br {
  flex-basis: 100%;
  width: 0px;
  height: 0px;
  overflow: hidden;
}
.modal .facilities-list li .details {
  font-size: 14px;
  color: #786b67;
  padding-left: 20px;
  padding-top: 8px;
  font-weight: normal;
}

/* RSVP Modal */
.modal-rsvp .modal-title {
  margin-bottom: 0;
}
.modal-rsvp textarea.form-control {
  height: 160px;
}
.modal-rsvp .additional-info {
  margin-top: 15px;
  margin-bottom: 15px;
  color: #786b67;
  font-size: 14px;
  line-height: 1.6;
}
.modal-rsvp label {
  margin-bottom: 10px;
  color: #786b67;
  font-weight: 500;
  font-size: 16px;
}

/* Direction Modal */
.direction-modal .modal-dialog {
  width: 80%;
}
.direction-modal .section-title {
  margin-bottom: 15px;
  font-weight: bolder;
}
.direction-modal p {
  line-height: 1.8;
}

/* Bootstrap Gallery */
.blueimp-gallery > .close {
  font-weight: 300;
  font-size: 32px;
  color: #fff;
  border-radius: 0.8;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.blueimp-gallery > .close:hover {
  color: #fff;
  border-radius: 1;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

/* Mobile scrolling issue fix */
/* Ref: https://github.com/twbs/bootstrap/issues/14839 */
.modal {
  -webkit-overflow-scrolling: auto !important;
  overflow-y: auto !important;
}

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
  .modal .modal-dialog {
    width: auto;
  }
  .modal .modal-body {
    padding: 30px;
  }
  .header {
    background: #413a38;
  }
  .header .nav > li > a {
    color: #fff;
  }
  .header .nav > li > a.active {
    color: #f4af9c;
  }
  .header .nav > li > a:focus, .header .nav > li > a:hover {
    color: #f4af9c;
  }
  .header .navbar {
    padding-top: 0;
    padding-bottom: 0;
  }
  .header .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .header .nav-link {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .title {
    font-size: 42px;
    margin-bottom: 60px;
  }
  .title .title-text {
    padding-left: 5px;
    padding-right: 5px;
  }
  .title-deco-left {
    width: 45px;
    height: 52px;
    background-size: contain;
  }
  .title-deco-right {
    width: 45px;
    height: 52px;
    background-size: contain;
  }
  .hero-section {
    background-position: 70% 50%;
    height: auto;
  }
  .headline .names {
    font-size: 60px;
  }
  .hero-box {
    height: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .hero-box .date {
    font-size: 18px;
    background-size: contain;
    height: 100px;
    padding-top: 10px;
  }
  .headline .statement-text {
    font-size: 32px;
  }
  .headline .swirl-left, .headline .swirl-right {
    width: 25px;
    height: 25px;
  }
  .wedding-section .subtitle {
    font-size: 24px;
  }
  .wedding-section .meta-list {
    font-size: 16px;
  }
  .ceremony-col {
    margin-bottom: 30px;
  }
  .story-box .content-container {
    padding: 15px;
  }
  .story-carousel .item-title {
    font-size: 24px;
  }
  .message-container .thank-you {
    font-size: 28px;
  }
  .message-container .signature {
    font-size: 20px;
  }
  .countdown-box span {
    min-width: 60px;
  }
  .countdown-box span.number {
    font-size: 28px;
  }
  .countdown-box span.unit {
    font-size: 18px;
  }
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: inherit;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media (min-width: 768px) {
  .navbar-nav {
    float: none;
  }
}
@media (min-width: 992px) {
  .nav-tabs > li > a {
    padding: 10px 5px;
  }
  .hero-box {
    width: 470px;
  }
  .headline .statement {
    font-size: 35px;
  }
}
@media (min-width: 1200px) {
  .hero-box {
    width: 480px;
  }
}
/* ======= Configure Style (Remove in production) ======= */
body {
  overflow-x: hidden;
}

.config-trigger {
  display: block;
  position: absolute;
  left: -36px;
  width: 36px;
  height: 36px;
  background: black;
  color: #fff;
  text-align: center;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  text-decoration: none;
}
.config-trigger:hover {
  background: #000;
  text-decoration: none;
}
.config-trigger .svg-inline--fa {
  font-size: 20px;
  margin-top: 7px;
  display: block;
  color: #fff;
}

.config-panel {
  position: fixed;
  top: 80px;
  z-index: 1000;
  width: 190px;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}
.config-panel.config-panel-open {
  right: 0;
}
.config-panel.config-panel-hide {
  right: -190px;
}
.config-panel .panel-inner {
  position: relative;
  background: #222;
  color: #fff;
  padding: 15px;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.config-panel .panel-title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
}
.config-panel label {
  color: #fff;
}
.config-panel #color-options {
  margin-bottom: 0px;
}
.config-panel #color-options li a {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
}
.config-panel #color-options li a:hover {
  -webkit-opacity: 0.9;
  -moz-opacity: 0.9;
  opacity: 0.9;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.config-panel #color-options li.active a {
  border: 2px solid #fff;
}
.config-panel #color-options li.theme-1 a {
  background: #f4af9c;
}
.config-panel #color-options li.theme-2 a {
  background-color: #36b3a8;
}
.config-panel #color-options li.theme-3 a {
  background-color: #A9A9D6;
}
.config-panel #color-options li.theme-4 a {
  background-color: #76D777;
}
.config-panel #color-options li.theme-5 a {
  background-color: #fd767b;
}
.config-panel #color-options li.theme-6 a {
  background-color: #84D6F8;
}
.config-panel #color-options li.theme-7 a {
  background-color: #bec76a;
}
.config-panel #color-options li.theme-8 a {
  background-color: #FBCC6A;
}
.config-panel .close {
  position: absolute;
  right: 5px;
  top: 5px;
  color: #fff;
}
.config-panel .close .svg-inline--fa {
  color: #fff;
  font-size: 16px;
}


/*
















*/

.hero-section {
  background: #000 url("../images/madeira.jpg") no-repeat center center;
  background-size: cover; /* Show full image */
  height: 100vh;
  max-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease-in-out;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* subtle dark overlay */
  z-index: 1;
}

.hero-section .container {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.hero-box {
  margin-left: 2rem;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 1rem;
  color: white;
  z-index: 2;
}

@media (max-width: 767px) {
  .hero-section {
    display: block; /* override flex */
    height: auto !important; /* let it fit content */
    padding: 0;
  }

  .hero-box {
    margin-left: 0 !important;
    border-radius: 0;
    height: auto !important;
    padding: 60px 20px 40px; /* tweak padding for balance */
  }

  .headline .names {
    font-size: 48px;
  }

  .headline .statement-text {
    font-size: 24px;
  }

  .hero-box .date {
    font-size: 18px;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 10px;
    margin-bottom: 20px;
  }

  .btn-rsvp {
    font-size: 16px;
    padding: 12px 30px;
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .hero-section {
    display: block;
    height: 300px; /* fixed height or adjust as needed */
    background-position: center top;
    background-size: cover;
    position: relative;
  }

  /* Hide the hero-box's absolute positioning on mobile */
  .hero-box {
    position: static !important;
    margin: 0 auto;
    background-color: #000000cc; /* dark shadow bg */
    color: white;
    border-radius: 16px;
    padding: 20px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(0); /* reset transforms */
    text-align: center;
    margin-top: 1rem;
  }

  .hero-section .container {
    display: block;
  }
}

@media (max-width: 767px) {
  .hero-section {
    background: #000 url("../images/madeira.jpg") no-repeat center center;
    background-size: cover;
    height: 300px; /* adjust as needed */
    position: relative;
  }

  .hero-section .container {
    display: none; /* hide the .hero-box from inside hero-section */
  }

  /* Move hero-box visually below .hero-section */
  .mobile-hero-box {
    display: block;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 30px 20px;
    margin-top: 20px;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
  }

  .mobile-hero-box .names {
    font-size: 42px;
    margin-bottom: 15px;
  }

  .mobile-hero-box .statement-text {
    font-size: 20px;
  }

  .mobile-hero-box .btn-rsvp {
    font-size: 16px;
    padding: 10px 30px;
  }
}

@media (max-width: 767px) {
  .mobile-hero-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: block;
    margin: 0;
    padding: 0;
  }

  .mobile-hero-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
  }

    /* Optional: spacing above #wedding */
    #wedding {
      margin-top: 300px;
    }
}

.phone-picture {
  background: #000 url("../images/madeira.jpg") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 300px; /* Adjust as needed */
}
