/* global styles */
:root {
  --ryan-party-size: 4;
  --jason-party-size: 6;
  --primary-color: #434f62;
  --alt-primary-color: #576054;
  --secondary-color: #9fa6b1;
  --big-text-color: rgb(192, 202, 193);
}

html {
  scroll-behavior: smooth;
}

h1 {
  font-size:32px;font-weight:400;
  margin-top:0px;
  margin-bottom:10px;
}

#wedding-day {
  text-align: center;
}

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
}

nav {
  overflow: hidden;
  z-index: 100;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky+section {
  padding-top: 75px;
}

nav .bar {
  height: 65px;
  background-color: var(--primary-color);
  width: 100%;
  opacity: 0.95;
  color: #fff;
  z-index: 100;
}

.logo {
  font-family: "Shadows Into Light", cursive;
  padding: 5px;
  padding-left: 10px;
  font-size: 24pt;
  float: left;
}

.logo a {
  color:#fff !important;
  text-decoration: none;
}

.hamburger {
  position: relative;
  float: right;
  border: 1px solid #fff;
  border-radius: 5px;
  height: 40px;
  width: 40px;
  top: 12px;
  right: 10px;

}

.hamburger .patty {
  height: 2px;
  width: 80%;
  margin: auto;
  background-color: #fff;
  margin-top: 5px;
}

.patty:last-of-type::after {
  content: "MENU";
  font-size: 10px;
  text-align: center;
  padding-top: 4px;
  display: block;
}


.menu {
  background-color: var(--secondary-color);
  padding: 15px;
  display: none;
}

.active {
  position: relative;
  display: block;
  z-index: 50;
  animation: slide-down 0.4s ease-out;
}

@keyframes slide-down {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-25%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

.menu div {
  padding-bottom: 10px;
  font-family: "Shadows Into Light", cursive;
  font-size: 18pt;
  text-align: right;
}

.menu a {
  color: var(--primary-color);
  text-decoration: none;
}

a {
  color: var(--primary-color);
}

a:visited {
  color: var(--primary-color);
}

section,
footer {
  padding: 10px;
}

footer {
  font-size: 8px;
  color: var(--primary-color);
  ;
  text-align: center;

}

.subhed {
  font-size: 42px;
  font-family: "Shadows Into Light", cursive;
  text-align: center;
}

/* home page */

.splash {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background-image: url('img/bg.jpg');
  background-size: cover;
  background-position-y: 70%;
  background-position-x: 50%;
  font-family: "Shadows Into Light", cursive;
}

.words {
  top: 0%;
  margin: auto;
  width: 95%;
  position: relative;
  text-shadow: -1px -1px 0 #485e5b,
    1px -1px 0 #485e49,
    -1px 1px 0 #485e49,
    1px 1px 0 #485e49;
}

#names,
#date {
  left: auto;
  position: relative;
  color: #fff;
  text-align: center;
}

#names {
  font-size: 52pt;
}

#date {
  font-size: 36pt;
}

/* arrow */
header a {
  padding-top: 60px;
}

header a span {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border: 1px solid #fff;
  border-radius: 100%;
  box-sizing: border-box;
}

header a span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  width: 16px;
  height: 16px;
  margin: -12px 0 0 -8px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}

header a span::before {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  opacity: 0;
  -webkit-animation: sdb03 3s infinite;
  animation: sdb03 3s infinite;
  box-sizing: border-box;
}

@-webkit-keyframes sdb03 {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  60% {
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.1);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes sdb03 {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  60% {
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.1);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* wedding party */
.party .attendant img {
  width: calc(100% - 10px);
  border-radius: 50%;
  opacity: 0.6;
  cursor: pointer;
}

.party .attendant img:hover {
  opacity: 0.8;
}

.placeholder {
  background-color: #ccc;
  border-radius: 50%;
  width: calc(100% - 10px);

}

#jasons-party .attendant {
  float: left;
  text-align: center;
  width: calc(100% / var(--jason-party-size));
}

#ryans-party .attendant {
  float: left;
  text-align: center;
  width: calc(100% / var(--ryan-party-size));
}

