@font-face {
    font-family: 'Parisienne';
    src: url('fonts/Parisienne-Regular.eot');
    src: url('fonts/Parisienne-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Parisienne-Regular.woff2') format('woff2'),
        url('fonts/Parisienne-Regular.woff') format('woff'),
        url('fonts/Parisienne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Great Vibes';
    src: url('fonts/GreatVibes-Regular.eot');
    src: url('fonts/GreatVibes-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/GreatVibes-Regular.woff2') format('woff2'),
        url('fonts/GreatVibes-Regular.woff') format('woff'),
        url('fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

a:link {
	color: #ffffff;
}
a:visited {
  color: #ffffff;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.full-height {
  height: calc(var(--vh, 1vh) * 100);
}

body {
    margin: 0;
    background: radial-gradient(circle, #17263A 0%, #020708 100%);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', Ubuntu, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
	overflow: hidden;
}

h1
{
    font-family: 'Parisienne';
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 20pt;
}

h2
{
	text-align: center;
}

h3
{
    font-family: 'Parisienne';
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 15pt;
}

h4
{
    font-family: 'Parisienne';
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 20pt;
}



body .contentContainer
{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: #9A9BA0; */
    /* height: 500pt;
    width: 300pt; */
    width: 100%;
    height: 100%;
	/*
    max-height: 90%;
    max-width: 90%;
	*/
}

body.loaded.fontsloaded .contentContainer
{
    display: block;
}




.contentContainer
{
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    perspective: 1000px;
}
.contentContainer.flipped
{
    transform: rotateY(180deg);
}





.cardContainer
{
    position: absolute;
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FBFDFC;
    overflow: hidden;
    backface-visibility: hidden;
}

.locationContainer
{
    position: absolute;
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FBFDFC;
    overflow: hidden;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    flex-direction: column;
}

.locationContainer .locationCaption
{
    color: #FBFDFC;
    background-color: #282B33;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.locationContainer .locationCaption address
{
    padding: 20pt;
}

.locationContainer iframe
{
    border: none;
    flex: 1 auto;
    width: 100%;
}


.floral1
{
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(img/floral_tl.png);
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-size: contain;
    max-width: 70%;
    max-height: 70%;
	
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.floral2
{
    position: absolute;
    bottom: 0;
    right: 0;
    background-image: url(img/floral_br.png);
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: right bottom;
    max-width: 70%;
    max-height: 70%;
	
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.bg1
{
    position: absolute;
    top: 0;
    bottom: 0;
	left: 0;
	right: 0;
	
    background-image: url(img/bg.png);
    background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;  
	opacity: 0.2;
	 filter: grayscale(100%);
}


.textContent
{
    text-align: center;
    z-index: 100;
}

.fog {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0.6;
    pointer-events: none;
    animation: fogmove 6s linear infinite;
}

.fog1 {
    animation-delay: 0s;
}
.fog2 {
    animation-delay: 60s;
    transform: scaleX(-1);
}

#countdown
{
    font-family: 'Parisienne';
    font-size: 1.2rem;
}


#location
{
    position: absolute;
    top: 25pt;
    right: 20pt;
    width: 30pt;
    height: 30pt;
    cursor: pointer;
    animation: pulse 1.6s ease-in-out infinite;
}

#calicon
{
    position: absolute;
    top: 25pt;
    right: 60pt;
    width: 30pt;
    height: 30pt;
    cursor: pointer;
}

#backaction
{
    position: absolute;
    top: 25pt;
    left: 20pt;
    width: 30pt;
    height: 30pt;
    cursor: pointer;
	display: none;
}

#closeaction
{
    position: absolute;
    top: 25pt;
    right: 20pt;
    width: 30pt;
    height: 30pt;
    cursor: pointer;
    display: none;
}


#location img
{
    width: 100%;
    height: 100%;
}

#imprint
{
	display: none;
	width: 100%;
	text-align: left;
	overflow: auto;
	max-height: 100%;
	padding: 0 15%;
}

#imprint .spacer
{
	padding: 40pt 0pt;
}



#footer
{
	position: absolute;
	bottom: 20pt;
	left: 20pt;
    z-index: 100;
    cursor: pointer;
	
	color: #ffffff;
}



body.flipped #cardContainer
{
	display: none;
}

body.flipped #location
{
    display: none;
}

body.flipped #backaction
{
    display: block;
}

body.imprint #textContent
{
	display: none;
}

body.imprint #imprint
{
	display: block;
}


body.flipped #footer
{
	display: none;
}
body.imprint #footer
{
	display: none;
}
body.imprint #location
{
	display: none;
}
body.imprint #closeaction
{
	display: block;
}
body.flipped #closeaction
{
	display: block;
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}


@keyframes fogmove {
    0% { transform: translate(0, 0); }
    50% { transform: translate(10%, 5%); }
    100% { transform: translate(0, 0); }
}


@media only screen and (max-width: 768px) {
    body .contentContainer
    {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: unset;
        height: unset;
        max-width: unset;
        max-height: unset;
        transform: unset;
    }

    .floral1
    {
        top: -30pt;
        left: -10pt;

        max-width: 80%;
        max-height: 90%;
    }

    .floral2
    {
        bottom: -20pt;
        right: -30pt;

        max-width: 80%;
        max-height: 90%;
    }

    h3
    {
        font-size: 2rem;
    }

    h4
    {
        font-size: 1.5rem;
    }
	
	
	#closeaction
	{
		top: 10pt;
		right: 10pt;
	}

	#location
	{
		top: 10pt;
		right: 10pt;
	}

}

@media only screen and (max-height: 550px) 
{
	h1
	{
		font-size: 2rem;
	}
    h3
    {
        font-size: 1.4rem;
    }
    h4
    {
        font-size: 1rem;
    }
}


#butterfly-container
{
	position: absolute;
	right: 0;
	bottom: 0;
	overflow: hidden;
	width: 200pt;
	height: 200pt;
}
#butterfly-area {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#butterfly {
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

body.flipped #butterfly-container
{
	display: none;
}

.wing {
  transform-origin: 50% 50%;
  animation: flap 0.4s ease-in-out infinite;
}

.wing.right {
  animation-delay: 0.2s;
}

@keyframes flap {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}