@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.tModal.fade-in {
  animation: fadeIn 0.5s;
}

.tModal.fade-out {
  animation: fadeOut 0.5s;
}

.tModal-content img.fade-in {
  animation: fadeIn 0.5s;
}

.tModal-content img.fade-out {
  animation: fadeOut 0.5s;
}

.galeriModal img {
  width: 200px;
  height: auto;
  margin: 10px;
  cursor: pointer;
  border: 2px solid #ccc;
}

.tModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;

}

.tModal-content {
  position: relative;
  width: 80%;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: auto;
 
}



.tModal-content img {
  width: 1024px!important;

  height: 576px !important;
  cursor: pointer;
  margin: auto;
  object-fit: cover;
}

.tModal-content span {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 20px;
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: fixed;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s;
  user-select: none;
  z-index: 1001;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}
