#wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 1fr)) minmax(0px, 1fr);
    padding-left: 3rem;
    padding-right: 3rem;
    box-shadow: 0px 5px 5px #c4cecf;
    
}

.container {
    display: flex;
    flex-wrap: wrap;
    grid-row: 3 / 5;
    grid-column: 3 / 7;
    padding: 5px;
    justify-content: center;
    
}

.item {
    margin: 5px;
}

header {
    background: linear-gradient(#cfcaca,#FFFFFF); 
    color: #07aaf0; 
    font-family: 'Bebas Neue';
    grid-row: 1 / 2;
    grid-column: 2 / 8;
    margin: 0;
    height: auto;
}

h1 {
    line-height: 360%;
    background-repeat: no-repeat;
    text-align: center;
    padding: 0.5rem;
    height: 100px;
    margin: 0;
    text-decoration: none;
}

h3 {
    line-height: 150%;
    background-repeat: no-repeat;
    text-align: center;
    padding: 0.5rem;
    height: auto;
    margin: 0;
    text-decoration: none;
    color: #515151;
    font-family: 'Trebuchet MS';
    text-align: center;
}

h4 {
    line-height: 150%;
    background-repeat: no-repeat;
    text-align: center;
    padding: 0.5rem;
    height: auto;
    margin: 0;
    text-decoration: none;
    color: #4d4c4c;
    font-family: 'Trebuchet MS';
    text-align: center;
}

nav {
    font-family: 'Bebas Neue';
    font-size: 20px;
    text-decoration: none;
    position: sticky;
    background-color: #FFFFFF;
    grid-row: 2 / 3;
    grid-column: 2 / 8;

}

nav a {
    color: #717171;
    padding: 1rem 0rem;
    display: block;
    text-decoration: none;
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 5px;
    padding: 10px;
    display: flex;
    flex-flow: row nowrap;
}

nav ul li {
    width: 100%;
}

nav ul li a {
    text-decoration: none;
    
}

nav a:hover {
    background-color: #c4cecf;
}

p {
    grid-row: 7 / 8;
    grid-column: 2 / 8;
    justify-content: center;
    text-align: center;
    font-family: 'Trebuchet MS';
}

#gallery {
    display: grid;
    height: auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 1rem;
}

#gallery div img {
    width: 100%;
    height: auto;
}

#gallery #grid1 {
    order: 1;
}

h2 {
    color: #525252;
    font-family: 'Bebas Neue';
    text-align: center;
}

main {
    padding-left: 1em;
    padding-right: 1em;
    display: block;
    background-color: #FFFFFF;
    padding-top: 1px;
    padding-bottom: 1px;
    grid-column: 2 / 8;
    grid-row: 4 / 5;
    
}

footer {
    background-color: #c4cecf;
    font-family: 'Tahoma';
    font-size: 1em;
    text-align: center;
    padding: 1em;
    background-color: #ffffff;
    grid-row: 8 / 9;
    grid-column: 2 / 8;
}

#homehero {
    height: 600px;
    background-image: url(homehero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    grid-column: 2 / 8;
    grid-row: 3 / 4;
}

#shophero {
    height: 600px;
    background-image: url(shophero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    grid-column: 2 / 8;
    grid-row: 3 / 4;
}

#commissionshero {
    height: 400px;
    background-image: url(commissionshero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    grid-column: 2 / 8;
    grid-row: 3 / 4;
}

#abouthero {
    height: 400px;
    background-image: url(abouthero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    grid-column: 2 / 8;
    grid-row: 3 / 4;
}

ul li {
    list-style-type: none;
}

body {
    margin: 50px;
  
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}



/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}



@media only screen and (max-width: 992px) {
    nav {
        grid-row: 2 / 3;
        grid-column: 2 / 5;
    }

    nav ul {
        flex-flow: column nowrap;
    }

    #homehero {
        grid-column: 5 / 8;
        grid-row: 2 / 3;
        height: auto
    }

    #shophero {
        grid-column: 5 / 8;
        grid-row: 2 / 3;
        height: auto
    }

    #commissionshero {
        grid-column: 5 / 8;
        grid-row: 2 / 3;
        height: auto
    }

    #abouthero {
        grid-column: 5 / 8;
        grid-row: 2 / 3;
        height: auto
    }

    #gallery {
        grid-template-columns: repeat(2,1fr);
    }


}

@media only screen and (max-width: 768px) {
    nav { 
        grid-row: 2 / 3;
        grid-column: 2 / -2;
    }
   
    #gallery {
        grid-template-columns: 1fr;
    }

    #homehero {
        display: none;
    }
}