/*---Fonts---*/

@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Montserrat:ital,wght@0,400;0,700;1,300&family=Roboto:ital,wght@0,400;0,700;1,300&display=swap');

:root{
    --primary-color: #f38181;
    --secondary-color: #eaffd0;
    --secondary-color-variant: #95e1d3;
    --accent-color: #fce38a;
    --gradient: linear-gradient( 180deg, rgba(243, 129, 129, 0.9), rgba(252, 227, 138, 0.9));
    --gradientPhoto:linear-gradient( 180deg, rgba(243, 129, 129, 0.9), rgba(252, 227, 138, 0.9)), url("../img/intro.png");
}


html,
body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #333;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

hr{
    display: block;
    width: 100%;
    height: 1px;
    margin: 40px 0;

    border: 0;
    background-color: #e5e5e5;
}

p {
    margin: 0 0 10px;
}

button{
    display: block;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
}

::selection {
    background: var(--accent-color);
    color: #fff;
}

::-moz-selection {
    background: var(--accent-color);
    color: #fff;
}

::-webkit-selection {
    background: var(--accent-color);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color-variant);
    border-radius: 5px;
}

a {
    text-decoration: none;
    font-size: inherit;
    color: inherit;
}

/*---Container---*/
.container{
    width: 100%;
    max-width: 1230px;
    padding: 0 15px;
    margin: 0 auto;
}

.icon{
    fill: #95e1d3;
    width: 24px;
    height: 24px;
}

.page{
    overflow: hidden;
}

