/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */


/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */


/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/

section {
    padding: 30px 0;
    overflow: hidden;
}

.section-title {
    padding-bottom: 40px;
}

.section-title h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaaaaa;
    font-family: 'Fredericka the Great', cursive;
}

.section-title h2::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: #fd9042;
    margin: 4px 10px;
}

.section-title p {
    margin: 0;
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    text-transform: capitalize;
    font-family: 'Raleway', sans-serif;
    color: #2a2c39;
}


/* For mobile phones:*/

[class*="col-"] {
    width: 100%;
}

@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {
        width: 8.33%;
    }
    .col-2 {
        width: 16.66%;
    }
    .col-3 {
        width: 25%;
    }
    .col-4 {
        width: 33.33%;
    }
    .col-5 {
        width: 41.66%;
    }
    .col-6 {
        width: 50%;
    }
    .col-7 {
        width: 58.33%;
    }
    .col-8 {
        width: 66.66%;
    }
    .col-9 {
        width: 75%;
    }
    .col-10 {
        width: 83.33%;
    }
    .col-11 {
        width: 91.66%;
    }
    .col-12 {
        width: 100%;
    }
}

.row-f {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
    margin-bottom: 16px;
}


/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@media only screen and (max-width: 600px) {
    /* For mobile */
    /* ==========================================================================
        Hero
   ========================================================================== */
    .hero-ornament-top {
        position: relative;
        height: auto;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        top: 0;
        z-index: -1;
    }
    .hero-ornament-bot {
        position: relative;
        height: auto;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        top: 0;
        z-index: -1;
        transform: rotate(180deg);
    }
    .bg-hero {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(https://lh3.googleusercontent.com/ESY33qY9BZ-G1X1ulx4R5EBtVNszkkyt7SGyEPL3x6GSc5cJMmoead0oi5BXMWGMXpQKXALYswKq_bGjMV67jklrTmtq_QF7z8XYXqDV3lUb0FQtVGX2gCh3KejqEm_Z9C5MFz4=w2400) center no-repeat;
        width: 100%;
        height: auto;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .hero-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: auto;
        padding-top: 25%;
        padding-left: 10%;
        padding-right: 10%;
        text-align: center;
    }
    .hero-container h2 {
        color: #FBFCD4;
        margin-bottom: 30px;
        font-size: 2rem;
        font-weight: 700;
        text-align: center;
        font-family: 'Dancing Script', cursive;
    }
    .hero-container h3 {
        margin-left: 10%;
        margin-right: 10%;
        color: #FBFCD4;
        margin-bottom: 30px;
        font-size: 1.75rem;
        font-weight: 700;
        text-align: center;
        font-family: 'Teko', sans-serif;
    }
    .hero-container span {
        color: #FBFCD4;
        font-size: 1.4rem;
        font-family: 'Teko', sans-serif;
    }
    .column-f {
        flex: 100%;
        max-width: 100%;
        padding: 0 4px;
        margin-bottom: 32px;
    }
    .column-b-left {
        flex: 100%;
        max-width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 0;
    }
    .column-b-right {
        flex: 100%;
        max-width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 0;
    }
    #event-card {
        height: auto;
        background: #151515;
    }
    .akad-text {
        color: #FBFCD4;
        font-size: 23px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 35%;
        max-width: 80vw;
        font-family: 'Fredericka the Great', cursive;
    }
    .akad-text-desc {
        color: #FBFCD4;
        font-size: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 35%;
        max-width: 80vw;
        font-family: 'Quantico', sans-serif;
    }
    .content-event {
        height: 85vh;
    }
    .galery-column {
        flex: 50%;
        max-width: 90%;
        padding: 0 4px;
    }
    .card-col>svg {
        margin-top: 5%;
        margin-bottom: 5%;
    }
    .content-event {
        display: flex;
        width: 100%;
        background: url(../img/ornament/1x/ornament-card-l.png), #0A0A0A;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        align-items: center;
        flex-direction: column;
        padding: 5%;
        flex-wrap: nowrap;
    }
}

