html {
    box-sizing: border-box;
}

address {
    font-style: inherit;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

ul[class],
ol[class] {
    padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

ul[class] {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    text-decoration: none;
}


/* font-family: 'Merriweather', serif; */


/* font-family: 'Montserrat', sans-serif; */


/* font-family: 'Raleway', sans-serif; */

body {
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    line-height: 24px;
    color: #373A39;
}

.container {
    max-width: 1190px;
    padding: 0 10px;
    margin: 0 auto;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    line-height: 75px;
    font-weight: 700;
    letter-spacing: -1.65 px;
    color: #242121;
    padding-bottom: 18px;
    position: relative;
    align-self: flex-start;
}

.title::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: #FCBB08;
    bottom: 0;
    left: 0;
}

.header__top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 10;
}

.header__top-inner {
    padding-bottom: 29px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.menu__btn {
    display: none;
}

.menu__list {
    display: flex;
}

.menu__list-item+.menu__list-item {
    margin-left: 32px;
}

.menu__list-link {
    padding: 0 6px 9px;
    font-size: 12px;
    line-height: 14px;
    text-transform: uppercase;
    color: #373A39;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.6px;
    transition: all .3s;
}

.menu__list-link:hover {
    border-bottom: 1px solid #FCBB08;
}

.header__content {
    padding-top: 100px;
    background-image: url(../img/header-bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    font-family: 'Montserrat', sans-serif;
}

.header__content-inner {
    min-height: calc(100vh - 93px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__title {
    font-weight: 500;
    font-size: 72px;
    line-height: 88px;
    color: #fff;
    margin-top: auto;
    margin-bottom: 19px;
    padding-top: 130px;
}

.header__subtitle {
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 2.74px;
    color: #FCBB08;
    margin-bottom: auto;
}

.header__icon {
    margin-bottom: 62px;
}

.about {
    background-color: #F6F8FA;
    padding: 150px 0 144px;
}

.about__inner {
    display: flex;
    justify-content: space-between;
}

.about__title {
    font-size: 48px;
}

.about__text p {
    max-width: 770px;
    margin-bottom: 16px;
}

.expertise {
    padding: 140px 0 160px;
}

.expertise__title {
    margin-bottom: 90px;
}

.expertise__inner {
    display: flex;
    margin-bottom: 110px;
}

.expertise__info {
    width: 370px;
    margin-right: 30px;
    margin-top: 10px;
    flex: none;
}

.expertise__info-item {
    border-top: 2px solid #1d1d1d;
    padding: 2px 0 28px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 11px;
    line-height: 24px;
    letter-spacing: 1px;
    color: #1d1d1d;
    position: relative;
}

.expertise__info-item span {
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    margin-right: 7px;
}

.expertise__info-item span::before {
    content: "";
    position: absolute;
    height: 2px;
    background-color: #f0f0f0;
    right: -7px;
    top: -2px;
    width: 100%;
}

.expertise__text p {
    margin-bottom: 25px;
}

.expertise__items {
    display: flex;
    justify-content: space-between;
}

.expertise__item {
    width: 370px;
    padding-left: 85px;
    position: relative;
}

.expertise__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
}

.expertise__item--design::before {
    background-image: url(../img/vector.svg);
}

.expertise__item--dev::before {
    background-image: url(../img/monitor.svg);
}

.expertise__item--marketing::before {
    background-image: url(../img/speaker.svg);
}

.expertise__item-title {
    line-height: 20px;
    letter-spacing: 4.29px;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.expertise__item-text {
    color: #777;
}

.magic {
    background-color: #f6f8fa;
    background-image: url(../img/magic.jpg);
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: left 82%;
}

.magic__inner {
    max-width: 470px;
    margin-left: auto;
    padding: 100px 0 190px;
}

.magic__title {
    margin-bottom: 67px;
}

.magic__text p {
    margin-bottom: 25px;
}

.portfolio {
    padding: 140px 0 165px;
}

.portfolio__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
}

.portfolio__filter-btn {
    margin-right: 65px;
}

.portfolio__btn {
    background-color: transparent;
    padding: 0 4px 5px;
    border: none;
    font-weight: 600;
    font-size: 12px;
    line-height: 24px;
    color: #333;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
}

.portfolio__btn+.portfolio__btn {
    margin-left: 25px;
}

.mixitup-control-active {
    border-bottom: 1px solid #FCBB08;
}

.portfolio__content {
    column-count: 4;
    column-gap: 20px;
    margin-bottom: 72px;
}

.portfolio__item {
    margin-top: 20px;
    position: relative;
}

.portfolio__item:first-child {
    margin-top: 0;
}

.portfolio__item-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    background-color: #4C4A4A;
    border: 12px solid #7D7C7C;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all .3s;
}

.portfolio__item:hover .portfolio__item-link {
    opacity: 1;
}

.portfolio__item img {
    width: 100%;
}

.portfolio__add {
    display: block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 17px;
    font-size: 14px;
    letter-spacing: 1.2px;
    padding: 42px 15px 41px;
    background: #f6f8fa;
    color: #242121;
    margin-bottom: 130px;
}

.blockquote {
    max-width: 650px;
    margin: 0 auto 148px;
    text-align: center;
    font-weight: 300;
    font-size: 18px;
    line-height: 36px;
    color: #242121;
    font-family: 'Merriweather', serif;
    font-style: italic;
}

.blockquote__author {
    display: block;
    padding-top: 51px;
    color: #9e9e9e;
    Font-size: 14px;
    Line-height: 32px;
}

.portfolio__video {
    background-image: url(../img/video-bg.jpg);
    height: 324px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 165px;
}

.portfolio__numbers {
    display: flex;
    justify-content: space-around;
}

.portfolio__numbers-item {
    text-align: center;
    font-weight: 700;
    font-size: 60px;
    line-height: 73px;
    font-family: 'Montserrat', sans-serif;
    color: #242121;
    margin-bottom: 9px;
}

.portfolio__numbers-item span {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    color: #333;
    font-size: 14px;
    line-height: 19px;
    display: block;
}

.slider-blog {
    background-color: #f8f6fa;
    padding: 115px 0;
}

.slider-blog__item {
    padding: 190px 0;
}

.slider-blog__item-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 52px;
    color: #242121;
    margin-bottom: 10px;
    max-width: 675px;
    display: inline-block;
}

.slider-blog__item-descr {
    max-width: 585px;
}

.slick-dots {
    display: flex;
}

.slick-dots li+li {
    margin-left: 13px;
}

.slick-dots button {
    background-color: #242121;
    opacity: 0.4;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    font-size: 0;
    padding: 0;
    border: none;
    cursor: pointer;
}

.slick-dots .slick-active button {
    opacity: 1;
    width: 10px;
    height: 10px;
    transform: translateY(-2px);
}

.slick-prev,
.slick-next {
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-150%);
}

