@font-face {
  font-family: "Plaza W01 Regular";
  src: url("Plaza/Plaza-Regular.eot");
  src: url("Plaza/Plaza-Regular.eot?#iefix")format("embedded-opentype"),
  url("Plaza/Plaza-Regular.woff2")format("woff2"),
  url("Plaza/Plaza-Regular.woff")format("woff"),
  url("Plaza/Plaza-Regular.ttf")format("truetype"),
  url("Plaza/Plaza-Regular.svg#Plaza W01 Regular")format("svg");
}

:root {
  --ad-primary: #1C146B;
  --ad-secondary: #CEB185;
  --ad-tertiary: #ffffff;
}
  
 
  
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

body {
  font-family: 'Plaza W01 Regular', Fallback, sans-serif;
  min-height: 100vh;
  color: var(--color-text);
  transition:
    color 0.5s,
    background-color 0.5s;
  line-height: 1.6;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url('bg-image-m.png');
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}

#customize-thumbnails-gallery {
  max-width: 1440px;
}

.header {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 0 80px 0;
}

.header::before {
  display: block;
  position: absolute;
  content: '';
  background-image: url('Border.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 90px;
  width: 90px;
  top: 12px;
  left: 12px;
}

.header::after {
  display: block;
  position: absolute;
  content: '';
  background-image: url('Border.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 90px;
  width: 90px;
  top: 12px;
  right: 12px;
  transform: rotate(90deg);
}

.logo {
  margin-bottom: 32px;
}

.rsvp-btn {
  position: relative;
  font-size: 26px;
  text-decoration: none;
  color: var(--ad-tertiary);
  margin-bottom: 50px;
}

.rsvp-btn:hover .ticket-right{
  transform: rotate(20deg);
}

.rsvp-btn svg {
  overflow: visible
}

.ticket-right {
  margin-left: -8px;
  transform-origin: 0 100%;
  transition: all 250ms ease;
}

.rsvp-btn span {
  display: block;
  position: absolute;
  padding: 0 8px 0 23px;
  border-right: 2px dotted var(--ad-tertiary);
}

.intro-text {
  position: relative;
  font-size: 32px;
  line-height: 1;
  text-align: center;
  color: var(--ad-primary);
  max-width: 270px;
  margin-bottom: 50px;
}

.intro-text::before {
  display: block;
  position: absolute;
  content: '';
  background-image: url('Heart.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 35px;
  width: 30px;
  top: 50%;
  left: 0;
  transform: translate(-100%, -50%);
}

.intro-text::after {
  display: block;
  position: absolute;
  content: '';
  background-image: url('Heart.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 35px;
  width: 30px;
  top: 50%;
  right: 0;
  transform: translate(100%, -50%) rotate(180deg);
}

.intro-arrow {
  opacity: 0;
  padding-top: 60px;
  animation:fadeInDown 3s ease 3 ;
}

section {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 8px;
}

.quote {
  position: relative;
  font-size: 36px;
  color: var(--ad-secondary);
  text-align: center;
  max-width: 300px;
  padding: 0 40px;
  line-height: 1;
  margin: 120px 0;
}

.quote::before {
  display: block;
  position: absolute;
  content: '';
  background-image: url('glow.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 68px;
  width: 22px;
  top: 50%;
  left: 0;
  transform: translate(-100%, -50%);
}

.quote::after {
  display: block;
  position: absolute;
  content: '';
  background-image: url('glow.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 68px;
  width: 22px;
  top: 50%;
  right: 0;
  transform: translate(100%, -50%) rotate(180deg);
}

.bordered-img {
  position: relative;
  width: 100%;
}

.border {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  right: 10px;
  width: calc(100% - 20px);
  pointer-events: none;
}

.headline {
  position: relative;
  font-size: 42px;
  text-transform: uppercase;
  color: var(--ad-secondary);
  margin-bottom: 40px;
}

.headline::before {
  display: block;
  position: absolute;
  content: '';
  background-image: url('headline-deco.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 25px;
  width: 134px;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.headline::after {
  display: block;
  position: absolute;
  content: '';
  background-image: url('headline-deco.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 25px;
  width: 134px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%) rotate(180deg);
}

.fotograf-insta {
  font-size: 18px;
  color: var(--ad-secondary);
}

.fotograf-insta a {
  color: var(--ad-primary);
}

.fotograf-insta span {
  font-size: 14px;
}

.oberwaldhaus-logo {
  margin: 24px 0 ;
}

.owh-info-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 120px;
}

.owh-datum {
  width: calc(50% - 10px);
}

.owh-uhrzeit {
  width: calc(50% - 10px);
}

.owh-address {
  width: 100%;
  text-align: center;
  font-size: 20px;
  line-height: 1;
  color: var(--ad-primary);
}

.button-secondary {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 55px;
  width: 105px;
  text-decoration: none;
}

.button-secondary span {
  color: var(--ad-primary);
  font-size: 22px;
  line-height: 1;
  transition: all 300ms ease;
}

.button-secondary path{
  transition: all 300ms ease;
}

.button-secondary svg {
  position: absolute;
  top: 0;
  left: 0;
}
.button-secondary:hover span{
  color: var(--ad-secondary);
}

.button-secondary:hover path{
  fill: var(--ad-primary);
}

.location-map {
  margin-bottom: 36px;
}


.realmap {
  position: absolute;
  z-index: 0;
  top: 24px;
  right: 24px;
  left: 24px;
  bottom: 24px;
  height: calc(100% - 48px);
  width: calc(100% - 48px);
}

.static-map {
  position: relative;
  z-index: -1;
  opacity: 0;
}

.location {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 52px;
}

.location-hl {
  color: var(--ad-secondary);
  font-size: 32px;
}

.location-rooms {
  margin: 10px 0;
}

.footer {
  position: relative;
  height: 80px;
}

.footer::before {
  display: block;
  position: absolute;
  content: '';
  background-image: url('Border.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 90px;
  width: 90px;
  bottom: 12px;
  left: 12px;
  transform: rotate(270deg);
}

.footer::after {
  display: block;
  position: absolute;
  content: '';
  background-image: url('Border.svg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 90px;
  width: 90px;
  bottom: 12px;
  right: 12px;
  transform: rotate(180deg);
}

@media only screen and (min-width: 480px) {
  body {
    background-image: url('bg-image-d.png');
  }
  
  .logo {
    width: 205px;
  }

  .header::before, .header::after, .footer::before, .footer::after {
    height: 150px;
    width: 150px;
  }


}

@media only screen and (min-width: 860px) {
  .rsvp-btn {
    position: absolute;
    top: 120px;
    right: 20vw;
  }

  .quote {
    max-width: 480px;
  }

  .owh-info-container {
    width: 680px;
    align-items: center;
    gap: 22px;
  }
  
  .owh-datum {
    order: 1;
    width: calc(33.3%);
  }
  
  .owh-uhrzeit {
    order: 3;
    width: calc(33.3%);
  }
  
  .owh-address {
    order: 2;
    width: auto;
  }

  .owh-info-container .button-secondary {
    order: 4;
  }

  .locations {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 120px;
    gap: 22px;
    max-width: 1920px;
  }

  section {
    padding: 0 24px;
  }

  .bordered-img {
    max-width: 1920px;
  }

  .logo {
    margin-bottom: 86px;
  }

  .intro-text {
    max-width: none;
    padding: 0 16px;
  }

  .intro-names img {
    width: 280px;
  }

  .quote {
    margin: 200px 0;
  }

  .intro-arrow {
    display: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -50%, 0);
  }

  20% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  85% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  90% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.line-t, .line-r, .line-b, .line-l  {
  stroke-dasharray: 84;
  stroke-dashoffset: 84;
}

/* Animation 1 */
.leaf-tl {
  transform: translateX(-10px) translateY(-10px);
  opacity: 0;
  animation: leaf 0.5s 0.5s ease forwards;
}


/* Animation 1.5 */
.heart-t {
  transform: translateX(0) translateY(-10px);
  opacity: 0;
  animation: leaf 0.3s 0.7s ease forwards;
}

/* Animation 2 */
.line-t {
  animation: line-expose 0.5s 0.75s ease forwards;
}

/* Animation 3 */
.leaf-tr {
  transform: translateX(10px) translateY(-10px);
  opacity: 0;
  animation: leaf 0.5s 1s ease forwards;
}

/* Animation 3.5 */
.heart-r {
  transform: translateX(10) translateY(0);
  opacity: 0;
  animation: leaf 0.3s 1.25s ease forwards;
}

/* Animation 4 */
.line-r {
  animation: line-expose 0.5s 1.25s ease forwards;
}

/* Animation 5 */
.leaf-br {
  transform: translateX(10px) translateY(10px);
  opacity: 0;
  animation: leaf 0.5s 1.5s ease forwards;
}

/* Animation 5.5 */
.heart-b {
  transform: translateX(0) translateY(-10px);
  opacity: 0;
  animation: leaf 0.3s 1.75s ease forwards;
}

/* Animation 6 */
.line-b {
  animation: line-expose 0.5s 1.75s ease forwards;
}

/* Animation 7 */
.leaf-bl {
  transform: translateX(-10px) translateY(10px);
  opacity: 0;
  animation: leaf 0.5s 2s ease forwards;
}

/* Animation 7.5 */
.heart-l {
  transform: translateX(-10px) translateY(0);
  opacity: 0;
  animation: leaf 0.3s 2.25s ease forwards;
}

/* Animation 8 */
.line-l {
  animation: line-expose 0.5s 2.25s ease forwards;
}


@keyframes line-expose {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes leaf {
  to {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
}




/* Gallery */

@media only screen and (max-width: 860px) {
  .lg-thumb-outer {
    opacity: 0 !important;
  }
}

.lg-custom-thumbnails .lg-outer {
  width: auto;
  right: 225px;
  left: 10px;
}
.lg-custom-thumbnails .lg-outer .lg-thumb-outer {
  left: auto;
  top: 0;
  width: 235px;
  bottom: 0;
  position: fixed;
  right: 0;
  max-height: none;
  background-color: #999;
  padding-left: 5px;
  padding-right: 5px;
  margin: 0 -10px;
  overflow-y: auto;
  transform: translate3d(30%, 0, 0);
  opacity: 0;
  transition: transform 0.15s cubic-bezier(0, 0, 0.25, 1) 0s, cubic-bezier(0, 0, 0.25, 1) 0.15s;
}
.lg-custom-thumbnails .lg-outer.lg-components-open .lg-thumb-outer {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.lg-custom-thumbnails .lg-outer .lg-thumb-item {
  filter: grayscale(100%);
  will-change: filter;
  transition: filter 0.12s ease-in, border-color 0.12s ease;
}
.lg-custom-thumbnails .lg-outer .lg-thumb-item:hover, .lg-custom-thumbnails .lg-outer .lg-thumb-item.active {
  filter: grayscale(0);
  border-color: #545454;
}
.lg-custom-thumbnails .lg-outer .lg-thumb {
  padding: 5px 0;
}
