@media screen and (max-width:1300px) {
    #actual-project img {
        width: 850px;
    }

}

@media screen and (max-width:1170px) {
    .contact-button {
        padding: 18px 5px;
    }

    .content-header h1 {
        margin: 80px 0;
        font-size: 50px;
    }

    .service-article p {
        font-size: 15px;
        line-height: normal;
    }

    /*Responsive Actual Project*/

    #actual-project img {
        width: 600px;
        height: 300px;
    }

    .img-div {
        width: 610px;
        height: 310px;
    }

}

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

    .padded-element {
        padding-left: 80px;
        padding-right: 80px;
    }

    /*Responsive nav*/
    .contact-button {
        display: none;
    }

    .nav-bar {
        width: 800px;
    }

    .nav-link-list {
        align-items: center;
    }

    /*Responsive Header*/
    .content-header {
        max-width: 1000px;
    }

    .content-header h1 {
        margin: 10px 0;
    }

    .content-header p {
        margin: 20px 0;
    }

    .header-images {
        display: none;
    }

    /*Responsive Logo bar*/


    #logo-bar>img {
        width: 70px;
    }

    /*Responsive Recent Projects*/
    .project-article:last-child {
        display: none;
    }

    .projects {
        justify-content: center;
    }

    /*Responsive Client Coments Section*/
    #clients-coments {
        width: 800px;
        margin: 80px auto;
    }

    .info>h3 {
        font-size: 30px;
        margin-top: 150px;
        margin-bottom: 10px;
    }

    .info>p {
        font-size: 20px;
    }

    .service-article:last-child {
        display: none;
    }

    .projects {
        justify-content: center;
    }

    /*Responsive Our Service Section*/
    #our-services {
        margin-top: 50px;
    }

    #our-services>h3 {
        font-size: 20px;
    }

    .service-article:last-child {
        display: none;
    }

    .service-article {
        height: 270px;
        width: 200px;
    }

    .service-img {
        display: none;
    }

    .service-article h4 {
        margin-top: -10px;
    }

    .service-article p {
        font-size: 15px;
        line-height: normal;
    }

    /*Responsive Questions Section*/
    #questions {
        width: calc(100% - 100px);
        margin: 80px 50px;
    }

    /*Responsive Actual Project*/
    #actual-project {
        width: 800px;
        margin: 80px auto;
    }

    .project-name {
        font-size: 30px;
    }

    .project-description {
        font-size: 20px;
    }

    .project-completed-on {
        font-size: 15px;
    }
}

@media screen and (max-width: 840px) {
    .padded-element {
        padding-left: 15px;
        padding-right: 15px;
    }
    .nav-bar{
        width: 100%;
    }
    .nav-bar>div {
        justify-content: space-between;
    }

    /*Responsive Client Coments Section*/
    #clients-coments {
        width: 100%;
        height: 300px;
        margin: 40px auto;
        justify-content: center;
    }

    .emojis {
        display: none;
    }

    .info {
        gap: 45px;
    }

    .info>h3 {
        font-size: 20px;
        margin: 20px;
    }

    .info>p {
        font-size: 15px;
        margin: 10px;
    }

    /*Responsive Logo bar*/
    #logo-bar {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    #logo-bar>img {
        width: 80px;
        margin: 15px;
    }

    /*Responsive Questions Section*/
    #questions {
        width: 100%;
        height: 300px;
        margin: 40px auto;
        justify-content: center;
    }

    #questions h3 {
        font-size: 20px;
    }

    #questions p {
        font-size: 15px;
    }

    #questions form {
        display: flex;
        flex-direction: column;
    }

    #questions form input {
        width: 200px;
        height: 50px;
    }

    #questions form button {
        width: 100px;
        height: 50px;
    }

    #recent-projects h3,
    h4 {
        font-size: 20px;
    }

    footer {
        display: flex;
        flex-direction: column;
    }

    .page-links {
        margin: 0 auto;
    }

    /*Responsive actual project*/
    #actual-project {
        width: 550px;
        margin: 40px auto;
        justify-content: center;
        margin-top: 80px;
    }

    .img-div {
        width: 490px;
        height: 210px;
    }

    #actual-project img {
        width: 500px;
        height: 300px;
    }

    .project-content {
        padding-top: 160px;
        line-height: normal;
    }
}

@media screen and (max-width: 580px) {
    .nav-bar {
        width: 100%;
    }

    .hamburger-menu {
        display: block;
        position: fixed;
        right: 25px;
        top: 10px;
    }

    .nav-link-list {
        display: none;
        position: absolute;
        top: 60%;
        right: 0;
        background-color: white;
        border: 1px solid blue;
    }

    .nav-link-list li {
        margin-right: 15px;
        margin-left: 15px;
        padding: 10px 5px;
    }

    .nav-link-list.show {
        display: block;
    }

    .page-links {
        width: 300px;
    }

    .page-links ul {
        display: block;
        text-align: center;
    }

    #actual-project {
        width: 400px;
    }

    .img-div {
        width: 310px;
    }

    #actual-project img {
        width: 300px;

    }

    .project-content {
        width: 290px;
    }
}

/*Responsive Styles for Phone Screen*/
@media screen and (max-width:480px) {


    /*Responsive nav*/
    .logo-link img {
        width: 55px;
        height: 45px;
    }

    /*Responsive Header*/
    #header {
        margin-top: 40px;
    }

    .content-header {
        width: 400px;
    }

    .content-header h1 {
        font-size: 20px;
    }

    .content-header p {
        font-size: 15px;
    }

    .button-container {
        justify-content: center;
    }

    .content-header a {
        padding: 7px 16px;
    }



    /*Responsive Recent Projects*/


    .project-article {
        height: 170px;
        width: 200px;
        display: flex;
    }

    .project-article img {
        display: none;
    }

    .project-test a {
        margin-bottom: 15px;
    }


    /*Responsive Other Projects*/
    #other-projects h3 {
        font-size: 20px;
    }

    /*Responsive Form*/
    #contact>h1 {
        font-size: 30px;
        margin-left: 25px;
    }

    .contact-form {
        width: 380px;
        margin: 40px auto;
        justify-content: center;
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        font-size: 12px;
    }

    .contact-form textarea {
        height: 100px;
    }

    .contact-form button {
        height: 50px;
    }

}

@media screen and (max-width: 420px) {
    .service-article p {
        font-size: 12px;
    }

    .contact-form {
        width: 300px;
    }

    #logo-bar img:last-of-type {
        display: none;
    }

    #actual-project {
        width: 350px;
    }

}