@media only screen and (min-width: 600px) {
    /* For tablet: */
    /* ==========================================================================
        Hero
   ========================================================================== */
    .hero-ornament-top {
        position: relative;
        height: auto;
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
        top: 0;
        z-index: -1;
    }
    .hero-ornament-bot {
        position: relative;
        height: auto;
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
        top: 0;
        z-index: -1;
        transform: rotate(180deg);
    }
    .bg-hero {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(https://lh3.googleusercontent.com/ESY33qY9BZ-G1X1ulx4R5EBtVNszkkyt7SGyEPL3x6GSc5cJMmoead0oi5BXMWGMXpQKXALYswKq_bGjMV67jklrTmtq_QF7z8XYXqDV3lUb0FQtVGX2gCh3KejqEm_Z9C5MFz4=w2400) center no-repeat;
        width: 100%;
        height: auto;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .hero-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: auto;
        padding-left: 10%;
        padding-right: 10%;
        text-align: center;
    }
    .hero-container h2 {
        color: #FBFCD4;
        margin-bottom: 30px;
        font-size: 3rem;
        text-align: center;
        font-family: 'Dancing Script', cursive;
    }
    .hero-container h3 {
        margin-left: 10%;
        margin-right: 10%;
        color: #FBFCD4;
        font-size: 2.5rem;
        text-align: center;
        font-family: 'Teko', sans-serif;
    }
    .hero-container span {
        color: #FBFCD4;
        font-size: 1.5rem;
        font-family: 'Teko', sans-serif;
    }
    .column-f {
        flex: 100%;
        max-width: 80%;
        padding: 0 8vw;
        margin-left: 10%;
        margin-right: 10%;
        margin-bottom: 32px;
    }
    .column-b-left {
        flex: 50%;
        max-width: 50%;
        padding-left: 4vw;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }
    .column-b-right {
        flex: 50%;
        max-width: 50%;
        padding-right: 4vw;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }
    #event-card {
        height: auto;
        background: #151515;
    }
    .akad-text {
        color: #FBFCD4;
        font-size: 25px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 35%;
        max-width: 50vw;
        font-family: 'Fredericka the Great', cursive;
    }
    .akad-text-desc {
        color: #FBFCD4;
        font-size: 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 35%;
        max-width: 50vw;
        font-family: 'Quantico', sans-serif;
    }
    .resepsi-text-desc {
        color: #FBFCD4;
        font-size: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 35%;
        max-width: 50vw;
        font-family: 'Quantico', sans-serif;
    }
    .content-event {
        height: 100vh;
    }
    .galery-column {
        flex: 50%;
        max-width: 90%;
        padding: 0 4px;
    }
    .content-event {
        display: flex;
        width: 100%;
        background: url(../img/ornament/1x/ornament-card-l.png), #0A0A0A;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        align-items: center;
        flex-direction: column;
        padding: 10%;
        flex-wrap: nowrap;
    }
}

@media only screen and (min-width: 768px) {
    /* For desktop: */
    /* ==========================================================================
        Hero
   ========================================================================== */
    .hero-ornament-top {
        position: relative;
        height: auto;
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
        top: 0;
        z-index: -1;
    }
    .hero-ornament-bot {
        position: relative;
        height: auto;
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
        top: 0;
        z-index: -1;
        transform: rotate(180deg);
    }
    .bg-hero {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(https://lh3.googleusercontent.com/ol59wSulPzRWCV2hqUE54pwMzSaBiN5n_q_mChIGnaHTwwALu4upYYsICqUDs0mDDP4hKk0Efz6AvP0gbFlsYKSPV9Bvm2naPuM9DQ4_qvwJeC6MumoYsJXTf2xuQWB6jjdnfzs=w2400) center no-repeat;
        width: 100%;
        height: auto;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .hero-container {
        width: 100vw;
        height: auto;
        flex: 1 0 auto;
        padding-left: 10%;
        padding-right: 10%;
    }
    .hero-container h2 {
        color: #FBFCD4;
        margin-bottom: 20px;
        font-size: 3rem;
        text-align: center;
        font-family: 'Dancing Script', cursive;
    }
    .hero-container h3 {
        margin-left: 10%;
        margin-right: 10%;
        color: #FBFCD4;
        font-size: 4rem;
        text-align: center;
        font-family: 'Teko', sans-serif;
    }
    .hero-container span {
        color: #FBFCD4;
        font-size: 2rem;
        font-family: 'Teko', sans-serif;
    }
    .hero-container img {
        min-width: 50vw;
    }
    .column-f {
        flex: 50%;
        max-width: 50%;
        padding: 0 4vw;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }
    .column-b-left {
        flex: 50%;
        max-width: 50%;
        padding-left: 4vw;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }
    .column-b-right {
        flex: 50%;
        max-width: 50%;
        padding-right: 4vw;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }
    #event-card {
        min-height: 100vh;
        background: #151515;
    }
    .akad-text {
        color: #FBFCD4;
        font-size: 2.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 25%;
        max-width: 30vw;
        font-family: 'Fredericka the Great', cursive;
    }
    .akad-text-desc {
        color: #FBFCD4;
        font-size: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 25%;
        max-width: 30vw;
        font-family: 'Quantico', sans-serif;
    }
    .resepsi-text-desc {
        color: #FBFCD4;
        font-size: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 25%;
        max-width: 30vw;
        font-family: 'Quantico', sans-serif;
    }
    .content-event {
        height: 100vh;
    }
    .galery-column {
        flex: 25%;
        max-width: 25%;
        padding: 0 4px;
    }
    .content-event {
        display: flex;
        width: 100%;
        background: url(../img/ornament/1x/ornament\ card.png), #0A0A0A;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        align-items: center;
        flex-direction: column;
        padding: 10%;
        flex-wrap: nowrap;
    }
}

.card-row {
    margin-top: 10%;
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
}

.card-col {
    justify-content: space-evenly;
    flex: 1 1 auto;
}

.card-col>svg {
    margin-top: 10%;
    margin-bottom: 10%;
}

.bride-groom-card {
    height: 70vh;
    display: flex;
    width: 100%;
    background: #0A0A0A;
    text-align: center;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    padding: 7.5%;
    flex: 1 1 auto;
}

.bride-groom-card img {
    border-radius: 50%;
    max-width: 35%;
}

#test-container {
    display: flex;
    flex-flow: row wrap;
}

