﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

@font-face { font-family: Great Vibes; src: url('/fonts/GreatVibes-Regular.ttf'); }
@font-face { font-family: Quicksand; src: url('/fonts/Quicksand-Regular.otf'); }


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.body-scroll-delayed {
    animation-name: bodyScrollDisabled;
    animation-timing-function: ease-in;
    animation-duration: 2.75s; /*15s;*/
}

@keyframes bodyScrollDisabled {
    0% {
        overflow: hidden;
    }

    90% {
        overflow: hidden;
    }

    100% {
        overflow: auto;
    }
}



/* Global Styles
-------------------------------------------------- */
.color-champaign {
    color: rgb(210, 193, 175);
}

.color-cranberry {
    color: rgb(108, 6, 30);
}

.color-plum {
    color: rgb(72, 16, 29);
}

.color-woodland {
    color: rgb(68, 85, 33);
}

.color-white {
    color: rgb(255, 255, 255);
}

.color-black {
    color: rgb(0, 0, 0);
}

.background-color-champaign {
    background-color: rgb(210, 193, 175);
}

.background-color-cranberry {
    background-color: rgb(108, 6, 30);
}

.background-color-plum {
    background-color: rgb(72, 16, 29);
}

.background-color-woodland {
    background-color: rgb(68, 85, 33);
}

/*h1, h2, h3, h4, h5, h6 {
    font-family: 'Great Vibes';
}*/
h1 { font-family: 'Great Vibes'; font-size: 4em; }
h2, h3, h4, h5, h6 { font-family: Quicksand; }

p {
    font-family: 'Quicksand';
}

input {
    font-family: 'Quicksand';
}

.great-vibes {
    font-family: 'Great Vibes';
}

.quicksand {
    font-family: 'Quicksand';
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.animation-remove-delay {
    animation-delay: 0s !important;
}

.cursor-pointer:hover {
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.btn:hover {
    color: rgb(255,255,255);
}

div.blanket { position:absolute; top:0; left: 0; bottom:0; right:0; z-index: 9999 !important;}
div.progress { position:absolute; top: calc(50% - 15px); left: calc(50% - 15px); width:30px; height: 30px; background-color: transparent; z-index:10002;}

/* Welcome Screen Styles
-------------------------------------------------- */
.welcome-screen {
    display: none;
}

a.skipButton {
    display: block;
    background-color: rgb(72, 16, 29);
    color: rgb(255,255,255) !important;
    padding: 0.35em 0.7em;
    bottom: 1em;
    right: 2em;
    position: absolute;
    z-index: 10000;
    border-radius: 6px;
    font-weight: bold;
}

    a.skipButton:hover {
        /*cursor: pointer;*/
        color: rgb(255,255,255) !important;
        text-decoration: none;
    }

.welcome-animation {
    display: flex !important;
    justify-content: center;
    align-items: center;
    background-color: rgb(108,6,30);
    width: 100%;
    height: 100vh;
    position: absolute;
    /*z-index: 10000;*/
    z-index: -1;
    opacity: 0;
    animation-name: titleAnimationBackground;
    animation-timing-function: initial;
    animation-duration: 11.2s;
}

.loading-text {
    width: 50em;
    height: 20em;
    position: relative;
}

.loading-text h1, .loading-text h2 {
    font-size: 2.5em;
    text-transform: uppercase;
}

.loading-text h1 span, .loading-text h2 span {
    width: 100%;
    float: left;
    color: rgb(255,255,255);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    transform: translateY(-50px);
    opacity: 0;
    animation-name: titleAnimation;
    animation-timing-function: ease;
    /*animation-duration: 5s;*/
}

.loading-text h1 span {
    animation-duration: 5s;
}

.loading-text h2 span {
    animation-duration: 6s;
}

.loading-text h1 span {
    animation-delay: 0.6s;
}

.loading-text h1 span:first-child {
    animation-delay: 0.7s;
}

.loading-text h1 span:last-child {
    animation-delay: 0.5s;
}

.loading-text h2 {
    top: 0;
    position: absolute;
}

.loading-text h2 span {
    animation-delay: 5.1s;
    animation-fill-mode: forwards;
}

.loading-text h2 span:first-child {
    animation-delay: 5.2s;
}

.loading-text h2 span:last-child {
    animation-delay: 5s;
}

@keyframes titleAnimationBackground {
    0% {
        opacity: 1;
        width: 100%;
        height: 100vh;
        z-index: 10000;
        position: absolute;
    }

    99.99% {
        opacity: 1;
        width: 100%;
        height: 100vh;
        z-index: 10000;
        position: absolute;
    }

    100% {
        opacity: 0;
        z-index: -1;
    }
}

@keyframes titleAnimation {
    0% {
        transform: translateY(-50px);
        opacity: 0;
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    }

    20% {
        transform: translateY(0);
        opacity: 1;
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0)
    }

    80% {
        transform: translateY(0);
        opacity: 1;
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0)
    }

    100% {
        transform: translateY(50px);
        opacity: 0;
        clip-path: polygon(100% 0, 100% -0%, 0 100%, 0 100%)
    }
}

