* {
    box-sizing: border-box;
}

html{
    margin:0;
    padding:0
}

body{
    margin:0;
    padding:0;
    background-color: #fafafa;
    text-align: center;
    font-family:brandon-grotesque,'Brandon Grotesque',Futura,sans-serif;
    font-size:1.2rem;
    font-weight:500;
    color:#333;
    overflow-x: hidden;
    overflow-y:scroll;
    scroll-behavior: smooth;
    height: 100vh;
}

h1{
    font-size:3.75rem;
    font-weight:500
    
}
    
h2{
    font-size:3rem;
    font-weight:500;
    margin:0;
    padding:0
}
    
h3{
    font-size:2.25rem;
    font-weight:500;
}
    
h4{
    font-size:1.7rem;
    font-weight:500;
    margin-bottom:1rem
}

p{
    margin-left:auto;
    margin-right:auto;
}

p.larger{
    font-size:1.5em;
    margin-top:0;
    margin-bottom:0;
}

.sans-caps{
    letter-spacing:.1em
}    

a{
    text-decoration:none;
}

.link-button,input[type=submit].link-button{
    background:0 0;
    border:2px solid #fff;
    border-radius:0;
    color:#fff;
    display:inline-block;
    font-size:inherit;
    font-family:brandon-grotesque,'Brandon Grotesque',Futura,sans-serif;
    font-weight:500;
    margin:1em 0;
    padding:.3em .7em!important;
    -webkit-appearance:none;
    text-transform:uppercase;
    letter-spacing:.1em
}

.link-button:active,.link-button:focus,.link-button:hover,input[type=submit].link-button:active,input[type=submit].link-button:focus,input[type=submit].link-button:hover{
    color:#d2b59a;
    background-color:#fff;
    border-bottom-width:2px;
    border-color:#fff
}

.link-button.golden,input[type=submit].link-button.golden{
    color:#d2b59a;
    border-color:#d2b59a
}
    
.link-button.golden:active,.link-button.golden:focus,.link-button.golden:hover,input[type=submit].link-button.golden:active,input[type=submit].link-button.golden:focus,input[type=submit].link-button.golden:hover{
    color:#fff;
    background-color:#d2b59a;
    border-color:#d2b59a
}

#header{
    position:fixed;
    display:flex;
    text-align:center;
    background-color: #fff;
    width:100%;
    min-height:3rem;
    z-index:500;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .2em;
    line-height: 3rem;
}

a.menuitem{
    flex-grow: 1;
    padding-left: 1em;
    padding-right: 1em;
    background: 0 0;
    display: inline;
    line-height: 3rem;
    color:#000;
}

a.menuitem:active,a.menuitem:focus,a.menuitem:hover{
    color:#d2b59a
}

.pane{
    box-sizing:border-box;
    display:flex;
    align-content:center;
    position:relative;
    width:100%;
    clear:both;
    flex-direction:column;
    justify-content:space-around;
    padding-top:0;
    padding-bottom:0;

}

.pane-content{
    max-width:68em;
    margin-left:auto;
    margin-right:auto;
    padding-top:3em;
    padding-bottom:3em;
    padding-left:1em;
    padding-right:1em;
}

.pane-row{
    display:block;
    margin-bottom:3em
}
    
.pane-content::after,.pane-row::after{
    clear:both;
    content:""
}

.pane-content::after,.pane-row::after{
    display:table
}



.underline{
    display:block;
    width:64px;
    border-bottom-width:4px;
    border-bottom-style:solid;
    margin-left:auto;
    margin-right:auto;
    margin-top:.7em;
    margin-bottom:1.2em
}

.underline,hr{
    border-left:none;
    border-right:none;
    border-top:none
}

#rsvp .underline{
    border-color:#d2b59a
}

#accomodation .underline{
    border-color:#fff
}

#travel .underline{
    border-color:#000
}

#accomodation h2{
    color:#000
}

#accomodation h4{
    color:#000
}

#title-screen{
    background-color:#f5aa80;
    min-height:100vh;
    color:#fff;
    z-index:200;
}

#title-screen::after {
    content: "";
    background-image:url('iconswhite.png');
    background-repeat:repeat;
    opacity: 0.1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;   
  }

#title-screen .site-title-pane{
    height:80vh;
    display: table-cell;
    vertical-align: middle;
    border:solid;
}

#title-screen h1{
    margin-bottom:0;
    font-family: 'Playfair Display', serif;
    letter-spacing:0.0em;
    font-size:7em;
    font-weight:300;
}

#title-screen .undertitle{
    font-weight:500;
    letter-spacing:.2em;
    font-size:1.8rem;
    margin-top:3em;
}

#title-screen .scrollformore{
    font-weight:500;
    letter-spacing:.2em;
    font-size:1.5rem;
}
    
#title-screen .scrollformore-arrow{
    height:50px
}


#when-icon, #where-icon, #accomodation-icon, #weekend-icon,#travel-icon, #rsvp-icon{
    width:64px;
    margin:0;
    padding:0;
}

#wedding-pane{
    background-color:#fff;
    box-sizing:border-box;
    align-content:center;
    text-align:center;
    position:relative;
    width:100%;
    clear:both;
    flex-direction:column;
    justify-content:space-around;
    min-height:40vh;
    padding-top:1em;
    padding-bottom:1em;
    z-index:200;
}

