@charset "UTF-8";
/* CSS Document */
 /*modal
    https://codepen.io/sinisag/pen/vPEajE
        modal*/ 
    
.modal-target {
  cursor: pointer;
  transition: 0.5s;
  -webkit-filter: grayscale(100%);/* image color */
  filer: grayscale(100%); /* image color */
  width: 100%;
 height: 100%;
}

.modal-target:hover {
    /*opacity: 0.7;*/
    -webkit-filter: grayscale(10%);/* image color */
    filer: grayscale(100%); /* image color */
    }
    
    
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 200px; /* Location of the box */ /* WAS 75 */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  /*width: 80%;*/
  width: 100%;/*i added*/
 height: auto;/*i added*/
  opacity: 1 !important;
  max-width: 720px;
}

/* Caption of Modal Image */
.modal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 720px;
  text-align: center;
  color: white;
  font-weight: normal;
  font-family: verdana, sans-serif;
  font-size: 1em;
  margin-top: 32px;
}

/* Add Animation */
.modal-content, .modal-caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.7s;
  animation-name: zoom;
  animation-duration: 0.7s;
}

@-webkit-keyframes zoom {
  from {-webkit-atransform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.modal-close {
  position: absolute;
  top: 90px; /*was 15*/
  right: 35px; /*was 35*/
  color: white;
  font-size: 40px;
  font-weight: bold;
  transition: 0.7s;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
    
.wrapper-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 20% 20% 20% 20% 20% 20%;
  grid-template-rows: auto;
  grid-gap: 0px;
  row-gap: 0px; /*I added*/
  background-color: white;
  color: white;
  top: 50px;
  position: absolute;
}

.grayscale {
    -webkit-filter: grayscale(100%);
    filer: grayscale(100%); 
    }
    
.grayscale:hover {
    -webkit-filter: grayscale(0%);
    filer: grayscale(0%); 
    }
   

.box {
  background-color: #B8B8B8;
  color: #fff;
  font-size: 150%;
  vertical-align: middle;
  /*display: contents;*/ /*interesting*/
  /*width: 100%;*/ /*I added*/
  /*height: auto;*/ /*I added*/
    
}

h1.grid {
	font-size: 1em;
    font-family: Verdana, sans-serif;
    font-weight:bold;
	padding-top: 1em;
    padding-left: .2em;
}


@media screen and (max-width: 800px) {

.wrapper-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-template-rows: auto;
  grid-gap: 0px;
  background-color: white;
  color: white;
}   
   
}


