@import url('https://fonts.googleapis.com/css2?family=Work%20Sans:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@import url("reset.css");


:root{
    --mainFontFamily: "Work Sans", sans-serif;
    --secondaryFontFamily: "Poppins", sans-serif;
    --main-button-color: #a53dff;
    --main-title-color: #132238;
    --main-text-color: #87909d;
    --white: #fff;
}

/* плавна прокрутка сторінки */

html{
    scroll-behavior: smooth;
}

body{
  font-family: var(--mainFontFamily);
  text-align: center;
  background-color: var(--white);
}

.page{
    scroll-margin-top: 100px;
}

.wrapper{
    min-height: 100%;
    overflow: clip;

    display: flex;
    flex-direction: column;
}

.wrapper>main{
    flex-grow: 1;
}


 [class*="__container"]{
    max-width: 84.375rem;
	margin: 0 auto;
    padding-inline: 0.9375rem;
 }


 /* button */

 .button{
    font-family: var(--mainFontFamily);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--white);
    border-radius: 0.25rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--main-button-color);
    transition: 0.3s;
}

@media (any-hover:hover){
    .button:hover{
        transform: scale(1.1);
        box-shadow: 0 0.5rem 1rem rgba(165, 61, 255, 0.4), 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    }
}

/* mob-menu */

.button-mob{
    flex-shrink: 0;
    flex-basis: 2.5rem;
    aspect-ratio: 1;
    display: none;
    flex-direction: column;

    /* border: 3px solid  #111b47; */
    /* border-radius: 6px; */
    /* padding: 9px */
}

@media (max-width: 51.8125em){
    .button-mob{
        display: flex;
        justify-content: center;
        align-items: center;

    }
}

.button-mob span{
    margin-block: 0.5rem;
}

.button-mob span,
.button-mob::before,
.button-mob::after{
    content: "";
    height: 0.3125rem;
    width: 100%;
    border-radius: 0.0625rem;
    background-color:  var(--main-button-color);
    transition: 0.3s;
}

.open-menu body {
  overflow: hidden;
}
/* для вимкнення прокручування сторінки, 
коли меню бургер відкрите */

.open-menu .header__menu,
.open-menu .header__menu::before {
	inset-inline-start: 0;
}


.open-menu .icon-menu span {
	width: 0;
	height: 0;
	margin: 0;
}

.open-menu .icon-menu::before {
	transform: rotate(45deg) translateY(0.25rem);
}

.open-menu .icon-menu::after {
	transform: rotate(-45deg) translateY(-0.25rem);
}


.header__menu{
    justify-self: end;
}



@media (max-width: 51.8125em){
.header__menu{
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 100%;
    inline-size: 100%;
    block-size: 100%;
    z-index: 2;

    transition: inset-inline-start 0.3s;
    overflow: auto;
    padding: 7.5rem 0.9375rem 1.875rem;
    background-color: #beebf9;

}
.header__menu::before{
    content: "";
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 100%;
    inline-size: 100%;
    block-size: 110px;
    z-index: 3;
    background-color: #beebf9;
    transition: inset-inline-start 0.3s;
}
}

