@media all and (max-width:1024px) {

    body {
        width: 900px;
    }

    .rdiv {
        margin: 0 auto;
        width: 30%;
        display: flex;
        justify-content: center;
    }

    .rdiv img {
        border: 1px solid black;
        height: 60vh;
    }

    /* ------------------------------------- */

    nav {
        /* display: block; */
        width: 900px;
        /* justify-content: center; */
        padding-top: 2vh;
        /* background-color: aquamarine; */
    }

    .navbar .menu {
        flex-direction: column;
        border: 2px solid rgb(222, 199, 168);
        margin: 0 auto;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-color: rgba(250, 235, 215, 0.388);
        padding: 20px;
        width: 100%;
    }

    .menuall {
        display: none;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-color: rgba(250, 235, 215, 0.388);
        padding: 20px;
        width: 100%;
    }

    .navbar .media-icons {
        width: 100%;
        margin-top: 10px;
        text-align: center;
        float: right;
    }

    .navbar .media-icons a {
        margin: 0 20px;
    }

    .navbar {
        margin: 0 auto;
        /* background-color: aqua; */
    }

    #hr1 {
        margin-top: 20px;
        width: 280px;
        margin-left: 35%;
    }


    nav .navbar .logo a {
        /* text-align: center; */
        display: block;
        width: 650px;
        margin-bottom: 10px;
    }


    /* ---------- */
    .navbg {
        background-color: rgb(249, 246, 246);
        z-index: 22;
        transition: 0.4s;
        height: 100px;
        padding-top: 0vh;
        width: 900px;
    }

    .navbg {
        box-shadow: 5px 5px 5px lightgray;
    }


    /* ----------hamburger-------------- */
    .hamburger {
        display: block;
        margin-right: 30px;
    }

    .hamburger button {
        padding: 15px;
        border-radius: 6px;
        border: 2px solid blue;
        color: blue;
    }

    .hblck {
        display: none;
    }

    /* ----------------------------------- */

    .container_home {
        display: block;
        justify-content: space-around;
        margin-top: 6vh;
        width: 900px;
    }

    .text-one {
        font-size: 25px;
        text-align: center;
    }

    .text-two {
        color: #0E2431;
        font-size: 60px;
        font-weight: 600;
        margin-left: 3px;
        margin-left: 50px;
        width: 850px;
        text-align: center;
    }

    .sn {
        display: inline-block;
    }

    .container_home img {
        display: block;
        margin-left: 42%;
    }

    .text-three {
        font-size: 30px;
        margin: 5px 0;
        margin-left: 10%;
        text-align: center;
    }

    .text-four {
        font-size: 23px;
        margin: 5px;
        color: #0E2431;
        text-align: center;
        width: 100%;
        display: inline-block;
    }

    .text-four img {
        border: none;
        display: inline-block;
        margin-left: 0;
    }

    .button {
        margin: 14px 0;
        margin-left: 42%;
    }

    #bannerimg {
        margin: 0 auto;
        margin-left: 39%;
        margin-top: 1.3rem;
    }


    /* ---------------------------------------- */
    .abt {
        width: 750px;
        margin-left: 8%;
    }

    .abt img {
        position: absolute;
        right: -8%;
        top: 20%;
        transition: 0.3s;
    }

    /* ------------------ */
    .skills {
        /* border: 2px solid black; */
        width: 750px;
    }

    .skills-content {
        /* margin-left: -20%; */
    }

    .skills .skills-content {
        margin-left: 6%;
    }

    /* ---------------------------- */
    .wp {
        width: 750px;
        margin-left: 8%;
    }

    .projects img {
        position: absolute;
        top: 2%;
        right: 0;
        width: 70%;
        z-index: -2;
    }

    .linkedinlink {
        width: 870px;
    }

    /* ------------------------------------------ */
    .resume,
    .contact {
        width: 750px;
        margin-left: 8%;
    }

    .contact-content {
        width: 650px;
        margin: 0 0;
    }

    .contact-content img {
        position: absolute;
        top: 30%;
        right: 0;
        width: 20%;
    }

    .footer {
        width: 100%;
        margin: 0 auto;
    }

}