.banner-image {
    background-image: url('../img/current-projects-header.webp');
    background-size: cover;
}

#dv {
    padding-left: 5%;
    padding-bottom: 5%;
}
.btn-outline-primary,.btn-outline-dark{
    padding: 5px 50px;
}

.item {
    /* width: 400px;
    height: 400px; */
    background-color: white;
    position: relative;
    display: inline-block;
    margin: 1% 2% 1% 0%;
    overflow: hidden;
    box-shadow: 2px 3px 10px #444444;
}

.item .overlay {
    color: #000;
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    opacity: 0;
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    bottom: 0;
}
.clean .overlay span:nth-child(1){
    position: absolute;
    left: 30%;
    top: 35%;
    font-size: 80px;
    font-weight: bold;
    transform: translateX(-50%);
    
  }
  
  .clean .overlay span:nth-child(2){
    position: absolute;
    top: 40%;
    left: 30%;
    font-size: 17px;
    transform: translateX(-50%);
    border-bottom: solid white 1px;
  }
  
  .clean .overlay span:nth-child(3){
    height: 3px;
    background-color: #000;
    position: absolute;
    top: 60%;
    left: 10%;
    font-weight: bold;
    transform: translateX(50%);
    border-top: solid white 1px;
  }
  
  .clean .overlay:hover{
    opacity: 0.7;
    cursor: pointer;
  }
  
  .clean .overlay:hover span:nth-child(1){
    animation: slide 0.4s;
  }
  
  .clean .overlay:hover span:nth-child(2){
    animation: slide 0.7s;
  }
  
  .clean .overlay:hover span:nth-child(3){
    animation: line 0.5s forwards;
  }
  
  @keyframes slide{
    0%   {transform:translateX(-10%);}
    100% {transform:translateX(-50%);}
  }
  
  @keyframes line{
    0%   {width: 0;}
    100% {width: 50%}
  }

@media (max-width: 992px) {
    #dv {
        width: 100%;
        text-align: center;
        padding: 0;
        margin: auto;
    }

    #dv .fs-10 {
        font-size: 60px;
    }

    .ps-10 {
        padding-left: 5%;
    }
    .btn-outline-dark{
      margin-top: 5%;
      padding: 2px 15px;
      font-size: 20px;  
    }
}

@media (max-width: 768px) {
    #dv {
        width: 100%;
        text-align: center;
        padding: 0;
        margin: auto;
    }

    #dv .fs-10 {
        font-size: 60px;
    }

    .ps-10 {
        padding-left: 5%;
    }

    .banner-image {
        justify-content: center;
        align-self: center;
    }
    .margin-custom{
      margin-bottom: 20%;
    }

}