
/* - - - - - IMAGE BUTTONS - - - - - */

.my-service-block {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 250px;
  color: whitesmoke;
  text-decoration: none;
  border: 2px solid rgb(0, 0, 0);
  transition: transform 0.3s ease;
}
.my-service-block:hover {
  transform: scale(1.05);
  z-index: 5;
}
.my-service-block h2 {
  background-color: rgba(0,0,0,0.5);
  padding: 1rem ;
  font-size: 1.5rem;
}

/* - - - - - IMAGES / VIDEOS- - - - - */

.img-thumb {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s;
}
.img-thumb:hover {
  transform: scale(1.05);
}
.modal-body {
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  height: 95vh;
  max-height: calc(95vh - 3rem);
  overflow: hidden;
  
}
.modal-dialog {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
.nav-btn {
  position: absolute;
  top: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: none;
  color: #fff;
  font-size: 2rem;
}
.nav-btn:hover {
  background: rgba(0,0,0,0.75);
}
#modalImg {
  max-height: 99%;
  max-width: 99%;
  object-fit: contain;
}
.video-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-player {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.video-thumb-wrapper {
  position: relative;
  width: 100%;
}
.video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.my-video-icon {
  border-left: 22px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
}
.video-thumb-wrapper:hover .video-icon {
  background: rgba(0, 0, 0, 0.8);
}
