body {
  background-color: rgba(17, 17, 17, 1.0);
  width:100%;
  transition: 1s;
  margin: 0;
}

h1 {
  margin: 7%;
  font-size: 3em;
  letter-spacing: 0.5em;
  font-family: Poiret One, Dorsa, sans-serif;
  color: rgba(220, 220, 220, 1.0);
  position: relative;
}
h2 {
  margin: 2%;
  font-size: 3em;
  letter-spacing: 0.5em;
  font-family: Poiret One, Dorsa, sans-serif;
  color: rgba(220, 220, 220, 1.0);
  position: relative;
}

/*   Gallery  */

.gallery img {
  cursor: pointer;
  transition: 0.2s;
  opacity: 1.0;
  transition: 0.7s;
  background-color: rgba(0, 0, 0, 0);
  padding: 3%;
}

img:hover{
    filter:brightness(0.4);
}

.modal-body img:hover{
  filter:brightness(1.0);
}

button{

  background-color: rgba(0, 0, 0, 0);
  width: 100%;
  margin: auto;

}
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  padding-top: 5%; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

  .modal-content {
  position: relative;
  background-color: rgba(220,220,220,0.0);
  margin: auto;
  padding: 0;
  width: 50%;
  -webkit-animation-name: zoomIn;
  -webkit-animation-duration: 0.4s;
  animation-name: zoomIn;
  animation-duration: 0.4s
}
iframe {
  margin: auto;
  width: 100%;
  max-height: 500%;
}
.modal-body img{
  width: 50vw;
}


video{
  max-width: 100%;
}

.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: rgba(100,100,100,1);
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  margin: auto;
  text-align: center;
  background-color: rgba(20,20,20,0.0);
  color: black;
}


.modal-body {
  margin: auto;
  z-index: 2;
  max-width: 100%;
}

.desc {
  color: white;
  font-size: 20px;
  opacity: 1;
  z-index: 1;
  transition: 0.7s;
  font-family: Josefin Sans,Poiret One, Dorsa, sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  background-color: rgba(0, 0, 0, 0.0);
  line-height: 1.5;
  margin-top: 5vh;
  margin-bottom: 8vh;
}
.gallery:hover .over{
  opacity: 1;
}
.gallery:hover img{
  filter:brightness(0.4);
}

.over{
  padding-top: 15px;
  padding-bottom: 15px;
  color: white;
  font-size: 3em;
  text-align: center;
  transform: translate(-0%, -360%);
  -ms-transform: translate(-0%, -300%);
  z-index: 0;
  opacity: 0;
  transition: 0.7s;
  font-family: Josefin Sans,Poiret One, Dorsa, sans-serif;
  letter-spacing: 6px;
  background-color: rgba(0, 0, 0, 0.0);
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;
  cursor: pointer;
}

/*_______________________________________________________*/



.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

/*_______________________________________________________*/


@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(.1, .1, .1);
  }
  50% {
    opacity: 1;
  }
}

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


.zoomIn {
  animation-name: zoomIn;
}



/*_______________________________________________________*/
/*_______________________________________________________*/
/*_______________________________________________________*/


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

  h1 {
    font-size: 1.7em;
    margin-top: 10%;
    margin-bottom: 10%;
  }
  h2 {
    font-size: 1.4em;
  }


  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    padding-top: 5%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  .content{
    display: block;
  }
  .desc{
    font-size: 1em;
  }

    .modal-content {
    position: relative;
    background-color: rgba(220,220,220,0.0);
    margin: auto;
    padding: 0;
    width: 95%;
    -webkit-animation-name: zoomIn;
    -webkit-animation-duration: 0.4s;
    animation-name: zoomIn;
    animation-duration: 0.4s;
  }
  .over{
    opacity: 1;
    transform: translate(-0%, -290%);
  }

  img {
    max-width: 95%;
    padding-bottom: 14%;
    filter:brightness(0.4);
  }
  iframe{
    height: 250px;
    margin-bottom: -10%;
  }


  }


@media only screen and (max-width: 700px) {
  .over{
    transform: translate(-0%, -220%);
  }
}