html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;

    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 0.9;
    margin: 0;

}

/*---container---*/
.container {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

/*---header---*/
.header {
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
}

.header.fixed {
    padding: 5px 0;
    background-color: #e98283;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transform: translate3d(0, 0, 0);
    transition: 0.3s ease-out;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    z-index: 10001;
    cursor: pointer;
}

.nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 8px;
}

.nav__link {
    width: 52%;
    margin-left: 50px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
}

.nav__link::after {
    content: "";
    width: 100%;
    height: 3px;
    background: #fff;
    display: block;
    margin-top: 3px;
    opacity: 0;
}

.nav__link.active {
    color: #fce38a;
}

.nav__link.active::after {
    opacity: 1;
    background: #fce38a;
}

.fa-shopping-cart,
.fa-search,
.fa-user-friends,
.fa-facebook-f,
.fa-twitter,
.fa-pinterest-p,
.fa-instagram,
.fa-map-marker-alt,
.fa-tumblr,
.fa-youtube,
.fa-basketball-ball,
.fa-google-plus-g {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Free Solid", "Font Awesome 5 Brands";
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    display: inline-block;
}

.nav__link:hover {
    color: #fce38a;
    transition: 0.1s linear;
}

.nav__link:hover::after {
    opacity: 1;
    background: #fce38a;
    transition: 0.1s linear;
}


