@import url('https://fonts.googleapis.com/css?family=Oswald');

body{
  font-family:"Arial", Serif;
  background-color:#f4f4f4;
  overflow-x:hidden;  
  
}

.gallery{
  width:100%;
  display:flex;
  flex-flow: row wrap;
}

.gallery__item{
  box-sizing:border-box;
  width:100%;
  padding:1rem;
  margin:1rem;
  box-shadow: 1px 2px 40px 2px rgba(160, 160, 160, .5);
}

.gallery__image-caption{
  margin-top:1rem;
  font-size:0.95rem;
}
.gallery__image{
  width:100%;
  display:block;
}

@media only screen and (min-width: 33.75em){
  .gallery__item{
    flex-basis: calc(50% - 2rem);
  }
}

@media only screen and (min-width: 48em){
  .gallery__item{
    flex-basis: calc((100% / 3) - 2rem);
  }
}

@media only screen and (min-width: 60em){
  .gallery__item{
    flex-basis: calc((100% / 4) - 2rem);
  }
}


.navbar{
  background-color:#ffcc00;
  overflow:hidden;
  height:63px;
}

.navbar a{
  float:left;
  display:block;
  color:#000000;
  text-align:center;
  padding:14px 16px;
  text-decoration:none;
  font-size:19px;
}

.navbar ul{
  margin:8px 0 0 0;
  list-style:none;
}

.navbar a:hover{
  background-color:#ddd;
  color:#000;
}

.side-nav{
  height:100%;
  width:0;
  position:fixed;
  z-index:1;
  top:0;
  left:0;
  background-color:#111;
  opacity:0.9;
  overflow-x:hidden;
  padding-top:60px;
  transition:0.5s;
}

.side-nav a{
  padding:10px 10px 10px 30px;
  text-decoration:none;
  font-size:22px;
  color:#ccc;
  display:block;
  transition:0.3s;
}

.side-nav a:hover{
  color:#fff;
}

.side-nav .btn-close{
  position:absolute;
  top:0;
  right:22px;
  font-size:36px;
  margin-left:50px;
}

#main{
  transition:margin-left 0.5s;
  padding:20px;
  overflow:hidden;
  width:100%;
}

@media(max-width:568px){
  .navbar-nav{display:none}
}

@media(min-width:568px){
  /*.open-slide{display:none}*/
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
  
}