article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:700;}dfn{font-style:italic;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em;}pre{white-space:pre-wrap;word-wrap:break-word;}q{quotes:\201C \201D \2018 \2019;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-.5em;}sub{bottom:-.25em;}img{border:0;}svg:not(:root){overflow:hidden;}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,html input[type=button],/* 1 */
input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;}button[disabled],input[disabled]{cursor:default;}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0;}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}body,figure{margin:0;}legend,button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}

.clearfix:after {visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }



:root {
    --extra:"Playfair Display", serif;
    --serif:"Domine", serif;
    --standard:"Montserrat", sans-serif;

    --accent:#E06552;
    --black:#333;
    --white:#EFEFEF;


}

html {
    font-size:10px;
}

body {
    font-family:var(--standard);
    color:var(--black);
}

main {
    max-width:1240px;
    width:100%;
    text-align: center;
    padding:0px 40px 0 40px;
    margin:0 auto;
}

.splash {
    width:100%;
    height:700px;
    background-image: url("images/headerbanner.png");
    background-size: 100%;
    background-repeat:no-repeat;
}

.title {
    max-width:300px;
    margin:0 auto;
    position: relative;
    left:19px;
    margin-bottom:20px;
}

h1 {
    margin:0;
    font-family:var(--serif);
}

h1 span.and {
    font-family:var(--extra);
    color:var(--accent);
    font-size:4.1rem;
    position: relative;
}

h1 span.first-line {
    font-size:4.8rem;
    line-height:0rem;
    position: relative;
    right:19px;
}

h1 span.second-line {
    line-height:0rem;
    font-size:4.8rem;
    position: relative;
}

h2 {
    font-size:1.6rem;
    margin:0 0 120px 0;
    position: relative;
}

h2::before {
    content:"";
    position:absolute;
    width:10%;
    height:1px;
    background-color:var(--accent);
    bottom:-20px;
    left:45%;
}

section.body-text {
    padding:0 100px;
}

p {
    font-size:2.2rem;
    margin-bottom: 100px;
}

span.accent, a.accent {
    color:var(--accent);
}

span.italic {
    font-style:italic;
    color:var(--accent);
}

.gallery {
    width:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 120px;
    flex-wrap: wrap;
}

.gallery img {
    width:30%;
    margin:10px;
}

.collection {
    padding:0 40px;
}
.collection__title {
    font-size:3rem;
    position: relative;
    margin-bottom: 60px;
}

.collection__title::before {
    content:"";
    position:absolute;
    width:10%;
    height:1px;
    background-color:var(--accent);
    bottom:-20px;
    left: 45%;
}

.collection p {
    margin:0 0 40px 0;
}

.collection__link {
    font-size:2rem;
    margin-bottom: 30px;
}

.collection__gallery {
    list-style: none;
    margin: 50px 0 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.collection li {
    margin:0 10px;
}

.collection__gallery img {
    width:100%;
    margin-bottom:10px;
}

.collection__gallery p {
    font-size:1.8rem;
}

.invitations {
    margin-bottom: 40px;
}

.invitations p {
    margin:0 0 40px 0;
}

.invitations__details {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.invitations__details__text, .invitations__details__image {
    width:40%;
}

.inviations__details__image img {
    width:100%;
    object-fit: scale-down;
}

.invitations__details__text {
    margin:0 10% 0 0;
    text-align: left;
}



footer {
    background:var(--black);
    padding:20px 0;

}

footer p {
    margin:0;
    color:var(--white);
    font-size:1.2rem;
}

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

    main {
        padding:0;
    }

    .splash {
        height:400px;
        margin-bottom: 100px;
    }

    .gallery {
        margin-bottom:60px;
    }

}

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


    html {
        font-size:8px;
    }

    main {
        padding:0;
    }

    .splash {
        height:180px;
        margin-bottom: 60px;
    }

    h2 {
        margin-bottom:80px;
    }

    section.body-text {
        padding:0 30px;
    }

    p {
        margin-bottom:30px;
    }

    section.gallery {
        flex-direction: column;
    }

    section.gallery img {
        width:100%;
        margin:0 0 20px 0;
    }

    section.collection .collection__gallery {
        flex-direction: column;
    }

    section.invitations .invitations__details {
        flex-direction: column;
        padding:0 40px;
    }

    section.invitations img {
        width:100%;
        text-align: center;
    }

    section.invitations div {
        width:100%;
        text-align: center;
    }

}

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

    .splash {
        height:170px;
        margin-bottom: 60px;
    }

    section.body-text {
        padding:0 20px;
    }

    section.invitations {
        padding:0;
    }

    section.invitations h3 {
        padding:0 10px;
    }

   .invitations__details, section.collection {
        padding:0 20px;
    }

    .title {
        max-width:280px;
        margin:0 auto;
        position: relative;
        left:19px;
        margin-bottom:20px;
    }

}


/*Example pages*/

.example-header {
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding:10px 80px 60px;
}

.example-header img {
    width:100px;
}

.example-header h3 {
    font-size:3rem;
}

.example-gallery {
    width:100%;
    display: flex;
    justify-content:space-between;
    align-items:center;
    margin:0;
    padding:0;
    list-style: none;
    margin-bottom: 60px;
}

.example-gallery img {
    width:90%;
}

.example-gallery-basic {
    width:100%;
    display: flex;
    justify-content:space-between;
    align-items:center;
    margin:0;
    padding:0;
    list-style: none;
    margin-bottom: 30px;
    flex-wrap:wrap;
}

.example-gallery-basic li {
    width:30%;
    margin-bottom:20px;
}

.example-gallery-basic li p {
    font-size:1.4rem;
    margin-bottom: 20px;
}

.example-gallery-basic img {
    width:100%;
}

.example-text {
    margin-bottom: 30px;
}

.example-header-2 h3 {
    font-size:3rem;
    margin-top: 60px;
}

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

    .example-gallery {
        flex-direction:column;
    }

    .example-gallery img {
        margin-bottom: 20px;
    }

    .example-text {
        padding:0 40px;
    }

    .example-gallery-basic {
        flex-direction:column;
    }

    .example-gallery-basic img {
        margin-bottom: 20px;
    }

    .example-gallery-basic li {
        width:80%;
    }

}

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

    .example-header {
        padding:10px 20px 40px;
    }

    .example-header h3 {
        font-size:2rem;
        text-align: left;
    }

}