#hero {
    height: 100vh;
    text-align: center;
    align-items: center;
    justify-content: center;
}

#wishes {
    min-height: 100vh;
    background: #151515;
}

#location-svg {
    fill: #FBC403;
}

#bride-groom {
    min-height: 50vh;
    background: #151515;
}

#bride-groom h2 {
    font-size: 2.5rem;
    font-family: 'Dancing Script', cursive;
}

#bride-groom p {
    font-size: 1.25rem;
    font-family: 'Kalam', cursive;
}

#map {
    min-height: 50vh;
    background: #151515;
}

.map-container {
    display: block;
}

.map-container h2 {
    color: #FBFCD4;
    font-family: 'Fredericka the Great', cursive;
}

#imageStuff {
    display: inline-block;
}

#actualText {
    display: inline-block;
    padding-left: 1%;
}

#comment {
    padding: 5%;
    min-height: 50vh;
    min-width: 80vw;
    flex: 1 1 auto;
}

#galery {
    min-height: 100vh;
    background: #151515;
}

#galery h2 {
    color: #FBFCD4;
    font-family: 'Fredericka the Great', cursive;
}

.galery-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
    justify-content: space-evenly;
    flex: 1 0 auto;
}

.galery-column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

.float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    right: 15px;
    background-color: #FFB302;
    opacity: 0.8;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    padding-top: 12px;
    z-index: 99;
}


/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/

.cta {
    background: #2a2c39;
    padding: 80px 0;
}

.cta h3 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    font-family: 'Quantico', sans-serif;
}

.cta p {
    font-size: 22px;
    color: #fff;
    font-family: 'Quantico', sans-serif;
}

.cta .cta-btn {
    font-family: 'VT323', monospace;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    color: #fff;
    background: #ef6603;
}

.cta .cta-btn:hover {
    background: #fff;
    color: #ef6603;
}

@media (max-width: 600px) {
    .cta h3 {
        color: #fff;
        font-size: 20px;
        font-weight: 500;
        font-family: 'Quantico', sans-serif;
    }
    .cta p {
        font-size: 16px;
        color: #fff;
        font-family: 'Quantico', sans-serif;
    }
}

@media (max-width: 1024px) {
    .cta {
        background-attachment: scroll;
    }
}

@media (min-width: 769px) {
    .cta .cta-btn-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .cta h3 {
        color: #fff;
        font-size: 36px;
        font-weight: 700;
        font-family: 'Quantico', sans-serif;
    }
    .cta p {
        font-size: 22px;
        color: #fff;
        font-family: 'Quantico', sans-serif;
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}


/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}


/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}


/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
    visibility: hidden;
}


/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}