@font-face {
  font-family: 'Hatton';
  src: url(./assets/fonts/Hatton.otf);
}

@font-face {
  font-family: 'Hatton Light';
  src: url(./assets/fonts/Hatton-Light.otf);
}

@font-face {
  font-family: 'Hatton Bold';
  src: url(./assets/fonts/Hatton-Bold.otf);
}

@font-face {
  font-family: 'Nunito';
  src: url(./assets/fonts/Nunito.ttf);
}

::-webkit-scrollbar {
  width: 15px;
  transition-duration: .2s;
}

::-webkit-scrollbar-track {
  background-color: rgba(51, 51, 51, 0.945);
}

::-webkit-scrollbar-thumb {
  background: #c03e3e;
  background: linear-gradient(#d45252, #cf0000, #d45252);
  border-radius: 10px;
}

.contentdiv {
  display: flex;
  margin-left: 50%;
  align-items: center;
  display: inline;
  text-align: center;
  margin-top: 0px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main {
  background-color: white;
  min-height: 100vh;
  margin-top: 0px;
}

.heronames {
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin-top: -18px;
  scroll-snap-align: start;
}

p,
span,
h1,
button,
li {
  font-family: 'Nunito';
}


html,
body {
  margin: 0px;
  padding: 0px;
  box-shadow: none;
  overflow-x: hidden;
}

main {
  scroll-snap-type: y mandatory;

}

.container {
  color: #333;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}

.container h1 {
  font-weight: normal;
  letter-spacing: .125rem;
  text-transform: uppercase;
  color: black
}

.container li {
  display: inline-block;
  font-size: 1.5em;
  list-style-type: none;
  padding: 1em;
  text-transform: uppercase;
  color: black;
}

.container li span {
  display: block;
  font-size: 4.5rem;
}

.rsvp-button {
  color: white;
  background-color: black;
  font-family: 'Nunito';
  font-size: 2rem;
  padding: 1.5rem;
  padding-left: 5vw;
  padding-right: 5vw;
  border-radius: 2rem;
}

.roses {
  position: absolute;
  transform: translate(0px, -60px);
  z-index: 1;
}

.names {
  font-family: 'Hatton Light';
  z-index: 2;
  font-size: 12rem;
  color: #606060;
  font-weight: lighter;
  display: block;
  padding-left: 3rem;
  padding-right: 3rem;
  border-radius: 5rem;
  line-height: 1.7;
}

.nameswrapper {
  display: flex;
  vertical-align: middle;
  justify-content: center;
  margin: auto;
  width: 100vw;
}

/* NAV CSS SECTION */

nav {
  height: 80px;
  display: flex;
  width: 100%;
}

.nav-logo {
  width: 80px;
  height: 80px;
}

.navul {
  padding-top: 1rem;
  padding-bottom: 6rem;
  list-style: none;
  color: white;
  height: 80px;
  width: 100%;
}

.navhead {
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.201);
}

.navli {
  display: inline;
  vertical-align: middle;
  margin-left: 4vw;
  margin-right: 4vw;
}

.navli a {
  text-decoration: none;
}

.navwrapper {
  display: block;
}

/* slide section */
.slide {
  display: inline-block;
  position: fixed;
  align-items: center;
  justify-content: space-evenly;
  width: 100vw;
  height: 90vh;
  z-index: -1;
  top: -100vh;
  background-color: #0a0a0a79;
  transition-duration: .3s;
  transition-timing-function: ease-in-out;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#rsvpslide.open,
#slide.open {
  transform: translateY(105vh) translateY(80px);
  z-index: 10;
}

.slide li {
  padding-left: 0px;
  padding: 3px;
  margin-bottom: 20px;
}

.slide a {
  color: white;
  font-family: 'Nunito';
  font-size: 3rem;
}

.slide ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

* {
  scroll-behavior: smooth;
}

.frstbar,
.scndbar,
.thrdbar {
  transition: all 0.35s linear;
  transform: rotate(0deg);
  transform-origin: 16.5% 50%;
}

#burgericon.open .frstbar {
  transform: rotate(45deg);
}

#burgericon.open .thrdbar {
  transform: rotate(-45deg);
}

#burgericon.open .scndbar {
  opacity: 0;
}

.rsvpslide {
  width: 74vw;
  height: 74vh;
  border-radius: 5rem;
  background-color: white;
  display: flex;
  position: fixed;
  align-items: center;
  top: -100vh;
  transition-duration: .3s;
  transition-timing-function: ease-in-out;
}

