@media screen and (max-width: 1700px) {
    /* header  */
    header a {
        font-size: 20px;
    }
    /* main */
    .main_title{
        font-size: 40px;
    }
    /* Team */
    .team_top_line{
        height: 213px;
        gap: 10%;
    }
    .team_top_line > img {
        width: 741px;
        transform: translateY(-23.5%);
    }
    .team_top_text > p{
        max-width: 34%;
    }
    /* section */
    .section-works > h2, .section-service > h2{
        font-size: 70px;
        padding: 80px 0 60px ;
    }
}
@media screen and (max-width: 1600px) {
    .pink_btn{
        padding: 16px 70px;
    }

    /* Header */
    header a {
        font-size: 17px;
    }
    /* Main */
    .main_title h2{
        font-size: 35px;
    }
    
    /* Service */
    .services_bottom__text{
        padding-bottom: 3%;
    }
    .services_bottom__text p{
        font-size: 16px;
    }
    /* Footer */
    .foot_text{
        font-size: 14px;
    }
    .foot_info{
        width: 60%;
    }
}

@media screen and (max-width: 1500px) {
    /* Main */
    .main_title{
        font-size: 30px;
    }
    /* Team */
    .team_top_line{
        height: 190px;
        gap: 9%;
    }
    .team_top_line > img {
        width: 666px;
        transform: translateY(-24%);
    }
    .team_top_text > p{
        font-size: 15px;
        margin-right: 8%;
    }
    /* Services */
    .services_bottom{
        padding-top: 15px;
    }
    .services_bottom__text p{
        font-size: 14px;
    }
    .services_bottom img {
        width: 55%;
    }
    .services_bottom__text {
        width: 45%;
    }
    .button_border__yellow p,.yellow_btn p{
        font-size: 18px;
    }
    .button_border__purple p,.purple_btn p{
        font-size: 20px;
    }
    
}

@media screen and (max-width: 1400px) {
    .pink_btn{
        padding: 14px 60px;
    }

    /* Header */
    header a {
        font-size: 15px;
    }

    /* Team */
    .team_top_line{
        height: 175px;
        gap: 8%;
    }
    .team_top_line > img {
        width: 609px;
        transform: translateY(-24%);
    }
    .team_top_text > p{
        font-size: 14px;
    }
    /* Services */
    .button_border__yellow p,.yellow_btn p{
        font-size: 16px;
    }
    .button_border__purple p,.purple_btn p{
        font-size: 18px;
    }
    /* Contact */
    .contact_title > h2{
        font-size: 60px;
    }
    .contact_title > h3{
        font-size: 40px;
    }
    .ci_tell p{
        font-size: 18px;
    }

    /* section */
    .section-works > h2, .section-service > h2{
        font-size: 60px;
        padding: 70px 0 60px ;
    }
    
}

@media screen and (max-width: 1300px) {
    .pink_btn{
        padding: 12px 60px;
    }
    /* Team */
    .team_top_line{
        height: 175px;
        gap: 10%;
    }
    .team_top_line > img {
        width: 609px;
        transform: translateY(-24%);
    }
    .team_top_line > h2{
        font-size: 85px;
    }
    .team_top_text > p{
        max-width: 35%;
        font-size: 13px;
    }
    /* Services */
    .services_bottom{
        padding-top: 20px;
    }
    .services_bottom__text p{
        font-size: 13px;
    }
    .services_bottom__text {
        gap: 10px;
    }
    .yellow_btn p,.purple_btn p,.button_border__yellow p, .yellow_btn p {
        font-size: 14px;
    }
}

/* Tablet */