/*----nav-toggle---*/
.nav-toggle {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    margin-top: -4px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle:focus {
    outline: none;
}

.nav-toggle__item,
.nav-toggle__item::after,
.nav-toggle__item::before {
    width: 100%;
    height: 3px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 1001;
    transition: 0.2s ease-in;
}

.nav-toggle__item::after,
.nav-toggle__item::before {
    content: "";
    display: block;
    top: 11px;
}

.nav-toggle__item::before {
    top: -8px;
}

.nav-toggle.active .nav-toggle__item {
    background: none;
}

.nav-toggle.active .nav-toggle__item::before,
.nav-toggle.active .nav-toggle__item::after {
    transform: rotate(45deg);
    top: 0;
    left: 0;
}

.nav-toggle.active .nav-toggle__item::after {
    transform: rotate(-45deg);
}

/*--------------------intro-----------------------*/
.intro {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    background: url(../images/intro.jpg) center/cover no-repeat #f38181;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro__inner {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.intro__suptitle {
    font-family: 'Kaushan Script', cursive;
    font-size: 70px;
}

.intro__title {
    font-size: 130px;
    font-weight: bold;
    margin-top: 5vh;
    text-transform: uppercase;
}

.intro__title::after {
    content: "";
    margin: 5vh auto;
    width: 65px;
    height: 3px;
    background: #fff;
    display: block;
}

.btn {
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 28px;
    text-decoration: none;
    color: #fff;
    transition: all .3s linear;
}

.intro__btn {
    border: 3px solid #fff;
    max-width: 160px;
    margin: 0 auto;
}

.btn:hover {
    color: #fce38a;
}

.intro__btn:hover {
    border-color: #fce38a;
    background-color: #fff;
}

/*---slider---*/
.slider {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.slider__inner {
    display: flex;
    justify-content: space-between;
}

.slider__item {
    min-width: 23.5%;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    margin-bottom: 25px;
    position: relative;
    border-top: 3px solid rgba(255, 255, 255, 0.7);
    padding-top: 20px;
    opacity: .7;
}

.slider__item.active {
    opacity: 1;
    border-top: 3px solid rgba(255, 255, 255, 1);
}

.slider__item.active::before {
    content: "";
    width: 25%;
    height: 3px;
    position: absolute;
    top: -3px;
    left: 0;
    background: #f38181;
    display: block;
}

.slider__num {
    font-size: 24px;
    font-weight: 700;
}

.slider__text {
    font-size: 18px;
}

/*-------------------@media--------------*/
@media screen and (max-width:800px) {
    .nav__link {
        margin-left: 15px;
        margin-right: 15px;
    }

    .intro__title {
        font-size: 110px;
    }
}

@media screen and (max-width:670px) {
    .header {
        padding: 5px 0;
    }

    .nav {
        display: none;
        flex-direction: column;
        justify-content: space-around;
        width: 100%;
        position: absolute;
        top: 47px;
        left: 0;
        padding: 20px 20px 10px;
        box-sizing: border-box;
        background-color: #e98283;
    }

    .nav.active {
        display: flex;
    }

    .nav__link {
        width: 100%;
        margin-bottom: 6px;
        margin-top: 6px;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    .nav-toggle {
        display: block;
    }

    .slider__text {
        display: none;
    }

    .intro__suptitle {
        font-size: 57px;
    }

    .intro__title {
        font-size: 90px;
    }
}

@media screen and (max-width:560px) {
    .intro__suptitle {
        font-size: 45px;
    }

    .intro__title {
        font-size: 70px;
    }
}

@media screen and (max-width:440px) {
    .intro__suptitle {
        font-size: 32px;
    }

    .intro__title {
        font-size: 50px;
    }

    .slider__item::before {
        width: 40%;
    }
}

/*-------------------section--------------*/
.section__header {
    padding: 4.7vw 0 0;
    color: #333333;
    text-align: center;
}

.section__suptitle {
    font-family: 'Kaushan Script', cursive;
    font-size: 24px;
    margin-bottom: 15px;
}

.section__title {
    margin-top: 12px;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.section__title::after {
    content: "";
    margin: calc(20px + 1.04vw) auto;
    width: 65px;
    height: 3px;
    background: #f38181;
    display: block;
}

.section__text {
    margin-bottom: 4.7vw
}

/*------text------*/
.text {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #999999;
}

/*----------------------about------------------*/
.about {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
}

.about__item {
    max-width: 380px;
    margin-right: 30px;
    position: relative;
    background: #95e1d3;
}

.about__item:last-child {
    margin-right: auto;
}

.about__img {
    background: linear-gradient(to bottom, #f38181, #fce38a);
}

.about__img img {
    display: block;
    max-width: 100%;
    opacity: 1;
}

.fa-user-friends {
    font-size: 1.8rem;
}

/*---center---*/
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 1000;

}

.about__text {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
}

.about__item:hover .about__img img {
    opacity: 0.1;
    transition: 0.3s linear;
}

.about__img:hover {
    transition: 0.3s linear;
    transform: translate3d(-10px, -10px, 0);
}

.about__item:hover .about__text,
.about__text:hover .about__text {
    opacity: 1;
    transition: 0.3s linear;
}

/*-------------------@media--------------*/
@media screen and (max-width:600px) {
    .about {
        flex-wrap: wrap;
    }

    .about__item {
        margin: 15px auto;
        max-width: 90%;
    }
}

/*------------------statistic------------------*/
.statistic {
    margin: 5.73vw auto 0;
    max-width: 100%;
    background: #95e1d3;
}

.stat__intro {
    display: flex;
    justify-content: space-between;
    height: calc(7vw + 135px);
}

.stat__item {
    height: 100%;
    box-sizing: border-box;
    width: 20%;
    border-left: 1px solid #fff;
    position: relative;
}

.stat__item:last-child {
    border-right: 1px solid #fff;
}

.number {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 72px;
    font-weight: bold;
    height: 128.5px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.stat-text {
    padding-top: 0.5vw;
    font-size: 14px;
    text-transform: uppercase;
}

/*-------------------@media--------------*/
@media screen and (max-width:800px) {
    .number {
        font-size: 52px;
        height: 110px
    }
}

@media screen and (max-width:670px) {
    .number {
        font-size: 42px;
    }
}

@media screen and (max-width:600px) {
    .stat__intro {
        flex-direction: column;
        height: 600px;
    }

    .stat__item {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #fff;
    }

    .stat__item:last-child {
        border-right: none;
        border-bottom: none;
    }

    .number {
        font-size: 72px;
        height: auto;
        padding-left: 0;
        padding-right: 0;
    }
}

/*----------------services----------------*/
.services {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: -1.5vw auto 3.64vw;
}

.serv__item {
    max-width: 33.33%;
    min-width: 33.33%;

    padding: calc(2.08vw + 10px) calc(15px + 0.78vw) calc(2.08vw + 10px) calc(((15px + 0.78vw)*2) + 32px);
    box-sizing: border-box;
    border-bottom: 1px solid #d2d2d2;
    position: relative;
}

.serv__item:nth-child(4),
.serv__item:nth-child(5),
.serv__item:nth-child(6) {
    border-bottom: none;
}

.serv__icon {
    width: 32px;
    height: 31px;
    position: absolute;
    top: calc(2.08vw + 10px);
    left: calc(15px + 0.78vw);
}

.icon__alarm {
    background: url(../images/ALARM.png) center/contain no-repeat;
}

.icon__line {
    background: url(../images/LINE%20GRAPH.png) center/contain no-repeat;
    height: 32px;
}

.icon__computer {
    background: url(../images/COMPUTER%20_%20OK.png) center/contain no-repeat;
    height: 32px;
}

.icon__book {
    background: url(../images/BOOK%202.png) center/contain no-repeat;
    height: 32px;
}

.icon__home {
    background: url(../images/HOME.png) center/contain no-repeat;
}

.icon__image {
    background: url(../images/IMAGE.png) center/contain no-repeat;
}

.serv__text {}

.serv__title {
    padding-bottom: 12px;
    margin: 0;
    line-height: 1;
}

/*------title------*/
.title {
    text-transform: uppercase;
    color: #333;
    font-weight: 500;
}

/*-------------------@media--------------*/
@media screen and (max-width:800px) {
    .serv__item {
        max-width: 50%;
        min-width: 50%;
    }

    .serv__item:nth-child(4) {
        border-bottom: 1px solid #d2d2d2;
    }
}

@media screen and (max-width:600px) {
    .serv__item {
        max-width: 100%;
        min-width: 100%;
    }

    .serv__item:nth-child(5) {
        border-bottom: 1px solid #d2d2d2;
    }
}

/*-------------------devices-------------------*/
.section__devices {
    background: url(../images/Layer%2045.png) center/cover no-repeat #999999;
}

.devices {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.ipod {
    display: block;
}

.iphone {
    display: block;
    position: absolute;
    bottom: -80px;
    right: 0;
    z-index: 1;
}

/*-------------------@media--------------*/
@media screen and (max-width:670px) {
    .devices {
        max-width: 100%;
    }

    .ipod {
        width: 95%;
    }

    .iphone {
        width: 45%;
        bottom: -60px;
    }
}

/*------------------wedo------------------*/
.section__wedo {
    padding-top: 45px
}

.wedo {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
}

.wedo__item {
    height: 380px;
    max-height: 100%;
    width: calc(50% - 30px);
    max-width: calc(50% - 30px);
    position: relative;
    overflow: hidden;
}

.wedo__item img {
    height: 380px;
    width: 570px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate3d(0, -50%, 0);
}

.accordion {
    max-width: 50%;
    width: 50%;
    margin-top: -5px;
    margin-bottom: -10px;
}

.accordion__header {
    display: flex;
    align-items: center;
    border-top: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

.accordion__header::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-top: 4px solid #d2d2d2;
    border-right: 4px solid #d2d2d2;
    transform: translateY(-50%) rotate(-45deg);

    position: absolute;
    right: 15px;
    top: 35px;
    z-index: 10;
    transition: 0.3s linear;
}

.accordion__header.active::after {
    border-top: 4px solid #95e1d3;
    border-right: 4px solid #95e1d3;
    transform: rotate(135deg);
    transition: 0.3s linear;
    top: 15px;
}

.accordion__icon {
    margin: 15px;
}

.icon__picture {
    background: url(../images/PICTURE.png) center/contain no-repeat;
    width: 30px;
    height: 30px;
}

.icon__equalizer {
    background: url(../images/EQUALIZER.png) center/contain no-repeat;
    width: 28px;
    height: 32px;
}

.icon__bullseye {
    background: url(../images/BULLSEYE.png) center/contain no-repeat;
    width: 32px;
    height: 32px;
}

.accordion__content {
    overflow-x: hidden;
    overflow-y: scroll;
    display: none;
    max-height: 160px;
    margin-right: 10px;
}

.accordion__item.active .accordion__content {
    display: block;
}

.accordion__text {
    font-style: italic;
    margin: 5px 55px 5px 15px;
    box-sizing: border-box;
    font-weight: lighter;
}

/*ScrollBar*/
::-webkit-scrollbar-button {
    background-image: url('');
    background-repeat: no-repeat;
    width: 5px;
    height: 10px
}

::-webkit-scrollbar-track {
    background-color: #f5f5f5;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 6px;
    background-color: #95e1d3;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #f38181, #fce38a);
}

::-webkit-resizer {
    background-image: url('');
    background-repeat: no-repeat;
    width: 5px;
    height: 0px
}

::-webkit-scrollbar {
    width: 5px;

}

/*-------------------@media--------------*/
@media screen and (max-width:880px) {
    .wedo__item img {
        left: 50%;
        transform: translate3d(-34%, -50%, 0);
    }
}

@media screen and (max-width:670px) {
    .wedo {
        flex-direction: column;
    }

    .wedo__item {
        width: 100%;
        max-width: 100%;
    }

    .wedo__item img {
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
    }

    .accordion {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width:440px) {
    .wedo__item img {
        left: 50%;
        transform: translate3d(-35%, -50%, 0);
    }

    .accordion {
        margin-top: 0;
        margin-bottom: 0;
    }
}

/*------------section__quote-----------*/
.section__quote {
    background: #f8f8f8;
    width: 100%;
    max-width: 100%;
    margin: 5.7vw auto 0;
}

.slick__slider {
    min-height: 0;
    min-width: 0;
    max-width: 100%;
}

.fa-chevron-left,
.fa-chevron-right {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Free Solid", "Font Awesome 5 Brands";
    font-size: 2.4rem;
    font-weight: 900;
    color: #d2d2d2;
    display: inline-block;
    cursor: pointer;

    position: absolute;
    top: 40%;
    z-index: 10;
}
.fa-chevron-right {
    right: 0;
}
.fa-chevron-left:hover,
.fa-chevron-right:hover {
    color: #95e1d3;
    transition: 0.3s linear;
}
.quote__item {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 calc(3.12vw + 21px);
    padding: 3.65vw 0;
}

.quote__icon {
    height: 7.55vw;
    min-height: 90px;
    width: 7.55vw;
    min-width: 90px;
    
    border: 3px solid #95e1d3;
    position: relative;
}

.quote__img {
    background: url(../images/SPEECH%204.png) center/contain no-repeat;
    width: 63px;
    height: 61px;
}

.quote__content {
    max-width: 770px;
}

.quote__text {
    font-size: 24px;
    line-height: 36px;
    font-style: italic;
    font-weight: lighter;
    margin-left: 3.12vw;
}

.quote__text::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #f38181;
    display: block;
    margin-top: 20px;
}

.autor {
    font-family: 'Kaushan Script', cursive;
    font-size: 24px;
    color: #333333;
    margin-left: calc(70px + 3.12vw);
    margin-top: -22px;
}




/*-------------------@media--------------*/
@media screen and (max-width:670px) {
    
    .quote__item {
        flex-direction: column;
    }

    .quote__text {
        margin:  3.12vw 0 0;
    }
}

/*---------------------card---------------------*/
.card {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5.98vw;
}

.card__item {
    max-width: 380px;
    margin-right: 30px;
}

.card__item:last-child {
    margin-right: auto;
}

.card__inner {
    position: relative;
    background: #95e1d3;
    margin-bottom: calc(5px + 1.04vw);
}

.card__img {
    background: linear-gradient(to bottom, #f38181, #fce38a);
}

.card__img img {
    display: block;
    max-width: 100%;
    opacity: 1;
}

.card__item:hover .card__img img {
    opacity: 0.1;
    transition: 0.3s linear;
}

.card__img:hover {
    transition: 0.3s linear;
    transform: translate3d(-10px, -10px, 0);
}

.card__icons {
    max-width: calc(120px + 6.24vw);
    height: calc(30px + 1.56vw);
    min-height: 40px;
    display: flex;
    opacity: 0;
}

.card__icons__wrapper {
    width: calc(30px + 1.56vw);
    min-width: 40px;
    height: calc(30px + 1.56vw);
    min-height: 40px;
    background: #fce38a;
    border-right: 1px solid #f38181;
    position: relative;
}

.card__icons__wrapper:last-child {
    border-right: none;
}

.card__item:hover .card__icons,
.card__icons:hover {
    opacity: 1;
    transition: 0.3s linear;
}

.icons-fa {
    font-size: 2rem;
    color: #f38181;
    text-decoration: none;
}

.card__icons__wrapper:hover {
    background: #f38181;
    transition: 0.1s linear;
}

.card__icons__wrapper:hover .icons-fa {
    color: #fff;
    transition: 0.1s linear;
}

/*---name---*/
.name {

    padding-bottom: 0.41vw;
    text-transform: uppercase;
    color: #333;
    font-weight: 500;
}

/*---prof---*/
.prof {
    font-style: italic;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #999999;
}

.card__name,
.card__prof {
    text-align: center;
}

/*-------------------@media--------------*/
@media screen and (max-width:670px) {
    .card {
        flex-wrap: wrap;
    }

    .card__item {
        margin: 0 auto;
        max-width: 90%;
    }
}

/*-------------------logotyp-------------------*/
.logotyp {
    background: #f8f8f8;
    width: 100%;
    max-width: 100%;
    min-height: 13vw;
    padding: 3.64vw 0;
    box-sizing: border-box;
}

.logotyp__img {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.logotyp__img img {
    max-width: 100%;
    height: auto;
}

.logotyp__item {
    width: 16.66%;
    position: relative;
}

.logotyp__item-1 {
    width: 116px;
    height: 114px;
}

.logotyp__item-2 {
    width: 96px;
    height: 95px;
}

.logotyp__item-3 {
    width: 132px;
    height: 130px;
}

.logotyp__item-4 {
    width: 122px;
    height: 99px;
}

.logotyp__item-5 {
    width: 121px;
    height: 120px;
}

.logotyp__item-6 {
    width: 117px;
    height: 122px;
}

/*-------------------@media--------------*/

@media screen and (max-width:780px) {
    .logotyp__item {
        margin: 2vw auto;
    }

    .logotyp__img {
        flex-wrap: wrap;
    }

    .logotyp__item {
        max-width: 33%;
        min-width: 33%
    }
}

@media screen and (max-width:470px) {
    .logotyp__img img {
        max-width: 85%;
    }
}

/*-----------------------work-----------------------*/
.work__bg {
    background: #f8f8f8;
}

.work {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background-color: #333;
    display: flex;
}

.work__wrapper {
    width: 50%;
    max-width: 50%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.work__item {
    width: 50%;
    max-width: 50%;
}

.work__img {
    background: linear-gradient(to bottom, #f38181, #fce38a);
    position: relative;
}

.work__img img {
    display: block;
    max-width: 100%;
    opacity: 1;
}

.work__item-6 {
    position: absolute;
    top: 0;
    right: 0;
}

.work__item-7 {
    position: absolute;
    bottom: 0;
    right: 0;
}

.work__item:hover .work__img img {
    opacity: 0.1;
    transition: 0.3s linear;
}

.work__item:hover .work__text__content {
    opacity: 1;
    transition: 0.3s linear;
}

/*-----------------------------*/
.work__text__content {
    text-align: center;
    opacity: 0;
    color: #fff;
}

.work__icon {
    background: url(../images/PICTURE2.png) center/contain no-repeat;
    width: 30px;
    height: 30px;
    margin: 0 auto;
}

.work__title {
    text-transform: uppercase;
    font-weight: 400;
    padding: 11px 0 8px;
}

.work__text {

    font-family: 'Roboto', sans-serif;
    font-size: 15px;

    font-style: italic;
    font-weight: lighter;
}

/*-------------------@media--------------*/
@media screen and (max-width:880px) {
    .work {
        flex-direction: column;
    }

    .work__wrapper {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width:440px) {
    .work__item {
        width: 100%;
        max-width: 100%;
        position: static;
    }
}

/*----------------------testi----------------------*/
.testi__item {
    display: flex;
    padding: 5.2vw 0;
    margin: 0 calc(3.12vw + 21px);
    align-items: center;
}
.testi__content {
    max-width: 770px;
}
.testi__text {
    font-size: 24px;
    line-height: 36px;
    font-style: italic;
    font-weight: lighter;
    margin-left: 3.12vw;
}

.testi__text::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #f38181;
    display: block;
    margin-top: 20px;
}

.testi__photo img {
    height: 210px;
    min-height: 90px;
    width: 210px;
    min-width: 90px;
}

/*-------------------@media--------------*/
@media screen and (max-width:670px) {
    .testi__item {
        flex-direction: column;
    }

    .testi__text {
        margin:  3.12vw 0 0;
    }
}

/*-------------------clients-------------------*/
.section__clients {
    background: url(../images/Layer%2045.png) center/cover no-repeat #999999;
}

.clients {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0.78vw 0 4.95vw;
}

.clients__item {
    max-width: 50%;
    min-width: 50%;
    box-sizing: border-box;
    position: relative;
}

.clients__item img {
    position: absolute;
    left: calc(20px + 0.78vw);
    top: calc(20px + 0.78vw);
}

.clients__content {
    padding: calc(20px + 1.3vw) 2.08vw 1.82vw calc(150px + 1.56vw);
    text-align: left;
}

.clients__prof {
    color: #333333;
}

.clients__prof::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #f38181;
    display: block;
    margin: calc(10px + 0.41vw) 0;
}

/*-------------------@media--------------*/
@media screen and (max-width:880px) {
    .clients {
        flex-direction: column;
    }

    .clients__item {
        max-width: 100%;
        min-width: 100%;
    }
}

@media screen and (max-width:600px) {
    .clients__item {
        display: flex;
        flex-direction: column;
    }

    .clients__item img {
        max-width: 100%;
        position: static;
        margin: auto;
    }

    .clients__content {
        padding: calc(20px + 1.3vw) 0 calc(20px + 1.3vw) 0;
        text-align: center;
    }

    .clients__prof::after {
        margin: calc(10px + 0.41vw) auto;
    }
}

/*----------------------blog----------------------*/
.blog {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5.2vw;
}

.blog__item {
    max-width: 380px;
    margin-right: 30px;
}

.blog__item:last-child {
    margin-right: 0;
}

.blog__item__img {
    position: relative;
    margin-bottom: 15px;
}

.blog__item__img img {
    width: 100%;
    height: auto;
}

.blog__date__wrapper {
    background: #95e1d3;
    width: 60px;
    height: 70px;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: -10px;
}

.blog__date {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    padding-top: 14px;
}

.blog__month {
    font-style: italic;
    font-weight: lighter;
    color: #fff;
    line-height: 1;
}

.blog__text {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid #d2d2d2;
}

.blog__content {
    display: flex;
    font-style: italic;
    align-items: center;
    margin: 14px 0;
}

.view {
    background: url(../images/blog/VIEW.png) center/contain no-repeat;
    width: 20px;
    height: 12px;
    margin-right: 6px;
}

.speech {
    background: url(../images/blog/SPEECH%20BUBBLE%202.png) center/contain no-repeat;
    width: 16px;
    height: 15px;
    margin-right: 6px;
    margin-left: 16px;
}

/*----------------------------------------------*/
@media screen and (max-width:600px) {
    .blog {
        flex-wrap: wrap;
    }

    .blog__item,
    .blog__item:last-child {
        margin: 0 auto;
        max-width: 90%;
    }
}

/*---------------------map---------------------*/
.section__map {
    background: url(../images/Layer%2059.png) center/cover no-repeat;
}

.map {
    width: 100%;
    padding: 57px 0;
    margin: 0 auto;
}

.fa-map-marker-alt {
    display: block;
    text-align: center;
    font-size: 1.8rem;
    color: #f38181;
    padding-bottom: 15px;
}

.map__title {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #f38181;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

.map__title::after {
    content: "";
    margin: 20px auto 0;
    width: 65px;
    height: 3px;
    background: #f38181;
    display: block;
}

.map:hover .fa-map-marker-alt,
.map:hover .map__title {
    color: #fff;
    transition: 0.3s linear;
}

.map:hover .map__title::after {
    background: #fff;
    transition: 0.3s linear;
}

/*---------------------footer---------------------*/
.footer {
    background-color: #f8f8f8;
}

.footer__wrapper {
    padding-top: 3.64vw;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    border-bottom: 1px solid #d2d2d2;
}

.footer__content {
    max-width: 480px;

    position: relative;
    padding-right: 30px;
    margin-bottom: 3.64vw;
}

.footer__title {
    color: #cccccc;
    font-size: 46px;
    font-weight: bold;
    line-height: 1;
    padding-bottom: 40px;
}

.footer__fallowers {
    padding: 40px 0 15px;
    color: #333333;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid #d2d2d2;
}

.footer__fallowers span {
    font-size: 14px;
    font-weight: 500;
}

.footer__social {
    padding: 15px 0 1.82vw;
}

.footer__social .text {
    font-style: italic;
}

.social {
    color: #95e1d3;
    padding-left: 15px;
}

.email {
    color: #cccccc;
    font-style: italic;
    padding-left: 10px;
    width: 230px;
    height: 38px;
    border: 1px solid #d2d2d2;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
}

.submit {
    width: 150px;
    height: 38px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    background-color: #95e1d3;
    cursor: pointer;
    border: none;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 230px;
}

.submit:focus {
    outline: none;
}

/*-----------------footer__blogs-----------------*/
.footer__blogs {
    font-weight: 500;
    width: 390px;
    padding-right: 30px;
    margin-bottom: 3.64vw;
}

.footer__blogs__item {
    margin-top: 30px;
    height: 80px;
    display: flex;
    position: relative;
}

.footer__blogs__item:first-child {
    margin-top: 0;
}

.footer__blogs__wripper {
    height: 300px;
    padding-top: 55px;
}

.footer__blogs__content {
    max-width: 250px;
    position: absolute;
    top: 50%;
    left: 140px;
    transform: translateY(-50%);
}

.footer__date {
    color: #999;
    font-style: italic;
    font-weight: lighter;
    font-size: 13px;
    padding-top: 5px;
}

/*-----------------footer__instagram--------------*/
.footer__instagram {
    margin-bottom: 3.64vw;
    overflow: hidden;
}

.footer__instagram__wripper {
    display: flex;
    max-width: 270px;
    max-height: 273px;
    flex-wrap: wrap;
    padding-top: 55px;
}

.footer__instagram__item {
    padding-right: 3px;
    padding-bottom: 3px;
    width: 88px;
    max-width: 33.33%;
    height: 88px;

}

.footer__instagram__item img {
    width: 100%;
    height: auto;
}

.footer__instagram__item:nth-child(3n) {
    padding-right: 0;
}

.footer__more {
    text-decoration: none;
    width: 270px;
    display: block;
    line-height: 1;
    font-size: 13px;
    font-style: italic;
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
    color: #333;
    padding-top: 10px;
}

.footer__bottom {
    color: #333;
    text-align: center;
    padding: 25px 0;
}

/*----------------------------------------------*/
@media screen and (max-width:1250px) {
    .footer__wrapper {
        justify-content: center;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__content,
    .footer__instagram,
    .footer__blogs {
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__content {
        max-width: 720px;
        margin-bottom: calc(3.64vw + 38px);
    }

    .footer__instagram {
        padding-left: 15px;
        margin-right: 0;
    }

    .footer__blogs {
        width: 340px;
        margin-left: 0;
    }

    .footer__title {
        padding-bottom: 2.08vw;
    }

    .footer__fallowers {
        padding: 2.08vw 0 15px;
    }

    .footer__instagram__wripper,
    .footer__blogs__wripper {
        padding-top: 2.86vw;
    }

    .footer__blogs__content {
        left: 130px;
        min-width: 200px;
        max-width: 310px;
    }

    .footer__date {
        padding-top: 3px;
    }

    .email,
    .submit {
        bottom: -38px;
    }
}

@media screen and (max-width:680px) and (min-width:590px) {

    .footer__wrapper,
    .footer__content {
        max-width: 537px;
    }

    .footer__instagram {
        width: 182px;
    }

    .footer__instagram__item {
        max-width: 50%;
    }

    .footer__instagram__item:nth-child(3n) {
        display: none;
    }
}

@media screen and (max-width:590px) {

    .footer__wrapper,
    .footer__content,
    .footer__blogs {
        width: 100%;
    }

    /*
    .footer__content {
        min-height: 300px;
    }
*/
    .footer__blogs__content {
        max-width: calc(100% - 130px);
        min-width: calc(100% - 130px);
    }

    .footer__instagram {
        width: 100%;
        padding-left: 0;
    }

    .footer__instagram__wripper {
        max-width: 100%;
    }

    .footer__instagram__item:nth-child(3n) {
        padding-right: 3px;
    }

    .footer__instagram__item {
        max-width: auto;
    }
}

@media screen and (max-width:501px) and (min-width:411px) {
    .footer__instagram__wripper {
        max-height: 182px;
    }
}

@media screen and (max-width:426px) {
    .email {
        width: 190px;
    }

    .submit {
        width: 90px;
        left: 190px;
    }

    .footer__social {
        padding-bottom: 15px;
    }

    .footer__social .text {
        display: none;
    }

    .fa-facebook-f {
        padding-left: 0;
    }
}