.rsvpsection {
  font-family: 'Nunito';
  width: 37vw;
}

.rsvpsection:nth-child(1) {
  border-right: 2px solid #000;
}

.rsvpsection:nth-child(2) {
  border-left: 2px solid #000;
}

.rsvpslidetitle {
  font-family: 'Hatton Light';
  font-size: 5rem;
}

.rsvpslideinfo {
  font-size: 3rem;
}

.divider {
  width: 75%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.rsvpa {
  text-decoration: none;
  color: black;
  border: 2px solid;
  border-radius: 2rem;
  border-width: 4px;
  padding: 1rem;
  font-size: 3rem;
  display: inline-block;
}

/* engagement section (not including the countdown timer) */

.engagement-section {
  padding: 10vh;
  display: flex;
  scroll-snap-align: start;
  justify-content: center;
  align-items: center;
}

.eswrapper h2 {
  padding-top: 20px;
}

.eswrapper {
  width: 90vw;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  background-color: rgba(234, 207, 196, 0.24);
  border-radius: 5rem;
  color: black;
  flex-direction: column;
}

.exwrapper {
  width: 90vw;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 124, 17, 0.201);
  border-radius: 5rem;
  color: black;
  flex-direction: column;
}

.sidebyside {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.container {
  border-right: 2px solid black;
}


.ersvp h1 {
  padding: .5rem;
  font-size: 2.5rem;
}

.ersvp p {
  padding: 1.5rem;
  font-size: 1.9rem;
}

.buttonwrapper {
  display: flex;
  margin: 2vh;
  justify-content: center;
  align-items: center;
}

.rsvpentrance {
  text-decoration: none;
  font-family: 'Hatton';
  color: black;
  border: 2px solid;
  border-radius: 2rem;
  border-width: 4px;
  padding: 1rem;
  padding-top: 1.8rem;
  font-size: 3rem;
  display: inline-block;
}

.einfo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-left: 5rem;
  padding-right: 5rem;
  padding-bottom: 3rem;
  font-size: 1.5rem;
  width: 100%;
  text-align: left;
}

.einfoul {
  list-style: none;
}


/* FAQ Section */

.faqsection {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fwrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: black;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 124, 17, 0.201);
  border-radius: 5rem;
  width: 90vw;
  padding-bottom: 1rem;
}

.fwrapper h1 {
  padding: .5rem;
  font-size: 2.5rem;
}

/* Accordion cleanup */

.accordion {
  width: 50vw;
  font-family: 'Nunito';
}

.accordion a {
  color: rgb(187, 187, 187);
}

.accordion .menu {
  background-color: rgba(252, 229, 220, 0.534);
  color: #444444;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  margin-top: 4px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.accordion .panel {
  backdrop-filter: blur(5px);
  background-color: rgba(0, 138, 18, 0.201);
  color: #ffffff;
  overflow: hidden;
}

.accordion .open {
  display: block;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.accordion .close {
  display: none
}

.accordion .active {
  background-color: rgb(0, 0, 0);
  color: #fff;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.accordion .arrow {
  float: right;
  display: block
}

.accordion .darrow {
  display: none
}

.accordion .active .darrow {
  display: block
}

.accordion .active .rarrow {
  display: none
}

/* Registry section */

.regsection .fwrapper {
  background-color: rgba(234, 207, 196, 0.24);
}

.regsection a,
.regsection h1 {
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: black;
}

.regsection a {
  color: rgb(0, 138, 18);
}

/* wedding section */
.weddingsection {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Nunito';
}

.wswrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.twohalves {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  height: 30%;
  width: 100%;
}

.weddinghalf h1 {
  width: 100%;
}

.weddinghalf {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
}

.weddinghalf:nth-child(1) {
  border-right: 2px solid black;
}

.weddinghald:nth-child(2) {
  border-left: 2px solid black;
}

/* photo gallery section */

.photosection {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Nunito';
}

.photosection h1 {
  margin: 3rem;
  margin-bottom: 2rem;
  color: black;
  font-size: 3rem;
}

.pswrapper {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  height: 100vh;
  background-color: rgba(234, 207, 196, 0.24);
}

.gallery {
  height: 75vh;
  width: 94%;
  background-color: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
}

.memories {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-style: normal;
  font-size: 3rem;
  color: rgb(129, 103, 72);
  text-shadow: rgba(182, 150, 112, 0.5) 0px 0px 8px;
  animation: flickerAnimation 5s infinite;
  text-shadow: 0px 0px 8px rgba(182, 150, 112, 0.5);
}

.memories-info {
  font-size: 1rem;
}

#slideshow {
  display: none;
}

