.gallery {
  margin: auto;
  height: 600px;
}

.gallery .video-slide {
  cursor: pointer;
}

.gallery img, .gallery .video-slide {
  display: inline-block;
  float: left;
  height: 100%;
  margin-right: 2px;
  white-space: nowrap;
  position: relative;
}

.gallery .video-slide i {
  position: absolute;
  left:50%;
  top:50%;
  margin-left: -40px;
  margin-top: -70px;
  font-size: 80px;
  color: white;
  cursor: pointer;
}

@media only screen and (max-width: 1024px) {
  .gallery {
    width: 75%;
  }
}

.gallery-info {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.97);
}

.gallery-info-title{
  font-weight: bold;
  margin-bottom: 20px;
}

.gallery-info-description{
  overflow: overlay;
}

.modal-video-iportfolio {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 99999;
  display: none;
}
.modal-video-iportfolio .modal-video-content {
  width: 100%;
  height: 100vh;
}
.modal-video-iportfolio .modal-video-content .modal-video-content-header {
  position: relative;
  padding:10px;
  background-color: #e7e7e7;
  color: black;
  font-weight:bold;
}
.modal-video-iportfolio .modal-video-content .modal-video-content-header .modal-video-content-header-close {
  position: absolute;
  text-align: right;
  cursor: pointer;
  right: 20px;
  top: 50%;
  margin-top: -10px;
}.modal-video-iportfolio .modal-video-content #player{
  width: 100%;
  height: 100vh;
}
.modal-video-iportfolio .modal-video-content iframe{
  width: 100%;
  height: 100vh;
  position: absolute;
  top:40px;
  left:0;
}