@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700);
@import url(https://fonts.googleapis.com/css?family=Kaushan+Script);

body,
html {
    padding: 0px;
    margin: 0px;
    height: 100%;
    font-family: 'PT Sans', sans-serif;
    color: rgba(28, 13, 10, .65);
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0px;
}
#map {
    width: 100%;
    height: 300px;
}
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    z-index: 1;
    color: rgb(255, 179, 179);
    font-family: 'Kaushan Script', cursive;
        font-size: 40px;

}

section {
    width: 100%;
    display: inline-block;
    text-align: center;
    line-height: 2;
    font-size: 19px;
    padding: 30px 0px;
}

.fullscreen {
      min-height: 100%;

}
.Map {
  padding: 0px;
}
h4 {
  margin: 0px;
}
section h3,
section h1 {
    text-transform: uppercase;
}

section h3 {
    color: rgb(255, 179, 179);
    font-size: 22px;
          font-family: 'Kaushan Script', cursive;
      text-transform: capitalize;
}

section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 54px;
    color: rgba(28, 13, 10, .9);
}

.Form form {
  text-align: left;
}

.Banner {
    background-image: url('images/banner.jpg');
    background-size: cover;
    width: 100%;
    position: relative;
    background-position: center center;
}
.Details img {
  max-width: 200px;
}

.Banner__overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(41, 44, 52, .75);
}

.Banner__caption {
    z-index: 2;
    text-transform: uppercase;
    position: absolute;
    left: 0;
    top: 35%;
    width: 100%;
    color: white;
    text-align: center;
}

.Banner__caption h1,
.Banner__caption h3 {
    color: white;
}

.form_heading {
  color: #000;

  text-align: center;
}

.Banner__caption h1 {
    margin-bottom: 0px;
    margin-top: 0px;
}

label.error {
	    color: rgb(255, 179, 179);
    font-size: 10px;
    margin-top: 3px;
}
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0px 15px;
    position: relative;
}

.Details {}

.Gallery {
    background-image: url('images/gallery.jpg');
    background-size: cover;
    width: 100%;
    position: relative;
}

.Gallery h1 {
    color: white;
    margin: 0px;
}

.Gallery p {
    color: rgb(255, 179, 179);
    font-size: 22px;
    margin-top: 0px;
    font-style: italic;
}

.rsvp {
    background-color: #fff;
    border-color: #fff;
    color: #1b1b1b;
    padding: 10px 40px;
    border-radius: 300px;
    transition: all 0.4s;
    font-weight: 700;
}

.rsvp:hover {
    opacity: 0.7;
}

.flexCenter {
    position: relative;
}

#gallery {
    width: 100%;
    display: inline-block;
}

#gallery li {
    float: left;
    max-width: calc(91%/4);
    margin-bottom: 30px;
}

#gallery li:not(:nth-child(4n+4)) {
    margin-right: 30px;
}

#gallery img {
    transition: all 0.5s;
    max-width: 100%;
}

#gallery img:hover {
    -webkit-filter: brightness(60%);
}

.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}


.Form form {
  max-width: 600px;
  margin: auto;
}

.Form {
  background: rgb(41, 44, 52);
}
.Form h3 {
      font-family: 'Kaushan Script', cursive;
      text-transform: capitalize;
  font-size: 24px !important;
}
button.rsvp {
    color: #fff;
    background-color: transparent;
    border: 0px;
    margin: auto;
    display: inherit;
    text-transform: uppercase;
    padding: 10px 15px;
    height: 50px;
        border: 1px solid rgba(255, 179, 179, 0.7);
    cursor: pointer;
    border-radius: 0px;
}

button.rsvp:hover {
  opacity: 1;
    background-color: rgb(255, 179, 179);
}
button:focus,
input:focus,
textarea:focus,
a {
    outline: none;
}

label {
    display: block;
    text-transform: uppercase;
    margin-top: 15px;
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
}

input, textarea {
    width: 100%;
        box-sizing: border-box;
        padding: 10px 15px;
    height: 50px;
    border: 1px solid rgba(255, 179, 179, 0.4);
    background: transparent;
    color: white;
}
textarea {
	height: 100px;
}


.Details h1 {
	margin-top: 0px;
}



