nav {
    font-weight: bold;
    grid-row: 1 / 2;
    grid-column: 6 / 8;
    top: 0;
    background-color: #2B2B2B;
}

nav ul {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
}

nav ul li {
    width: 100%;
}

#logo {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    padding-top: .5rem;
}

nav a {
    text-decoration: none;
    color: #fff;
    padding: 2rem .1rem;
    display: block;
    text-align: center;
}

.underline {
    text-decoration: underline;
}

#gallery {
    font-size: 5rem;
}

#shop {
    font-size: 5rem;
}

#contact {
    font-size: 5rem;
}

#about {
    font-size: 5rem;
}

nav a:hover {
    background-color: #666;
}

header {
    grid-row: 2 / 3;
    grid-column: 5 / 8;
    line-height: 2rem;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
    padding-top: 6rem;
    font-size: larger;
    color: #fff;
}

#right {
    text-align: right;
    padding-right: 1rem;
}

#wrapper {
    display: grid;
    grid-template-rows: minmax(0px, 88px) minmax(0px, 355px) minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px))minmax(0px, 1fr);
}

#navig {
    grid-row: 1 / 2;
    grid-column: 1 / 9;
    background-color: #2B2B2B; 
}



#mainimage {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(gal10.jpg);
    background-size: cover;
    background-position: center;
}

#mainimagegal {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(gal11.jpg);
    background-size: cover;
    background-position: center;
}

#mainimageshop {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(gal12.jpg);
    background-size: cover;
    background-position: center;
}

#mainimagecon {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(gal13.jpg);
    background-size: cover;
    background-position: center;
}

#mainimageabout {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(mainimage.jpeg);
    background-size: cover;
    background-position: center;
}

#mainimage2 {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-image: url(vector2.svg);
    background-size: cover;
    background-origin: content-box;
}

main {
    grid-row: 3 / 4;
    grid-column: 2 / 8;
}

#mainh1 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 6ch;
    text-align: center;
    padding-top: 1rem;
}

#mainp {
    padding-left: 12rem;
    padding-right: 12rem;
    padding-bottom: 3rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.7ch;
}

#contacth1 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 6ch;
    text-align: center;
    padding-top: 1rem;
}

#contactp {
    padding-left: 12rem;
    padding-right: 12rem;
    padding-bottom: 3rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.7ch;
}

#contacth2 {
    padding-left: 12rem;
    padding-right: 12rem;
    padding-bottom: 3rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#abouth1 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 6ch;
    text-align: center;
    padding-top: 1rem;
}

#aboutp {
    padding-left: 12rem;
    padding-right: 12rem;
    padding-bottom: 3rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.7ch;
}

#flexcontainer {
    display: flex;
    height: 1000px;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-between;
}

#flexcontainer2 {
    display: flex;
    height: 3000px;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-between;
    padding-top: 15px;
}

#flexcontainer div img {
    width: 516px;
    height: auto;
    padding-bottom: 10px;
}

#flexcontainer2 div img {
    width: 516px;
    height: auto;
}

.flexbox {
    position: relative;
    width: 516px;
    height: auto;
    padding-bottom: 15px;
}

.flexbox .image {
    width: 516px;
    height: auto;
}

.flexbox .image img {
    display: block;
    width: 516px;
    height: auto;
    padding: 0;
}

.flexbox .text {
    width: 100%;
    height: 98%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background: rgba(0,0,0,0.5);
    color: #fff;
    opacity: 0;
    transition: opacity 0.30s;
}

.flexbox .text:hover {
    opacity: 1;
}

#vgbox {
    position: relative;
    width: 516px;
    height: auto;
}


#vgbox #viewgallery {
    width: 516px;
    height: auto;
}

#vgbox #viewgallery img {
    display: block;
    width: 516px;
    height: auto;
    padding: 0;
}

#vgbox #viewgallerytext {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background: rgba(0,0,0,0.5);
    color: #fff;
}

h3 a {
    text-decoration: none;
    color: #fff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    margin: 0px;
}