@media screen and (max-width: 1200px) {
    /* Team */
    .team_top{
        gap: 30px;
    }
    .team_top_line{
        height: 150px;
        gap: 10%;
    }
    .team_top_line > img {
        width: 522px;
        transform: translateY(-24%);
    }
    .team_top_line > h2{
        font-size: 75px;
    }
    .team_top_text > p{
        max-width: 40%;
        font-size: 13px;
        margin-right: 5%;
    }
    .team_top_text{
        gap: 10px;
    }

    /* Before Footer */
    .before_footer{
        padding-top: 100px;
    }

    /* Footer  */

    .foot_info {
        width: 50%;
        gap: 15%;
    }
    footer > p{
        display: block;
    }

    .foot_text{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .foot_text > p{
        display: none;
    }

    .foot_icon{
        padding: 0;
    }

    /* Services */
    .yellow_btn p,.purple_btn p,.button_border__yellow p, .yellow_btn p {
        font-size: 13px;
    }


}


@media screen and (max-width: 1100px) {
    .pink_btn{
        padding: 8px 40px;
    }
    /* Header */
    header a{
        font-size: 14px;
    }
    /* Team */
    .team_top{
        gap: 30px;
        background-size: 70px;

    }
    .team_top_line{
        height: 130px;
        gap: 10%;
    }
    .team_top_line > img {
        width: 451px;
        transform: translateY(-24%);
    }
    .team_top_line > h2{
        font-size: 65px;
    }
    .team_top_text > p{
        max-width: 40%;
        font-size: 11px;
        margin-right: 5%;
        line-height: 20px;

    }
    .team_top_text{
        gap: 10px;
    }

    /* Services */
    .services_bottom{
        padding-top: 40px;
    }
    .services_bottom__text p{
        font-size: 13px;
    }
    .services_bottom img {
        width: 40%;
    }
    .services_bottom__text {
        padding-bottom: 1%;
        width: 60%;
        gap: 7px;
    }
    .yellow_btn p,.purple_btn p,.button_border__yellow p, .yellow_btn p {
        font-size: 12px;
    }

    /* Contact */
    .section-contact{
        background-size: 80px;
    }


}

@media screen and (max-width: 1000px) {

    .left , .right{
        display: none;
    }

    .pink_btn{
        padding: 8px 40px;
    }
    /* Header */
    header{
        height: 100px;
    }
    header img{
        width: 17%;
    }
    header > nav{
        width: 57%;
    }
    header a{
        font-size: 13px;
    }

    /* Main */
    main{
        margin-top: 100px;
        gap: 10px;
    }
    .main_img {
        height: 400px;    
    }
    /* Slider */
    .section-slider{
        background-position: 100% 80%;
        background-size: 60px,100%;
    }

    /* Services */
    .services_bottom{
        padding-top: 40px;
        /* gap: 5px; */
    }
    .services_bottom__text p{
        font-size: 11px;
    }
    .services_bottom img {
        width: 50%;
    }
    .services_bottom__text {
        padding-bottom: 1%;
        width: 50%;
        gap: 7px;
    }
    .yellow_btn p,.purple_btn p,.button_border__yellow p, .yellow_btn p {
        font-size: 10px;
    }

    /* Contact */
    .section-contact{
        background-size: 60px;
    }
    .ci_tell p{
        font-size: 16px;
    }
    .contact_info a{
        font-size: 15px;
    }
    .contact_title > h2{
        font-size: 50px;
    }
    .contact_title > h3{
        font-size: 35px;
    }

    /* Before Footer */
    .before_footer{
        padding-top: 90px;
    }

    

    /* section */
    .section-works > h2, .section-service > h2{
        font-size: 50px;
        padding: 50px 0 40px ;
    }

}
@media screen and (max-width: 900px) {
    .pink_btn{
        padding: 7px 35px;
    }
    /* Header */
    header{
        height:90px;
    }
    header a{
        font-size: 12px;
    }

    /* Main */
    main{
        margin-top:90px;
        gap: 10px;
    }
    .main_text p{
        font-size: 14px;
    }
    /* Slider */
    .section-slider{
        background-image: linear-gradient(180deg, #F6F6F6 0%, #F2F1F2 100%);
        background-size: 100%;
    }

    /* Team */
    .team_top{
        background-size: 60px;
        gap: 30px;
        padding-top: 3%;
    }
    .team_top_line{
        height: 110px;
        gap: 10%;
    }
    .team_top_line > img {
        width: 378px;
        transform: translateY(-24%);
    }
    .team_top_line > h2{
        font-size: 55px;
    }
    .team_top_text > p{
        max-width: 40%;
        font-size: 10px;
        margin-right: 5%;
        line-height: 15px;
    }
    .team_top_text{
        gap: 10px;
    }

    
    /* Services */
    .services_top{
        grid-template-columns: 1fr 1fr;
    }
    .services_bottom{
        gap: 10px;
    }
    .services_bottom__text p{
        font-size: 10px;
    }

    .services_bottom__text {
        padding-bottom: 1%;
    }
    .purple_block__block1{
        order:3
    }
    .yellow_btn p,.purple_btn p,.button_border__yellow p, .yellow_btn p {
        font-size: 12px;
    }

    /* Contact */
    .contact_block{
        gap: 10px;
    }
    .contact_block > img{
        width: 25%;
    }

    .contact_block > iframe{
        width: 50%;   
    }        
    .ci_tell{
        gap:5px;
    }
    .ci_tell p{
        font-size: 14px;
    }

    .contact_info a{
        font-size: 13px;
    }

    /* Footer  */
    footer{
        padding-top: 50px;
    }
    .foot_info {
        width: 50%;
        gap: 15%;
    }
    footer > p{
        font-size: 12px;
    }
    .foot_info a{
        font-size: 12px;
    }
}

@media screen and (max-width: 800px) {
    .pink_btn{
        padding: 3px 18px;
        font-size: 18px;
    }
    /* Header */
    header img{
        width: 14%;
    }
    header > nav{
        width: 63%;
    }
    header a{
        font-size: 10px;
    }

    /* Main */
    .main_img {
        height: 350px;    
    }
    .main_text{
        gap: 20px;
    }
    .main_text p{
        font-size: 11px;
    }
    .main_arrows{
        width: 25%;
    }

    /* Team */
    .team_top{
        background-size: 60px;
        gap: 30px;
        padding-top: 3%;
    }
    .team_top_line{
        height: 90px;
        gap: 10%;
    }
    .team_top_line > img {
        width: 311px;
        transform: translateY(-24%);
    }
    .team_top_line > h2{
        font-size: 47px;
    }
    .team_top_text > p{
        max-width: 40%;
        font-size: 8px;
        margin-right: 4%;
        line-height: 15px;
    }
    .team_top_text{
        gap: 10px;
    }

    /* Services */
    .services_bottom__text p{
        font-size: 9px;
    }
    

    /* Contact */
    .contact_block > iframe{
        height: 200px;
    }
    .contact_block > img{
        display: none;
    }

    .ci_tell p{
        font-size: 12px;
    }

    .contact_title > h2{
        font-size: 45px;
    }
    .contact_title > h3{
        font-size: 30px;
    }

    /* Before Footer */
    .before_footer{
        padding-top: 65px;
    }

    /* Footer  */

    .foot_info {
        width: 40%;
        gap: 12%;
    }
    .foot_info a{
        font-size: 10px;
    }


    /* section */
    .section-works > h2, .section-service > h2{
        font-size: 45px;
        padding: 40px 0 30px ;
    }

}

@media screen and (max-width: 700px) {
    /* Services */
    .yellow_btn p,.purple_btn p,.button_border__yellow p, .yellow_btn p {
        font-size: 10px;
    }

    /* Main */
    .main_text p{
        font-size: 11px;
    }
    /* Team */
    .team_top{
        background-size: 50px;
        gap: 10px;
        padding-top: 3%;
    }
    .team_top_line{
        height: 80px;
        gap: 10%;
    }
    .team_top_line > img {
        width: 281px;
        transform: translateY(-24%);
    }
    .team_top_line > h2{
        font-size: 40px;
    }
    .team_top_text > p{
        max-width: 40%;
        font-size: 8px;
        margin-right: 4%;
        line-height: 15px;
    }
    .team_top_text{
        gap: 10px;
    }

    /* Works */
    .works_block{
        height: 180vw;
        grid-template-columns: repeat(6,1fr);
    }
    .works_block__item1{
        grid-column: 1/5;
        grid-row: 1/5;
    }
    .works_block__item2{
        grid-column: 5/7;
        grid-row: 1/3;
    }
    .works_block__item3{
        grid-column: 3/7;
        grid-row: 5/9;
    }
    .works_block__item4{
        grid-column: 6/7;
        grid-row: 10/11;
    }
    .works_block__item5{
        grid-column: 6/7;
        grid-row: 9/10;
    }
    .works_block__item6{
        grid-column: 5/7;
        grid-row: 3/5;
    }
    .works_block__item7{
        grid-column: 1/3;
        grid-row: 5/7;
    }
    .works_block__item8{
        grid-column: 3/5;
        grid-row: 9/11;
    }
    .works_block__item9{
        grid-column: 1/3;
        grid-row: 9/11;
    }
    .works_block__item10{
        grid-column: 3/5;
        grid-row: 11/13;
    }
    .works_block__item11{
        grid-column: 5/6;
        grid-row: 11/12;
    }

    /* Services */
    .services_bottom__text{
        gap: 4px;
    }
    .services_bottom__text p{
        font-size: 8px;
    }
    .services_bottom{
        padding-top: 20px;
    }

    /* Footer  */

    .foot_info {
        width: 40%;
        gap: 12%;
    }
    footer > p{
        font-size: 9px;
    }
    .foot_info a{
        font-size: 9px;
    }
    .foot_icon img{
        width: 40%;
    }

    .foot_text{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .foot_text > p{
        display: none;
    }

    .foot_icon{
        padding: 0;
    }
    
}

@media screen and (max-width: 600px) {
    .pink_btn{
        width: fit-content;
        padding: 7px 30px;
    }
    /* Header */
    header{
        height: 150px;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
        row-gap: 0;
        padding: 20px 7%;
        justify-items: center;
        align-items: center;

    }

    header > nav{
        width: 100%;
        grid-row: 2/3;
        grid-column: 1/3;
        flex-direction: column-reverse;
        align-items: start;
        gap: 20px;
    }
    header > nav ul{
        width: 100%;
        justify-content: space-between;
    }
    header > nav li{
        width: fit-content;
    }

    header img{
        width: 70%;
    }
    header a{
        font-size: 14px;
    }
    /* Main */
    
    main{
        margin-top: 150px;
        gap: 10px;
        padding-top: 5%;
    }
    .main_img {
        height: 275px;    
    }
    .main_text p{
        font-size: 9px;
    }
    .main_arrows{
        width: 30%;
    }

    /* Team */
    .team_top{
        padding: 0;
        padding-top: 25px;
        flex-direction: column-reverse;
        gap: 0;
        background: none;
    }
    .team_top > h2{
        display: block;
        padding-bottom: 120px;
        padding-left: 25px;

    }
    .team_top_line{
        height: 110px;
        gap: 10%;
        justify-content: flex-start;
    }
    .team_top_line > img {
        width: 384px;
        transform: translateY(-24%);
        margin-left: 5%;
    }
    .team_top_line > h2{
        display: none;
    }
    .team_top > h2{
        font-size: 45px;
        padding-bottom: 135px;
    }
    
    .team_top_text{
        padding: 5% 25px;
        align-items: flex-start;
        background: linear-gradient(180deg, #F6F6F6 64.59%, #F2F1F2 100%);
    }

    .team_top_text > p{
        max-width: 100%;
        text-align: left;
        font-size: 14px;
        margin: 0;
    }

    .team_top_text > a{
        display: block;
        color: #FCB450;
        font-family: "Montserrat";
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        text-decoration-line: underline;
    }
    .team_bottom{
        padding-top: 0;
    }

    /* Services */
    .services_top{
        grid-template-columns: 1fr;
    }

    .purple_block__block1,.service_purple__block, .service_yellow__block{
        width: 100%;
    }

    .button_border__yellow p, .yellow_btn p,.sb_p,.number,.button_border__purple p, .purple_btn p{
        font-size: 11px;
    }
    .purple_btn,.yellow_btn,.button_border__purple,.button_border__yellow{
        justify-content: start;
    }
    .purple_block__block1{
        order:0
    }
    
    .services_bottom{
        flex-direction: column-reverse;
    }

    .services_bottom__text{
        width: 100%;
    }
    .services_bottom img{
        width: 100%;
    }

    .services_bottom__text button{
        align-self: start;
    }
    .services_bottom__text p{
        font-size: 15px;
    }

    .services_bottom__text{
        font-family: "Montserrat";
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        padding: 20px 0;
        gap: 20px;
    }

    

    /* Contact */
    .section-contact{
        padding-top: 15px;
        padding-bottom: 25px;
        background-image:none;
    }
    .contact_title{
        flex-direction: column-reverse;
        align-items: start;
        justify-content: center;
        gap: 12px;
    }
    .contact_block{
        flex-direction: column;
        gap: 20px;
    }
    .contact_info {
        gap: 10px;
    }
    .ci_tell p{
        color: #322155;
        font-size: 16px;
    }
    
    .contact_title > h3{
        font-size: 25px;
    }
    .contact_title > h2{
        font-size: 45px;
    }
    .contact_block > iframe{
        width: 100%;
        height: 300px;
    }
    .contact_block > img{
        display: block;
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
    }

    /* Footer */
    footer{
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 10px;
        padding-top: 50px;
    }
    .foot_info {
        width: 100%;
        gap: 25%;
        justify-content: space-between;
    }
    footer > p,.foot_info a{
        font-size: 12px;
    }

    .foot_text{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .foot_text > p{
        display: none;
    }
    

    /* section */
    .section-works > h2, .section-service > h2{
        font-size: 40px;
        text-align: start;
        padding: 16px 0;
    }


    .line p{
        font-size: 15px;
    }
}

/* Mobile */

@media screen and (max-width:480px) {
    .for-album{
        width: 95%;
        height: 40%;
    }
    .close{
        width: 50px;
        height: 50px;
    }
    body{
        background: none;
    }
    .cont{
        padding: 0 25px;
    }
    .pink_btn{
        padding: 5px 25px;
    }
    /* Header */
    header{
        justify-items: end;
    }
    header img{
        width: 100%;
    }
    header a{
        font-size: 12px;
    }
    header .pink_btn{
        width: 90%;
    }
    
    /* Team */
    .team_top_line{
        height: 92px;
        gap: 10%;
        justify-content: flex-start;
    }
    .team_top_line > img {
        width: 320px;
        transform: translateY(-24%);
        margin-left: 5%;
    }
    .team_top > h2{
        font-size: 40px;
        padding-bottom: 120px;
    }

    .team_bottom{
        padding-top: 0;
        grid-template-columns: 1fr;
    }
    .team_bottom__block{
        justify-content: center;
    }
    .team_bottom__block > img{
        width: 45%;
        object-position: center;
    }

    .line_media{
        display: flex;
        flex-direction: column;
        gap: 2px;
        grid-column: 1/3;
    }
    .line_desktop{
        display: none;
    }

    .line{
        height: 7vh;
    }
    
    .line p{
        font-size: 14px;
    }
    

    /* Contact */
    .contact_block > iframe{
        width: 100%;
        height: 250px;
    }
    .contact_block > img{
        display: block;
        width: 100%;
        height: 170px;
        object-fit: cover;
        object-position: center;
    }
    .contact_block{
        gap: 10px;
    }

    .ci_tell p{
        color: #322155;
        font-size: 14px;
    }
    
    .contact_title > h3{
        font-size: 22px;
    }
    .contact_title > h2{
        font-size: 40px;
    }
    
    
    /* Before Footer */

    .before_footer{
        padding-top: 25px;
        grid-template-columns: repeat(2,1fr);
    }
    .before_footer img:nth-child(4){
        grid-column: 1/2;
        grid-row: 3/4;
    }

    .main_text {
        position: relative;
    }

    .main_text > p{
        width: 100%;
        position: absolute;
        top: 0;
        font-size: 14px;
    }

    .main_text{
        height: 130px;
    }
    
    .main_radio{
        display: flex;
    }

}


@media screen and (max-width:380px) {
    .main_text{
        height: 140px;
    }
}
@media screen and (max-width:350px) {
    /* Main */
    .main_text{
        width: 100%;
        height: 150px;
    }
    /* Team */
    .team_top_line{
        height: 84px;
        gap: 10%;
        justify-content: flex-start;
    }
    .team_top_line > img {
        width: 287px;
        transform: translateY(-23.5%);
        margin-left: 5%;
    }
    .team_top > h2{
        padding-bottom: 100px;
    }

    .foot_info{
        gap: 10%;
    }
}
