@media screen and (max-width: 1225px) {

    .offer-left-container {
        max-height: auto;
        flex-wrap: wrap;
    }
    .offer-last-container {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: auto;
        padding: 50px 0;
    }
    .offer-div {
        width: calc(25% - 15px);
        max-width: auto;
    }
    .offer-div p {
        max-width: 180px;
    }
    #contact-home{
        gap: 0;
        justify-content: space-between;
        padding: 20px;
    }
    #touch {
        padding: 20px;
    }
    #redesign-container {
        padding: 0 20px;
    }
    #hero-container-new {
        padding: 20px;
        margin-bottom: 0;
    }
    .second-container-img-container {
        height: 640px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

}
@media screen and (max-width: 1190px) {
    .main-header {
        text-align: center;
    }

}
@media screen and (max-width: 1140px) {
    .home-job-sites {
        top: -20px;
    }
}

@media screen and (max-width: 1020px) {
    #contact-home{
        margin-top: 20px;
        flex-direction: column;
        text-align: left;
    }
    
    .call-me {
        min-width: auto;
        width: 100%;
        gap: 10px;
    }
    .e-mail-me {
        min-width: auto;
        width: 100%;
        gap: 10px;
    }
    #redesign {
        text-align: left;
        display: flex;
        align-items: start;

        height: auto;
        overflow: hidden;
    }
    .redesign {
        height: auto;
    }
    #redesign p { 
        margin-top: 20px;
    }
    #home-job {
        height: 630px;
    }
    #hero-container {
        flex-direction: column;
    }
}
@media screen and (max-width: 920px) {
    #home-job {
        height: 590px;
    }
    #offer-jobs-img {
        display: none;
    }
    
    .offer-last-container {
        padding: 50px 0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .offer-container {
        margin-top: 0;
    }

    .mobile-offer-bg-1 {
        display: block;
        position: absolute;
        top: -30px;
        left: 90px;
    }
    .mobile-offer-bg-2 {
        display: block;
        position: absolute;
        top: 120px;
        left: -100px;
    }
    .mobile-offer-bg-3 {
        display: block;
        position: absolute;
        top: 260px;
        left: 150px;
    }
    .mobile-offer-bg {
        display: flex;
        color: var(--textColor);
        font-size: 96px;
        font-weight: 800;
        z-index: -1;
        opacity: 0.3;
     }
     .second-container-img-container {
        width: 100%;
        min-width: 100%;
    }
    .second-container-text-title {
        display: none;
    }

    .second-container-text {
        margin: 500px 0 0 0;
        max-width: 100%;
        text-align: center;
        position: absolute;
    }
    .second-container-text p {
        text-align: center;
        width: 450px;
    }
    .offer-second-container {
        display: flex;
        justify-content: center;
        position: relative;
        min-height: 500px;
    }

    #wannait {
        display: none;
    }
    
    #offer-second-img {
        height: 500px;
    }

    .offer-third-container {
        position: relative;
        left: 150px;
    }

    .third-container-text {
        margin-top: 380px;
        margin-left: -60px;
    }
    .butterfly-right {
        padding: 0;
        text-align: right;

        display: flex;
        justify-content: right;
        align-items: flex-end;

        margin-top: 250px;
    }
    #butterfly-img {
        position: absolute;
        top: -50px;
        left: -250px;
        rotate: 12deg;
    }

}

@media screen and (max-width: 888px) {
    .offer-div h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .offer-div p {
        font-size: 14px;
    }
    h4 {
        font-size: 36px;
    }
    .offer-img {
        width: 80px;
        height: 80px;
    }
    
    .form-flex-div {
        flex-direction: column;
        gap: 0;
    }
    .input {
        padding: 20px;
    }
    #home-job {
        height: 530px;
    }
}
@media screen and (max-width: 808px) {
    #home-job {
        display: none;
    }
    #home-job-mobile {
        display: flex;
        flex-direction: column;
        border-radius: var(--borderRadius);
        border: 1px solid var(--divBorderBg);
        background-color: var(--divBackground);

        overflow: hidden;
        position: relative;
    }
    #home-job-mobile-content {
        width: 100%;
        padding: 20px 20px 10px 20px;

        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 2;
    }
    #home-job-mobile-title {
        font-size: 20px;
    }
    .home-job-mobile-circles {
        display: inline-flex;
        flex-direction: row;

        position: relative;
        left: -10px;
    }
    .home-job-circle {
        width: 10px;
        height: 10px;
    }
    .circle-style {
        padding: 10px;
    }
    #home-job-mobile-images {
        margin-left: 20px;
        z-index: 2;
        height: 100%;
    }
    #home-job-mobile-img {
        cursor: pointer;
        position: relative;
        transition: transform 0.6s ease;
    }

    .touchContainer {
        position: relative;
        z-index: 3;
        scroll-snap-type: x mandatory;
        justify-content:start;
        overflow-x: scroll;
        overflow-y: hidden;
        display: flex;
        gap: 20px;
        width: 100%;

        -ms-overflow-style: none;  /* Internet Explorer 10+ */
        scrollbar-width: none;  /* Firefox */
    }
    .touchImg {
        scroll-snap-align: start;
        min-width: 100vw;
        min-height: 500px;
        object-fit: contain;
        object-position: left top;

        pointer-events: none;

    }
    .touchContainer::-webkit-scrollbar { 
        display: none;  /* Safari and Chrome */
    }
    #home-job-mobile-img-bg {
        position: absolute;
        top: 0;
        left: 0;

        height: 450px;
        filter: blur(30px);
        z-index: 0;
        opacity: 0.5;

        
        transition: transform 0.3s ease;
    }

    @keyframes shake1 {
        0%, 100% { transform: translateX(0px); }
        20%, 60% { transform: translateX(calc(0px - 2px)); }
        40%, 80% { transform: translateX(calc(0px + 2px)); }
    }
    @keyframes shake2 {
        0%, 100% { transform: translateX(-438px); }
        20%, 60% { transform: translateX(calc(-438px - 2px)); }
        40%, 80% { transform: translateX(calc(-438px + 2px)); }
    }
    @keyframes shake3 {
        0%, 100% { transform: translateX(-876px); }
        20%, 60% { transform: translateX(calc(-876px - 2px)); }
        40%, 80% { transform: translateX(calc(-876px + 2px)); }
    }

    .shake1 {
        animation: shake1 0.4s ease-in-out;
    }    
    .shake2 {
        animation: shake2 0.4s ease-in-out;
    }   
    .shake3 {
        animation: shake3 0.4s ease-in-out;
    }
}

@media screen and (max-width: 765px) {
    .offer-left-container {
        flex-direction: column;
    }
    .offer-div {
        width: auto;
    }
    .offer-div p {
        max-width: 280px;
    }
    .offer-img {
        width: 100px;
        height: 100px;
    }
    
    .offer-div {
        padding: 30px;
        flex-direction: row;
    }
    .offer-right-div {
        text-align: left;
        gap: 0;
    }
    .offer-right-div p {
        font-size: 14px;
    }
    .right-div {
        flex-direction: row-reverse;
    }
    .left-div .offer-right-div {
        padding-left: 15px;
    }
    .p {
        font-size: 14px;
    }
    .h-style {
        font-size: 24px;
    }
    .design-h {
        text-align: left;
        font-size: 20px;
        font-weight: 700;
    }

    
}
@media screen and (max-width: 720px) {
    #redesign p {
        text-align: left;
        font-size: 14px;
    }
}
@media screen and (max-width: 400px) {
    #home-job-mobile { 
        max-height: 350px;
    }
    .offer-img {
        width: 70px;
        height: 70px;
    }
}