@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;
}



body {
    margin: 0;
    background: radial-gradient(circle, #17263A 0%, #020708 100%);
    font-family: 'Georgia', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}


h3
{
    font-family: 'Parisienne';
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 20pt;
}

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%;
}

.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%;
}

.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: 20pt;
    right: 20pt;
    width: 30pt;
    height: 30pt;
    cursor: pointer;
    animation: pulse 1.6s ease-in-out infinite;
}

#location img
{
    width: 100%;
    height: 100%;
}

.contentContainer.flipped #location
{
    display: none;
}

@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;
    }

    #location
    {
        top: 10pt;
        right: 10pt;
    }
}