@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Montserrat:wght@400;700&display=swap');
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;

    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}


/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
/* intro */
.intro {
    width: 100%;
    background: url("../img/intro.jpg") center no-repeat fixed;
    background-size: cover;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.intro__inner {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;

}
.intro__suptitle {
    font-family: "Kaushan Script", cursive;
    color: #fff;
    font-size: 72px;
    text-align: center;
    margin-bottom: 18px;
    padding-top: 75px;
}
.intro__title {
    font-size: 130px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    color: #fff;
}
.intro__title::after {
    width: 60px;
    height: 3px;
    background-color: #ffffff;
    content: "";
    display: block;
    margin: 60px auto 40px;

}
/* button */
.btn {
    text-decoration: none;
    color: white;
    display: inline-block;
    border: 3px #fff solid;
    padding: 10px 15px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    vertical-align: top;
    transition:background .2s linear, color .2s linear;

}
.btn:hover {
    background-color: #fff;
    color: #000;
}

.header {
    padding-top: 30px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}
.header {
    width: 100%;
    padding-top: 10px;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}


/* Nav */
.nav {
    font-size: 14px;
    text-transform: uppercase;
}

.nav__link {
    display: inline-block;
    vertical-align: top;
    margin: 0 30px;
    position: relative;

    color: #fff;
    text-decoration: none;

    transition: color .1s linear;
}

.nav__link:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;

    background-color: #fce38a;
    opacity: 0;

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;

    transition: opacity .1s linear;
}

.nav__link:hover {
    color: #fce38a;
}

.nav__link:hover:after,
.nav__link.active:after {
    opacity: 1;
}

.nav__link.active {
    color: #fce38a;
}   

/* slider */
.slider {
    display: flex;
    padding-top: 90px;
    justify-content: space-between;
    margin-bottom: 22px;
}
.slider__item{
    width: 24%;
    padding-top: 20px 0;
    position: relative;
    
    border-top: 3px solid #fff;
    opacity: 0.7;

    font-size: 18px;
    color: white;
    text-transform: uppercase;
}
.slider__num {
    font-size: 24px;
    font-weight: 700;
}
.slider__item.active {
    opacity: 1;
}
.slider__item.active::before{
    width: 70px;
    height: 3px;
    background-color: #f38181;
    content:"";
    left: 0;
    top: -3px;
    z-index: 1;
    position: absolute;
}
/* section 1 */
.section {
    padding: 80px 0;
}

.section--devices {
    background: url("../img/design/BACKGROUND.jpg") center no-repeat;
    background-size: cover;
    padding-bottom: 0; 
}

.section__suptitle {
    font-size: 24px;
    font-family: "Kaushan Script";
    font-weight: 400;

}
.section__title {
    position: relative;
    font-size: 30px;
    display: inline-block;
    text-transform: uppercase;
    
}
.section__title::after {
    content: "";
    display: block;
    background-color: #f38181;
    top: 100%;

    height: 3px;
    width: 60px;
    margin: 25px auto;
}
.section__header {
    text-align: center;
    max-width: 850px;
    width: 100%;
    margin: 0 auto 40px;
}
.section__text {
    color:#999;
    font-size: 15px;

}
 /* About */
 .about {
     display: flex;
     justify-content: space-between;
 }
 .about__item {
     width: 380px;
 }

.about__item::hover .about__img {
   transform: translate3d( -10px, -10px ,0);
}

.about__item:hover .about__img img {
    opacity: 0.1;

   
}
.about__item{
    background: linear-gradient(to top, rgba(252, 227, 138, 0.9) 0%, rgba(243, 129, 129, 0.9) 100%);
    transition: transform .1s linear;

}
.about__img img{
    display:block;


    transition: opacity .1s linear;
}
/* Statistic */
.statistics {
    background-color: #95e1d3;
}

.stat {
    display: flex;
}

.stat__item {
    flex: 1 1 0;
    text-align: center;
    border-left: #b5eae0 1px solid;

    font-size: 14px;
    text-transform: uppercase;
    color: #ffffff;
    padding-bottom: 90px;
}


.stat__item:last-child {
    border-right: #b5eae0 1px solid;
}

.stat__num {
    font-size: 72px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: Montserrat;
    color: #ffffff;
    padding-top: 90px;
}
/* servise */

.servise {
    padding: 80px 0;
}

.serv {
    text-align: center;
    max-width: 850px;
    width: 100%;
    margin: 0 auto 68px;
}

/* servises */
.servises {
    display: flex;
    padding-bottom: 101px;
}

.servises__item {
    flex: 1 1 0;
    position: relative;
    padding-left: 62px;
    padding-right: 30px;
}

