@media(max-width:1200px) {
    .projects__gallery {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    .projects__desc {
        text-align: center;
        margin: 40px auto;
    }
    .welcome {
        background: url(images/house.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        min-height: 1050px;
    }
    .welcome img {
        display: none;
    }
    .welcome__desc {
        padding: 40px 20px;
        background: rgba(255,255,255,0.7);
        border-radius: 20px;
    }
}
@media(max-width:1024px) {
    .team__container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .team__wrapper {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    .team__desc {
        text-align: center;
    }
    .card__desc {
        margin-right: 40px;
    }
    .card {
        min-height: 500px;
        background-position: center;
    }
    .projects {
        padding: 60px 0 30px;
    }
    .process {
        margin: 50px auto;
    }
}
@media(max-width:924px) {
    .card {
        min-height: 400px;
        font-size: 13px;
    }
    .process__wrapper {
        flex-wrap: wrap;
    }
}
@media(max-width:903px) {
    body {
        font-size: 14px;
    }
    span {
        font-size: 14px;
    }
    h1 {
        font-size: 52px;
    }
    .welcome {
        min-height: 903px;
    }
    .costomers {
        flex-wrap: wrap;
        text-align: center;
    }
    .costomers__wrapper {
        justify-content: center;
        margin-top: 40px;
        max-width: 100%;
    }
    .navbar {
        gap: 15px;
    }
    .header__container {
        padding: 10px;
    }
}
@media(max-width:848px) {
    .card__desc {
        max-width: 200px;
        margin-right: 10px;
    }
    .firm__desc-container {
        gap: 30px;
        justify-content: center;
    }
}
@media(max-width:779px) {
    .firm__desc-container {
        flex-direction: column;
        align-items: center;
        margin: 50px auto;
        gap: 20px;
    }
    .process__wrapper {
        gap: 10px;
    }
}
@media(max-width:768px) {
    .work-2__desc {
        opacity: 1;
    }
    .works img {
    filter: brightness(50%);
}
    .welcome {
        min-height: 600px;
    }
    body {
        font-size: 11px;
    }
    h2 {
        font-size: 32px;
    }
    .welcome__desc {
        padding: 20px 20px;
    }
    .person__block img {
        width: 62px;
    }
    .person__block {
        gap: 10px;
    }
    .works img {
        width: 300px;
    }
    .projects__btn {
        width: 130px;
        height: 38px;
        border-radius: 5px;
        margin-top: 220px;
    }
    .projects {
        padding: 10px 0 20px;
    }
    .team__container {
        margin: 50px auto;
    }
    .news {
        padding: 20px;
    }
    .news .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .news h2 {
        font-size: 20px;
        
    }
    .news__btn {
        margin: 20px 0;
    }
    .footer .container {
        margin: 20px auto;
    }
    .footer-logo {
        margin-top: 10px;
        display: inline-block;
    }
    .process__desc {
        height: auto;
        gap: 10px;
    }
    .process {
        margin: 25px;
    }
    .card {
        min-height: 300px;
    }
}
@media(max-width:730px) {
    .navbar {
        display: none;
    }
    .header {
        position: relative;
    }
    .burger-menu {
        display: block;
        background-color: transparent;
        padding: 0;
        border: none;
        position: absolute;
        right: 20px;
        top: 15px;
    }
    
    .burger-menu__icon {
        height: 24px;
        width: 30px;
        object-fit: contain;
        object-position: center;
    }

    .header.header--mobile .navbar {
        display: flex;
        /* flex-direction: column; */
        /* gap: 20px; */
        align-self: center;
        flex-wrap: wrap;
        gap: 20px 30px;
        justify-content: center;
    }
    .header.header--mobile .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .card-2, .card-3 {
        display: none;
    }
    .card {
        font-size: 10px;
    }
    .card__desc {
        margin-right: 5px;
    }
    .card-1 {
        transition: opacity 0.3s ease;
    }
    .card-1.fade {
        opacity: 0;
    }
}
@media(max-width: 640px) {
    .card__desc {
        max-width: 150px;
        background: #fff;
        padding: 10px 5px;
        margin-right: 10px;
        border-radius: 4px;
        opacity: 0.7;
    }
}
@media(max-width:550px) {
    .firm__desc-container {
        max-width: 300px;
    }
    
    .footer .container {
        flex-direction: column;
        align-items: center;
    }
    .footer_info {
        text-align: center;
    }
    .social {
        margin-top: 20px;
        width: 100%;
        justify-content: space-around;
    }
    .news__btn {
        margin-bottom: 5px;
    }
    .header {
        max-height: 140px;
    }
    .welcome {
        min-height: 400px;
    }
    .welcome__desc {
        font-size: 10px;
    }
    .sup__title {
        font-size: 12px;
    }
    .sub__title {
        margin: 0;
    }
    .welcome__title{
        font-size: 35px;
        margin-bottom: 5px;
    }
    .back-to-top {
        left: 20px;
        bottom: 40px;
    }
}