* {
    font-family: 'Nanum Myeongjo', serif !important;
    /* font-family: 'Nanum Brush Script', cursive; */
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* #fp-nav ul li a span, .fp-slidesNav ul li a span {
    background-color: #fff !important;
} */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #000000;
}

.fp-tableCell {
    position: relative;
}

.content {
    max-width: 100%;
    max-height: 100%;
    padding: 20px;
    font-family: 'Nanum Pen Script', cursive !important;
    font-size: 1.1em;
    line-height: 1.5em;
    white-space: pre-wrap;
    color: #333;
}

.live-streaming-button {
    /* position: absolute; */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 60px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #ffffff;
    z-index: 999;
}

.page1 .fp-tableCell{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-color: black; */
}
.page1 #particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page1-title {
    position: relative;
    /* margin-top: -250px; */
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 300;
    font-size: 2em;
    color: #ffffff;
}
  
.page1-title .text-wrapper {
position: relative;
display: inline-block;
padding-top: 0.1em;
padding-right: 0.1em;
padding-bottom: 0.15em;
width: 100%;
line-height: 1em;
}

.page1-title .line {
position: absolute;
left: 0;
top: 0;
bottom: 0;
margin: auto;
height: 1px;
width: 100%;
background-color: #ffffff;
transform-origin: 0.5 0;
}

.page1-title .line1 {
    display: none;
}
.page1-title .ampersand {
/* font-family: Baskerville, serif; */
font-style: italic;
font-weight: 400;
width: 1em;
margin-right: -0.1em;
margin-left: -0.1em;
color: #ffffff;
}

.page1-title .letters {
display: inline-block;
opacity: 0;
font-size: 0.8em;
}

.page1 .description {
    /* position: absolute;
    bottom: 10%;
    left: 0;
    right: 0; */
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 0.9em;
    line-height: 2em;;
    color: #ffffff;
    opacity: 0;
    
}

.page1 .description .date {
    margin-top: 10px;
}

.arrow-down {
    position: absolute;
    left: 50%;
    bottom: 20px;
    margin-left: -4px;
    width: 20px;
    height: 20px;
}

.arrow-down img {
    max-width: 100%;
    max-height: 100%;
}

.poem {
    width: auto !important;
    height: auto !important;
    opacity: 0;
}
.page2 .fp-tableCell,
.dajeong-content .fp-tableCell,
.hwansoo-content .fp-tableCell,
.content-section .fp-tableCell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page3 .dajeong-young {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/dajeong-young.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
}

.page5 .hwansoo-young {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/hwansoo-young.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
}

.invitation-content {
    opacity: 0;

}
.wedding-image1 {
    background-image: url('/images/007.jpg');
    background-size: contain;
    
}

.date-location {
    background-color: #333;
}

.date-location .content2{
    font-size: 1em;
    color: #ffffff;
}

.date-location .account-info {
    margin-top: 20px;
}

.date-location .last {
    margin-top: 20px;
    white-space: pre-line;
}

.content2{
    max-width: 100%;
    max-height: 100%;
    padding: 20px;
    font-size: 1.2em;
    line-height: 1.5em;
    color: #ffffff;
}

.content2 a,
.content2 div {
    color: #ffffff;
}

.content2 .controls {
    margin-top: 30px;
}
.content2 .controls a {
    display: block;
    margin-top: 20px;
}

.form {
    width: calc(100% - 40px);
    height: 100%;
    padding: 20px;
    line-height: 1.5em;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form .form-title {
    margin-bottom: 30px;
    font-size: 1.2em;
    font-weight: bold;
}

.form .form-description {
    margin-bottom: 10px;
    font-size: 0.8em;
    line-height: 1.2em;
}

.form .form-description2 {
    margin-bottom: 10px;
    font-size: 1.0em;
    line-height: 1.3em;
    white-space: pre-line;
}

.form .form-label {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.2em;
}

.form input,
.form select {
    font-size: 1.1em;
    line-height: 2em;
    border: none;
    border-bottom: 1px solid #333;
}

.form .form-button {
    width: 100%;
    margin-top: 30px;
}

.form .form-button button {
    width: 100%;
    font-size: 1.2em;
    line-height: 2em;
    background-color: transparent;
    border: 1px solid #333;
}

.account-form .account-button {
    width: 100%;
    margin-top: 40px;
    font-size: 1.0em;
    line-height: 2em;
    background-color: transparent;
    border: 1px solid #333;
}

.account-form a {
    color: #333;
}

.dajeong-account,
.hwansoo-account {
    display: none;
}
/* 
 * .thumbnail-page
 */
.thumbnail-page .fotorama {
    width: 100%;
    height: 100%;
    background-color: #333;
}

/* .thumbnail-page .thumbnails a {
    display: inline-block;
    width: 33%;
} */

@media (min-width: 768px) {
    body {
        font-size: 20px;
    }
    .page3 .dajeong-young,
    .page5 .hwansoo-young {
        background-size: contain;
        background-position: center center;
    }
/* CSS */

}