body {
    background: #ccc;
}


.wrapper{
    display: grid;
    height: auto;
    grid-template-rows: auto auto 1fr;

    grid-gap: 5px;
    margin: 0 auto;
    padding: 0px 2em 2em 2em;

    background: #FFF;
    box-shadow: 0px 4px 8px 0px grey;
}


.project-name {
  width: 100%;
  align-items: center;
  /*height: 100%;*/
  /*background: red;*/
}
.tags {
  width: 100%;
  align-items: center;
  /*height: 100%;*/
  /*background: blue;*/
}
.content {
  width: 100%;
  /*align-items: top;*/
  text-align: justify;
  /*height: 100%;*/
  /*background: yellow;*/
}

.blog-img {
    margin: 1em auto;
    float: center;
}

.blog-post-img {
        width: 100%;
        height: auto;
        margin-bottom: 1em;

    }

wrapper>blog-post-img {
    /*width: 400px;*/
    /*height: 250px;*/
    width: auto;
    height: auto;
    margin-bottom: 1em;
}



/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
  margin-bottom: 10px;
  border-radius: 0;
  box-shadow: 0px 4px 8px 0px grey;

}
/* Add a gray background color and some padding to the footer */
footer {
  background-color: #f2f2f2;
  padding: 25px;
  box-shadow: 0px 4px 8px 0px grey;
}

.nav-pills a {
    color: grey;
}

.nav-pills a:hover {
    color: white;
    border-radius: 0px;
}

.navbar-brand {
    font-size: 2em;
}


.nav>li>a:hover,
.nav>li>a:focus {
    background-color: #333;
    border-radius: 0px;
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus {
    color: white;
    background-color: #111;
    border-radius: 0px;
    margin-left: -15px;
    margin-right: -15px;
}

/*Project gallery css */

div.img {
    border: 1px solid #333;
    padding: 0px;
    margin: 0px;
    box-shadow: 0px 4px 8px 0px grey;
}

div.img:hover {
    border: 1px solid #111;
}

div.img img {
    width: 100%;
    height: auto;

}

div.img a{
    padding: 0px;
    margin: 0px;
}

div.desc {

    text-align: center;

}

hr {
    margin: 10px auto;
    border-color: #aaa;
}

@media (max-resolution: 1.5dppx) {
    .wrapper {
            /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
            width: 100%;
        }

    @media (min-width: 600px) {
    .wrapper {
            /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/

        }

        .blog-img {
            width: 80%;
            margin: auto;
        }
    }
    @media (min-width: 1000px) {
        .wrapper {
            /*grid-template-columns: repeat(3, minmax(300px, 1fr));*/
            width: 1000px;
            padding: 0px 4em 2em 4em;
        }
        nav {
            width: 1000px;
            margin: 0 auto;
        }
        footer {
            width: 1000px;
            margin: 0 auto;
        }

        hr {
            width: 1000px;
        }

        .blog-img {
            width: 75%;
            margin: auto;
        }
    }
}