/* Logo and Navigation styles
-------------------------------------------------- */
.logo {
    max-height: 150px;
    animation: hue 60s linear;
    animation-delay: 2s;
    /*animation-name: example;
    animation-timing-function: ease-in;
    animation-duration: 1s;*/
}

@media (min-width: 768px) {
    .nav-appear-animation {
        animation-name: navAppearAnimation;
        animation-timing-function: ease-in-out;
        animation-duration: 2s;
        /*animation-delay: 9.5s;*/
    }
}

@keyframes navAppearAnimation {
    from {
        opacity: 0;
        margin-top: -5em;
    }

    to {
        opacity: 1;
        margin-top: 0;
    }
}

a .navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

@media screen (min-width: 768px) {
    nav {
        max-height: 150px;
    }

    /*.navbar-collapse {
        animation-name: example;
        animation-timing-function: ease-in-out;
        animation-duration: 2s;
        animation-delay: 2s;
    }

    @keyframes example {
        from {
            margin-top: -200px;
            opacity: 0;
        }

        to {
            margin-top: 0;
            opacity: 1;
        }
    }*/
}

@media (min-width: 1600px) {
    nav {
        max-height: 250px;
    }
}

.navbar-light .navbar-nav a.nav-link {
    font-family: 'Quicksand';
    color: rgb(72,16,29);
    font-size: 1.4em;
}

.navbar-light .navbar-nav a:hover.nav-link {
    color: rgb(108, 6, 30);
}

.navbar a:hover.open-modal{
    cursor: pointer;
}

/* Content styles
-------------------------------------------------- */

section {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 10em 0;
}

section.top-section {
    padding: 0;
}

section .container {
    padding: 2em 0;
}

section .container.heading {
    padding: 5em 0 2em 0;
}

@media (max-width: 768px) {
    section.top-section picture source,
    section.top-section picture img {
        min-height: 100vh;
        width: auto;
        /*min-width: 100vw;*/
        overflow: hidden;
        object-fit: cover;
        object-position: 35% 50%;
    }
}

@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active), (max-width: 768px) {
    /* IE10+ CSS styles go here */
    section.top-section picture source,
    section.top-section picture img {
        min-height: 100vh;
        width: auto;
        overflow: hidden;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 35% 50%;
    }
}

/* Animation of Header -> https://codepen.io/yemon/pen/dzgmxJ */
.section-header div {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 0.1em;
}


.section-header-animation div:last-of-type span {
    animation: sectionHeaderSlideIn 4s ease-out;
}

@keyframes sectionHeaderSlideIn {
    0% { opacity: 0;  margin-left: -4em; }
    20% { opacity: 1; margin-left: -4em;  }
    35% { margin-left: 0em; }
    80% {opacity: 1; }
    100% { opacity: 1; }
}

.story-container, .wedding-details, .wedding-details-map, .registry-image-container, .rsvp-container {
    margin-bottom: 5em;
}

.rsvp-input-col {
    display: flex;
    align-items: center;
}

.registry-image-container {
    display: flex;
    align-items: center;
}

