/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

.page {
    height:100%;
    width:1000px;
    vertical-align:middle;
    display: table;
    margin: auto;
}
.maincontent {
    background-color:#e9f3db;
}
.header {
    margin-left:100px;
}
.sidebar {
  background-color:#4e63a6;
  height:100%;
  position:fixed;
  width:100px; 
  z-index:-1;
  top: 0;
}
.topnav {
  overflow: hidden;
  background-color: #b2e950;
  text-align: center;
}
.topnav a {
  color: #f2f2f2;
  text-align: center;
  padding: 10px 60px;
  text-decoration: none;
  font-size: 17px;
  z-index: 1;
}
.topnav a:hover { 
  background-color: #ffffff;
  color: #4e63a6;
  border-radius: 15px;
}
.sidenav {
  z-index:1;
  width: 25%;
  padding: 15px;
  overflow: hidden;
}
.sidenav a {
  padding: 8px;
  float: left;
  text-align: center;
  position: relative;
  width: auto;
}
.center {
  position: absolute;
  top: 45%;
  left: 40%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.sidenav a:hover { 
  background-color: #ffffff;
  border-radius: 1px;
}

                                                              /* Gallary!! */

.gallery {
  border: 3px solid #b2e950;
  background-color:#ffffff;
}

.gallery:hover {
  border: 3px solid #ff85bb;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.desc {
  padding: 10px;
  color: #4e63a6;
}

.title {
  padding: 10px;
  color: #4e63a6;
}

.responsive {
  padding: 6px 6px;
  float: left;
  width: 23%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 47%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 98%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
