/*liist style*/
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: RGB(228,229,230);
}

li {
    float: left;
}

li a, .dropbtn {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: rgb(181,181,181);
}

li.dropdown {
    display: inline-block;
}


.dropdown-content {/*/*/
    display: none;
    position: absolute;/**/
    background-color: rgb(181,181,181);
    min-width: 160px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: RGB(228,229,230)}

.dropdown:hover .dropdown-content {
    display: block;
}

/*model style*/
div.gallery {
    border: 1px solid black;
}

div.gallery:hover {
    border: 1px solid RGB(228,229,230);
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
}

.responsive {
    padding: 0 6px;
    float: left;
    width: 33%;
	margin-top: 1%
}

@media only screen and (max-width: 650px){
    .responsive {
        width: 49.99999%;
        margin: 6px 0;
    }
}

@media only screen and (max-width: 500px){
    .responsive {
        width: 100%;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.container {
    position: relative;/*to display the images beside each other as a container*/
    width: 100%;
}

.image {/**/
  opacity: 1;
  display: block;
  width: 100%;
  height: 100%;
  transition: 1s ease;
  backface-visibility: hidden;/**/
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);/*to put the text in the middle of the image*/
}

.container:hover .image {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  background-color:RGB(228,229,230);
  color: black;
  font-size: 16px;
  padding: 10%;
}