@media (max-width: 1300px) {

    /*     header .content h4 {
        font-size: 20px;
    }

    header .content h1 {
        font-size: 40px;
    }

    header .content p {
        font-size: 16px;
    } */


    nav .container .links ul {

        position: absolute;
        background-color: var(--second-color);
        bottom: -10px;
        left: 50%;
        transform: translate(-50%, 100%);
        width: 80%;
        height: 0;
        flex-direction: column;
        text-align: center;
        border-radius: 10px;
        padding: 0px;
        row-gap: 20px;
        transition-duration: 1s;
        overflow: hidden;
    }

    nav .container .burger:focus+ul {
        height: 255.2px;
        padding: 20px;
    }

    nav .container .logo {
        width: 20%;
    }

    nav .container .links .burger {
        width: 50px;
        height: 40px;
        background-color: transparent;
        border: 1px solid var(--main-color);
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }

    nav .container .links .burger span {
        display: block;
        width: 60%;
        height: 2px;
        background-color: var(--main-color);

    }

    #About .container {
        flex-wrap: wrap;
    }

    #About .container .part {
        width: 100%;
    }

    #About .container .part {
        margin-bottom: 50px;
    }

    #About .container .part1 .frame {
        width: 280px;
    }

    #About .container .part2 .info .col {
        flex-basis: 100%;
    }

    #About .container .part2 .buttons button {
        padding: 10px 20px;
        font-size: 12px;
    }

    #Services .content .box {
        width: 100%;
    }

    #Services .content .box:not(:last-child) {
        margin-bottom: 10px;
    }

    #Portfolio .content .box {
        width: 100%;
        margin-bottom: 20px;

    }

    #Portfolio .content .box .layout h3 {
        font-size: 20px;

    }

    #Portfolio .content .box .layout a {
        padding: 10px 15px;
        font-size: 10px;
    }

    #Portfolio .content .box .item {
        width: 280px;
        margin: auto;
    }

    #Blog .content .box {
        width: 100%;
    }

    #Blog .content .box:not(:last-child) {
        margin-bottom: 15px;
    }

    #Blog .content .box .item {
        width: 280px;
    }

    #ContactUs form .box:nth-of-type(1),
    #ContactUs form .box:nth-of-type(2) {
        width: 100%;
    }

    #ContactUs form .box:nth-of-type(1) .item {
        margin-right: 0px;
    }

    #ContactUs form .box:nth-of-type(2) .item {
        margin-left: 0px;
    }

    #ContactUs form button {
        width: 100%;
    }



}

@media (min-width: 371px) and (max-width: 1300px) {
    nav .container .logo {
        width: 15%;
    }

    header .content h4 {
        font-size: 25px;
    }

    header .content h1 {
        font-size: 50px;
    }

    header .content p {
        font-size: 20px;
    }

    #Services .content .box .item {
        width: 280px;
        margin: auto;
    }
}

@media (min-width: 577px) and (max-width: 1300px) {
    nav .container .logo {
        width: 10%;
    }


    #About .container .part2 .info .col {

        flex-basis: 50%;
    }

    #Services .content .box {
        width: 50%;
    }

    #Services .content .box .item {
        width: initial;
        margin: 0;
        margin-inline: 10px;

    }

    #Portfolio .content .box {
        width: 50%;

    }

    #Portfolio .content .box .item {
        width: 95%;
    }

    #Blog .content .box {
        width: 50%;
    }

    #Blog .content .box .item {
        width: initial;
        margin: 0px 10px;
    }

    #Blog .content .box .item .body h6 {
        font-size: 15px;
    }

    #Blog .content .box .item .body h4 {
        font-size: 18px;
    }


}

@media (min-width: 769px) and (max-width: 1300px) {
    nav .container .logo {
        width: 8%;
    }

    #About .container .part {
        width: 50%;
    }

    #About .container .part2 .info .col {

        flex-basis: 50%;
    }

    #About .container .part2 .info .col h6 {
        font-size: 16px;
    }

    #About .container .part2 .info .col p {
        font-size: 14px;
    }

    #Blog .content .box .item {
        width: 280px;
        margin: auto;
    }

    #ContactUs form .box:nth-of-type(1),
    #ContactUs form .box:nth-of-type(2) {
        width: 50%;
    }

    #ContactUs form .box:nth-of-type(1) .item {
        margin-right: 5px;
    }

    #ContactUs form .box:nth-of-type(2) .item {
        margin-left: 5px;
    }
}

@media (min-width: 992px) and (max-width: 1300px) {
    #Portfolio .content .box {
        width: 33.33%;
    }

    #Blog .content .box {
        width: 33.33%;
    }

    #Blog .content .box .item {
        width: initial;
        margin: 0px 10px;
    }


}

@media (min-width: 1181px) and (max-width: 1300px) {}