.wel-head{
    position: absolute;
    width: 100%;
    padding: 10px;
    right: 50%;
    transform: translate(50%, 50%);
    bottom: 20px;
    background-color: #02444583;
    font-size: small;
}

.position{
    position: relative;
    text-align: center;
    color: #fff;
}
.gallery-img img{
    height: 180px;
    object-fit: cover;
}

.gallery-img img:hover{
    opacity: 0.5; 
}

  /* The Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: #000;

  }
  
  /* The Close Button */
  .close {
    color: white;
    position: absolute;
    top: -10px;
    right: 25px;
    font-size: 55px;
    font-weight: bold;
    z-index: 2;
  }
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  .mySlides {
    display: none;
    background: #000;
    position: relative;
  }
  
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

.modal-image{
    width: 80% !important;
    height: 100vh;
    object-fit: cover;
    display: block;
    margin: auto;
    padding-top: 20px;
}  


  
  .caption-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.444);
    padding: 2px 16px;
    color: white;
  }
  
  @media (max-width: 767px) {
    .modal-image{
        margin-top: 15%;
        width: 100vw !important;
        height: 80vh;
        object-fit: cover;
    }  
    .caption-container b, p{
        font-size: 10px;
        line-height: 1;
      }
}

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

    .modal-image{
      margin-top: 15%;
      width: 100vw !important;
      height: 80vh;
      object-fit: cover;
    }  
    .caption-container b, p{
        font-size: 7px;
        line-height: 1;
      }
}

}