/* judul dan background banner */
.box {
    display: block;
    position: relative;
    overflow: hidden;
    text-align: left;
    height: 260px;
    width: 100%;
}

.box img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}
  .text{
    position: absolute;
    bottom: 0px;
    width:100%;
  }
 
  .text h3 {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1.5vw;
    background-image: linear-gradient(to bottom, rgba(5, 33, 64, 0), rgb(0, 32, 66));
    /* background: linear-gradient(to top, rgb(7, 31, 56), transparent); */
    padding: 20px;
    margin-bottom: 0px;
  }
  
  .text p {
    font-size: 1vw;
  }
  .text span {
    font-size: 1vw;
  }
  .text h3:hover {
    color: #ffffff !important;
  }
  .text h3:active {
    color: #89b0c0d8 !important;
  }
  @media screen and (max-width: 962px) { 
      .text h3{
      font-size: 18px;
    }
    .text p{
        font-size: 14px;
      }
     .text span {
        font-size: 14px;
      }
  } 

  .box h3 {
    opacity: 1;
    visibility: visible;
    position: absolute;
    bottom: 0px;
    left: 0;
    color: #e6ebf5db;
    -webkit-transition: .5s all ease;
    -o-transition: .5s all ease;
    transition: .5s all ease;
    z-index: 10;
    left: 50%;
    display: block;
    width: 100%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  
  
  .box:before {
    opacity: 0;
    visibility: visible;
    z-index: 2;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
  }
  
 
  .box:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }


  .btn-custom {
    background-color: #00498e;
    border-color: #00498e;
    color: #ffffff;
}