#dots {
  display: none;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  overflow: hidden;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides img {
  height: 75vh;
  object-fit: contain;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes flickerAnimation {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 0.3;
  }

  20% {
    opacity: 1;
  }

  30% {
    opacity: 0.5;
  }

  40% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  60% {
    opacity: 0.9;
  }

  70% {
    opacity: 0.2;
  }

  80% {
    opacity: 1;
  }

  90% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

.weddingsection {
  background-position-y: 320px;
}

/* footer section */
footer {
  background-color: #0a0a0a;
  color: white;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

footer p {
  font-size: .5rem;
}

/* previous cloudwork leftovers */

html,
body {
  overflow-x: hidden;
}

body {
  position: relative;
}

/* ------------------- RESPONSIVE STUFF BELOW ------------------- */

/* 1478 W to fix RSVP Menu item sizes */

@media screen and (max-width: 1550px) {
  .names {
    font-size: 9rem;
  }
}

@media screen and (max-width: 1478px) {
  .rsvpslidetitle {
    font-size: 3rem;
  }

  .rsvpslideinfo {
    font-size: 1.5rem;
  }

  .rsvpa {
    font-size: 2rem;
    padding: .5rem;
  }

  .pswrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .gallery {
    width: 75%;
  }

}

@media screen and (max-width: 1222px) {
  .names {
    font-size: 9rem;
  }
}

@media screen and (max-width: 1191px) {
  .names {
    font-size: 7rem;
  }
}

@media screen and (max-width: 949px) {
  .names {
    font-size: 5rem;
  }
}

/* 892 W to fix RSVP menu item sizes again AND to fix ERSVP section*/

@media screen and (max-width: 892px) {
  .rsvpsection:nth-child(1) {
    border-right: 2px solid black;
  }

  .rsvpsection:nth-child(2) {
    border-left: 2px solid black;
  }

  .rsvpslide {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .container ul li span {
    font-size: 1.5rem;
  }

  .einfo {
    font-size: 1.1rem;
  }

  .names {
    font-size: 4rem;
  }

  .roses {
    transform: translate(0px, -140px);
  }
}

/* 650 W to fix RSVP menu item sizes YET AGAIN */



@media screen and (max-width: 650px) {

  .divider {
    display: none;
  }

  .roses {
    width: 200px;
    transform: translate(0px, -70px);
  }
}

/* 447 W to fix RSVP menu final time */

@media screen and (max-width: 447px) {
  .rsvpa {
    font-size: 1rem;
  }

  .rsvpsection {
    width: 50vw;
  }

  .rsvpslidetitle {
    font-size: 2rem;
  }
}

/* 1332 W to fix heights of ERSVP section */

@media screen and (max-width: 1332px) {
  .container ul li span {
    font-size: 2rem;
  }

  .einfo {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 860px) {
  .container ul li {
    font-size: 1.1rem;
  }

  .einfo {
    font-size: 1rem;
  }
}

/* 768 W to accomadate for mobile viewing (making flexbox column) */

@media screen and (max-width: 768px) {
  .sidebyside {
    flex-direction: column;
  }

  .container {
    border-right: 0px;
  }

  .einfo {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .gallery p {
    font-size: 1.5rem;
  }
}

/* continuing mobile proofing */

@media screen and (max-width: 535px) {
  #headline {
    font-size: 1rem;
  }

  .container ul li {
    font-size: 1rem;
  }

  .roses {
    width: 150px;
    transform: translate(0px, -70px);
  }
}

@media screen and (max-width: 579px) {

  .names {
    font-size: 3rem;
  }

  .nav-logo {
    height: 60px;
    width: 60px;
  }

  nav {
    vertical-align: middle;
  }

  .pswrapper {
    padding-bottom: 2rem;
  }
}

@media screen and (max-width: 477px) {
  .names {
    font-size: 2rem;
  }
}

@media screen and (max-width: 450px) {
  .einfo {
    padding-top: 5vh;
  }
}

@media screen and (max-width: 378px) {
  .einfo {
    padding-top: 5vh;
  }

  #esid {
    padding-top: 20vh;
    padding-bottom: 20vh;
  }
}

@media screen and (max-width: 345px) {
  .names {
    font-size: 1.5rem;
  }

  .einfo {
    padding-top: 0vh;
  }
}