
/* latin-ext */
@font-face {
    font-family: 'Parisienne';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/parisienne/v13/E21i_d3kivvAkxhLEVZpQyZwD8CtevK5qw.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Parisienne';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/parisienne/v13/E21i_d3kivvAkxhLEVZpQyhwD8CtevI.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'GreatVibes';
    src: URL('fonts/GreatVibes-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Allura';
    src: URL('fonts/Allura-Regular.ttf') format('truetype');
}

html, body {
    padding: 0;
    margin: 0;
    /* font-family: "Garamond"; */
    font-family: serif;
    font-size: 1.5em;
    background: #ffe;
}

.container {
    position: relative;
    text-align: center;
    color: white;
}
.centered {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
}
.cover {
    position: absolute;
    top: 0%;
    left: 50%;
    color: #fff;
    text-shadow: 1px 1px 8px #404;
}
.title1 {
    margin-top: 0.2em;
    margin-bottom: 0em;
    font-size: 3.0em;
    /* font-weight: bold; */
}
.title2 {
    margin-top: 0.4em;
    font-size: 2.2em;
    color: #adf;
    /* font-weight: bold; */
}
#rsvp {
    /* text-decoration: none; */
    font-size: 1.8em;
    font-family: serif;
    color: #adf;
}
#countdown {
    margin-top: 0.5em;
    margin-bottom: 1em;
    font-weight: 800;
}
#rsvp_banner {
    width: 100%;
    text-align: center;
    padding-bottom: 1em;
    overflow: hidden;
    font-family: monospace;
    font-size: 1.2em;
    color: #fff;
    background: rgba(0,0,0,1);
}
h1 {
    text-align: center;
    width: 100%;
    /* border-top: 1px solid #000; */
    /* font-family: "Parisienne"; */
    font-family: "GreatVibes";
    /* font-family: "Allura"; */
    font-weight: normal;
    /* font-family: 'Brush Script MT', cursive; */
    font-size: 3em;
    display: inline-block;
}
table {
    width: 100%;
    max-width: 50em;
    margin: auto;
}
.container table {
    table-layout: fixed;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}
.container td {
    padding: 0.6em;
    text-align: left;
    width: 65%;
}
.container table td:first-child {
    text-align: right;
    width: 35%;
}

#sched.container td {
    width: 53%;
}
#sched.container table td:first-child {
    width: 47%;
}


#cover {
    height: 32em;
    /* aspect-ratio: 16/9; */
    background-image: 
        linear-gradient(
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.0) 40%,
            rgba(0, 0, 0, 0.0) 80%,
            rgba(0, 0, 0, 1.0) 100%),
        url("pics/IMG_6907.jpeg");
    background-position: 40% 50%;
    background-size: cover;
}
#venue {
    height: 35em;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), 
        url("pics/drone1.jpeg");
    background-position: 50% 90%;
    background-size: cover;
    font-size: 1.2em;
    /* text-shadow: 1px 1px 4px #404; */
}
#map {
    height: 20em;
    width: 100%;
    margin-bottom: -5px;
}
#sched {
    height: 30em;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.7)), 
        url("pics/IMG_8065.jpeg");
    background-position: 50% 50%;
    background-size: cover;
    font-size: 1.2em;
}
#lodging {
    height: 50em;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), 
        url("pics/IMG_8054.jpeg");
    background-position: 50% 50%;
    background-size: cover;
    font-size: 1.0em;
}
#q_a {
    height: 35em;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), 
        url("pics/IMG_8100.jpeg");
    background-position: 50% 35%;
    background-size: cover;
    font-size: 1.2em;
}
#gifts {
    /* background: #200; */
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), 
    url("pics/lily2.jpg");
    background-position: 50% 50%;
    background-size: cover;
    color: #fff;
    /* text-align: center; */
    height: 30em;
}
#gifts div {
    width: 60em;
    max-width: 100%;
    margin: auto;
    text-align: right;
    padding-top: 13em;
    padding-right: 1em;
    box-sizing: border-box;
}
#gifts p {
    font-size: 1.7em;
}
#gifts a {
    color: #00ccff;
}
#storycover {
    width: 100%;
    aspect-ratio: 16/9;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), 
        url("pics/IMG_4126.jpeg");
    background-position: 50% 100%;
    background-size: cover;
}
#story {
    font-size: 1.2em;
}
#story img {
    display: block;
    width: 100%;
}
#story p {
    display: block;
    max-width: 100%;
    margin-left: 20px;
    margin-right: 20px;
}

.container a:link {
    color: #aaf;
}
.container a:visited {
    color: #faf;
}

@media only screen and (max-resolution: 250dpi) {
    body {
        font-size: 0.6em;
    }
    #lodging {
        font-size: 1.2em;
    }
    #cover {
        height: auto;
        aspect-ratio: 16/9;
    }
    #story img {
        /* max-width: 50em; */
        margin-left: auto;
        margin-right: auto;
    }
    #story img.minipic {
        display: inline-block;
        margin: 0;
        width: 50%;
    }
    #story p {
        max-width: 40em;
        margin-left: auto;
        margin-right: auto;
    }
}
