h1 {
    text-align: center;
    margin-top: 50px;
}

body {
    background: rgb(195, 224, 198);
    transition: 1s;
}

.div1 {
    display: flex;
    justify-content: center;
}

img {
    width: 700px;
    transition: 0.4s;
}

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

    body {
        background: rgb(211, 232, 255);
        transition: 1s;
    }

    img {
        width: 600px;
        transition: 0.4s;
    }
}

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

    body {
        background: rgb(199, 165, 230);
        transition: 1s;
    }

    img {
        width: 500px;
        transition: 0.4s;
    }

}