html
{
  scroll-behavior: smooth;
}

body
{
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* INTRO */

#introWrapper
{
  width: 100%;
  height: 100%;
}

#introWrapperTop
{
  position: absolute;
  top: 0;
  width: 100%;
  height: 51%;
  background: #f5ca86;
  animation: fade-intro-top 2s;
  animation-delay: 8s;
  animation-fill-mode: forwards;
}

@keyframes fade-intro-top {
  0%
  {
    top: 0;
  }
  100%
  {
    top: -51%;
  }
}

#introWrapperBottom
{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: #f5ca86;
  z-index: -1;
  animation: fade-intro-bottom 2s;
  animation-delay: 8s;
  animation-fill-mode: forwards;
}

@keyframes fade-intro-bottom {
  0%
  {
    bottom: 0;
  }
  100%
  {
    bottom: -50%;
  }
}


#saveDateMain
{
  width: 100%;
  height: 100%;
  background: red;
  z-index: -10;
}

#introWriting
{
  width: 40%;
  height: 20%;
  position:absolute;
  left:0; right:0;
  top:0; bottom:0;
  margin:auto;
  animation: hide-intro-writing 2s;
  animation-delay: 4s;
  animation-fill-mode: forwards;
}

@keyframes hide-intro-writing {
  0%
  {
    opacity: 1;
  }
  100%
  {
    opacity: 0;
  }
}

@media (max-device-width: 1024px) {
  #introWriting
  {
    width: 100%;
  }
}

#introTransitionLine
{
  width: 0%;
  height: 1px;
  background: repeating-linear-gradient(
  to right,
  white,
  #f6ba52 10px,
  white 10px,
  #ffd180 20px
);
  position: absolute;
  top: 50%;
  animation: draw-transition-line 2s;
  animation-delay: 6s;
  animation-fill-mode: forwards;
}

@keyframes draw-transition-line {
  0%
  {
    width: 0%;
  }
  95%
  {
    opacity: 1;
  }
  100%
  {
    width: 100%;
    opacity: 0;
  }
}

/* SAVE DATE MAIN */

.parentWrapper
{
  width: 100%;
  height: 100%;
  background: url("back.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  z-index: -10;
  top: 0;
  animation: saveDateMainFront 0.1s;
  animation-delay: 10s;
  animation-fill-mode: forwards;
  overflow: hidden;
}

@keyframes saveDateMainFront{
  0%
  {
    z-index: -10;
  }

  100%
  {
    z-index: 100;
  }
}

.darkenBack
{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 1;
  background-color: rgb(0, 0, 0);
  opacity: 0.7;
}

.icon
{
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  z-index: 10;
}

.waicon
{
 height: 25px;
width: 25px;
position: absolute;
bottom: 0;
right: 0;
z-index: 11;
background: url("washort.svg");
margin: 12px;
}

.icon img
{
  max-width: 20em;
  margin: 0 auto;
  display: block;
}

.namedate
{
  font-family: 'Italianno', cursive;
  font-size: 52px;
  display: block;
  color: white;
  padding-top: 3em;
  margin: 0 auto;
  text-align: center;
}

@media (max-device-width: 1024px)
{
  .namedate
  {
    font-size: 7em;
    padding-top: 1em;
  }
}

.savetheDateText
{
  font-family: 'Italianno', cursive;
  font-size: 32px;
  display: block;
  color: white;
  margin: 0 auto;
  text-align: center;
  padding: 1em;
  padding-bottom: 0.2em;
}

@media (max-device-width: 1024px)
{
  .savetheDateText
  {
    font-size: 3.5em;
    padding-bottom: 1em;
  }
}

.eventButtonWrapper
{
  margin: 0 auto;
  text-align: center;
  padding: 3em;
}

@media (max-device-width: 1024px)
{
  .eventButtonWrapper
  {
    padding-top: 8em;
  }
}

#saveDateSignature
{
  width: 25%;
  margin: 0 auto;
  text-align: center;
}

@media (max-device-width: 1024px)
{
  #saveDateSignature
  {
    width: 80%;
  }
}

.addeventatc
{
  color: white !important;
  border: 1px solid white;
  padding: 13px 12px 12px 13px !important;
  border-radius: 0px !important;
  font-weight: 300 !important;
}

@media (max-device-width: 1024px)
{
  .addeventatc
  {
    font-size: 2.5em !important;
    padding: 20px 20px !important;
  }
}


.addeventatc .addeventatc_icon
{
  display: none;
}
