<script>



/* Center website */
.main {
  max-width: 100%;
  
}

body {background-color: white;}

.row {
  margin: auto;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
  padding: 0px;

}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  display: none; /* Hide columns by default */
}

@media (max-width: 1024px) {
 .column {
  float: left;
  width: 100%;
  display: none; /* Hide columns by default */
}
}


/* Clear floats after rows */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {

  padding: 0px;
  margin: auto;
  position: relative;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  cursor: pointer;
  color: white;
  position: relative;
  background-color: black;
}


/* Add a grey background color on mouse-over */
.btn:hover {
  background-color: #2dc997;
}

/* Add a dark background color to the active button */


.div:hover {  filter: brightness(50%); }



.content {
  opacity: 1;
  display: flex;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  background-color: black;
  width: 100%;
  height: 100%;
  opacity:0;
}

.content:hover .image {
  opacity: 0.5;
}

.content:hover .middle {
  opacity: 0.8;
}

.text {
 
  color: white;
  font-size: 3.8vh;
  padding: 1.2em 1.8em;
  overflow: auto;
  opacity:0;

   
}

.text:hover {
 
  opacity:1;
   
}



</script>