html {
    height: 100%;
}

body {
    height: 100%;
    color: #532fa5;
    font-family: goodlife-serif, sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    font-style: normal;
}

nav {
    z-index: 9;
    position: fixed;
    -webkit-transition: all 1s; /* Safari */
    transition: all 1s;
}

/*.brand-logo {
    background-image: url(../img/logo.png);
}*/
.navlinks {
    text-align: center;
}
.navlinks > li {
    display: inline;
    float: none;
}

.navlinks > li > a {
    display: inline-block;
    font-size: 1.2rem;
}


.back {
    background-image: url(../img/bwhands2.jpg);
    height: 100%;
    background-size: cover;
    background-position: center;
}

.prewelcome {
    margin-top: 30%;
    /*background-color: #8645f066;*/
    background-image: linear-gradient(to right, #8645f0b3 , #8645f033);
}

.welcome {
    color: white;
    text-align: center;
    height: 100%;
    background-color: #8645f033;
   /* background-image: linear-gradient(to right, #8645f033 , #8645f000);*/
    margin-top: 30%;
}

.welcome p {
    font-size: 1.2rem;
}

.spacerow {
    height:75px;
}

/*row holding image cards*/
div.row:nth-child(2) {
    margin: 0 auto;
    width: 75%;
    height: 88%;
}
/*dont touch this if you want card images to work*/
#piccol {
    height: 500px;
}

/* Controls STYLES of images under fold, col4, image url are controlled inline */
.backimg {
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* White background div in images under fold */
.inimg {
    background-color: #ffffffe6;
    position: relative;
    top: 75%;
    height: 17%;
    margin-right: 5%;
    padding-top: 5%;
    text-align: center;
    font-size: 1.2rem;
    color: #532fa5;
}

.sec2 {
    height: 50%;
}

.back2 {
    background-image: url(../img/bwhands2.jpg);
    height: 100%;
    background-size: cover;
}
/*Only purpose of this selector is to control the padding on trasnparent column in sec3*/

.catch {
    padding: 20% 10% 10%;
    background-color: #fff9;
    color: #532fa5;
    border: 1px #0003;
    border-style: solid;
}

/*Catch heading font*/
.catch > div:nth-child(1) > p:nth-child(1) {
    text-align: left;
    font-size: 3rem;
}
/*Catch body font */
.catch > div:nth-child(2) {
    font-size: 1.6rem;
}

.sec3 {
    height: 50%;
}

.sec2space1 {
    height: 20%;
}

sec2space2 {
    height: 25%;
}

/*controls responsive size of side image in sec4 */
.sideimg {
    background-image: url(../img/dawn.jpg);
    background-size: cover;
    background-position: center;
    float: right;
}
/*col for text in sec4*/
.sec4 > div:nth-child(2) > div:nth-child(1) {
    color: #532fa5;
    margin-left:10%;
    background-color: #ffffffe6;
}

.page-footer {
    background-color: #532fa5;
    font-family: helvetica;
}
@media only screen and (max-width: 500px) {
    .prewelcome {
        margin-top: 90%;
    }
    .welcome {
        margin-top: 90%;
    }
}

@media only screen and (max-width: 600px) {
    .prewelcome {
        margin-top: 80%;
    }
    .welcome {
        margin-top: 80%;
    }

    .spacerow {
        height: 100px;
    }

    div.row:nth-child(2) {
        margin: 0 auto;
        width: 95%;
        height: 88%;
    }
    /* adds margin to cards in sec1*/
    #piccol {
        margin-bottom: 10%;
    }

    /*Header text underneath 3card section*/
    div.container:nth-child(3) > div:nth-child(2) > h2:nth-child(1) {
        margin-left: -2%;
    }
    /*body text underneath 3card section*/
    div.container:nth-child(3) > div:nth-child(2) > p:nth-child(2) {
        padding-left: 0;
    }

    .sec2space1 {
        height: 20px;
    }

    .catch {
        padding: 30% 10% 10%;
    }
    /*Catch heading font*/
    .catch > div:nth-child(1) > p:nth-child(1) {
        font-size: 2rem;
    }
    /*Catch body font */
    .catch > div:nth-child(2) {
        font-size: 1.5rem;
    }

    /*col for text in sec4*/
    .sec4 > div:nth-child(2) > div:nth-child(1) {
        margin-left:1%;
    }
}

@media only screen and (min-width: 600px) and (max-width: 850px) {
    .prewelcome, .welcome {
        margin-top: 65%;
    }
}