
:root {
    --background-color: #90553c;
    --background-light: #d8b5a8;
    --color-one: #482e1d;
    --color-two: #f2f2f2;
    --border-color: #534f80;
}

body, html {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

body {
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

div {
    padding:0;
}

.bonheur-royale-regular {
    font-family: "Bonheur Royale", serif;
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'BlackGold_Regular';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/BlackGold_Personal_use.woff') format('woff');
    ascent-override: normal;
    descent-override: 10%;
}

a {
    color: var(--color-one);
    position: relative;
    text-decoration: underline;
}

.rsvp-link {
    display: block;
    margin: auto;
    align-content: center;
    padding-top: 2%;
}

.border{
    content:"";
    background: -webkit-linear-gradient(left, rgb(181, 85, 43) 0%, rgb(149, 87, 44) 12%, rgb(228, 147, 76) 47%, rgb(115, 70, 17) 100%);
    box-sizing:inherit;
    height:2px;
    width: 100%;
    position: absolute;
    justify-self:center;
    bottom: 0;
}

.border-small{
    content:"";
    background: -webkit-linear-gradient(left, rgb(181, 85, 43) 0%, rgb(149, 87, 44) 12%, rgb(228, 147, 76) 47%, rgb(115, 70, 17) 100%);
    box-sizing:inherit;
    height:2px;
    width: 100%;
    position: relative;
    left:8vw;
    justify-self:center;
    bottom: 0;
}



/* Container Styles */
.jarallax-wrapper-tall {
    min-height:100vh;
    display:flex;
    justify-content: center;
}

.jarallax-wrapper-short {
    min-height:30vh;
    display:flex;
    justify-content: center;
}

.jarallax {
    position:relative;
    z-index:0;
    opacity:0.9;
    width:100%;
}

.jarallax > .jarallax-img {
    position:absolute;
    object-fit: cover;

    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
}

.content {
    width:100%;
    max-width:1920px;
    margin: auto;


    text-align: center;
}

#googleForm {
    /*margin-left: auto;/*
    /*margin-right: auto;*/
    text-align: center;
}

.box-RSVP{
    max-width: 800px;
    padding: 5px;
    border: 4px solid var(--border-color);
    background-color: var(--color-one);

    .box-RSVP-inner {
        position: relative;
        border: 4px solid var(--border-color);
        padding: 10px;
    }
}

img.icon{
    width: 20%;
}

img.title{
    position:absolute;
    width: 80%;
    top:10%;
    max-width:1000px;
}

img.down-arrow{
    position:absolute;
    width: 15%;
    max-height: 150px;
    top: 70%;
    max-width: 150px;
}

img.badge{
    width:15%;
    padding:10px;
    max-width: 300px;
}

h1 {
    font-size: clamp(1.375rem, -0.625rem + 7vw, 8rem);
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 6px;
    text-align: center;
    font-family: BlackGold_Regular, serif;
    line-height: 1em;
    color: var(--color-one);
}

h2 {
    font-size: clamp(1.25rem, -0.625rem + 5vw, 5.5rem);
    margin: 0;
    text-transform: none;
    letter-spacing: 4px;
    font-weight: 1200;
    font-family: "Bonheur Royale", serif;
    line-height: 1em;
    color: var(--color-two);
}

h3 {
    font-size: clamp(1.375rem, -0.125rem + 7vw, 7rem);
    margin: 0;
    text-transform: none;
    letter-spacing: 2px;
    font-weight: 400;
    font-family: BlackGold_Regular, serif;
    line-height: 1.125em;
    color: var(--color-two);
    text-align: center;
}

h4 {
    font-size: clamp(1.25rem, -0.5rem + 6vw, 6rem);
    text-transform: uppercase;
    font-weight: 400;
    margin: 0 0 .5em 0;
    letter-spacing: 6px;
    line-height: 1.5em;
    text-align: center;
    font-family: "Grenze", serif;
    color: var(--color-one);
}

p {
    font-size: clamp(1rem, -0.125rem + 3vw, 3rem);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-transform: none;
    letter-spacing: 1px;
    font-weight: 500;
    font-family: Helvetica, serif;
    line-height: 1em;
    color: var(--color-one);
}

p.accent {
    font-size: clamp(1rem, -0.1rem + 3vw, 3rem);
    text-transform: none;
    letter-spacing: 4px;
    font-weight: 700;
    font-family: "Meow Script", serif;
    line-height: 1em;
    color: var(--color-one);
}

p.small {
    font-size: clamp(1rem, -0.875rem + 5vw, 3rem);
    margin-top: 1em;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 4px;
    font-weight: 400;
    font-family: Helvetica, serif;
    line-height: 1em;
    color: var(--color-one);
}

p.footer {
    font-size: clamp(1rem, -0.875rem + 5vw, 3.5rem);
    margin-top: .5em;
    margin-bottom: .3em;
    text-transform: none;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: BlackGold_Regular, serif;
    line-height: 1em;
    color: var(--color-one);
    text-align: center;
}

.wrapper {
    padding: 1vw;
    display:grid;
    grid-gap: 5px;
    grid-template-columns:1fr;
    grid-template-areas:
        "box1"
        "box2"
        "box3"
        "box4";
}

.grid--A{
    padding: 1vw;
    display:grid;
    grid-gap: 5px;
    grid-template-columns:1fr;
    grid-template-areas:
        "box1"
        "box2";
}

.grid--B{
    padding: 1vw;
    display:grid;
    grid-gap: 5px;
    grid-template-columns:1fr;
    grid-template-areas:
        "box1"
        "box2"
        "box3"
        "box4";
}

.grid--C{
    padding: 1vw;
    display:grid;
    grid-gap: 5px;
    grid-template-columns:1fr;
    grid-template-areas:
        "box1"
        "box2"
        "box3"
        "box4";
}

.grid--3vert{
    padding: 1vw;
    display:grid;
    grid-gap: 5px;
    grid-template-columns:1fr;
    grid-template-areas:
        "box1"
        "box2"
        "box3";
}

.grid--travel {
    padding: 1vw;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.box{
    font-size: 1.5em;
    line-height: 1em;
    font-weight: 200;
    text-align: left;
    padding: .9em;
    border-radius: 1em;
    background-color: var(--background-light);
}

.citypic{
    border-radius: 1em 1em 0 0;
    margin: 5px 5px 0 5px;
    grid-area: 1 / 1 / 2 / 6;
    min-height: 15vh;
}

.city{
    margin: 2px 5px 2px 5px;
    border-radius: 0;
    grid-area: 2 / 1 / 3 / 6;
}

.airport{
    margin: 2px 5px 2px 5px;
    border-radius: 0;
    grid-area: 3 / 1 / 4 / 6;
}

.hotel{
    margin: 2px 5px 5px 5px;
    border-radius: 0 0 1em 1em;
    grid-area: 4 / 1 / 5 / 6;
}

.background-image--SanFrancisco {
    background-image: url("../img/sf.jpg");
    background-size: cover;
    background-position: center;
}

.background-image--SanJose {
    background-image: url("../img/sj.jpg");
    background-size: cover;
    background-position: center bottom;
}

.background-image--maps {
    background-image: url("../img/maps.jpg");
    opacity: 75%;
    background-position: center top;
    min-height: 10vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.background-image--gifts {
    background-image: url("../img/gifts.jpg");
    opacity: 75%;
    background-size: cover;
    background-position: center center;
    min-height: 10vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.background-image--cabins {
    background-image: url("../img/cabin2.jpg");
    opacity: 75%;
    background-size: cover;
    background-position: 50% 75%;
    min-height: 15vh;
;
}

.box1 {
    margin: 0;
    line-height: 4em;
}

.box2 {
    margin: 0;
}

.box3 {
    margin: 0;
}

.box4 {
    text-align: center;
    margin: 0;
}

.box3--grid_B{
    border-radius: 0;
}

.box4--grid_B{
    border-radius: 0 0 1em 1em;
}

.box--middle{
    border-radius: 0;
}

.box--first{
    border-radius: 1em 1em 0 0;
}

.box--last{
    border-radius: 0 0 1em 1em;
}

.banner {
    position: relative;
    display: flex;
    width: 60vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 38px 72px;
    background: transparent;
}
.banner::before, .banner::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent);
}
.banner::before { top: 16px; }
.banner::after  { bottom: 16px; }
.names-row { display: flex; align-items: center; }
.name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(42px, 10vw, 72px);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 20px rgba(180,130,60,0.4), 0 0 60px rgba(255,255,255,0.15);
    letter-spacing: 0.04em;
    line-height: 1;
}
.ampersand-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 22px;
}
.and-word {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(6px, 6vw, 12px);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
}
.divider-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.65);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(6px, 6vw, 12px);
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-top: 16px;
}

