body{
 margin: 0;
 font-family:"Raleway", sans-serif;
 font-size: 14px;
 color:#6c7279;
 -webkit-font-smoothing: antialiased;
    background-color: white;
}

*,
*: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: 1170px;
        margin: 0 auto;
}

/*Header=======================================*/

.header {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

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

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

.header__inner {
    padding: 35px 10px;
    display: flex;
    justify-content: space-between;
    align-items:center;

    border-bottom: 1px solid #515369;
}

/*========Navigation=========================*/

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

}

.nav__link {
    margin-left: 45px;
    color: white;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity .15s linear;
}

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

/*
.nav__link:last-child {
    padding-right: 10px;
}
*/

.nav__link:hover {
    opacity: 1;
}

/*========Intro========================*/

.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 750px;
    padding-top: 100px;

    background: #31344e url("img/Layer%2034.png.jpg") center no-repeat;
    background-size: cover;
}

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

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

}

.intro_subtitle {
    margin-bottom: 60px;
    font-size: 22px;
    color:white;
    line-height: 1.5;
    font-weight: 400;
}

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

.button {
    display: inline-block;
    vertical-align: top;
    padding: 14px 40px;

    border-radius: 2px;
    border: 0;
    cursor: pointer;

    font-family:"Raleway", sans-serif;
    font-size: 13px;
    color:white;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;

    transition: background .1s linear;
}

.button--red {
    background-color: #e84545;
}

.button--width {
    min-width: 280px;
}

.button--red:hover {
    background-color: #cb3131;
}

/*========FEATURES====================*/

.features {
    display: flex;
    flex-wrap: wrap;

    margin: 95px 0;
}

.features__item {
    width: 33.33333%;
    padding: 0 40px;
    margin: 25px 0;

    text-align: center;
}

.features__icon {
    margin-bottom: 25px;
}

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

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

/*=============Gallery================*/
.works{
    display: flex;
    flex-wrap: wrap;
     width: 100%;
}

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

.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{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    background-color: rgba(232,69,69,0.9);

    transition: opacity .2s linear;
}

.works__title {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.works__text {
    font-weight: 400;
    font-size: 14px;
    color: white;
}


/*==================Team===============*/
.team {
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 100px;
}

.team_photo {
    display: block;
    max-width: 100%;
    height: auto;
}
.team__item {
    display: flex;
    flex-direction: column;
    width: 25%;
    padding: 0 10px;
/*    height: 585px;*/
}

.team__name {
    margin-top:30px;
    font-size: 22px;
    color: #2d3033;
}

.team__profession {
    margin-top: 15px;
    color: #e84545;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 400;
}

.team__description {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 50px;
}
/*========Social==============*/
.social {

    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

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

.logo__item {
    margin-right: 5px;
/*    border:1px solid #e8ecee;*/
    display: flex;
    align-items: center;
    justify-content: center;

    cursor:pointer;
}

.social_btn {
    border: 0.5px solid #e6e6e6;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background .1s linear;
    background-color: white;
}

.social_btn:hover {
    background-color: #edebeb;
}

.social--footer .social_btn {
    background-color: transparent;
    border: 2px solid white;
    border-radius: 2px;
}

.social--footer .social_btn:hover{
    background-color: #2b2f57;
}
/*=========Reviews==========*/
.reviews {
    background-color: #53354a;
    overflow: hidden;
}

.reviews__item {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

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

    transform: translateY(-50%)
}

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

.reviews__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding-left: 80px;
    padding-right: 10px;
}

.reviews__text{
    margin-bottom: 25px;
    font-family: "Cardo", sans-serif;
    font-style: italic;
    font-size: 30px;
    line-height: 1.2;
    color:white;
}

.reviews__author {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    color:white;
}

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

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

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

.slick-dots button {
    width: 15px;
    height: 15px;
    padding: 0;

    background: #fff;
    border-radius: 50%;
    border: 0;
    opacity: 0.5;
    cursor: pointer;

    font-size: 0;
    color: transparent;
}

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

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

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

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

.download__title {
    margin-bottom: 7px;
    font-size: 28px;
    color: #2d3033;
    font-weight: 300;
}

.download__text {
    margin-bottom: 30px;

    font-size: 14px;
    color: #2d3033;
    font-weight: 700;
}

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

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

.footer__inner {
    padding-top: 70px;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
}

.footer__block {
    width: 33.3333333%;
    padding: 0 15px;

    text-align: center;
}

.footer__title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.footer__address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.5)
}

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

.copyright {
    padding-top: 20px;
    padding-bottom: 10px;

    background-color: #313454;
}

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

.copyright__text span {
    color: white;
}

/*========Burger====================*/
.burger {
    padding: 9px 0;
    display: none;
    background-color: #31344e;
    border: 0;
    cursor: pointer;
    margin-right: 10px;
}

.burger__item {
    display: block;
    width: 30px;
    height: 3px;

    font-size: 0;
    color: transparent;

    background-color: white;
    position: relative;
}

.burger__item:before,
.burger__item:after {

    content: "";
    width: 100%;
    height: 100%;

    background-color: white;

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

}

.burger__item:before {
    top: -8px;
}
.burger__item:after {
    bottom: -8px;
}

/*========Media====================*/


@media (max-width:991px) {     /*===========991=======*/


    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #31344e;
        text-align: right;

        position: absolute;
        top: 100%;
        right: 0;

    }

    .nav.show{
        display: flex;
    }

    .nav__link {
        padding: 8px 15px;

    }

    .burger {
    display: block;
    }

    .intro__title {
        font-size: 40px;
    }

    .features__item {
        width: 50%;
    }

    .team {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .team__item {
        width: 50%;
        margin-bottom: 30px;
        text-align: center;
    }

    .team__photo {
        margin-left: auto;
        margin-right: auto;
    }

    .social {
        justify-content: center;
    }
    .team__profession,
    .team__description {
        margin-bottom: 20px;
    }


}


@media (max-width:900px) {    /*===========900=======*/

    .intro__inner {
    padding-right: 10px;
    padding-left: 10px;

}

    .works__item {
        width: 50%;
    }

    .reviews__photo {
        width: 100%;
    }

    .reviews__content {
        width: 100%;
        text-align: center;
        padding: 25px 30px;

    }

    .reviews__img  {
        min-width: 100%;
    }

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

    .slick-dots {
        
    }
}

@media (max-width:767px) {   /*===========767=======*/

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

    .intro__title {
        font-size: 30px;
    }

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

    .reviews__text {
        font-size: 25px;
    }


}


@media (max-width:591px) {    /*===========591=======*/

    .features__item {
        width: 100%;
        padding:0 20px;
    }

    .features {
        margin: 40px 0;
    }

    .team__item {
        width: 100%;
        margin-top:25px;
        margin-bottom: 25px;
        text-align: center;
    }

    .team {
    margin-top: 50px;

    }

    .footer__block {
        width: 100%;
    }

    .footer__inner {
        padding-top: 30px;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 30px;

    }

    .footer__block {
        padding: 15px;
    }

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

}


@media (max-width:456px) {       /*===========456=======*/

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

    .button--width {
        min-width: 240px;
    }
    .reviews__img {
        right:-100px;
    }

    .download{
        margin: 50px 5px;
    }


}

@media (max-width:347px) {       /*===========456=======*/
    .reviews__text {
        font-size: 18px;
    }

    .reviews__author {
        font-size: 13px;
    }

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