@media only screen and (max-width: 992px) {
    #wrapper {
        display: grid;
        grid-template-rows: minmax(0px, 88px) minmax(0px, 355px) minmax(0px, 1157px);
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 128px))minmax(0px, 1fr);
    }
    nav {
        position: static;
    }
    #mainimage {
        height: auto;
    }
    #mainimage2 {
        height: auto;
    }
    #flexcontainer div img {
        width: 372px;
        height: auto;
    }
    #flexcontainer {
        height: 600px;
    }
    #flexcontainer2 div img {
        width: 372px;
        height: auto;
    }
    #flexcontainer2 {
        height: 2300px;
    }

    #vgbox {
        position: relative;
        width: 372px;
        height: auto;
    }
    #vgbox #viewgallery {
        width: 372px;
        height: auto;
    }
    #vgbox #viewgallery img {
        display: block;
        width: 372px;
        height: auto;
        padding: 0;
    }
    #vgbox #viewgallerytext {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        background: rgba(0,0,0,0.5);
        color: #fff;
    }


    .flexbox {
        position: relative;
        width: 372px;
        height: auto;
        padding-bottom: 15px;
    }
    
    .flexbox .image {
        width: 372px;
        height: auto;
    }
    
    .flexbox .image img {
        display: block;
        width: 372px;
        height: auto;
        padding: 0;
    }
    
    .flexbox .text {
        width: 100%;
        height: 98%;
        position: absolute;
        top: 0;
        left: 0;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        background: rgba(0,0,0,0.5);
        color: #fff;
        opacity: 0;
        transition: opacity 0.30s;
    }
    
    .flexbox .text:hover {
        opacity: 1;
    }

}

@media only screen and (max-width: 768px) {
    #wrapper {
        display: grid;
        grid-template-rows: minmax(0px, 88px) minmax(0px, 355px) minmax(0px, 1157px);
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 100%))minmax(0px, 1fr);
    }
    nav {
        grid-row: 2 / 3;
        grid-column: 1 / 9;
    }
    nav ul {
        flex-flow: column nowrap;
    }
    #mainimage {
        display: none;
    }
    #mainimage2 {
        display: none;
    }
    #flexcontainer div img {
        width: 450px;
        height: auto;
    }
    #flexcontainer {
        height: auto;
        align-items: center;
        justify-content: center;
        align-content: center;
    }
    #flexcontainer2 div img {
        width: 450px;
        height: auto;
    }
    #flexcontainer2 {
        height: auto;
        align-items: center;
        justify-content: center;
        align-content: center;
    }
    #vgbox {
        position: relative;
        width: 450px;
        height: auto;
    }
    #vgbox #viewgallery {
        width: 450px;
        height: auto;
    }
    #vgbox #viewgallery img {
        display: block;
        width: 450px;
        height: auto;
        padding: 0;
    }
    #vgbox #viewgallerytext {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        background: rgba(0,0,0,0.5);
        color: #fff;
    }

    #mainh1 {
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 6ch;
        text-align: center;
        padding-top: 1rem;
    }
    
    #mainp {
        padding-bottom: 3rem;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 1.7ch;
        padding: 0;
    }




    .flexbox {
        position: relative;
        width: 450px;
        height: auto;
        padding-bottom: 15px;
    }
    
    .flexbox .image {
        width: 450px;
        height: auto;
    }
    
    .flexbox .image img {
        display: block;
        width: 450px;
        height: auto;
        padding: 0;
    }
    
    .flexbox .text {
        width: 100%;
        height: 98%;
        position: absolute;
        top: 0;
        left: 0;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        background: rgba(0,0,0,0.5);
        color: #fff;
        opacity: 0;
        transition: opacity 0.30s;
    }
    
    .flexbox .text:hover {
        opacity: 1;
    }



    
    #contactp {
        padding: 0;
        padding-bottom: 3rem;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 1.7ch;
    }
    
    #contacth2 {
        padding: 0;
        padding-bottom: 3rem;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }


    
    #aboutp {
        padding: 0;
        padding-bottom: 3rem;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 1.7ch;
    }


}