.banner.glass {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 2px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

@media (min-width: 768px)  {

    .content {
        max-width: 85vw;
    }

    .wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 0.25fr .25fr .25fr;
        grid-template-areas:
            "box1 box1"
            "box2 box3"
            "box4 box4";
        width: 90%;
        margin: auto;
    }

    .grid--travel {
        width: 90%;
        margin: auto;
    }

    .grid--A {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "box1"
            "box2";
        width: 90%;
        margin:auto;
    }

    .grid--B{
        grid-template-columns:1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "box1 box1 box1"
        "box2 box2 box2"
        "box3 box4 box4";
        width: 90%;
        margin: auto;
    }

    .grid--C{
        grid-template-columns:1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "box1 box1"
        "box2 box2"
        "box3 box4";
        width: 90%;
        margin: auto;
    }

    .grid--3vert{
        width: 90%;
        margin: auto;
    }

    .box3--grid_B{
        border-radius: 0 0 0 1em;
    }

    .box4--grid_B{
        border-radius: 0 0 1em 0;
    }

    .box--middle{
        border-radius: 0;
    }

    .box--first{
        border-radius: 1em 1em 0 0;
    }

    .box--last{
        border-radius: 0 0 1em 1em;
    }

    .box1 { grid-area: box1; }
    .box2 { grid-area: box2; }
    .box3 { grid-area: box3; }
    .box4 { grid-area: box4; }

    .citypic {
        border-radius: 1em 0 0 1em;
        margin: 5px 0 5px 5px;
        grid-area: 1 / 1 / 4 / 3;
    }

    .city{
        margin: 5px 5px 2px 0;
        border-radius: 0 1em 1em 0;
        grid-area: 1 / 3 / 2 / 6;
    }

    .airport{
        margin: 2px 5px 2px 0;
        border-radius: 0 1em 1em 0;
        grid-area: 2 / 3 / 3 / 6;
    }

    .hotel{
        margin: 2px 5px 5px 0;
        border-radius: 0 1em 1em 0;
        grid-area: 3 / 3 / 4 / 6;
    }

    .background-image--SanFrancisco {
        background-image: url("../img/sf.jpg");
        background-size: cover;
        background-position: center;
    }

    .background-image--SanJose {
        background-image: url("../img/sj.jpg");
        background-size: cover;
    }

    img.icon{
        width: 70%;
    }

    img.down-arrow{
        top: 85%;
        width: 10vh
    }

    .jarallax-wrapper-tall {
        height:100vh;
    }

    .jarallax-wrapper-short {
        height:50vh;
    }

    .box-RSVP{
        width: 75%;
        max-width: 800px;
        padding: 5px;
        border: 4px solid var(--border-color);
        background-color: var(--color-one);
        display:block;
        margin:auto;

        .box-RSVP-inner {
            position: relative;
            border: 4px solid var(--border-color);
            padding: 10px;
        }
    }
}

