html {
    box-sizing: border-box;
}

*,
::before,
::after {
    box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
}

:root {
    --accent-color: #F7654A;
    --dark-color: #404149;
    --gray-color: #999;
    --white-color: #fff;
    --bg-color: #E5E5E5;
}

.text-h2 {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.text-h3 {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 24px;
}

.text-h4 {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 21px;
    letter-spacing: 0.02em;
}

.text-p {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}

.text-p-reviews {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 14;
}

/* Начало */
.container {
    max-width: 1110px;
    margin: 0 auto;
}

.header {
    min-height: 740px;
    background-image: url(../img/first-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.header__title {
    padding-top: 20px;
    margin-bottom: 112px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.logo {
    width: 60px;
    height: 60px;
}

.burger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    padding: 0;
    background-color: var(--accent-color);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.burger__line {
    display: block;
    width: 21px;
    height: 3px;
    background-color: #fff;
}

.header__main {
    display: block;
    margin: 0 auto;
    max-width: 734px;
    text-align: center;
    text-transform: uppercase;
    color: var(--white-color);
}

.h1 {
    font-size: 64px;
    font-weight: 500;
    line-height: 95px;
    letter-spacing: 0.05em;
    margin-bottom: 17px;
}

.h4 {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

/* 26 лет */
.experience {
    position: relative;
}

.info {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translatex(-50%);
    max-width: 1100px;
    min-height: 300px;
    background-color: var(--bg-color);
    padding: 57px 130px;
}

.experience__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    gap: 30px;
}

.experience__grid-item {
    text-align: center;
    width: 190px;
}

.experience__h4 {
    color: var(--accent-color);
    font-size: 72px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.experience__h5 {
    font-size: 36px;
    font-weight: 500;
    text-transform: uppercase;
}

.experience__p {
    color: var(--gray-color);
    font-size: 18px;
    font-weight: 500;
}

/* Проекты */
.project {
    padding-top: 248px;
    margin-bottom: 124px;
}

.project-h2 {
    margin-bottom: 54px;
    text-align: center;
    color: var(--dark-color);
}

.project__cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.project-arena {
    display: block;
    width: 100%;
    margin-bottom: 45px;
}

.line {
    width: 55px;
    height: 6px;
    background-color: var(--accent-color);
    margin-bottom: 13px;
}

.project-h3 {
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.project-p {
    max-width: 325px;
}

/* Запрос */
.request {
    background-color: var(--accent-color);
}

.request__flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request__flex-left {
    color: #fff;
    letter-spacing: 8%;
    text-transform: uppercase;
    padding-top: 30px;
    margin-bottom: 45px;
}

.request__h4 {
    font-size: 48px;
    font-weight: 700;
}

.request__h5 {
    font-size: 24px;
    font-weight: 700;
}

.request__btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 21px 30px 14px;
    background-color: #fff;
    width: 175px;
    height: 49px;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
}

.request__btn>span {
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.request__icon {
    margin-right: 15px;
}

/* Сервисы */
.services {
    padding: 150px 0;
}

.section__h2,
.services__h4 {
    text-align: center;
    color: #000;
}

.section__h2 {
    margin-bottom: 55px;
}

.services__h4 {
    margin: 0 auto;
    max-width: 172px;
    text-transform: uppercase;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
}

.services__grid-item {
    padding: 59px 0;
    background-color: #f7f7f7;
    width: 350px;
}

.services__icon {
    display: block;
    margin: 0 auto 21px;
}

/* Портфолио */

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    gap: 0;
}

.portfolio__img {
    display: block;
    width: 100%;
}

/* Вопросы */
.question {
    padding-top: 150px;
    padding-bottom: 110px;
}

.question .section__h2 {
    margin-bottom: 52px;
}

.question_h3 {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 21px;
}

.question_p {
    margin-bottom: 40px;
    color: var(--gray-color);
    max-width: 730px;
}

/* Партнеры */
.partners {
    background-color: var(--dark-color);
    padding-top: 100px;
    padding-bottom: 100px;
}

.partners-h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--white-color);
}

.partners__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Отзывы */
.reviews {
    padding: 138px 0 140px;
}

.reviews-h2 {
    text-align: center;
    margin-bottom: 60px;
}

.reviews__grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reviews__card-items {
    background-color: #f7f7f7;
    padding: 30px;
    margin-bottom: 30px;
}

.reviews-quotes {
    color: var(--accent-color);
    font-size: 96px;
    line-height: 1;
    margin-bottom: -41px;
}

.reviews-p {
    font-size: 14px;
    line-height: 21px;
}

.reviews-h4 {
    letter-spacing: 0.06em;
}

.reviews__author-accent {
    color: var(--accent-color);
}

/* Контакты */
.contacts__title {
    padding: 100px 0 150px;
}

.contacts-h2 {
    text-align: center;
    margin-bottom: 60px;
}

.contacts__blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    gap: 30px;
}

.contacts__blocks-items {
    text-align: center;
}

.contacts__title img {
    margin-bottom: 18px;
}

.gray-h3 {
    color: var(--gray-color);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.dark-h3 {
    color: #000;
    text-transform: uppercase;
}

.dark-h3 a {
    text-decoration: none;
    color: inherit;
}

.contacts__blocks-items:last-child>img {
    padding-top: 10px;
}

.contacts__blocks-items:last-child>.dark-h3 {
    color: var(--accent-color);
}

/* Подвал */
.footer {
    background-color: var(--dark-color);
}

.footer__items {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
}

.footer-p {
    color: var(--white-color);
}

/* Навигация */
.sidenav {
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2)
}

.sidenav .collapsible,
.sidenav.fixed .collapsible {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none
}

.sidenav .collapsible li,
.sidenav.fixed .collapsible li {
    padding: 0
}

.sidenav .collapsible-header,
.sidenav.fixed .collapsible-header {
    background-color: transparent;
    border: none;
    line-height: inherit;
    height: inherit;
    padding: 0 16px
}

.sidenav .collapsible-header:hover,
.sidenav.fixed .collapsible-header:hover {
    background-color: rgba(0, 0, 0, 0.05)
}

.sidenav .collapsible-header i,
.sidenav.fixed .collapsible-header i {
    line-height: inherit
}

.sidenav .collapsible-body,
.sidenav.fixed .collapsible-body {
    border: 0;
    background-color: #fff
}

.sidenav .collapsible-body li a,
.sidenav.fixed .collapsible-body li a {
    padding: 0 23.5px 0 31px
}

.sidenav {
    position: fixed;
    width: 300px;
    left: 0;
    top: 0;
    margin: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    height: 100%;
    height: calc(100% + 60px);
    height: -moz-calc(100%);
    padding-bottom: 60px;
    background-color: #fff;
    z-index: 999;
    overflow-y: auto;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%)
}

.sidenav.right-aligned {
    right: 0;
    -webkit-transform: translateX(105%);
    transform: translateX(105%);
    left: auto;
    -webkit-transform: translateX(100%);
    transform: translateX(100%)
}

.sidenav .collapsible {
    margin: 0
}

.sidenav li {
    float: none;
    line-height: 48px
}

.sidenav li.active {
    background-color: rgba(0, 0, 0, 0.05)
}

.sidenav li>a {
    color: rgba(0, 0, 0, 0.87);
    display: block;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    line-height: 48px;
    padding: 0 32px
}

.sidenav li>a:hover {
    background-color: rgba(0, 0, 0, 0.05)
}

.sidenav li>a.btn,
.sidenav li>a.btn-large,
.sidenav li>a.btn-small,
.sidenav li>a.btn-large,
.sidenav li>a.btn-flat,
.sidenav li>a.btn-floating {
    margin: 10px 15px
}

.sidenav li>a.btn,
.sidenav li>a.btn-large,
.sidenav li>a.btn-small,
.sidenav li>a.btn-large,
.sidenav li>a.btn-floating {
    color: #fff
}

.sidenav li>a.btn-flat {
    color: #343434
}

.sidenav li>a.btn:hover,
.sidenav li>a.btn-large:hover,
.sidenav li>a.btn-small:hover,
.sidenav li>a.btn-large:hover {
    background-color: #2bbbad
}

.sidenav li>a.btn-floating:hover {
    background-color: #26a69a
}

.sidenav li>a>i,
.sidenav li>a>[class^="mdi-"],
.sidenav li>a li>a>[class*="mdi-"],
.sidenav li>a>i.material-icons {
    float: left;
    height: 48px;
    line-height: 48px;
    margin: 0 32px 0 0;
    width: 24px;
    color: rgba(0, 0, 0, 0.54)
}

.sidenav .divider {
    margin: 8px 0 0 0
}

.sidenav .subheader {
    cursor: initial;
    pointer-events: none;
    color: rgba(0, 0, 0, 0.54);
    font-size: 14px;
    font-weight: 500;
    line-height: 48px
}

.sidenav .subheader:hover {
    background-color: transparent
}

.sidenav .user-view {
    position: relative;
    padding: 32px 32px 0;
    margin-bottom: 8px
}

.sidenav .user-view>a {
    height: auto;
    padding: 0
}

.sidenav .user-view>a:hover {
    background-color: transparent
}

.sidenav .user-view .background {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1
}

.sidenav .user-view .circle,
.sidenav .user-view .name,
.sidenav .user-view .email {
    display: block
}

.sidenav .user-view .circle {
    height: 64px;
    width: 64px
}

.sidenav .user-view .name,
.sidenav .user-view .email {
    font-size: 14px;
    line-height: 24px
}

.sidenav .user-view .name {
    margin-top: 16px;
    font-weight: 500
}

.sidenav .user-view .email {
    padding-bottom: 16px;
    font-weight: 400
}

.sidenav.sidenav-fixed {
    left: 0;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    position: fixed
}

.sidenav.sidenav-fixed.right-aligned {
    right: 0;
    left: auto
}

.sidenav .collapsible-body>ul:not(.collapsible)>li.active,
.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active {
    background-color: #ee6e73
}

.sidenav .collapsible-body>ul:not(.collapsible)>li.active a,
.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active a {
    color: #fff
}

.sidenav .collapsible-body {
    padding: 0
}

.sidenav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    height: 120vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
    display: none
}

