.s4 {
    height: auto;
    /* background-color: #000; */
}

.s4 h1 {
    text-align: center;
    padding-top: 30px;
    color: #000;
    font-weight: 600;
}

.s4 p {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

.gallery {
    height: auto;
    /* background-color: black; */
}

.gallery1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 7px;
    border-radius: 15px;
    row-gap: 10px;
    padding: 120px;
}

.gallery2 {
    height: 300px;
    width: 450px;
    background-color: aliceblue;
    overflow: hidden;
}



  .ban {
        height: 72vh;
    }

.gallery2 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.gallery2 img:hover {
    transform: scale(1.1);
}

.hbl{
    text-align: center;
    margin-left: 40%;
    margin-top: 30px;
    border: 2px solid black;
    padding: 5px 20px;
    outline: none;
    font-size: 18px;
    border-radius: 30px;
    background: none;
    font-family: serif;
    color: black;
    font-weight: 600; 
    letter-spacing: 1px;
}
#hbl1{
    margin-left: 42%;
    margin-top: -120px;
}
@media (max-width:768px) {

    .gallery1 {
        grid-template-columns: repeat(2, 1fr);
        margin: 0;
        margin-top: 70px;
        padding: 40px 0px;
        padding-left: 50px;
       /* margin-left:-35px; */
    }
    .gallery2{
        height: 300px;
        width:95% ;
        margin: 2.5%;
    }
    .hbl{
        margin-left: 10%;
    }
    #hbl1{
        margin-left: 17%;
    }

}
@media (max-width:480px) {

    .gallery1 {
        grid-template-columns: repeat(1,1fr);
        
    }
    .hbl{
        margin-left: 6%;
    }
    #hbl1{
        margin-left: 15%;
    }
}