@media only screen and (min-device-width: 480px)
and (max-device-width: 916px)
and (orientation: landscape) {

    .wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 0.25fr .25fr .25fr;
        grid-template-areas:
            "box1 box1"
            "box2 box3"
            "box4 box4";
    }

    .grid--A {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "box1"
            "box2";
    }

    .grid--B{
        grid-template-columns:1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "box1 box1 box1"
        "box2 box2 box2"
        "box3 box4 box4";
    }

    .grid--C{
        grid-template-columns:1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "box1 box1"
        "box2 box2"
        "box3 box4";
    }

    .box3--grid_B{
        border-radius: 0 0 0 1em;
    }

    .box4--grid_B{
        border-radius: 0 0 1em 0;
    }

    .box1 { grid-area: box1; }
    .box2 { grid-area: box2; }
    .box3 { grid-area: box3; }
    .box4 { grid-area: box4; }

    .citypic {
        border-radius: 1em 0 0 1em;
        margin: 5px 0 5px 5px;
        grid-area: 1 / 1 / 4 / 3;
    }

    .city{
        margin: 5px 5px 2px 0;
        border-radius: 0 1em 1em 0;
        grid-area: 1 / 3 / 2 / 6;
    }

    .airport{
        margin: 2px 5px 2px 0;
        border-radius: 0 1em 1em 0;
        grid-area: 2 / 3 / 3 / 6;
    }

    .hotel{
        margin: 2px 5px 5px 0;
        border-radius: 0 1em 1em 0;
        grid-area: 3 / 3 / 4 / 6;
    }

    img.icon{
        width: 70%;
    }

    img.title{
        max-width: 500px;
        top: 5%;
    }

    img.down-arrow{
        max-width: 100px;
        top: 65%;
    }

    .jarallax-wrapper-tall {
        height:100vh;
    }

    .jarallax-wrapper-short {
        height:50vh;
    }

    .box-RSVP{
        width: 50%;
        max-width: 800px;
        padding: 5px;
        border: 4px solid var(--border-color);
        background-color: var(--color-one);

        .box-RSVP-inner {
            position: relative;
            border: 4px solid var(--border-color);
            padding: 10px;
        }
    }
}


