.sec1 {
    max-width: 1800px;
    margin: auto;
    height: 400px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.554)), url(image/Certificate.avif);
    background-position: center;
    background-size: 100% 200%;
    text-align: center;
    padding-top: 250px;
    color: white;
    font-size: 40px;
    margin-top: -110px;
}

.sec1 h1 {
    font-size: 55px;
    color: rgb(255, 255, 255);
    font-weight: 400;
}

.certificate{
    max-width: 1800px;
    margin: auto;
    padding: 50px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.certificate img{
    width: 48%;
    margin: 0;
    border: 10px solid rgba(0, 0, 0, 0.615);
    margin-top: 20px;
}



@media screen and (max-width: 900px) {

    .sec1 {
        background-size: 150% 100%;
    }

    .sec1 h1 {
        font-size: 35px;
    }


    .certificate img{
        width: 100%;
    }



}