.attendant span {
  font-size: 12px;
  font-weight: Bold;
  opacity: 0.4;
  cursor: pointer;

}

.partyName {
  font-weight: bold;
  font-size: 18px;
  padding: 10px;
}

.bios {
  padding: 5px;
  clear: both;
}

.bios div {
  margin-top: 15px;
}

.visible {
  display: block;
}

#jasons-party .headshots .active-bio img,
.headshots .active-bio span {
  opacity: 1;
}

.bios div {
  display: none;
}

.bios div.active-bio {
  display: block;
}

.guest-profile {
  width: 100%;
}

.guest-profile input {
  width: 100%;
  height: 2rem;
}

.guest-profile>div {
  width: calc(100% - 10px);
  padding: 5px;

}



/* desktop */
@media only screen and (min-width: 768px) {
  body {
    background-position: center top;
  }

  .menu div {
    width: 60%;
    margin: auto;
  }

  .logo {
    margin-left: 20%;
  }

  .hamburger {
    margin-right: 20%;
  }

  section {
    width: 60%;
    margin: auto;
  }

  .guest-profile>div {
    width: calc(50% - 10px);
    padding: 5px;
    float: left;
  }

  .words {
    position: absolute;
    top: 45%;
    margin: 0;
    width: auto;
  }

  #names {
    left: 15%;
  }

  #date {
    color: #fff;
    left: 15%;
  }


}


#invitation {
  border: 15px solid var(--primary-color);
  width: 100%;
  position: relative;
  color: rgb(62, 79, 114);
  padding-bottom: 40px;
  box-sizing: border-box;
}

#heading {
  margin-top: 10px;
  color: var(--big-text-color);
  transform: scaleY(1.7);
  padding-right: 2px;
}

#invitation .sub-heading,
#wedding-day .sub-heading {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 70px;
  width: 100%;
  color: var(--primary-color);
  font-family: cursive;
  font-size: 24px;
  letter-spacing: 4.5;
}



#invitation .invite {
  margin: 55px 0px;
  line-height: 30px;
  padding: 15px;
}

#invitation .address {
  text-transform: uppercase;
  margin-top: 30px;
  font-weight: bold;
  letter-spacing: 5px;
}

#invitation .sub-address {
  text-transform: uppercase;
  line-height: 30px;
  letter-spacing: 4px;
  padding: 15px;
}

#invitation .rsvp {
  text-transform: uppercase;
  margin-top: 30px;
}

#invitation .time {
  line-height: 30px;
  margin-top: 30px;
  font-weight: bold;
}

.rsvp sup {
  font-size: 0.5em;
}

@media (max-width: 768px) {
  .photo-row div {
    float: none !important;
    width: 100% !important;
    margin-left: 0px !important;
    margin-top: 5px;
  }

  #invitation .sub-heading {
    top: 40px;
  }

}

.schedule-button:hover {
  cursor: pointer;
}

#invitation {
  color: var(--primary-color);
}

#faq .subhed {
  padding-bottom: 30px;
}

.question {
  color: var(--primary-color);
  text-align: left;
  font-weight: bold;
  font-size: 1.2em;
  padding-bottom: 5px;
}

.answer {
  text-align: justify;
  font-size: 0.9em;
  line-height: 1.7em;
  margin-bottom: 20px;
}

#btn-add-photos:hover {
  background-color: #eee;
}


.meter {
  box-sizing: content-box;
  height: 20px; /* Can be anything */
  position: relative;
  margin:10px 0px;
  background: #eee;
  border-radius: 5px;
  padding: 3px;
  box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
}
.meter > span {
  display: block;
  height: 100%;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  background-color: var(--primary-color);
  background-image: linear-gradient(
    center bottom,
    rgb(43, 194, 83) 37%,
    rgb(84, 240, 84) 69%
  );
  box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.meter > span:after,
.animate > span > span {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  z-index: 1;
  background-size: 50px 50px;
  animation: move 2s linear infinite;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
}

.animate > span:after {
  display: none;
}

@keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

#photos img
{
  width:100%;
  padding-bottom:10px;
}


.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary-color);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}