/*---Intro---*/
.intro{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;

    flex-direction: column;
    justify-content: center;

    width: 100%;
    height: 100vh;
    min-height: 820px;
    position: relative;

    background-image: var(--gradientPhoto);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.intro__inner{
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    margin-top: 80px;

}

.intro__title{
    color: #fff;

    font-size: 150px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
}

.intro__title:after{
    content: "";
    display: block;
    width: 60px;
    height: 3px;

    margin: 60px auto 60px;
    background-color: #fff;
}

.intro__suptitle{
    font-family: 'Kaushan Script', cursive;
    font-size: 72px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}


/*---Header---*/
.header{
    width: 100%;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;


    padding-top: 30px;

    transition: all .3s linear;
}

.header--fixed{
    padding: 10px 0;

    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    background-color: #eb8b8d;

    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99999;

    transform: translate3d(0,0,0);
}

.header.active{
    background-color: #eb8b8d;
}

.header__inner{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo{
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.fa-shopping-cart, .fa-search{
    font-size: 18px;
}

/*---Nav---*/
.nav{
    display: flex;
    align-items: center;
    font-size: 14px;
    text-transform: uppercase;
}

.nav__link, .search__btn{
    display: inline-block;
    vertical-align: top;
    margin: 0 10px;
    position: relative;

    text-decoration: none;
    color: #fff;

    transition: color .1s linear;
}

.nav__link:after{
    content: "";
    display: block;
    width: 100%;
    height: 3px;

    background-color: var(--accent-color);
    opacity: 0;

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;

    transition: opacity .1s linear;
}

.nav__link:hover, .search__search-btn:hover{
    color: var(--accent-color);
}

.nav__link:focus{
    outline: none;
    color: var(--accent-color);
}

.nav__link:hover:after,
.nav__link.active:after{
    display: block;
    opacity: 1;
}

.nav__link.active{
    color: var(--accent-color);
}

/* Search */

.search{
    position: relative;
    height: 40px;
    width: 40px;
    margin-right: 15px;
    transition: all .5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search.active{
    width: 250px;
    margin-right: 25px;
}

.search__input{
    height: 100%;
    width: 100%;
    padding: 0 45px 0px 15px;

    border: none;
    border-radius: 50px;
    background-color: #fff;
    outline: none;

    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.1;
    color: #333;

    opacity: 0;

    transition: all .5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search__input:placeholder{
    color: #999;
}

.search__input.active{
    opacity: 1;
}

.search__search-btn{
    height: 40px;
    width: 40px;

    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1;
    transform: translateY(-50%);

    color: #fff;
    line-height: 40px;
    font-size: 18px;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;

    transition: all .2s linear;
}

.search__search-btn.active{
    right: 5px;
    width: 35px;
    height: 35px;
    color: #fff;
    background-color: var(--primary-color);
    font-size: 20px;
    line-height: 35px;

    transform: translateY(-50%) rotate(360deg);
}

.search__search-btn.active:hover{
    background-color: var(--accent-color);
}

.search__cancel-btn{
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: -1;
    opacity: 0;
    transform: translateY(-50%);

    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: all .5s .2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search__cancel-btn.active{
    opacity: 1;
    z-index: 2;
    right: -30px;
    transform: translateY(-50%) rotate(360deg);
}

/* Nav Toggle */
.nav-toggle{
    display: none;
    width: 30px;
    padding: 10px 0;

    font-size: 0;
    color: transparent;

    border: 0;
    background: none;
    cursor: pointer;

    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 1;
}

.nav-toggle__item{
    display: block;
    width: 100%;
    height: 3px;

    background-color: #fff;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    transition: background .2s linear;
}

.nav-toggle.active .nav-toggle__item{
    background: none;
}

.nav-toggle__item:before,
.nav-toggle__item:after{
    content: '';
    width: 100%;
    height: 3px;

    background-color: #fff;

    position: absolute;
    left: 0;
    z-index: 1;
    transition: transform .2s linear;
}

.nav-toggle__item:before{
    top: -8px;
}

.nav-toggle__item:after{
    bottom: -8px;
}


.nav-toggle.active .nav-toggle__item:before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .nav-toggle__item:after {
    bottom: 0;
    transform: rotate(-45deg);
}

/*---Button---*/
.btn{
    display: inline-block;
    vertical-align: top;
    padding: 8px 30px;
    cursor: pointer;

    border: 3px solid #fff;

    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;

    transition: background .1s linear, color .1s linear;
}

.btn:hover{
    background-color: #fff;
    color: #333;
}

/*---Intro-Slider----*/
.intro-slider-nav{
    width: 100%;
    margin-top: 50px;

    position: absolute;
    bottom: 0;
}

.intro-slider-nav__inner{
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.intro-slider-nav__item{
    width: 24%;
    font-size: 18px;
    position: relative;
    padding: 20px 0;
    opacity: 0.5;
    color: #fff;
    text-transform: uppercase;
    position: relative;
}

.intro-slider-nav__item.active{
    opacity: 1;
}

.intro-slider-nav__num{
    font-size: 24px;
    font-weight: 700;
}

.progressbar{
    content: attr(data-el);
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 4px;
    padding: 0;
    background-color: #fff;
}

.intro-slider-nav__item.active>.progressbar>.progress{

    position: absolute;
    top: 0;
    padding: 0;
    background-color: var(--primary-color);
    width: 0%;
    height: 4px;
    transition: all .2s;
}
.intro-slider-nav__link{
    transition: color .2s;
}

.intro-slider-nav__link:hover{
    color: var(--primary-color);
}

/*---Section---*/
.section{
    padding: 80px 0;
}

.section--devices{
    padding-bottom: 0;
    background-color: #f5f5f5;
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url("../img/devices/bg.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    margin-bottom: 40px;
}

.section--clients{
    margin-top: 80px;
    background-color: #f5f5f5;
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url("../img/clients/bg.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.section--gray{
    background-color: #f8f8f8;
}

.section--map{
    background-color: #f5f5f5;
    padding: 40px 0;
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url("../img/map/bg.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.section__header{
    width: 100%;
    max-width: 950px;
    margin: 0 auto 50px;
    text-align: center;
}

.section__suptitle{
    font-style: 24px;
    color: #333;
    font-family: 'Kaushan Script', cursive;
    margin-bottom: 15px;
}

.section__title{
    font-size: 30px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.section__title::after{
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 30px auto 30px;

    background-color: var(--primary-color);
}

.section__text{
    font-family: 'Roboto', sans-serif;
    color: #999;
    font-size: 15px;
}

/*---Card---*/
.card{
    margin: 80px -15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card__item{
    width: 33.333%;
    padding: 0 15px;
}

.card__inner{
    background-color: var(--secondary-color-variant);
    position: relative;
}

.card__item:hover .card__img{
    transform: translate(-10px, -10px);
}



.card__item:hover .card__img img{
    opacity: .1;

}

.card__item:hover .card__content{
    opacity: 1;
}



.card__link{
    height: 100%;
    display: block;
}

.card__img{
    height: 100%;
    background: var(--gradient);
    transition: transform .1s linear;
}

.card__img img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: opacity .1s linear;
}



.card__content{
    width: 100%;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;

    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);

    opacity: 0;
    transition: opacity .2s;
}

.card__info{
    margin-top: 20px;
    text-align: center;
}

.card__name{
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;

    margin-bottom: 5px;
}

.card__prof{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: #999;
    line-height: 24px;
    font-style: italic;

}

/*---Social---*/
.social{
    display: flex;
    justify-content: center;
}

.social__item{
    width: 55px;
    height: 55px;

    padding: 12px 10px;

    background-color: var(--accent-color);
    border-right: 1px solid var(--primary-color);

    font-size: 32px;
    text-decoration: none;
    color: var(--primary-color);
    line-height: 1;

    transition: background .1s linear, color .1s linear;
}

.social__item:last-child{
    border-right: 0;
}

.social__item:hover{
    color: #fff;
    background-color: var(--primary-color);
}

/*---statistics---*/
.statistics{
    background-color: var(--secondary-color-variant)
}

.stat{
    display: flex;
    flex-wrap: wrap;
}

.stat__item{
    flex: 1 1 0;
    padding: 70px 25px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);

    text-align: center;
    color: #fff;
}

.stat__item:last-child{
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.stat__count{
    margin-bottom: 10px;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.stat__text{
    font-size: 14px;
    text-transform: uppercase;
}

/*---Services---*/
.services{
    display: flex;
    flex-wrap: wrap;
}

.services__item{
    position: relative;
    width: 33.333%;
    padding: 0 35px 40px 85px;

    margin-bottom: 40px;
}

.services__item--border{
    border-bottom: 1px solid #e5e5e5;
}

.services__icon{
    position: absolute;
    top: 0;
    left: 25px;
    z-index: 1;

    width: 32px;
    height: 32px;
    fill: var(--secondary-color-variant);
}

.services__title{
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 10px;
}

.services__text{
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #999;
}

/*---Devices---*/
.devices{
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.devices__item{
    display: block;
    max-width: 100%;
    height: auto;
}

.devices__item--iphone{
    position: absolute;
    bottom: -80px;
    right: -35px;
    z-index: 1;
}

/*---What We Do --- */
.wedo{
    display: flex;
    flex-wrap: wrap;
    padding: 0 -15px;
}

.wedo__item{
    width: 50%;
    padding: 0 15px;
}

.wedo__img{
    display: block;
    max-width: 100%;
    height: auto;
}

/*---Accordion---*/
.accordion__item{
    border: 1px solid #e5e5e5;
    border-bottom: 0;
    margin-bottom: 10px;
}

.accordion__header{
    position: relative;
    padding: 15px 65px 15px 65px;
    cursor: pointer;


    border-bottom: 1px solid #e5e5e5;
    transition: background .1s linear;
}

.accordion__icon{
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;

    width: 32px;
    height: 32px;
    fill: var(--secondary-color-variant);

    transform: translateY(-50%);
}

.accordion__title{
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
}

.accordion__arrow{
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 1;

    width: 22px;
    height: 12px;
    fill: #ccc;

    transform: translateY(-50%);

    transition: transform .5s;
}


.accordion__content{
    opacity: 0;
    max-height: 0;
    padding: 0px 20px;

    font-family: 'Robto', sans-serif;
    font-size: 15px;
    color: #999;
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;


    overflow: hidden;

    transition: all 1s;
}

.accordion__item.active{
    border-bottom: 1px solid #e5e5e5;
}

.accordion__item.active > .accordion__content{
    max-height: 180px;
    overflow-y: scroll;
    padding-top: 15px;
    padding-bottom: 15px;
    opacity: 1;
}

.accordion__item.active > .accordion__header > .accordion__arrow{
    transform: rotate(-180deg) translateY(50%);
}
.accordion__content::-webkit-scrollbar {
    width: 5px;
}

.accordion__header:hover{
    background-color: #f5f5f5;
}

/*---Reviews---*/
.reviews__inner{
    padding: 0 100px;
}

.reviews__item{
    padding-left: 205px;
    padding-right: 150px;
    position: relative;
    min-height: 150px;
}

.reviews__photo{
    display: block;
    border: 2px solid var(--secondary-color-variant);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.review__photo--circle{
    object-fit: cover;
    border: 0;
    border-radius: 50%;
    max-width: 150px;
    max-height: 150px;
    width: 100%;
    height: 100%;
}

.reviews__text{
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: #999;

    margin-bottom: 15px;
}

.reviews__author{
    font-family: 'Kaushan Script', cursive;
    font-size: 24px;
    color: #333;
}

.reviews__author:before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 60px;
    height: 3px;
    margin-right: 10px;

    background-color: var(--primary-color);
}

.review-slider-prev:after, .review-slider-next:after{
    font-weight: 700;
    font-size: 32px;
    color: #ccc;
    z-index: 999;
}

/*---Logos---*/

.logos{
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin: 0 -5px;
}

.logos__item{
    flex-basis: 100px;
    flex: 0 1 1;
    padding: 0 5px;
}

.logos__item img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*---Works---*/

.works{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    max-height: 780px;
}

.works__col{
    flex: 1 1 0;
}

.works__item{
    position: relative;
    width: 100%;
    height: 50%;

    background: var(--gradient);
}

.works__item--large{
    height: 100%;
}

.works__item:hover .works__img {
    opacity: .1;
}

.works__item:hover .works__info{
    opacity: 1;
}

.works__img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position:center;

    transition: opacity .1s linear;
}

.works__info{
    opacity: 0;

    width: 100%;
    padding: 0 15px;

    color: #fff;
    text-align: center;

    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;

    transform: translate3d(0, -50%, 0);
    transition: opacity .2s linear;
}

.works__title{
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}

.works__text{
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
}

/*---Clients---*/

.clients{
    display: flex;
    flex-wrap: wrap;
    margin-top: 70px;
}

.clients__item{
    width: 50%;
    padding: 0 45px 0 175px;
    position: relative;

    margin-bottom: 60px;
}

.clients__photo{
    max-width: 110px;
    max-height: 110px;
    width: 100%;
    height: 100%;
    border-radius: 50%;

    position: absolute;
    top: 0;
    left: 40px;
    z-index: 1;
}

.clients__name{
    font-size: 14px;
    color: #333;
    font-weight: 400;
    text-transform: uppercase;

    margin-bottom: 10px;
}

.clients__prof{
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #333;
    font-weight: 300;
    font-style: italic;
}

.clients__text{
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #999;
    font-weight: 400;
}

.clients__text:before{
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 15px 0;

    background-color: var(--primary-color);
}

/*---Blog---*/

.blog{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex: 1 1 0;
}

.blog__item {
    width: 31%;
}

.blog__header{
    position: relative;
    margin-bottom: 20px;
}

.blog__header a{
    display: block;
    height: 240px;
}

.blog__photo{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog__date {
    padding: 10px 20px;

    background-color: var(--secondary-color-variant);

    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-size: 15px;
    color: #fff;
    text-align: center;

    position: absolute;
    bottom: 10px;
    left: -10px;
    z-index: 1;
}

.blog__date-day{
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    font-style: normal;
}

.blog__content{
    margin-bottom: 10px;
}

.blog__title{
    font-weight: 400;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;

    margin-bottom: 20px;
}

.blog__title a:hover{
    text-decoration: underline;
}

.blog__text{
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #999;
    font-weight: 400;
}

.blog__footer{
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
    color: #999;

    padding-top: 14px;
    border-top: 1px solid #e5e5e5;
}

.blog-stat__item{
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}

.blog-stat__item i{
    color: var(--secondary-color-variant);
}

/*---Map---*/

.map{
    text-align: center;
}

.map-icon{
    margin-bottom: 15px;
}

.fa-map-marker-alt{
    font-size: 28px;
}

.map__title:after{
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 15px auto 0;

    background-color: var(--primary-color);
}

.map__title{
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

.map__title a:hover{
    text-decoration: underline;
}

/*---Footer---*/

.footer{
    padding-top: 70px;

    background-color: #f8f8f8;
}

.footer__inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 65px;
    margin: 0 -15px;
}

.footer__col{
    padding: 0 15px;
}

.footer__col--first{
    width: 40%;
}

.footer__col--second{
    width: 29%;
}

.footer__col--third{
    width: 22%;
}

.footer__logo{
    margin-bottom: 40px;

    font-size: 46px;
    font-weight: 700;
    color: #ccc;
}

.footer__text{
    margin-bottom: 40px;

    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #999;
}

.footer__social{
    margin-bottom: 25px;
}

.footer__social-header{
    padding-bottom: 17px;

    font-weight: 400;
    font-size: 14px;
    color: #333;

    border-bottom: 1px solid #e5e5e5;
}

.footer__social-header b{
    font-size: 18px;
    font-weight: 700;
}

.footer__social-content{
    padding-top: 20px;

    font-size: 15px;
    color: #999;
    font-style: italic;
    font-weight: 300;
}

.footer__social-content a{
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;

    font-size: 18px;
    color: var(--secondary-color-variant);
}

.footer__social-content a:first-child{
    margin-left: 20px;
}

.footer__title{
    margin: 30px 0;

    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
}

/*---Subscribe---*/

.subscribe{
    display: flex;
    width: 100%;
    max-width: 380px;
    margin-top: 40px;
}

.subscribe__input{
    width: 60%;
    height: 40px;
    padding: 12px 10px;

    background: #fff;
    border: 1px solid #e7e7e7;
    border-right: 0;

    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.1;
    color: #333;
}

.subscribe__input::placeholder{
    color: #ccc;

}

.subscribe__btn{
    padding: 12px 30px;
    width: 40%;
    height: 40px;

    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;

    background-color: var(--secondary-color-variant);
    border: 0;
    cursor: pointer;

    transition: background .1s linear;
}

.subscribe__btn:hover{
    background-color: #74baad;
}

.subscribe__btn:focus{
    outline: none;
    background-color: #74baad;
}

.subscribe__input:focus{
    outline: none;
    border: 1px solid var(--secondary-color-variant);
}

/*--- BLOGS ---*/

.blogs__item{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

    margin-bottom: 30px;
}

.blogs__img-container{
    display: block;
    flex: 0 0 33.333%;
    min-height: 80px;
}

.blogs__img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blogs__content{
    padding-left: 20px;
}

.blogs__title{
    display: block;
    color: #333;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    text-transform: uppercase;
}

.blogs__title a:hover{
    text-decoration: underline;
}

.blogs__date{
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.85;
    color: #999;
}

/*---Instagram---*/

.instagram{
    display: flex;
    flex-wrap: wrap;
}

.instagram__item{
    display: block;
    flex: 1 1 33.333%;
    border: 1px solid #fff;
}

.instagram__item img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*---Copyright---*/

.copyright{
    border-top: 1px solid #e5e5e5;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.copyright span{
    color: var(--primary-color);
}


/*---Media---*/

@media (max-width: 1230px) {

    /*  Intro  */
    .intro__suptitle{
        font-size: 52px;
    }

    .intro__title{
        font-size: 120px;
    }

    /*  Reviews  */
    .reviews__text {
        font-size: 20px;
    }

}


@media (max-width: 990px) {

    /*  Intro  */
    .intro__suptitle{
        font-size: 32px;
    }

    .intro__title{
        font-size: 80px;
    }

    /*  Stat  */
    .stat{
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }

    .stat__item{
        flex: none;
        width: 100%;
        border: 0;
        padding: 30px 25px;
        border-bottom: 1px solid #fff;
    }

    .stat__item:last-child{
        border: 0;
    }

    /*  Services  */
    .services__item{
        width: 50%;
        padding-bottom: 0;
    }

    .services__item--border{
        border: 0;
    }

    /*  Reviews  */
    .reviews__inner{
        padding: 0 60px;
    }

    .reviews__photo{
        width: 150px;
        height: 150px;
    }

    .reviews__item{
        padding-left: 175px;
    }

    /*  Clients  */
    .clients{
        max-width: 600px;
        margin: 0 auto;
    }
    .clients__item{
        width: 100%;
        padding-right: 0;
    }

    .clients__item:last-child{
        margin-bottom: 0;
    }

    /*  Footer  */
    .footer__col--first{
        width: 100%;
    }

    .footer__logo, .footer__social-header, .footer__social-content{
        text-align: center;
    }

    .subscribe{
        margin: 0 auto;
        margin-top: 30px;
    }

    .footer__col--second,
    .footer__col--third{
        width: 50%;
    }

}

@media (max-width: 770px) {

    /*  Intro  */
    .intro{
        min-height: 650px;
    }

    /*  Header  */
    .header{
        padding: 10px 0;
    }

    /*  Nav  */
    .nav{
        display: block;
        opacity: 0;
        width: 100%;

        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;

        transform: translateY(-100%);

        background-color: #eb8b8d;
        transition: all .5s cubic-bezier(0.50, -0.26, 0.50, 1), opacity .5s ease-in;


    }

    .nav.active{
        opacity: 1;
        top: 100%;
        transform: translate(0);
        z-index: -1;
    }

    .nav-toggle{
        display: block;
    }

    .nav__link{
        display: block;
        margin: 0;
        padding: 10px 20px;
    }

    .search{
        margin: 0;
        padding-left: 20px;
        margin-bottom: 10px;
    }

    .search__search-btn{
        padding-left: 20px;
    }

    .search__search-btn.active{
        padding-left: 0;
    }

    .nav-toggle__item{
        display: block;
    }

    /*  Section  */
    .section{
        padding: 40px 0;
    }

    .section--devices{
        padding-bottom: 0;
    }

    /*  Card  */
    .card{
        margin-top: 50px;
        justify-content: center;
    }

    .card__item{
        width: 100%;
        max-width: 410px;
        margin-bottom: 30px;
    }

    .card__item:last-child{
        margin-bottom: 0;
    }

    /*  Slider  */
    .intro-slider-nav__text{
        display: none;
    }

    /*  Services  */
    .services{
        justify-content: center;
    }

    .services__item{
        width: 100%;
        max-width: 400px;
        padding-left: 55px;
        padding-right: 0;
    }

    .services__icon{
        left: 0;
    }

    /*  Services  */
    .wedo__img{
        display: none;
    }

    .wedo__item{
        width: 100%;
    }

    /*  Services  */
    .reviews__photo{
        margin: 0 auto 20px;
        position: static;
    }

    .reviews__item{
        padding-left: 0;
        padding-right: 120px;
    }

    .reviews__text{
        text-align: center;
        font-size: 16px;
    }

    .reviews__author{
        text-align: center;
        font-size: 20px;
    }

    /*  Works  */
    .works{
        max-height: none;
        flex-wrap: wrap;
    }

    .works__col{
        flex: none;
        width: 50%;
    }

    /*  Blog  */
    .blog{
        max-width: 380px;
        margin: 0 auto;
    }

    .blog__item{
        width: 100%;
        margin-bottom: 30px;
    }

    .blog__item:last-child{
        margin-bottom: 0;
    }

    /*  Footer  */
    .footer__col--second,
    .footer__col--third{
        width: 100%;
    }

    .footer__title{
        text-align: center;
    }

    /*  Footer-blogs, instagram  */
    .blogs, .instagram{
        max-width: 400px;
        margin: 0 auto;
    }

    .blogs__item{
        justify-content: flex-start;
    }

    .blogs__title{
        font-size: 10px;
    }


}

@media (max-width: 575px) {

    /*  Intro  */
    .intro__suptitle{
        font-size: 22px;
    }

    .intro__title{
        font-size: 40px;
    }

    /*  Section  */
    .section__header{
        margin-bottom: 50px;
    }

    .section__suptitle{
        font-size: 20px;
    }

    .section__title{
        font-size: 24px;
    }

    .section__title:after{
        margin: 20px auto;
    }

    /*  Devices  */
    .devices{
        max-width: 320px;
    }

    .devices__item--iphone{
        max-width: 180px;
        bottom: -50px;
        right: -80px;
    }

    /*  Reviews  */
    .reviews__inner, .reviews__item{
        padding: 0;
    }

    .swiper-button-next, .swiper-button-prev{
        top: 20%;
    }

    /*  Logos  */
    .logos{
        flex-wrap: wrap;
        justify-content: center;
    }

    .logos__item{
        margin-bottom: 20px;
    }

    /*  Works  */
    .works__col{
        width: 100%;
        max-height: 580px;
    }

    /*  Clients  */
    .clients__item{
        padding-left: 0;
        text-align: center;
    }

    .clients__photo{
        position: static;
    }

    .clients__text:before{
        margin: 15px auto;
    }

}