.servises__icon {
    position: absolute;
    z-index: 1;
    top: 9px;
    left: 0;
}

.servises__title {
    color: #333333;
    font-size: 14px;
    text-transform: uppercase;
}

.servises__text {
    color: #999999;
    font-size: 15px;
    line-height: 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;



}


/* devices */
.devices {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.devices__item {
    display: block;
}

.devices__item--phone {
    position: absolute;
    z-index: 1;
    bottom: -85px;
    right: -45px;
}
/* сервис */

.serv--mod {
    padding-top: 125px;;
}

.wedo {
    display: flex;
}

.wedo__item {
    width: 50%;
}
.accordion__item {
    border: #e5e5e5 1px solid;
    position: relative;
    margin-bottom: 9px;
}
.accordion__header {
    border-bottom: 1px solid #e5e5e5 transparent;
    padding: 15px 20px 15px 60px;
    cursor: pointer;
}
.accordion__content {
    padding: 15px 20px;
    font-size: 15px;
    color: #999;
    font-style: italic;
    font-weight: 300;
    display: none;
}

.accordion__title {
    text-transform: uppercase;
    color: #000;
    font-size: 14px;
}

.header__icon {
    position: absolute;
    left: 16px;
    top: 12px;
}

.accordion__header::after {
    content: "";
    position: absolute;
    z-index: 1;
    transform: rotate(135deg);
    border-top: 3px gray solid;
    border-right: 3px gray solid;
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.6;
    right: 5%;
    top: 22px;
}
.accordion__item.active
.accordion__content {
    display: block; 
}
.accordion__item.active
.accordion__header::after {
    transform: rotate(-45deg);
}
.accordion__item.active
.accordion__header {
    border-bottom: 1px solid #e5e5e5
}

/* quote */
.section--gray {
background-color: #f8f8f8;
}

.quote {
    display: flex;
    padding: 0 110px;
    position: relative;
}

.quote__content {
    padding-left: 255px;
}

.quote-icon {
    position: relative;
}
.quote__icon {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0; 
}

.quote__text {
    font-size: 24px;
    font-style: italic;
    color: #999;
    font-weight: 300;
    margin-bottom: 14px;
}
.quote__subtitle {
    font-family: "Kaushan Script", cursive;;
    font-size: 24px;
    color: 0;
}
.quote__subtitle::before {
    content: "";
    margin-right: 10px;
    vertical-align: middle;
    z-index: 1;
    width: 60px;
    height: 3px;
    background-color: #f38181;
    display: inline-block;
}

.quote::before {
    content: "";
    position: absolute;
    z-index: 1;
    transform: rotate(-135deg);
    border-top: 3px gray solid;
    border-right: 3px gray solid;
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.6;
    left: 16px;
    top: 50px;
}

.quote::after {
    content: "";
    position: absolute;
    z-index: 1;
    transform: rotate(45deg);
    border-top: 3px gray solid;
    border-right: 3px gray solid;
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.6;
    right: 16px ;
    top: 50px;
}

/* TEAM */

.team {
    display: flex;
    justify-content: space-between;
}
.team__item {
    width: 380px;
}

.team__item::hover .team__img {
  transform: translate3d( -10px, -10px ,0);
}

.team__item:hover .team__img img {
   opacity: 0.1;

  
}
.team__item{

   transition: transform .1s linear;

}
.team__img img{
   display:block;
    
   width: 380px;
   height: 470px;
   transition: opacity .1s linear;
}
.card__inner {
    width: 380px;
    background: linear-gradient(to top, rgba(252, 227, 138, 0.9) 0%, rgba(243, 129, 129, 0.9) 100%);
   transition: transform .1s linear;
}
.card__name {
    padding-top: 30px;
    margin-bottom: 7px;

    text-transform: uppercase; 
    font-size: 15px;
    text-align: center;
    color: #333;
}
.card__prof {
    font-size: 14px;
    text-align: center;
    color: #acacac;
    font-style: italic;
}

/* works */ 

.works {
    display: flex;

}


.works__col {
    flex: 1 1 0;
}

.works__item {
    position: relative;

    background: linear-gradient(to bottom, #f38181, #fce38a);
}

.works__item:hover  .works__image {
 opacity: .1;
}
.works__item:hover  .works__info {
    opacity: 1;
    
}

.works__image {
    transition: opacity .1s linear;
    display: block;
    height: auto;
    max-width: 100%;
}

.works__info {
    position: absolute;
    color: white;
    z-index: 1;
    top: 50%;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 0 15px;
    opacity: 0;
    transition: opacity .2s linear;
}

.works__title {
    text-transform: uppercase;
    font-size: 14px;
    font-family: Montserrat;

    
}

.works__text {
    font-size: 15px;
    font-style: italic;
}