body {font-family: 'Nunito', sans-serif;}
.title {text-align:center;color:#fff;background-color:#000;font-family:'Croissant One', cursive;letter-spacing:4px;padding-top:16px!important;padding-bottom:16px!important;font-size:36px;}
.gallery {text-align:center;background-color:#777;color:#eee;font-family: 'Abril Fatface', cursive;font-style: italic;letter-spacing:6px;padding-top:16px!important;padding-bottom:16px!important;font-size:30px}
.content{max-width:980px;margin:auto;padding:64px 25px 64px 25px}
.content:after,.content:before{content:"";display:table;clear:both}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 24%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.column img:hover{opacity:0.6;color:#000;}

/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 875px) {
  .column {
    flex: 50%;
    max-width: 48.5%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}



.modal {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

    padding-top: 100px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
        background: rgba(0,0,0,0.8);
        z-index: 99999;
        opacity:0;
        -webkit-transition: opacity 400ms ease-in;
        -moz-transition: opacity 400ms ease-in;
        transition: opacity 400ms ease-in;
        pointer-events: none;
    }

    .modal:target {
        opacity:1;
        pointer-events: auto;
    }

    .modal-content {position: relative;text-align:center;color: #ccc;padding: 10px 0;}


.modal-image {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}



/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
    color: #eee;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-image {
        width: 100%;
    }
}

.back {position: absolute;left: 35px;text-decoration: none;}
.next {position: absolute;right: 35px;text-decoration: none;}

footer {text-align:center;color:#fff;background-color:#000;padding-top:16px;padding-bottom:16px}
body, html {margin:0;height: 100%;color: #777;line-height: 1.8;}