@font-face {
    font-family: "Buongiorno Rastellino";
    src: url("../fonts/BuongiornoRastellinoCyr-Script.woff2") format("woff2");
}
@font-face {
    font-family: "Hello January";
    src: url("../fonts/HelloJanuaryCyrillic-Script.woff2") format("woff2");
}
@font-face {
    font-family: "Miss Katherine";
    src: url("../fonts/MissKatherineCyrillic-Script.woff2") format("woff2");
}
@font-face {
    font-family: "ZtChablis";
    src: url("../fonts/ZtChablis-Slow.woff") format("woff2");
}
@font-face {
    font-family: "NotoEmoji";
    src: url("../fonts/NotoEmoji-Light.ttf") format("woff2");
}

/* Common fixes */

.image-divider.fixed-height.small-divider {
    height: 250px;
    background-color:#002816;
}
.image-divider.fixed-height.free-height.small-divider {
    height: 400px;
}
.story-date {
    background-color:#002816;
}

.quote-top {
    font-family: "ZtChablis";
    font-size: 64px;
    line-height: 0.8em;
}

i {
    font-family: "NotoEmoji";
    font-size: 1.2em;
    font-weight: bold;
}
.deepgreen {
    color:#002816;
}
.photo-item img.contained {
    object-fit: contain;
}
#main-slider .slide-image {
    background-repeat: no-repeat;
}

/* Slides */

@keyframes left-image-move-to-the-left {
    0% {
        background-position-x: 30%;
    }
    100% {
        background-position-x: left;
    }
}

@keyframes right-image-move-to-the-right {
    0% {
        background-position-x: 70%;
    }
    100% {
        background-position-x: right;
    }
}

.titular-image {
    position: absolute;
    height: inherit;
    width: 100%;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position-y: 0;
    animation: right-image-move-to-the-right 1s ease-in;
    animation-delay: 0.5s;
    animation-fill-mode: both;
    animation-play-state: running;
}
.titular-image:first-child {
    animation-name: left-image-move-to-the-left;
}

#slide-his-name, #slide-her-name, #and-text{
	font-family: 'Hello January', cursive;
}

#slide-his-name::first-letter{
	font-family: "Buongiorno Rastellino", cursive;
}

/*** Invert margins */
#slide-her-name {
    margin-top: inherit;
    margin-left: -2em;
}
#slide-his-name {
    margin-top: 0.85em;
    margin-right: -2em;
}
#slide-her-name, #slide-his-name {
    font-size: 210px;
}
#slide-and-text {
    font-size: 150px;
    margin-top: 0.3em;
}
#slide-other-text {
    font-size: 44px;
    font-family: 'ZtChablis';
    text-decoration: line-through;
}
#slide-other-text-2 {
    font-size: 44px;
    font-family: 'ZtChablis';
}


/* Navigation */

#center-splitter {
    user-select: none;
}
#center-splitter:hover, #center-splitter:active {
    border: none;
}

#nav-menu-center-splitter {
    font-family: "Hello January";
    font-size: 60px;
}

#nav-menu-center-splitter #his-name {
    font-family: "Buongiorno Rastellino";
    position: relative;
    left: -15px;
}

/* Wedding info */
.intro-text a {
    font-weight: bold;
    font-style: italic;
}
#wedding-section a {
    font-weight: bold;
}
#date-row > div {
    padding: 0;
}
#date-row hr {
    border-top: 0.5em solid black;
}
#date-row h5 {
    text-align: center;
}

.wedding-item-wrapper h5 {
    font-family: "ZtChablis";
    font-size: 28px;
}
#date-row .wedding-item-wrapper:nth-child(2) h5    {
    font-family: 'Great Vibes';
    font-size: 64px;
}

.year-row h5 {
    margin-top: -1.5em;
}
.month-row h5 {
    margin-bottom: -1.5em;
}
h5#exact-day-row {
    line-height: normal;
}

.photo-item img {
    width: 100%;
    height: 20em;
    object-fit: cover
}

/* Gifts */
dl {
    margin: 0 auto;
}
dt {
    text-align: center;
}
dd {
    text-align: center;
}
div.progress.gift-progress-bar {
    display: relative;
    height: 2em;
    width: 95%;
    bottom: 1em;
    top: auto;
    margin: 0 2.5%;
    border-radius: 0;
}
div.progress.gift-progress-bar .progress-bar {
    background-color: #f98d8a;
}
div.progress span {
    display: inline-block;
    position: relative;
    text-align: center;
    width: 100%;
    height: 100%;
    top: -100%;
}

.gift-registry-row {
    margin-top: 2em;    
}

/* Schedule */

#schedule-section a {
    font-weight: bold;
}
.vertical-line {
    margin-left: 33.3333334%; /* this is the width of col-4 which is the size of the left col in the Schedule */
}
.story-row.row, .last-story-row {
    width: 100%;
}
.story-row.row [class*="col-"], .last-story-row.row [class*="col-"] {
    vertical-align: top;
    text-align: left;
    padding-left: 2.5em;
}
.story-row h4 {
    text-transform: uppercase;
}
#end-of-story {
    text-align: center;
}

/* RSVP on index page */
#rsvp-body-button {
    font-size: 1em;
    margin-top: 1.5em;
    visibility: visible !important;
}

/** Our Story */

#story-section .vertical-line {
    margin-left: 50.8888%;
}

.story-date {
    text-align: center;
    width: 90px;
    height: 90px;
}

.story-date .the-day {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #FFF;
    padding-top: 15px;
}

.story-date .the-month {
    padding-top: 0;
}