.slick-prev {
    left: -95px;
}

.slick-next {
    right: -95px;
}

.team {
    padding: 120px 0 132px;
}

.team__title {
    margin-bottom: 100px;
}

.team__items {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.team__name {
    font-family: 'Montserrat', sans-serif;
    padding: 35px 0 12px;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #333;
}

.team__position {
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
}

.pricing {
    background-color: #f6f8fa;
    padding: 145px 0 160px;
}

.pricing__title {
    margin-bottom: 90px;
}

.pricing__items {
    display: flex;
    justify-content: space-between;
}

ul.pricing__item {
    background-color: #fff;
    text-align: center;
    padding: 24px 25px 50px;
    width: 370px;
}

.pricing__item li {
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: #242121;
    margin-bottom: 30px;
}

.pricing__item .pricing__item-name {
    text-align-last: left;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #242121;
    margin-bottom: 8px;
}

.pricing__item .pricing__item-num {
    font-weight: 300;
    font-size: 80px;
    line-height: 109px;
    color: #242121;
    margin-bottom: 51px;
}

.pricing__item-num sup {
    font-weight: 300;
    font-size: 40px;
    line-height: 54px;
    color: #242121;
}

.pricing__item-link {
    margin-top: 70px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 1.2px;
    color: #242121;
}

.clients {
    margin: 70px 0 95px;
}

.clients__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.connection {
    padding: 145px 0 160px;
    background-image: url(../img/map.jpg);
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: right 65%;
}

.connection__title {
    margin-bottom: 95px;
}

.form {
    max-width: 570px;
}

.form input,
.form textarea {
    border: none;
    display: block;
    width: 100%;
    border-bottom: 2px solid #373a39;
    padding-bottom: 16px;
    margin-top: 32px;
}

.form textarea {
    min-height: 156px;
    resize: none;
}

textarea.textarea {
    margin-top: 53px;
    padding-bottom: 134px;
}

.form input::placeholder,
.form textarea::placeholder {
    content: "";
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 3.70909px;
    color: #B8B8B8;
    text-transform: uppercase;
}

.form button {
    font-weight: 700;
    font-size: 11px;
    line-height: 13px;
    color: #fff;
    text-transform: uppercase;
    padding: 17px 70px 15px;
    border: none;
    background-color: #242121;
    cursor: pointer;
    margin-top: 40px;
    letter-spacing: 2px;
}

.footer__top {
    padding: 110px 10px 60px;
    background-color: #333;
    text-align: center;
}

.footer__logo {
    display: inline-block;
    padding: 0 35px 4px;
    border-bottom: 2px solid #FCBB08;
    margin-bottom: 70px;
}

ul.footer__social {
    display: flex;
    justify-content: center;
    margin-bottom: 65px;
}

.footer__social-list {
    padding: 0 15px;
}

.footer__social-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #FFFFFF;
}

.footer__contact {
    font-weight: 400;
    font-size: 14px;
    line-height: 32px;
    color: #fff;
    margin-bottom: 60px;
}

.footer__contact a {
    display: block;
    margin: 10px 0;
    color: #fff;
}

.go-top {
    display: inline-block;
}

.footer__copy {
    padding: 40px 10px;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    color: #ccc;
    background-color: #2a2c2b;
}