.main-example {
  margin: 0 auto;
  width: 355px;
  margin-top: 30px;
}
.main-example .countdown-container {
  height: 130px;
}
.main-example .time {
  border-radius: 5px;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
  display: inline-block;
  text-align: center;
  position: relative;
  height: 95px;
  width: 65px;

  -webkit-perspective: 479px;
  -moz-perspective: 479px;
  -ms-perspective: 479px;
  -o-perspective: 479px;
  perspective: 479px;

  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;

  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);

  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
  -o-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}
.main-example .count {
  background: #202020;
  color: #f8f8f8;
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 2em;
  line-height: 2.4em;
  overflow: hidden;
  position: absolute;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  top: 0;
  width: 100%;

  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);

  -webkit-transform-style: flat;
  -moz-transform-style: flat;
  -ms-transform-style: flat;
  -o-transform-style: flat;
  transform-style: flat;
}
.main-example .count.top {
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px 5px 0 0;
  height: 50%;

  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}
.main-example .count.bottom {
  background-image: linear-gradient(rgba(255,255,255,0.1), transparent);
  background-image: -webkit-linear-gradient(rgba(255,255,255,0.1), transparent);
  background-image: -moz-linear-gradient(rgba(255,255,255,0.1), transparent);
  background-image: -ms-linear-gradient(rgba(255,255,255,0.1), transparent);
  background-image: -o-linear-gradient(rgba(255,255,255,0.1), transparent);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  border-radius: 0 0 5px 5px;
  line-height: 0;
  height: 50%;
  top: 50%;

  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  -o-transform-origin: 50% 0;
  transform-origin: 50% 0;
}
.main-example .count.next {
}
.main-example .label {
    margin-top: 5px;
    display: block;
    position: absolute;
    top: 95px;
    text-transform: uppercase;
    width: 100%;
    font-size: 12px;
}
/* Animation start */
.main-example .count.curr.top {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
  z-index: 3;
}
.main-example .count.next.bottom {
  -webkit-transform: rotateX(90deg);
  -moz-transform: rotateX(90deg);
  -ms-transform: rotateX(90deg);
  -o-transform: rotateX(90deg);
  transform: rotateX(90deg);
  z-index: 2;
}
/* Animation end */
.main-example .flip .count.curr.top {
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;

  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  -ms-transform: rotateX(-90deg);
  -o-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}
.main-example .flip .count.next.bottom {
  -webkit-transition: all 250ms ease-in-out 250ms;
  -moz-transition: all 250ms ease-in-out 250ms;
  -ms-transition: all 250ms ease-in-out 250ms;
  -o-transition: all 250ms ease-in-out 250ms;
  transition: all 250ms ease-in-out 250ms;

  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
@media screen and (max-width: 48em) {
  .main-example {
    width: 100%;
  }
  .main-example .countdown-container {
    height: 100px;
  }
  .main-example .time {
      height: 70px;
      width: 48px;
  }
  .main-example .count {
    font-size: 1.5em;
    line-height: 70px;
  }
  .main-example .label {
    font-size: 0.8em;
    top: 72px;
  }
}


@media screen and (max-width: 1024px) {


  h1 {
    font-size: 32px !important;
  }

.Banner__caption img {
	max-width: 230px;
}

#gallery li {
    max-width: calc(90%/4);
}

.Banner__caption {
    top: 25%;

}

}



@media screen and (max-width: 768px) {
.Banner__caption {
    top: 28%;

}
.Gallery {
    background: none;
}
#gallery li {
    float: left;
    max-width: calc(95%/2);
    margin-bottom: 30px;
}

#gallery li:not(:nth-child(4n+4)) {
    margin-right: 0px;
}

#gallery li:not(:nth-child(2n+2)) {
    margin-right: 30px !important;
}

}


@media screen and (max-width: 736px) {
  header {
    font-size: 26px;
}
h1 {
	font-size: 26px !important;
}
.Banner__caption h3 {
    color: white;
    margin: 0px 0px 10px;
    font-size: 14px;
}

.Banner__caption {
    top: 15%;
}

}


@media screen and (max-width: 520px) {

#gallery li:not(:nth-child(2n+2)) {
    margin-right: 0px !important;
}
header {
    font-size: 14px;
}

.Banner__caption {
    top: 20%;
}

.Banner__caption h1 { 

	font-size: 22px;
}
.Banner__caption h3 {
	font-size: 14px;
}

#gallery li {
	margin-bottom: 10px;
    max-width: 100%;
}
section h1 {
    font-size: 26px;
}
section h3 {
    font-size: 18px;
}
}