.menu{
    display: flex;
    flex-wrap: wrap;
    column-gap: 3rem;
    row-gap: 1.25rem;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

@media (max-width: 60.9375em){
    .menu--header{
        column-gap: 1.25rem; 
}
}

@media (max-width: 51.8125em){
    .menu--header{
        flex-direction: column;
        align-items: flex-end;
        font-size: 2.5rem;
        gap: 2rem;
}
}

.menu__link{
    position: relative;
}

.menu__link::after{
    position: absolute;
    content: "";

    inset-block-end: 0;
    inset-inline-start: 50%;

    inline-size: 0;
    block-size: 0.1875rem;

    transform: translateX(-50%);
    
    border-radius: 0.1875rem;
    background-color: var(--main-button-color);
    transition: all 0.3s;
}

@media (any-hover: hover){
    .menu__link:hover::after{
        inline-size: 100%;
}
}





/* img */

.image-cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-contain{
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* title, text */

.title{
    font-weight: 600;
    font-size: 48px;
    line-height: 1.17;
    color: var(--main-title-color);
}

.title-small{
    font-weight: 600;
    font-size: 20px;
    line-height: 1.20;
    color: var(--main-title-color);
}

.text{
    font-size: 1.125rem;
    line-height: 1.33;
    color: #697484;
}

.text-small{
    line-height: 1.5;
    font-size: 1rem;
    color: #697484;
}

.text-small-color{
    line-height: 1.5;
    font-size: 1rem;
    color: var(--main-text-color);
}


/* header */

.header{
    font-family: var(--mainFontFamily);
    padding-block: 1.25rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--white);
    z-index: 100;
}

.header__container{
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1.5rem;
}

@media (max-width: 470px){
    .header__container{

    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 1rem;
}
}

.logo{
    width: 100%;
    max-width: 13rem;
    aspect-ratio: 208 / 56;
    position: relative;
    z-index: 5;
}



.header__button{
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
    position: relative;
    z-index: 5;
}






/* hero */

.hero{
    padding-block: 13.875rem 6.9375rem;
}

@media (max-width: 63.1875em){
    .hero{
    padding-block: 8.875rem 3.9375rem;
}
}

@media (max-width: 34.4375em){
    .hero{
    padding-block: 6.875rem 3.9375rem;
}
}

.hero__container{
    position: relative;
}

.hero__container::before{
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 56.25rem;
    height: 56.25rem;
    right: -40rem;
    top: -44.5625rem;

    background: radial-gradient(
        circle,
        rgba(218, 77, 241, 0.4) 0%,
        rgba(218, 77, 241, 0.25) 40%,
        rgba(218, 77, 241, 0.1) 60%,
        transparent 70%
    );

    filter: blur(7.5rem);
    pointer-events: none;
    z-index: -1;
}

.hero__container::after{

 content: "";
    position: absolute;
    border-radius: 50%;

    width: 68.75rem;
    height: 68.75rem;
    right: -56.25rem;
    top: 18.75rem;

    background: radial-gradient(
        circle,
        rgba(196, 245, 233, 0.7) 0%,
        rgba(196, 245, 233, 0.45) 35%,
        rgba(196, 245, 233, 0.2) 55%,
        transparent 70%
    );

    filter: blur(9.375rem);
    pointer-events: none;
    z-index: -1;
}


.hero__wrapper{
    display: flex;
    justify-content: space-between;
    gap: 1.75rem;
}

@media (max-width: 63.1875em){
    .hero__wrapper{
    flex-direction: column;
    justify-content: space-between;  
}
}

.hero__content{
    flex-basis: 40.5rem;
    align-self: flex-end;
}

@media (max-width: 63.1875em){
    .hero__content{
 
        flex-basis: auto;
        align-self: flex-end;
}
}


.content{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: start;
    margin-block-end: 9.25rem;
}

@media (max-width: 63.1875em){
    .content{
    margin-block-end: 6.25rem;
}
}

@media (max-width: 34.4375em){
    .content{
    margin-block-end: 3.25rem;   
    }

    .content .button{
        align-self: stretch;
        text-align: center;   
    }
}

.content__title{
    font-weight: 600;
    font-size: clamp(2.23rem, 5.45vw, 4.5rem);
    line-height: 1.17;
    color: var(--main-title-color);
}

.content__text,
.content-text{
    font-size: 1.125rem;
    line-height: 1.33;
    color: #556070;
}

.content__text strong{
    position: relative;
    color: #000;
    font-weight: 400;
}

.content__text strong::before{
    content: "";
    position: absolute;
    block-size: 0.375rem;
    inline-size: 100%;
    inset-inline-start: 0;
    inset-block-end: -0.1875rem;
    background-color: #ffc8c8;
    z-index: -1;
}

.hero__info{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10.75rem, 1fr));
    gap: 0.1875rem;
}

.hero__info-item{
    border: 1px solid var(--white);
    border-radius: 0.375rem;
    background: rgba(237, 216, 255, 0.5);
    padding-block: 1.0625rem;
    padding-inline: 0.75rem;
}

@media (max-width: 34.4375em){
    .hero__info{
    grid-template-columns: 1fr;
}
}

.hero__info-item p:first-child{
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.25;
    text-align: center;
    color: #424e60;
    margin-block-end: 0.5rem;
}

@media (max-width: 34.4375em){
    .hero__info-item p:first-child{
    font-size: 1.5rem;
}
}


.hero__info-item p:last-child{
    line-height: 1.5;
    text-align: center;
    color: #697484;
}

