@media screen and (max-width: 576px) {
    .pd{
        padding: 50px 22px;
    }

    .flex{
        display: flex;
    }

    .grid{
        grid-template-columns: 1fr;
    }

    /*navbar section start*/

.navbar-container{
    padding: 0px 40px;
}


.navbar ul li a{
    font-size: 13px;
    line-height: 50px;
    border-bottom: 1px solid rgb(0, 0, 0);
    display: block;
    width: 100%;
    padding: 0px;
}


.navbar ul li a:hover{
    box-shadow: none;
}

ul{
    position: fixed;
    z-index: 9;
    left: 100%;
    right: 0;
    top: 70px;
    overflow: hidden;
    flex-direction: column;
    background-color: #ffffff;
    padding: 0px;
    transition: all 0.5s ease;
}


#control:checked~ul{
    left: 0%;
}

#control:checked~.control i::before{
    content: "\X";
}

.control{
    display: block;
}

/* navbar section end*/

/* social section start*/

.social-text p{
    font-size: 50px;
}

.about-profil-info h1{
    font-size: 40px;
    line-height: 50px;
    margin-top: 0px;
}

.about-profil-info p{
    font-size: 12px;
    line-height: 24px;
}

.about-profil img{
    width: 100%;
}

/* social section end*/

/* service section start */
.service-content-column1{
    flex-direction: column;
}

.service-content-column2{
    flex-direction: column;
}

.service-content-item{
    width: calc(100%);
    margin: 10px 0px;
}


.service-content-item p{
    font-size: 13px;
}

.service-content-item h5{
    margin: 10px 0px 10px 0px;
}
/* service section end */

/* works section start */

.works-content-column1{
    flex-direction: column;
}

.works-content-column2{
    flex-direction: column;
}

.works-content-item{
    width: calc(100%);
    margin: 20px 0px;
}

/* works section end */

/* blog section start */

.blog-content-column{
    flex-direction: column;
}

.blog-content-item{
    width: calc(100%);
    margin: 20px 0px;
}

/* blog section end */

/* contact section start*/

.form-content{
    display: grid;
    grid-template-columns: 1fr;
}

/* contact section end*/

.socials a i{
    padding-top: 20px;
}

.footer p{
    padding-bottom: 10px;
}
/* contact section end*/
}


@media screen and (min-width: 576px) and (max-width: 992px){
    .pd{
        padding: 120px 50px;
    }

    .flex{
        display: flex;
    }

    .grid{
        grid-template-columns: 0.5fr 1fr;
        gap: 40px;
    }

    /*navbar section start*/

.navbar-container{
    padding: 0px 40px;
}

.navbar ul li a{
    font-size: 13px;
    line-height: 50px;
    border-bottom: 1px solid rgb(0, 0, 0);
    display: block;
    width: 100%;
    padding: 0px;
}


.navbar ul li a:hover{
    box-shadow: none;
}

ul{
    position: fixed;
    z-index: 9;
    left: 100%;
    right: 0;
    top: 70px;
    overflow: hidden;
    flex-direction: column;
    background-color: #ffffff;
    padding: 0px;
    transition: all 0.5s ease;
}


#control:checked~ul{
    left: 0%;
}

#control:checked~.control i::before{
    content: "\X";
}

.control{
    display: block;
}

/* navbar section end*/

/* social section start*/

.social-text p{
    font-size: 50px;
}

.about-profil-info h1{
    font-size: 40px;
    line-height: 50px;
    margin-top: 0px;

}

.about-profil-info p{
    font-size: 12px;
    line-height: 24px;
}

.about-profil img{
    width: 100%;
}

/* social section end*/

/* service section start */
.service-content-column1{
    flex-direction: row;
}

.service-content-column2{
    flex-direction: row;
}

.service-content-item{
    width: calc(100%);
}


.service-content-item p{
    font-size: 13px;
}

.service-content-item h5{
    margin: 10px 0px 10px 0px;
}
/* service section end */

/* works section start */

.works-content-column1{
    flex-direction: row;
}

.works-content-column2{
    flex-direction: row;
}

.works-content-item{
    width: calc(100%);
}

/* works section end */

/* blog section start */

.blog-content-column{
    flex-direction: row;
}

.blog-content-item{
    width: calc(100%/3);
}

/* blog section end */

/* contact section start*/

.form-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* contact section end*/

.socials a i{
    padding-top: 20px;
}

.footer p{
    padding-bottom: 10px;
}
/* contact section end*/
    
}