.divider {
    height: 1px;
    overflow: hidden;
    background-color: #e0e0e0
}

ul:not(.browser-default) {
    padding-left: 0;
    list-style-type: none
}

ul:not(.browser-default)>li {
    list-style-type: none
}

/* Модальное окно */
.z-depth-5,
.modal {
    -webkit-box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
    box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2)
}

.modal {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    background-color: #fafafa;
    padding: 0;
    max-height: 70%;
    width: 55%;
    margin: auto;
    overflow-y: auto;
    border-radius: 2px;
    will-change: top, opacity
}

.modal:focus {
    outline: none
}

.modal h1,
.modal h2,
.modal h3,
.modal h4 {
    margin-top: 0
}

.modal .modal-content {
    padding: 24px
}

.modal .modal-close {
    cursor: pointer
}

.modal .modal-footer {
    border-radius: 0 0 2px 2px;
    background-color: #fafafa;
    padding: 4px 6px;
    height: 56px;
    width: 100%;
    text-align: right
}

.modal .modal-footer .btn,
.modal .modal-footer .btn-large,
.modal .modal-footer .btn-small,
.modal .modal-footer .btn-flat {
    margin: 6px 0
}

.modal-overlay {
    position: fixed;
    z-index: 999;
    top: -25%;
    left: 0;
    bottom: 0;
    right: 0;
    height: 125%;
    width: 100%;
    background: #000;
    display: none;
    will-change: opacity
}

.modal.modal-fixed-footer {
    padding: 0;
    height: 70%
}

.modal.modal-fixed-footer .modal-content {
    position: absolute;
    height: calc(100% - 56px);
    max-height: 100%;
    width: 100%;
    overflow-y: auto
}

.modal.modal-fixed-footer .modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0
}

.modal.bottom-sheet {
    top: auto;
    bottom: -100%;
    margin: 0;
    width: 100%;
    max-height: 45%;
    border-radius: 0;
    will-change: bottom, opacity
}

/* Галерея */
.materialboxed {
    display: block;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
    position: relative;
    -webkit-transition: opacity .4s;
    transition: opacity .4s;
    -webkit-backface-visibility: hidden
}

.materialboxed:hover:not(.active) {
    opacity: .8
}

.materialboxed.active {
    cursor: -webkit-zoom-out;
    cursor: zoom-out
}
.carousel.scrolling .carousel-item .materialboxed,
.carousel .carousel-item:not(.active) .materialboxed {
    pointer-events: none
}