.location-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' stroke='%23888' stroke-width='.5' viewBox='0 0 8 8'%3E%3Cpath d='M192.86,8.69c70.06-1.13,111.09,33.75,127.07,86.45c4.84,15.97,7.69,41.81,2.9,60.92 c-9.06,36.2-28.55,68.74-46.42,99.22c-23.98,47.19-47.97,94.39-71.95,141.58c-0.39-0.19-0.77-0.39-1.16-0.58 c-36.94-72.33-73.89-144.68-110.82-217.01c-20.33-47.29-6.1-97.09,18.57-128.23c12.84-16.21,33.92-30.17,55.7-37.13 C175.45,12.17,184.16,10.43,192.86,8.69z'/%3E%3C/svg%3E");
    display: inline-block;
    width: 20px;
    height: 20px;
    background: no-repeat 50% / 100% 100%;
}

.sacred-heart-image-animation {
    animation: slideFromLeft 1.2s ease-in-out;
}

.venue-chisca-image-animation {
    animation: slideFromRight 1.2s ease-in-out;
}
.registry-image-animation {
    animation: slideDown 1.2s ease-in-out;
}

@keyframes slideDown {
    from { opacity: 0; margin-top: -3em; }
    to { opacity: 1; margin-top: 0; }
}

@keyframes slideFromLeft {
    from { opacity: 0; margin-left: -3em; }
    to { opacity: 1; margin-left: 0; }
}

@keyframes slideFromRight {
    from { opacity: 0; margin-left: 3em; }
    to { opacity: 1; margin-left: 0; }
}

/*.wedding-details-map {
    min-height: 60vh;
}

@media (max-width: 768px) {
    .wedding-details-map {
        min-height: 80vh;
    }
}*/

.close-map {
    margin-bottom: 1em;
}

    .close-map .close {
        text-shadow: none;
        color: rgb(255,255,255);
    }

.map-hide {
    height: 0;
    animation: hideFromBottom 2s ease-in-out;
    overflow: hidden;
}

.map-show {
    height: 60vh;
    animation: showFromTop 2s ease-in-out;
    overflow: visible;
}

@media (max-width: 768px) {
    .map-show {
        height: 80vh;
        animation: showFromTopMobile 2s ease-in-out;
    }

    .map-hide {
        height: 0;
        animation: hideFromBottomMobile 2s ease-in-out;
    }
}

@keyframes showFromTop {
    from { opacity: 0; height: 0; }
    to { opacity: 1; height: 60vh; }
}

@keyframes showFromTopMobile {
    from { opacity: 0; height: 0; }
    to { opacity: 1; height: 80vh; }
}

@keyframes hideFromBottom {
    from { opacity: 1; height: 60vh; }
    to { opacity: 0; height: 0; }
}

@keyframes hideFromBottomMobile {
    to { opacity: 0; height: 0; }
    from { opacity: 1; height: 80vh; }
}

.modal-dialog,
.modal-content {
    max-width: unset;
    min-height: 50vh;
    max-height: 98vh;
}

.modal-body {
    overflow-y: auto;
}

.map-modal .modal-body {
    /* 100% = dialog height, 120px = header + footer */
    height: calc(100vh - 120px);
}

@media (max-width: 768px) {
    #rsvpModal {
        padding: 0 !important;
    }

    .modal-dialog {
        width: 98vw;
        margin: 0.2rem;
    }
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 80vw;
    }
}

    /* BS4 Carousel styles
-------------------------------------------------- */

    @media (min-width: 768px) {
        .carousel {
            height: 80vh;
        }
    }

    .carousel .carousel-inner,
    .carousel .carousel-item {
        height: 100%;
    }

    .carousel .carousel-item {
        text-align: center;
    }

        .carousel .carousel-item img {
            max-height: 100%;
        }

    .carousel-control-prev-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' stroke='%23888' stroke-width='.5' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E")
    }

    .carousel-control-next-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' stroke='%23888' stroke-width='.5' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E")
    }

    .carousel-control-prev:hover, .carousel-control-next:hover {
        background-color: rgb(200,200,200);
        background-color: rgba(200,200,200,0.4);
    }

    /* RSVP styles
-------------------------------------------------- */


    @media (max-width: 768px) {
        .invitee-row {
            margin-bottom: 2em;
        }
    }


    /* Sticky footer styles
-------------------------------------------------- */
    @media (min-width: 768px) {
        .footer {
            position: absolute;
            bottom: 0;
            width: 100%;
            white-space: nowrap;
            /* Set the fixed height of the footer here */
            height: 60px;
            line-height: 60px; /* Vertically center the text there */
            text-align: center;
        }
    }