#wedding-pane h2{
    color:#d2b59a;
}

#wedding-mobile{
    background-image:url(villapera.jpg);
    background-color:#fff;
    background-size:120%;
    background-position: 20% 30%;
    box-sizing:border-box;
    align-content:center;
    text-align:center;
    position:relative;
    width:100%;
    clear:both;
    flex-direction:column;
    justify-content:space-around;
    min-height:40vh;
    padding-top:1em;
    padding-bottom:1em;
    z-index:200;
}

#mobilemenupage{
    display:none;
    position:fixed;
    background-color:#fff;
    align-content:center;
    text-align:center;
    width:100%;
    height:100%;
    padding-top:3em;
    padding-bottom:3em;
    z-index:300;
}

#mobilemenu,#menulinks{
    position:fixed;
    display:flex;
    text-align:center;
    background-color: #fff;
    width:100%;
    min-height:3rem;
    z-index:10;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .2em;
    line-height: 3rem;
}


@media screen and (max-width:800px){

    body{
        font-size:1rem;
    }

    #header{
        font-size:.6rem;
        z-index:400;
    }
    #menulinks,.parallax-image-wrapper,.parallax-image{
        display:none;
    }


    h2{
        font-size:2rem;
    }
        
    h3{
        font-size:1.75rem;
    }
        
    h4{
        font-size:1.2rem;
    }

    #title-screen::after{
        background-size:200%;
        z-index:5;
    }
    
    #title-screen h1{
        font-size:3.5em;
    }
    #title-screen .undertitle{
        font-size:1rem;
    }
    #title-screen .scrollformore{
        font-size:0.8rem;
    }
    #wedding-pane{
        z-index:5;
    }
    #wedding{
        display:none;
    }
    .left-pane{
        margin-bottom:3em;
    }
    .threedays{
        padding-bottom:1em;
        margin-bottom:-1em;
        background-size:auto 80%;
    }
}

@media screen and (min-width:800px){
    #mobilemenu{
        display:none;
    }
    .left-pane,.right-pane{
        float:left;
        display:block;
        margin-right:2.12766%;
        width:31.91489%;
        margin:0;
        padding:0
    }
    #wedding-mobile{
        display:none;
    }

    .left-pane:last-child,.right-pane:last-child{
        margin-right:0
    }
    .left-pane{
       margin-bottom:0;
       margin-left:8.51064%
    }
    
    .right-pane{
        margin-left:17.02128%;
        margin-right:0
    }
    .pane-row{
        margin:0;
        padding:0
    }
    .threedays{
        padding-bottom:2em;
    }
}




#weekend{
    background-color:#8a6e73;
    color:#fff;
    position: relative;
}


#weekend .underline{
    color:#000
}

#weekend h4{
    color:#000
}

#accomodation{
    background-color:#d2b59a;
    color:#fff;
    position: relative;
}

#accomodation .primavera-room{
    width:100%;
}
    

#travel{
    background-color:#7c9059;
    color:#fff;
    position: relative;
}

#travel h3{
    color:#000
}

.threedays{
    background-image:url('wine.png');
    background-size:auto 65%;
    background-position:center bottom;
    background-repeat:no-repeat;
}

.fourdays{
    background-image:url('venice.png');
    background-size:auto 65%;
    background-position:center bottom;
    background-repeat:no-repeat;
}

.week{
    background-image:url('italy.png');
    background-size:auto 75%;
    background-position:center bottom;
    background-repeat:no-repeat;
}

.twoweeks{
    background-image:url('europe.png');
    background-size:auto 75%;
    background-position:center bottom;
    background-repeat:no-repeat;
}

#rsvp{
    background-color:#ecf2de;
    position: relative;
}


input[type="text"] {
    position:relative;
    width:10%;
}


textarea {
    position:relative;
    width:80%;
}



















.skrollr-desktop body {
    height:100vh !important;
}

.parallax-image-wrapper {
    position:fixed;
    left:0;
    width:100%;
    overflow:hidden;
    z-index:150;
}

@media screen and (max-width:800px){
    .parallax-image-wrapper {
    z-index:1;   
    }
}

.parallax-image-wrapper-50 {
    height:50%;
    top:-50%;
}

.parallax-image-wrapper-100 {
    height:100%;
    top:-100%;
}

.parallax-image-wrapper-custom {
    height:100%;
    top:-100%;
}

.parallax-image {
    display:none;
    position:absolute;
    bottom:0;
    left:0;
    top:100vh;
    width:100%;
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
}

.parallax-image-50 {
    height:200%;
    top:-50%;
}

.parallax-image-100 {
    height:100%;
    top:0;
}

.parallax-image-custom {
    height:100%;
    top:0;
}

.parallax-image.skrollable-between {
    display:block;
}

.no-skrollr .parallax-image-wrapper {
    display:none !important;
}

#skrollr-body {
    height:100%;
    overflow:visible;
    position:relative;
}

.gap {
    background-image:url('villapera.jpg');
    background:transparent center no-repeat;
    background-size:cover;
}

.skrollr .gap {
    background:transparent !important;
}

.gap-50 {
    height:50%;
}

.gap-100 {
    height:100%;
}

.gap-custom {
    height:55%;
}