.hero__img{
    aspect-ratio: 536 / 636;
    /* flex-basis: 40.606%;  */
    flex-basis: 33.5rem; 
    align-self: center;
    border-radius: 1.5625rem;
    box-shadow: 0 1.5rem 7.25rem 0 rgba(43, 56, 76, 0.09);
    overflow: hidden;
    
}

@media (max-width: 63.1875em){
    .hero__img{
    flex-basis: auto; 
}
}



/* user */


.user{
    padding-block: 7rem 9.25rem;
}

@media (max-width: 63.0625rem){
    .user{
    padding-block: 3.125rem 0;
}
}

.user__container{
    position: relative;
}

.user__container::after{
    content: "";
    position: absolute;
    width: 37.5rem;
    height: 14.375rem; 
    left: -23.5rem;   
    bottom: -15.875rem;

    background: radial-gradient(
        ellipse at center,
        rgba(255, 223, 168, 1) 0%,
        rgba(255, 226, 176, 0.96) 20%,
        rgba(255, 234, 198, 0.67) 80%,
        rgba(250, 211, 144, 0.8) 100%
    );

    transform: rotate(-30deg);
    filter: blur(6.25rem);
    pointer-events: none;
    z-index: -1;
}

.user__wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 1.875rem;
    padding: 7rem;
    box-shadow: 0 2.25rem 6.5625rem 0 rgba(43, 56, 76, 0.1);
    background: var(--white);
    border-radius: 16px;
    margin-block-end: -9.25rem;
}

@media (max-width: 63.1875em){
.user__wrapper{
    padding: 2.5rem;
}
}

@media (max-width: 53.125em){
.user__wrapper{
    flex-direction: column;
    gap: 1.875rem;
}

.user__media {
    order: 2;
}
.user__content {
     order: 1;
    }
}

@media (max-width: 33.125em){
.user__wrapper{
    padding: 1rem;
}
}

.user__media{
    flex: 0 1 26.5rem;
}

@media (max-width: 31.25em){
.user__media{
    flex: 0 1 auto;
}

}

.user__img{
    aspect-ratio: 424 / 468;
    border: 1px solid #f0f1f3;
    border-radius: 0.625rem;
}

.user__content{
    flex: 0 1 33.5rem;
}

@media (max-width: 53.0625em){
    .user__content{
        flex: 0 1 auto;
    }
}

.user__box{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: start;
}

.user__title{
    font-weight: 600;
    font-size: 2.375rem;
    line-height: 1.32;
    color: var(--main-title-color);
}

@media (max-width: 34.375em){
    .user__title{
    font-size: 1.75rem;
}
}

.user__text p:first-child{
    margin-block-end: 1rem;
}

.user__buttons{
    display: flex;
    gap: 1rem;
}

@media (max-width: 27.1875rem){
    .user__buttons{
    flex-direction: column;
    text-align: center;
}
}

