@font-face {
    font-family: "Didot";
    src: url("./fonts/Didot Italic.ttf");
}

body {
    font-family: Raleway,sans-serif;
    font-size: 16px;
    margin: 8px 0;
}


@media screen and (max-width: 1100px) {
    body {
        font-size: 14px;
    }
}

@media screen and (max-width: 825px) {
    body {
        font-size: 12px;
    }
}

@media screen and (max-width: 710px) {
    body {
        font-size: 10px;
    }
}

a, a:active, a:hover, a:visited {
    color: inherit;
    text-decoration: none;
}

.header {
    display: flex;
    flex-direction: row-reverse;
    height: 60px;
    margin: auto;
    width: 90%;
}

.menu {
    font-family: Playfair Display, serif;
    line-height: 60px;
    position: relative;
}

.menu .nav {
    color: #737373;
    margin: 20px;
    width: 100px;
}

.menu .nav:hover {
    color: #C7C7C7;
}

.menu .nav:last-child {
    margin-right: 0;
}

.left {
    color: #517D50;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 5%;
}

.right {
    color: #355173;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    width: 5%;
}

.side-text {
    height: 100%;
    letter-spacing: 0.2em;
    margin: auto;
    text-align: center;
    text-orientation: sideways;
    writing-mode: vertical-lr;
}

@supports (-ms-ime-align: auto) {
    .side-text {
        left: 40%;
        position: relative;
    }
}

@-moz-document url-prefix() {
    .side-text {
        left: 40%;
        position: relative;
    }
}

.left .side-text {
    transform: rotate(180deg);
}

.banner {
    background: url('./images/banner.jpg') no-repeat;
    background-position-x: center;
    background-size: cover;
    height: 730px;
    margin: 0 auto;
    width: 90%;
}

.brandon {
    color: #8BA88A;
}

.ottawa a {
    color: #517D50;
    font-family: Raleway,sans-serif;
    font-weight: 300;
}

.rachel {
    color: #97BBCF;
}

.boston a {
    color: #355173;
    font-family: Raleway,sans-serif;
    font-weight: 300;
}

.dinner {
    padding: 0 30px;
}

.rsvp-banner {
    margin: 0 auto;
    min-height: 110px;
    text-align: center;
    width: 90%;
}

.rsvp-city {
    display: inline-block;
    font-family: Didot, serif;
    font-size: 2.5em;
    padding-top: 20px;
    text-align: right;
    width: 33%;
}

.rsvp-brandon .rsvp-city {
    color: #405b3f;
}

.rsvp-rachel .rsvp-city {
    color: #97BBCF;
}

.rsvp-button-wrapper {
    display: flex;
    justify-content: center;
    margin: 4em 0;
    width: 100%;
}

.rsvp-button {
    background-color: #ffffff;
    border: solid transparent 1px;
    border-radius: 37px 37px 37px 37px;
    cursor: pointer;
    display: block;
    font-family: Didot, serif;
    font-size: 1em;
    margin: 20px auto 0;
    min-width: 130px;
    padding: 10px 20px;
    position: relative;
    top: -10px;
    transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s;
    width: 130px;
}

.rsvp-button-wrapper .rsvp-button {
    display: inline-block;
    margin: 1em 3em;
    padding: 10px 5em;
    top: unset;
    width: unset;
}

.rsvp-brandon .rsvp-button {
    border-color: #517D50;
    color: #517D50;
}

.rsvp-rachel .rsvp-button {
    border-color: #355173;
    color: #355173;
}

.rsvp-date {
    display: inline-block;
    font-family: Didot, serif;
    font-size: 2.5em;
    padding-top: 20px;
    text-align: left;
    width: 33%;
}

.block-row {
    display: flex;
    min-height: 450px;
    margin: 0 auto;
    width: 90%;
}

.block-row-wide {
    width: 100%;
    position: absolute;
}

.block-row-wide .left,
.block-row-wide .right {
    color: #ffffff;
    position: absolute;
}

.reverse-row {
    flex-direction: row-reverse;
}

.block {
    background: #ffffff;
    flex-basis: 100%;
}

.block-flex {
    display: flex;
}

.green {
    background: #8fa88d;
}

.dark-green {
    background: #385336;
}

.blue {
    background: #98bcce;
}

.dark-blue {
    background: #05204d;
}

.block-contents {
    margin: auto;
}

.block .block-title {
    color: #FFFFFF;
    font-family: Raleway, serif;
    font-size: 2.5em;
    line-height: 1em;
    text-align: center;
    padding-top: 1em;
    width: 100%;
}

.block .block-subtitle {
    color: #FFFFFF;
    font-family: Raleway,sans-serif;
    font-size: 1.5em;
    letter-spacing: 0.2em;
    margin-bottom: 50px;
    text-align: center;
    width: 100%;
}

.block .title-green {
    color: #2a3d29;
}

.block .title-blue {
    color: #383F52;
}

