body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #6c7279;
    background-color: #fff;
    -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: 90%;
    max-width: 1170px;
    margin: 0 auto;
}

/* Header */
.header {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #4e5168;
    padding: 35px 0;
}

.header.fixed {
    height: auto;
    position: fixed;
    background-color: #31344e;
}

.header.fixed .header__inner {
    padding: 15px 0;
    border-bottom: 0;
}

/* Nav */
.nav {
    display: flex;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
}

.nav__link {
    color: #fff;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.2s linear;
    margin-left: 50px;
}

.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: #31344e url("../img/intro-bg.jpg") center no-repeat;
    background-size: cover;
}

.intro__inner {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    text-align: center;
}

.intro__title {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.1;
    font-size: 65px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 30px;
}

.intro__subtitle {
    font-size: 22px;
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 60px;
}

/* Button */
.btn {
    display: inline-block;
    vertical-align: top;
    padding: 14px 40px;
    border-radius: 3px;
    font-family: 'Raleway', sans-serif;
    border: 0;
    cursor: pointer;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s linear;
}

.btn--red {
    background-color: #e84545;
}

.btn--red:hover {
    background-color: #801717;
}

.btn--long {
    min-width: 280px;
}

/* Features */
.features {
    display: flex;
    flex-wrap: wrap;
    margin: 100px 0;
}

.features__item {
    padding: 0 40px;
    margin: 25px 0;
    width: 33%;
    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;
}

/* Works */
.works {
    display: flex;
    flex-wrap: wrap;
}

.works__item {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    width: 25%;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.works__img {
    min-width: 100%;
    position: absolute;
    left: 0%;
    top: 0%;
    z-index: 1;
    transform: translate3d(-50% -50% 0);
}

.works__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(232, 69, 69, 0.9);
    opacity: 0;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: opacity 0.2s linear;
}

.works__title {
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 5px;
}

.works__text {
    font-size: 14px;
    color: #fff;
}

.works__content:hover {
    opacity: 1;
}

/* Team */
.team {
    margin: 100px 0 70px;
}

.team__inner {
    display: flex;
    flex-wrap: wrap;
}

.team__item {
    width: 22%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.team__img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.team__name {
    font-size: 22px;
    color: #2d3033;
    margin-bottom: 8px;
}

.team__prof {
    color: #e84545;
    font-size: 13px;
    margin-bottom: 13px;
    text-transform: uppercase;
}

.team__text {
    margin-bottom: 20px;
    font-style: 14px;
    color: #6c7279;
    line-height: 1.5;
}

/* Social */
.social {
    display: flex;
}

.social--footer {
    justify-content: center;
}

.social__item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 4px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    transition: background 0.2s linear;
    border: 1px solid #e8ecee;
}

.social__item:hover {
    background-color: #e8ecee;
}

.social--footer .social__item {
    background-color: transparent;
    border-width: 2px;
    border-color: #fff;
    border-radius: 2px;
}

.social--footer .social__item:hover {
    background-color: #fff;
}

.social__icon {
    display: block;
    height: 18px;
    fill: #c6cacc;
    transition: fill 0.2s linear;
}

.social--footer .social__icon {
    fill: #fff;
}

.social__item:hover .social__icon {
    fill: #e84545;
}

/* Testimonials */
.testimonials {
    overflow: hidden;
    background-color: #53354a;
}

.testimonials__slider {
    height: 500px;
    overflow: hidden;
}

.testimonials__slider.slick-initialized {
    height: auto;
}

.testimonials__item {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.testimonials__img {
    width: 50%;
    height: 500px;
    position: relative;
}

.testimonials__photo {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1;
    transform: translateY(-50%)
}

.testimonials__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
    width: 50%;
    color: #fff;

}

.testimonials__text {
    font-family: 'Cardo', sans-serif;
    font-style: italic;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 35px;
}

.testimonials__author {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Download */
.download {
    margin: 90px 0;
    text-align: center;
}

.download__title {
    font-size: 28px;
    color: #2d3033;
    font-weight: 300;
    margin-bottom: 10px;
}

.download__text {
    font-size: 13px;
    color: #2d3033;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background-color: #3a3e64;
}

.footer__inner {
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
}

.footer__block {
    padding: 0 15px;
    width: 33%;
    text-align: center;
}

.footer__title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer_adress {
    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);
}

.footer__copyright {
    background-color: #313454;
    padding: 20px 0;
}

.copyright__text {
    font-size: 14px;
    color: #808080;
    text-align: center;
    line-height: 1.5;
}

.copyright__text span {
    color: #fff;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: 0;
    padding: 9px 2px;
    cursor: pointer;
}

.burger__item {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    font-size: 0;
    color: transparent;
    position: relative;
}

.burger__item:before,
.burger__item:after {
    content: "";
    height: 100%;
    background-color: #fff;
    position: absolute;
    right: 0;
    z-index: 1;
}

.burger__item:before {
    width: 30px;
    top: -8px;
}

.burger__item:after {
    width: 20px;
    bottom: -8px;
}

.slick-dots {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0 0 10px;
    list-style: none;
    position: absolute;
    width: 50%;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots button {
    width: 15px;
    height: 15px;
    background: #fff;
    border: 0;
    border-radius: 50%;
    opacity: 0.5;
    padding: 0;
    font-size: 0;
    color: transparent;
    cursor: pointer;
}

.slick-dots button:focus {
    outline: 0;
}

.slick-dots .slick-active button {
    opacity: 1;
}

/* Media */
@media (max-width: 1300px) {

    /* Works */
    .works__item {
        width: 50%;
    }
}

@media (max-width: 991px) {

    /* Nav */
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: right;
        background-color: #31344e;
        position: absolute;
        top: 100%;
        right: 0;
    }

    .nav.show {
        display: flex;
    }

    .nav__link {
        padding: 9px 15px;
    }

    /* Burger */
    .burger {
        display: block;
    }

    /* Intro */
    .intro__title {
        font-size: 40px;
    }

    /* Features */
    .features__item {
        width: 50%;
    }

    /* Team */
    .team__item {
        width: 50%;
        text-align: center;
    }

    .team__img {
        margin-right: auto;
        margin-left: auto;
    }

    .social {
        justify-content: center;
    }

    /* Testimonials */
    .testimonials__img {
        width: 100%;
        margin: 15px 0 40px;
        overflow: hidden;
    }

    .testimonials__content {
        width: 100%;
        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: 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;
    }

    .team__item {
        width: 100%;
    }

    /* Testimonials */
    .testimonials__photo {
        right: -100px;
    }

    .testimonials__text {
        font-size: 25px;
    }

    /* Btn */
    .btn--long {
        min-width: 260px;
    }

    /* Download */
    .download {
        margin: 50px 0;
    }

    .download__title {
        font-size: 24px;
    }

    /* Footer */
    .footer__inner {
        padding: 30px 0;
    }

    .footer__block {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .footer__block:last-child {
        margin-bottom: 0;
    }
}