body {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #6c7279;
    margin: 0;

    -webkit-font-smoothing: antialiased;
    /*font-family: 'Cardo', serif;
    font-family: 'Open Sans', sans-serif;*/
}

*,
*: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;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    height: 100px;

}

.header__inner {
    display: flex;
    justify-content: space-between;

    padding: 35px 0;
    align-items: center;

    border-bottom: 1px solid #515369;
    
}
.header.fixed {
    position: fixed;
    background-color: #333751;

    height: auto;
}
.header.fixed .header__inner {
    padding-bottom: 15px;
    padding-top: 15px;

    border-bottom: 0;
}

/* nav
========================*/

.nav {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;

    display: flex;

}

.nav__link {
    color: #fff;
    text-decoration: none;
    opacity: .75;
    margin-left: 50px;

    transition: opacity .1s linear;

}

.nav__link:first-child {
    margin-left: 0;
}

.nav__link:hover {
    opacity: 1;

}

/* intro
========================*/

.intro {
    height: 750px;
    padding-top: 100px;

    background: #333751 url("../imeges/intro.jpg") center no-repeat;
    background-size: cover;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro__inner {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    text-align: center;

}

.intro__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 65px;
    color: #fff;

    
    font-weight: 700;
    text-transform: uppercase;

    margin: 0 0 30px;
    line-height: 1.1;

}

.intro__suptitle {
    font-size: 22px;
    color: #fff;
    line-height: 1.5;
    font-weight: 400;

    margin-bottom: 60px;

}

/* button
========================*/
.btn {
    display: inline-block;
    vertical-align: top;
    font-size: 13px;
    font-family: 'Raleway', sans-serif;

    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 40px;

    border-radius: 2px;
    border: 0;
    cursor: pointer;
    text-decoration: none;

    transition: background .1s linear;
    text-align: center;

}

.btn--red {
    background-color: #e84545;
}

.btn--red:hover {
    background-color: #702020;
}

.btn--long {
    min-width: 280px;
}

/* features 
========================*/

.features {
    display: flex;
    margin: 95px 0;
    flex-wrap: wrap;

}

.features__item {
    width: 33.333333%;
    text-align: center;
    padding: 0 40px;
    margin: 25px 0;
}

.features__title {
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    color: #2d3033;
    

    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 700;
}
.features__text {
    color: #6c7279;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;

}

.features__icon {
    margin-bottom: 25px;

}

/* works
========================*/
.works {
    display: flex;
    flex-wrap: wrap;


}

.works__item {
    width: 25%;
    position: relative;
    overflow: hidden;

    height: 350px;

    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;

}

.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 {
    z-index: 2;
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;

    background-color: rgb(232, 69, 69, 0.9);

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: center;

       
    opacity: 0;
    transition: opacity linear .1s;

}

