@font-face { font-family: 'Fira Code'; font-style: normal; font-weight: 300; src: url(/fonts/FiraCode-Light.woff2) format('woff2'); }
@font-face { font-family: 'Fira Code'; font-style: normal; font-weight: 400; src: url(/fonts/FiraCode-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Fira Code'; font-style: normal; font-weight: 500; src: url(/fonts/FiraCode-Medium.woff2) format('woff2'); }
@font-face { font-family: 'Fira Code'; font-style: normal; font-weight: 700; src: url(/fonts/FiraCode-Bold.woff2) format('woff2'); }
@font-face { font-family: 'Nothing You Could Do'; font-style: normal; font-weight: 700; src: url(/fonts/NothingYouCouldDo-Regular.woff) format('woff'); }

* {
    font-family: "Fira Code", Courier;
    box-sizing: border-box;
}
body{
    background: white;
    color:#333;
    padding: 1em 2vw;
    text-align: center;
}
h1,
h2 {
    font-size: 3em;
    font-weight: 900;
}
h1, h2, h3, h4, h5, h6 {
    background: no-repeat url('/img/flowers1.png');
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header h1 {
    margin-top: 2em;
}
header h1 span,
header a h1 span,
header h1 span a,
header a h1 span a,
.tableplan th {
    font-family: 'Nothing You Could Do', cursive;
    font-size: 2em;
    line-height: 1em;
}
header h1 span a,
header a h1 span a {
    font-size: 0.6em;
}
header a {
    text-decoration: none;
}
header a h1 {
    margin-top: 50px;
    font-size: 2em;
}

article {
    margin: 2em auto;
    padding: 2em 0;
    border-top: 1px solid darkorange;
    clear: both;
}
article::before {
    content: " ";
}
article h1,
article h2 {
    font-size: 2em;
}

a {
    text-decoration: underline;
    color: #333;
}
a:hover {
    text-decoration: none;
}
hr {
    border-top: 1px solid darkorange;
}
input,
button,
textarea,
.error,
a.button {
    border: 1px solid darkorange;
    color: #333;
    padding: 1em;
    border-radius: 4px;
    background: white;
    text-decoration: none;
}
button {
    margin-bottom: 1em;
}
.sendemail input {
    width: 500px;
}
.sendemail textarea {
    width: 500px;
    height: 200px;
}
.error {
    color: firebrick;
    border-color: firebrick;
    margin: 2em;
    font-size: 0.7em;
}

.circle {
    border: 5px solid grey;
    position: absolute;
    top: 90px;
    left: 50%;
    width: 420px;
    margin-left: -210px;
    height: 420px;
    border-radius: 50%;
    z-index: -20;
}

.rsvp-party {
    width: 50%;
    float: left;
    border: 1px solid darkorange;
    text-align: left;
    margin-bottom: 2em;
    border-radius: 4px;
    padding: 1em;
    font-size: 0.8em;
}
.rsvp-party table {
    width:100%;
    margin-bottom: 1em;
    table-layout: fixed;
}
.rsvp-party table tr th,
.rsvp-party table tr td {
    height: 2em;
}
.rsvp-party input,
.rsvp-party select {
    border: none;
    width: 24%;
}
.rsvp-party table input {
    width: 100%
}
.rsvp-party table select {
    width: 48%
}
.rsvp-party a.button{
    padding: 0.5em 1em;
}
.rsvp-party a.button:hover {
    color: seagreen;
}
.guest-info {
    max-width: 840px;
}
input[type="radio"] {
    margin-right: 1em;
    vertical-align: top;
    margin: 0.7em;
    display: inline-block;
}
label {
    display: inline-block;
    margin: 0.2em 0 0.6em 0;
}
fieldset {
    margin: 2em 0;
    text-align: left;
    border: white;
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-radius: 4px;
}
fieldset input[type="text"] {
    width: 100%;
}
fieldset label {
    width: calc(100% - 40px);
}
.feedback {
    position: fixed;
    top: 2em;
    left: 50%;
    text-align: center;
    color: firebrick;
    width: 60vw;
    margin-left: -30vw;
    background: whitesmoke;
    border: 1px solid firebrick;
    border-radius: 1em;
    padding: 1em;
}
table.Totals {
    text-align: left;
}
table.Totals tr th,
table.Totals tr td {
    padding: 0 1em;
}
input[name="Name[]"] {
    font-weight: bold;
}
.attending {
    background-color: limegreen;
}
.declined {
    background-color: firebrick;
}
.undecided {
    background-color: yellow;
}
.tableplan {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 1fr);
    grid-template-areas:
        "Table4 Table8"
        "Table4 Table8"
        "Table3 Table7"
        "Table3 Table7"
        "Table2 Table6"
        "Table2 Table6"
        "Table1 Table5"
        "Table1 Table5";
    width: 900px;
    margin: 0 auto;
}
.tableplan table {
    margin: 20px;
    border: 1px solid darkorange;
    border-radius: 20px;
}
.tableplan th {
    color: darkorange;
}
#gallery a {
    text-decoration: none;
}
#gallery img.thumb {
    display: inline-block;
    max-height: 210px;
    margin: 1em;
}

#gallery.big-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    padding: 2em;
    white-space: nowrap;
    text-align: center;
}
#gallery.big-picture .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
#gallery.big-picture img {
    max-width: calc(100% - 2em);
    max-height: 100%;
    vertical-align: middle;
    margin-left: -10px;
}
#gallery.big-picture #Prev,
#gallery.big-picture #Next,
#gallery.big-picture #Back {
    position: fixed;
    display: block;
    text-align: center;
    font-size: 2em;
    height: 48px;
    width: 48px;
    line-height: 48px;
    background-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.2);
    text-decoration: none;
}
#gallery.big-picture #Prev {
    top: calc(50vh - 25px);
    left: 0px;
}
#gallery.big-picture #Next {
    top: calc(50vh - 25px);
    right: 0px;
}
#gallery.big-picture #Back {
    top: 1em;
    left: 0px;
}
#video video {
    width: calc(45% - 2em);
    max-width: calc(35vw - 2em);
    margin: 1em;
}
#video video.wide {
    width: calc(80% - 2em);
    max-width: calc(70vw - 2em);
    margin: 1em;
}
#video video.super {
    width: calc(100% - 2em);
    max-width: 82vw;
    margin: 1em;
}
@media ( max-width: 750px ){
    header h1 {
        font-size: 1.2em;
    }
    header h1 span,
    header a h1 span {
        font-size: 2em;
        margin-top: 50px;
    }
    .rsvp-party {
        width: 87vw;
    }
    fieldset label {
        width: calc(100% - 50px);
    }
    select {
        width: 100%;
    }
    #gallery.big-picture {
        padding: 1em;
    }
    #gallery.big-picture img {
        max-width: calc(100% - 2em);
    }
    #gallery.big-picture #Prev,
    #gallery.big-picture #Next {
        top: unset;
        bottom: 1em;
    }
}