.block .date {
    color: #1B2A1B;
    font-family: Raleway, sans-serif;
    font-size: 1.5em;
    letter-spacing: 0.1em;
    margin-top: 110px;
    text-align: center;
    width: 100%;
}

.block .location {
    font-family: Playfair Display, serif;
    font-size: 3.25em;
    margin-top: 50px;
    text-align: center;
    width: 100%;
}

.block .address {
    color: #1B2A1B;
    font-family: Raleway, sans-serif;
    font-size: 1em;
    font-weight: 200;
    letter-spacing: 0.1em;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.block .rsvp {
    display: flex;
    margin: 50px auto 0;
}

.block .rsvp,
.rsvp-button:hover {
    border: solid transparent 1px;
    border-radius: 37px 37px 37px 37px;
    color: #FFFFFF;
    cursor: pointer;
    font-family: Didot, serif;
    font-size: 1em;
    margin: 20px auto 0;
    min-width: 130px;
    padding: 10px 20px;
    transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s;
}

.rsvp-button-wrapper .rsvp-button:hover {
    margin: 1em 3em;
    padding: 10px 5em;
    width: unset;
}

.block .info {
    font-family: Playfair Display, serif;
    font-size: 0.875em;
    margin-top: 20px;
    text-align: center;
    text-decoration: underline;
    width: 100%;
}

.green .location,
.green-inverse .info {
     color: #2a3d29;
 }

 .green .block-contents .location,
 .blue .block-contents .location {
    color: #FFFFFF;
 }

.green .rsvp,
.rsvp-brandon .rsvp-button {
    background-color: #517D50;
    color: #FFFFFF;
}

.green .rsvp:hover,
.rsvp-brandon .rsvp-button:hover {
    background-color: #2a3d29;
    color: #FFFFFF;
}

.blue .location,
.blue-inverse .info {
    color: #383F52;
}

.blue .rsvp,
.rsvp-rachel .rsvp-button {
    background-color: #4c5f7c;
    color: #FFFFFF;
}

.blue .rsvp:hover,
.rsvp-rachel .rsvp-button:hover {
    background-color: #383F52;
}


.block-header {
    color: #FFFFFF;
    font-family: Didot, serif;
    font-size: 3.125em;
    text-align: center;
    width: 100%;
}

.block .block-subheader {
    color: #FFFFFF;
    font-family: Playfair Display, serif;
    font-size: 1.875em;
    padding-top: 20px;
    text-align: center;
    width: 100%;
}

.block .block-text {
    color: #ffffff;
    font-family: Raleway, sans-serif;
    margin: 0 auto;
    max-width: 500px;
    padding: 30px 20px 0;
    text-align: center;
}

.blue .block-text {
    color: #383F52;
}

.green .block-text {
    color: #2a3d29;
}

.block-row-wide .block .block-text {
    max-width: 900px;
}

.block .block-text p {
    margin: 0;
}

.block .blue strong {
    color: #383F52;
}

.block .green strong {
    color: #2a3d29;
}

.block .block-text .bold {
    font-style: normal;
    font-weight: 700;
}

.block .one-line-address {
    color: #ffffff;
    font-family: Raleway, sans-serif;
    text-align: center;
    width: 100%;
}

.map-wrap {
    display: flex;
    height: 100%;
    width: 100%;
}

.map {
    height: 400px;
    margin: auto;
    width: 480px;
}

.rsvp-footer {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    padding: 80px 0;
    width: 90%;
}

.rsvp-footer-brandon {
    background: #c4cdc4;
}

.rsvp-footer-rachel {
    background: #c9dce6;
}

.rsvp-footer .block {
    background: unset;
}

@media screen and (max-width: 1100px) {
    .block {
        min-height: 560px;
    }

    .block-row, .reverse-row, .rsvp-footer {
        flex-direction: column;
        height: unset;
        padding: 0;
    }
}

.rsvp-footer-brandon .block .block-header,
.rsvp-footer-brandon .block .block-subheader,
.rsvp-footer-brandon .block .block-text,
.rsvp-footer-brandon .block .one-line-address {
    color: #517D50;
}

.rsvp-footer-rachel .block .block-header,
.rsvp-footer-rachel .block .block-subheader,
.rsvp-footer-rachel .block .block-text,
.rsvp-footer-rachel .block .one-line-address {
    color: #355173;
}

.foot-banner {
    background: url('./images/foot.jpg') no-repeat;
    background-position-x: center;
    background-size: cover;
    height: 760px;
    margin: 0 auto;
    text-align: center;
    width: 90%;
}

.foot-banner .foot-text {
    color: #FFFFFF;
    font-family: Playfair Display,serif;
    font-size: 4em;
    padding-top: 80px;
    text-shadow: rgba(255, 255, 255, 0.6) 1px 1px 1px, rgba(0, 0, 0, 0.6) -1px -1px 1px;
}

.footer {
    color: #474747;
    font-family: Playfair Display,serif;
    font-size: 1.5em;
    padding: 15px 0;
    text-align: center;
}