@media (max-width: 1440px) {
    .magic__inner {
        padding: 50px 0;
    }
    .slick-prev {
        left: 0;
    }
    .slick-next {
        right: 0;
    }
    .slider-blog__item {
        padding: 120px 60px;
    }
    ul.slick-dots {
        margin-left: 60px;
    }
}

@media (max-width: 1200px) {
    .about,
    .expertise,
    .portfolio,
    .slider-blog,
    .team,
    .pricing,
    .connection {
        padding: 75px 0;
    }
    .header__top-inner {
        padding-bottom: 5px;
    }
    .about__inner {
        display: block;
    }
    .about__title,
    .expertise__title,
    .magic__title,
    .team__title,
    .pricing__title,
    .connection__title {
        margin-bottom: 50px;
    }
    .about__text p {
        max-width: 100%;
    }
    .title {
        font-size: 48px;
        line-height: 65px;
    }
    .portfolio__filter-btn {
        margin-right: 0;
    }
    .team__items,
    .pricing__items,
    .clients__list {
        column-gap: 20px;
    }
}

@media (max-width: 992px) {
    .expertise__inner {
        display: block;
        margin-bottom: 75px;
    }
    .expertise__info {
        width: 100%;
        margin-right: 0;
    }
    .expertise__items {
        display: block;
    }
    .expertise__item {
        width: 100%;
        margin-bottom: 40px;
    }
    .magic {
        background-image: none;
    }
    .magic__inner {
        max-width: 100%;
        margin-left: 0;
    }
    .portfolio__content {
        column-count: 3;
        margin-bottom: 40px;
    }
    .portfolio__top {
        display: block;
        margin-bottom: 50px;
    }
    .portfolio__filter-btn {
        margin-top: 40px;
    }
    .connection {
        background-image: none;
    }
    .form {
        max-width: 100%;
    }
    .footer__top {
        padding-top: 75px;
    }
    .footer__logo {
        margin-bottom: 40px;
    }
    ul.footer__social {
        margin-bottom: 40px;
        flex-wrap: wrap;
    }
    .footer__social-list {
        width: 33.333%;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .menu__list {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        background-color: #000;
        display: block;
        text-align: center;
        transform: translateY(-200%);
        transition: all 0.5s;
    }
    ul.menu__list {
        padding: 90px 0 50px;
    }
    .menu__list-item+.menu__list-item {
        margin-left: 0;
    }
    .menu__list-link {
        padding: 10px 7px 10px;
        display: block;
        color: #fff;
    }
    .header__top-inner path,
    .header__top-inner rect {
        transition: all 0.5s;
    }
    .header__top-inner.header__top-inner--active .menu__list {
        transform: translateY(0%);
    }
    .header__top-inner.header__top-inner--active path {
        fill: #fff;
    }
    .header__top-inner.header__top-inner--active .menu__btn rect {
        fill: #fff;
    }
    .header__top-inner {
        align-items: center;
    }
    .logo {
        position: relative;
        z-index: 2;
    }
    .menu__btn {
        display: block;
        background-color: transparent;
        border: none;
        padding: 0;
        margin-top: 30px;
        position: relative;
        z-index: 2;
    }
    .header__title {
        font-size: 50px;
        line-height: 65px;
        margin-bottom: 10px;
    }
    .header__subtitle {
        font-size: 14px;
        line-height: 16px;
    }
    .title {
        font-size: 48px;
        line-height: 60px;
    }
    .portfolio__btn {
        display: block;
        margin-bottom: 30px;
    }
    .portfolio__btn+.portfolio__btn {
        margin-left: 0;
    }
    .portfolio__content {
        column-count: 2;
    }
    .portfolio__add {
        margin-bottom: 40px;
    }
    .blockquote {
        margin-bottom: 40px;
        padding: 0 10px;
    }
    .portfolio__video {
        margin-bottom: 75px;
    }
    .portfolio__numbers {
        flex-wrap: wrap;
    }
    .portfolio__numbers-item {
        width: 50%;
        margin-bottom: 40px;
    }
    .slider-blog__item {
        padding: 40px 0;
    }
    ul.slick-dots {
        margin-left: 0;
    }
    .slider-blog__item-title {
        font-size: 24px;
        line-height: 32px;
    }
    .pricing__items {
        display: block;
    }
    ul.pricing__item {
        margin: 0 auto 25px;
        max-width: 500px;
        width: 100%;
    }
    .clients__list {
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .clients__list li {
        margin-bottom: 25px;
    }
}

@media (max-width: 640px) {
    .team__items {
        display: block;
    }
    .team__item {
        margin-bottom: 25px;
    }
    .team__item img {
        margin: 0 auto;
    }
}

@media (max-width: 440px) {
    .header__title {
        font-size: 36px;
        line-height: 44px;
    }
    .header__subtitle {
        font-size: 12px;
        line-height: 14px;
    }
    .about__title,
    .title {
        font-size: 28px;
        line-height: 42px;
    }
    .expertise__item {
        padding-left: 60px;
    }
    .portfolio__numbers-item {
        width: 100%;
    }
    .footer__social-list {
        width: 50%;
    }
}

@media (max-width: 340px) {
    .expertise__item {
        padding-left: 0;
        padding-top: 60px;
    }
}