.works__title {
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    color: #fff;

    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.works__text {
    font-size: 14px;
    color: #fff;
}

/* Team
========================*/

.team {
    margin: 100px 0 70px;
}

.team__inner {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.team__item {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 30px;

}

.team__photo {
    display: block;
    max-width: 100%;
    height: auto;

    margin-bottom: 20px;
}

.team__title {
    font-size: 22px;
    font-family: 'Raleway', sans-serif;
    color: #2d3033;
    font-weight: 300;

    text-transform: uppercase;
    margin-bottom: 8px;

}
.team__prof {
    font-size: 13px;
    font-family: 'Raleway', sans-serif;
    color: #e84545;
    font-weight: 300;

    text-transform: uppercase;
    margin-bottom: 15px;

}

.team__text {
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    color: #6c7279;
    font-weight: 300;

    line-height: 1.5;

    margin-bottom: 20px;

}

/* Social_icons
========================*/

.team__social {
    display: flex;

}

.social__item {
    width: 40px;
    height: 40px;
    margin-right: 4px;

    border: 1px solid #e8ecee;

    display: flex;
    justify-content: center;
    align-items: center;

}

.social--footer {
    justify-content: center;
    

}

.social__icon {
    fill: #c6cacc;
    height: 20px;

    transition: .1s linear;
}

.social__item:hover {

    background: #c8d1db;
    
}

.social__item:hover .social__icon{
    fill: #d3403f;
    
}

.social--footer .social__item {
    background: transparent;
    border-width: 2px;
    border-color: #fff;
    border-radius: 2px;
}

.social--footer .social__item:hover {
    background-color: #fff;
}

.social--footer .social__icon {
    fill: #fff;

}


/* Reviews
========================*/

.reviews {
    background-color: #53354a;
    overflow: hidden;
}

.reviews__item {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.reviews__photo {
    width: 50%;
    height: 500px;
    position: relative;

}

.reviews__img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    z-index: 1;

}

.reviews__content {
    width: 50%;
    padding-left: 80px;
    display: flex;
    flex-direction: column;

    justify-content: center;
}

.reviews__text {
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 36px;
    line-height: 1.2;
    color: #fff;

    margin-bottom: 25px;

}

.reviews__author {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;

}

/* reviews__slider
========================*/
.reviews__slider {
    height: 500px;
    overflow: hidden;
}

.reviews__slider.slick-initialized {
    height: auto;
}

.slick-dots {
    width: 50%;
    position: absolute;
    display: flex;
    justify-content: center;

    bottom: 0;
    right: 0;
    margin: 0;
    padding: 0;

    z-index: 2;
    list-style: none; 
}

.slick-dots li {
    margin: 0 5px;
    padding-bottom: 20px;
}

.slick-dots button {
    background: #fff;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    opacity: .5;

    border: 0;
    padding: 0;
    font-size: 0;
    color: transparent;

    cursor: pointer;
}

.slick-dots button:focus {
    outline: 0;
}
.slick-dots .slick-active button {
    opacity: 1;

}

/* download 
========================*/

.download {
    margin: 90px 0;
    text-align: center;

}

.download__title {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: #2d3033;
    font-size: 28px;

    margin-bottom: 15px;

}

.download__text {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: #2d3033;
    text-transform: uppercase;

    font-size: 13px;
    margin-bottom: 30px;

}

/* Footer 
========================*/

.footer {
    background-color: #3a3e64;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    padding: 70px 0;

}

.footer__block {
    width: 33.333333%;
    text-align: center;
    padding: 0 15px;
}

.footer__title {
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    font-weight: 400;

    margin-bottom: 10px;
}

.footer__address {
    color: rgb(255, 255, 255, .5);
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
}

.footer__text {
    color: rgb(255, 255, 255, .5);
    font-size: 14px;
    line-height: 1.5;
}

/* footer copyright 
========================*/
.footer__copyright {
    background-color: #313454;
}

.footer__copyright__text {
    color: #808080;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;

    line-height: 1.8;
    padding: 20px 0;

}

.footer__copyright__text span {
    color: #fff;

}

/*Burger
========================*/

.burger {
    display: none;
    background: none;
    border: 0;
    padding: 9px 2px;

    cursor: pointer;

    outline: none;
}

.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 {
    top: -8px;
}
.burger__item:after {
    bottom: -8px;
}

/* @media
========================*/

@media (max-width:1300px) {
    /* works */
    .works__item {
        width: 50%;
    }

}
@media (max-width:991px) {

    /* nav */
    .nav {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;

        flex-direction: column;
        text-align: right;
        width: 100%;

        background-color: #333751;

    }

    .nav.show {
        display: flex;
    }
    .nav__link {
        padding: 10px 15px;
    }

    /* burger */
    .burger {
        display: block;
    }

    /* intro */
    .intro__title {
        font-size: 40px;
    }

    /* Feature */
    .features__item {
        width: 50%;
    }

    /* Team */
    .team__item {
        width: 50%;
        text-align: center;
    }
    .team__photo {
        margin-right: auto;
        margin-left: auto;
    }

    /* social */
    .team__social {
        justify-content: center;
    }

    /* reviews */
    .reviews__photo {
        width: 100%;
        margin: 15px 0 40px;
        overflow: hidden;
    }
    .reviews__content {
        width: 100%;
        padding-left: 0;
        padding-bottom: 40px;
    }

    /* Footer */
    .footer__block {
        width: 100%;
        margin-bottom: 30px;
    }
    .footer__inner {
        padding: 30px 0;
    }
    .footer__block:last-child {
        margin-bottom: 0;
    }
}

@media (max-width:767px) {

    /* intro */
    .intro {
        height: auto;
        padding-top: 130px;
        padding-bottom: 30px;
    }
    .intro__title {
        font-size: 30px;
    }
    .intro__suptitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Feature */
    .features {
        margin: 40px 0;
        }
    .features__item {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* works */
    .works__item {
        width: 100%;
        height: 300px;
    }

    /* Team */
     .team {
         margin: 60px 0 30px 0;
     }
     .team__item {
        width: 100%;
    }

    /* reviews */
    .reviews__text {
        font-size: 25px;
    }

    /* button */
    .btn--long {
        min-width: 260px;
    }

    /* Downoload */
    .download {
        margin: 50px 0;
    }
    .dowmload__title {
        font-size: 24px;
    }

}
@media (max-width:414px) {
    /* reviews */
    .reviews__img {
        right: -140px;
    }
}