.button--white,
.portfolio__button{
    border: 0.0625rem solid var(--main-button-color);
    background: var(--white);
    color: var(--main-button-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.button--white::before{
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: url(../img/download.svg) center center / contain no-repeat;
}



/* social */

.social{
    display: inline-flex;
    padding: 0.75rem;
    background-color: var(--white);
    border-radius: 0.25rem;
    box-shadow: 0 0.75rem 4rem 0 rgba(28, 25, 25, 0.12);
}

.social--transform{
    transform: translateY(-50%);
}

.social li{
    flex: 0 1 3rem;
    aspect-ratio: 1;
    border-radius: 0.25rem;
    overflow: hidden;
}

.social__link{
    padding: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

@media (any-hover:hover){
    .social__link:hover{
        background-color: var(--main-button-color);
        fill: var(--white);
    }
}

.social svg{
    width: 1.125rem;
    height: 1.125rem;
    fill: var(--main-button-color);
    transition: 0.3s;
}

@media (any-hover:hover){
    .social__link:hover svg {
        fill: var(--white);
    }
}



/* work */

.work{
    background-color: #f0f1f3;
    padding: 15.5rem 0 8.75rem;
    text-align: left;
    margin-block-start: -9.25rem;
}

@media (max-width: 31.25em){
.work{
    padding: 12.5rem 0 3.75rem;
}

}

.work__wrapper{
    display: flex;
    justify-content: space-between;
    gap: 1.875rem;
    align-items: center;
}

.work__text{
    flex: 0 1 33.0625rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 62.5em){
    .work__wrapper{
    flex-direction: column;

    }
    .work__text{
    flex-basis: auto;
}
}



@media (max-width: 53.0625em){
.work__title{
    font-size: 2.375rem;
}
}

.work__content-title{
    margin-inline-end: 0.75rem;
}

.work__text-text p:first-child{
    margin-block-end: 1rem;
}



.work__content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 0 1 40.5rem;
    column-gap: 1.5rem;
}

@media (max-width: 34.375em){
.work__content{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.875rem;
}
}

@media (max-width: 62.5rem){
.work__content{
    gap: 1.875rem;
}
}



.work__content-item{
    box-shadow: 2rem 2rem 7.75rem 0 rgba(43, 56, 76, 0.1);
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: 0.3s;
}


.work__content-item:nth-child(odd){
    margin-block-end: 1.5rem;
}


.work__content-item:nth-child(even){
    margin-block-start: 1.5rem;
}

@media (max-width: 62.5rem){
    .work__content-item:nth-child(odd),
    .work__content-item:nth-child(even){
        margin: 0;
    }
}

.work__content-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    padding: 1.25rem;
    background-color:  rgba(237, 216, 255, 0.5);
    margin-block-end: 2rem;
    transition: 0.3s;
}

.work__content-icon svg{

    width: 2rem;
    height: 2rem;
    object-fit: contain;
    fill: var(--main-button-color);
    transition: 0.3s;
}

@media (any-hover: hover){
    .work__content-item:hover .work__content-icon{
        background-color: var(--main-button-color);
    }

    .work__content-item:hover{
        box-shadow: 2rem 2rem 7.75rem 0rem rgba(43, 56, 76, 0.10);
        transform: scale(1.05);
    }
    
    .work__content-item:hover .work__content-icon svg{
        fill: var(--white);
    }
}



/* portfolio */

.portfolio{
    padding: 6.25rem 0;
}

@media (max-width: 31.25em){
.portfolio{
    padding: 3.25rem 0;
}
}

.block-info{
    margin: 0 auto 4.375rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 36.0625rem;
}

@media (max-width:53.0625em){
    .block-title{
        font-size: 2.375rem;
}
}

.portfolio__list{
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    margin-block-end: 3.125rem;
}

@media (max-width: 34.3125em){
    .portfolio__list{
    grid-template-columns: repeat(auto-fill, minmax(18.125rem, 1fr));
    
}
}

.portfolio__item,
.blog__item{
    box-shadow: 0 0.75rem 4rem 0 rgba(28, 25, 25, 0.12);
    background: var(--white);
    border: 0.0625rem solid #e6e8eb;
    border-radius: 0.5rem;
    overflow: hidden;

}

.portfolio__img{
    aspect-ratio: 424 / 248;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
    background-color: #ce9df9;
}

.portfolio__content{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.portfolio__label{
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.33;
    color:  #87909d;
}

.portfolio__item-title{
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.33;
    color: var(--main-title-color);
    margin-block-end: 0.75rem;
}

.portfolio__text{
    font-size: 0.875rem;
    line-height: 1.43;
    color: #556070;
    margin-block-end: 1.25rem;
}

@media (max-width: 34.3125em){
    .portfolio__button{
        width: 100%;
    }
}

.portfolio__button::after{
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: url(../img/right-arrow.svg) center center / contain no-repeat;
}




/* idea */

.idea{
    padding: 6.25rem 0;
    background-color:  var(--main-title-color);
}

@media (max-width: 31.25em){
.idea{
    padding: 3.25rem 0;
}
}

.idea__wrapper{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 38.6875rem;
    margin-inline: auto;
}

.idea__title{
    color: var(--white);
}

@media (max-width: 53.0625em){
    .idea__title{
        font-size: 2.375rem;
}
}

@media (max-width: 34.3125em){
     .idea__title{
        font-size: 1.875rem;
    }
}

.idea__text{
    color: #c3c7ce;
}

.idea__button{
    display: flex;
    align-self: center;
    gap: 0.75rem;
}

.idea__button::after{
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: url(../img/right-arrow-white.svg) center center / contain no-repeat;
}


/* blog */

.blog{
    padding: 6.25rem 0;
}

@media (max-width: 31.25em){
    .blog{
        padding: 3.25rem 0;
    }
}

.blog__container{
    position: relative;
}

.blog__container::before{
    content: "";
    position: absolute;
    top: -40.625rem;
    left: -63.3125rem;
    width: 54.4375rem;
    height: 54.4375rem;
    background: rgba(218, 77, 241, 0.4);
    border-radius: 50%;
    filter: blur(12.5rem);
    z-index: -1;
    pointer-events: none;
}

.blog__container::after{
    content: "";
    position: absolute;
    top: -37.5rem;
    right: -68.75rem;
    width: 65.25rem;
    height: 65.25rem;
    background: rgba(196, 245, 233, 0.7);
    border-radius: 50%;
    filter: blur(18.75rem);
    z-index: -1;
    pointer-events: none;
}

.block-title--ff{
    font-family:  "Poppins", sans-serif;
}

.blog__list{
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-block-end: 1.5rem;
}

.blog__item{
    flex: 1 0 18.125rem;
    scroll-snap-align: start;
    box-shadow: none;
    transition: 0.3s;
}

@media (any-hover){
    .blog__item:hover{
    box-shadow: 0 0.75rem 4rem 0 rgba(28, 25, 25, 0.12);
    scale: 0.90;
}
}

.blog__img{
    aspect-ratio: 312 / 226;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
}


.blog__content{
    padding: 1.5rem;
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.blog__lable{
    font-size: 0.875rem;
    line-height: 1.43;
    color: var(--main-text-color);
}

.blog__item-title{
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.33;
    color: #333;
}

.slider-buttons{
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.slider-button{
    border-radius: 50%;
    background-color: #c3c7ce;
    width: 0.5rem;
    aspect-ratio: 1;
    cursor: pointer;
}

.slider-button--active{
    background-color: #210c33;
    width: 1.875rem;
    height: 0.5rem;
    border-radius: 6.25rem;
}

@media (any-hover: hover){
    .slider-button:hover{
    background-color: #f8a60d;
}
}


/* my-work */

.my-work{
    background-color: #f0f1f3;
    padding: 9.375rem 0;
}

@media (max-width:46.875em){
.my-work{
    padding: 4.375rem 0;
}
}

.my-work__wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.875rem;
}

@media (max-width:46.875em){
    .my-work__wrapper{
    flex-direction: column;
}
}

.my-work__content{
    flex: 0 1 33.0625rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;

}

@media (max-width: 46.875em){
.my-work__content{
    flex-basis: auto;

}
}

.my-work__title{
    margin-block-end: 1.5rem;
}

@media (max-width: 46.875em){
     .my-work__title{
        font-size: 2.6875rem;
    }
}

@media (max-width: 34.3125em){
     .my-work__title{
        font-size: 2.375rem;
    }
}

.my-work__info{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--main-text-color);
    margin-block-end: 3.125rem;
}

@media (max-width: 28.125em){
    .my-work__button{
    width: 100%;
    text-align: center;
}

}
.my-work__text{
    flex: 0  40.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: start;
}

@media (max-width: 46.875em){
.my-work__text{
    flex-basis: auto;
}
}

.my-work__item-title{
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--main-title-color);
    margin-block-end: 1rem;
    
}

.my-work__item{
    padding: 2rem;
    background: var(--white);
    border-radius: 0.375rem;
    border-left: 0.3125rem solid transparent;
    transition: 0.3s;
}

@media (any-hover: hover){
    .my-work__item:hover{
        border-left: 0.3125rem solid #a53dff;
        box-shadow: 0 2rem 6rem 0 rgba(28, 25, 25, 0.16);
}
}

.my-work__text p{
    color: #424e60;
}



/* clients */

.clients{
    padding: 6.25rem 0;
}

@media (max-width: 50em){
    .clients{
    padding: 3.125rem 0 1.25rem;
}
}


.block-info--clients{
    margin: 0 auto 1.5rem;
}


.clients-list{
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.clients-item{
    aspect-ratio: 1;
    flex: 0 0 12.5rem;
    scroll-snap-align: start;
    box-shadow: none;
    transition: 0.3s;
}

.clients-item svg{
    width: 100%;
    height: 100%;
    object-fit: contain;
    fill: #B8BCC2;
    transition: 0.3s;
}

@media (any-hover: hover){
    .clients-item:hover svg{
        fill: black;
}
}


/* testimonial */

.testimonial{
    padding-block-end: 6.25rem;
}

@media (max-width: 31.25em){
    .testimonial{
    padding-block-end: 3.25rem;
}
}

.testimonial__body{
    max-width: 54.5rem;
    margin: 0 auto 3.125rem;
}

.testimonial__quote{
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.33;
    text-align: center;
    color: #2b384c;
    margin-block-end: 1.5rem;
}

.testimonial__name{
    font-family: var(--secondaryFontFamily);
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.44;
    color: #000;
    margin-block-end: 0.5rem;
}

.testimonial__position{
    font-family: var(--secondaryFontFamily);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
}



/* discuss */


.discuss{
    position: relative;
    z-index: 2;
}

.discuss__wrapper{
    padding: 5.5rem;
    display: flex;
    gap: 1.875rem;
    justify-content: space-between;
    box-shadow: 0 3.6875rem 7.75rem 0 rgba(0, 0, 0, 0.12);
    border-radius: 0.9375rem;
    background-color: var(--white);
}

@media (max-width: 62.5em){
    .discuss__wrapper{
    padding: 1.875rem;
}
}

@media (max-width: 62.5em){
    .discuss__wrapper{
    display: block;
}
}

@media (max-width: 31.25rem){
    .discuss__wrapper{
    padding: 0.9375rem;
}
}

.discuss__address{
    flex: 0 1 30.0625rem;
    display: flex;
    flex-direction: column;
    gap: 2.1875rem;
}

.discuss__head{
    color: #87909d;
    text-align: start;
}

.discuss__title{
    font-weight: 600;
    font-size: 2.375rem;
    line-height: 1.32;
    color: var(--main-title-color);
    margin-block-end: 1rem;
}

.address{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

@media (min-width: 62.5625em){
    .address{
    flex-direction: column;
}
}

.address__box{
    display: flex;
    gap: 0.8125rem;
    padding: 1.5rem;
    border-radius: 0.625rem;
    background: var(--white);
    transition: 0.3s;
}

@media (any-hover: hover){
    .address__box:hover{
    box-shadow: 0 0.75rem 4rem 0 rgba(28, 25, 25, 0.12);
}
    .address__box:hover .address__img{
    background: var(--main-button-color);
}
    .address__box:hover .address__img svg{
        fill: var(--white); 
    }

}

.address__img{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem;
    padding: 0.75rem;
    background: rgba(237, 216, 255, 0.5);
    transition: 0.3s;
}

.address__img svg{
    width: 1.5rem;
    height: 1.5rem;
    fill: #A53DFF;
    object-fit: contain;
    transition: 0.3s;
}

.address__text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.43;
    color: #424e60;
}

.address__text> :last-child{
    font-weight: 500;
    line-height: 1.5;
    color: var(--main-title-color);
}

.discuss__contact{
    flex: 0 1 35rem;
    display: flex;
    flex-direction: column;
    gap: 3.125rem;
    align-items: start;
    text-align: start;
}

.discus-social{
    padding: 0;
    box-shadow: none;
}

.form{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form__input{
    border-bottom: 0.0625rem solid #e6e8eb;
    padding-block-end: 0.875rem;
}

.form__input:focus-visible{
    outline: none;
    border-block-end: 0.0625rem solid var(--main-button-color);
    color: var(--main-button-color);
}

.form__input:focus-visible::placeholder{
    color: var(--main-button-color);
}

/* прибиранні стрілок у інпуті number */

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}


.form textarea{
    min-height: 3rem;
}

.form__row{
    display: flex;
    gap: 1.5rem;   
}

@media (max-width: 31.25em){
    .form__row{
    flex-direction: column;
    gap: 1.5rem;
}
}

.button-form{
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 31.25em){
    .button-form{
        width: 100%;
        justify-content: center;
}
}

.button-form::after{
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: url(../img/right-arrow-big.svg) center center / contain no-repeat;
}



/* footer */

.footer{
    background-color: #2b384c;
    padding-block: 12rem 5.125rem;
    margin-block-start: -3.8rem;
}

@media (max-width: 31.25em){
.footer{
    padding-block: 7rem 3.125rem;
}
}

.footer__container{
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 58.4375em){
    .footer__container{
    justify-items: center;
    grid-template-columns: 1fr; 
    gap: 1rem;
}
}

.menu--footer{
    font-weight: 400;
    color: #f0f1f3;
    column-gap: 1.5rem;
    justify-content: center;
}

.footer__copyright{
    line-height: 1.5;
    color: var(--white);
}




