body{
    margin: 0px;

    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #6c7279;
    -webkit-font-smoothing: antialiased;
}
*,
*:before,
*:after{
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6{
    margin: 0;
}
p{
    margin: 0 0 10px;
}

/* Container 
===================*/
.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header 
===================*/
.header{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100px;

}

.header.fixed{
    position: fixed;
    background-color: #313550;
    height: auto;
}

.header.fixed .header__inner{
    padding: 15px 0;
    border-bottom: 0;
}

.header__inner{
    display: flex;
    justify-content: space-between;
    padding: 35px 0;
    border-bottom: 1px solid #515369;
    align-items: center;
}

.nav{
    display: flex; 
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;    
}

.nav__link{
    margin-left: 50px;
    color: #cbccd3;
    text-decoration: none;
    opacity: .75;
    transition: opacity .2s linear ;
}

.nav__link:first-child{
    margin-left: 0;
}

.nav__link:hover{
    opacity: 1;
}

/* intro
===================*/

.intro{

    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 750px;
    padding-top: 100px;
    background: #313550 url(img/intro-bg.jpg) center no-repeat;
    background-size: cover;
}

.intro__inner{
    max-width: 970px;
    margin: 0 auto;
    text-align: center;
}


.intro__title{
    margin: 0 0 30px;
    font-family: "Open Sans", sans-serif;
    font-size: 65px;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.intro__subtitle{
    font-size: 22px;
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 60px;
}

/* Button 
===================*/

.btn{
    display: inline-block;
    padding: 14px 40px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    vertical-align: top;
    text-align: center;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.1s  linear;
}

.btn--red{
    background-color: #e84545;

}
.btn--red:hover{
    background-color: #d32a2a;
}

.btn--long{
    width: 280px;
}

/* Features
===================*/
.features{
    display: flex;
    margin: 100px 0;
    flex-wrap: wrap;
}

.features__item{
    width: 33.3333%;
    text-align: center;
    padding: 0 40px;
    margin: 25px 0;
    
}

.features__icon{
    margin-bottom: 25px;
}

.features__title{
    font-size: 14px;
    font-weight: 700;
    color: #6c7279;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.features__text{
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #6c7279;
}

/* Features
===================*/

.works{
    display: flex;
    flex-wrap: wrap;
}

.works__item{
    width: 25%;
    height: 350px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    position: relative;
    overflow: hidden;
}

.works__item:hover .works__content{
    opacity: 1;
}

.works__photo{
    min-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate3d(-50%, -50%, 0);
}

.works__content{
    opacity: 0;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: rgba(232, 69, 69, .9);
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: .2s linear;

}

.works__title{
    font-style: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
    cursor: default;
}

.works__text{
    font-style: 14px;
    color: #fff;
    cursor: default;
}

/* Team
===================*/

.team{
    margin: 100px 0 70px 0;
}

.team__inner{
    display: flex;
    flex-wrap: wrap;
    padding: 0 -15px;
}

.team__item{
    width: 25%;
    text-align: left;
    padding: 0 15px;
    margin: 30px 0;
}

.team__photo{
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.team__name{
    font-size: 22px;
    font-weight: 600;
    color: #2d3033;
    margin-bottom: 10px;
}

.team__prof{
    font-size: 14px;
    color: #e84545;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.team__text{
    color:#767b82;
    font-weight: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Social
===================*/

.social{
    display: flex;
}

.social--footer{
    justify-content: center;
}

.social__item{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e8ecee;
    margin-right: 4px;
    background-color: #fff;

    transition: background .1s linear;
}

.social__item:hover{
    background-color: #e8ecee;
}
.social__item:hover .social__icon{
    fill: black;

}

.social--footer .social__item{
    background-color: transparent;
    border-radius: 2px;
    border: 2px solid #fff;
    border-color: #fff;
    color: #fff;
}

.social--footer .social__item:hover{
    background-color: #fff;
}

.social__icon{
    display: block;
    fill: #c6cacc;
    height: 18px;
    transition: fill .1s linear;
}

.social--footer .social__icon{
    fill: #fff;
}

/* Reviews
===================*/

.reviews{
    overflow: hidden;
    background-color: #53354a;
}

.reviews__slider{
    height: 500px;
    overflow: hidden;
}

.reviews__slider.slick-initialized{
    height: auto;
}

.reviews__item{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.reviews__photo{
    width: 50%;
    height: 500px;
    position: relative;
}

.reviews__content{
    width: 50%;
    height: 100%;
    padding-left: 80px;
}

.reviews__img{
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 0;

    transform: translateY(-50%);
}
.reviews__text{
    font-family: "Cardo" , sans-serif;
    font-style: italic;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.reviews__author{
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
}

.slick-dots{
    display: flex;
    justify-content: center;
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 0 0 10px;
    width: 50%;
    z-index: 2;
    bottom: 0;
    right: 0;
}

.slick-dots li{
    margin: 0 5px;
}

.slick-dots button{
    height: 15px;
    width: 15px;
    border-radius: 50%;
    border: 0;
    font-size: 0;
    background: #fff;
    opacity: .5;
    padding: 0;
    color: transparent;
    cursor: pointer;
}

.slick-dots button:focus{
    outline: 0;
}

.slick-dots .slick-active button{
    opacity: 1;
}

/* Download
===================*/

.download{
    padding: 90px 0;
    text-align: center;

}

.download__title{
    font-size: 28px;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    margin-bottom: 15px;
    color: #787a7b;
}

.download__text{
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: center;
    color: #444648;

}

/* Footer
===================*/

.footer{
    background-color: #3a3e64;
}

.footer__inner{
    display: flex;
    flex-wrap: wrap;
    padding: 70px 0;

}

.footer__block{
    width: 33.3333%;
    text-align: center;
    padding: 0 15px;
}

.footer__title{
    text-transform: uppercase;
    font-size: 14;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.footer__text{
    font-size: 14;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.copyright{
    background-color: #313454;
    padding: 20px 0;
    text-align: center;
}

.copyright__text{
    color: #808080;
    font-size: 14px;
    line-height: 1.5;
}

.copyright__text span{
    color: #ffffff;
}


/* Burger-menu
===================*/

.burger{
    display: none;
    border:0;
    background:0;
    cursor: pointer;
    padding: 10px 2px;
}

.burger__item{
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    font-size: 0;
    color: transparent;

    position: relative;
}

.burger__item:before,
.burger__item:after{
    content: "";
    width: 100%;
    height: 100%;
    background-color: #fff;

    position: absolute;
    left: 0;
    z-index: 1;

}

.burger__item:before{
    left: 0;
    top: -8px;
    height: 2.8px;
}

.burger__item::after{
    left: 0;
    top: 8px;
}




/* Media запросы
===================*/





@media(max-width: 1300px){
     /* Works */
    .works__item{
        width: 50%;
    }
}

@media(max-width: 991px) {

     /* Nav */
    .nav{
        display: none;
        flex-direction: column;
        position: absolute;
        width: 100%;
        right: 0;
        top: 100%;
        text-align: right;
        background-color: #313550; 
     }
    
    .nav.show{
        display: flex;
    }
    
    .nav__link{
        padding: 9px 15px;
    }
    
    .burger{
         display: block;
     }

    /* Intro */
    .intro__title{
        font-size: 40px;
    }

    /* Features */
    .features__item{
        width: 50%;
    }

    /* Team */
    .team__item{
        width: 50%;
    }

    /* Reviews  */
    .reviews__photo{
        width: 100%;
        overflow: hidden;
        margin: 40px 0;
    }
    .reviews__content{
        width: 100%;
    }
    .reviews__img{
        right: -15px;
    }

    .reviews__content{
        padding-left: 0;
        padding-bottom: 40px;
    }

}

@media(max-width: 767px){

    /* intro */
    .intro{
        height: auto;
        padding-top: 130px;
        padding-bottom: 30px;
    }

    .intro__title{
        font-size: 30px;

    }
    .intro__subtitle{
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Features */
    .features{
        margin-top: 40px;
        margin-bottom: 40px;

    }
    .features__item{
         width: 100%;
         padding-left:0;
         padding-right:0;
        }

    /* Works */
    .works__item{
        width: 100%;
        height: 300px;
    }

    /* Team */
    .team{
        margin: 50px 0 30px;
    }

    .team__item{
        width: 100%;
    }

    /* Reviews */
    .reviews__text{
        font-size: 24px;
    }

    /* Btn */
    .btn--long{
        max-width: 250px;
    }

    /* Download */
    .download{
        padding: 50px 0;
    }

    .download__title{
        font-size: 22px;
    }


    /* Foooter */
    .footer__inner{
        padding: 30px 0;
    }

    .footer__block{
        width: 100%;
        margin-bottom: 20px;
        padding-left: 0;
        padding-right: 0;
    }

    .footer__block:last-child{
        margin-bottom: 0;
    }
    
}

@media(max-width: 767px){
    /* Reviews */
    .reviews__img{
        right:-130px;
    }
}