@font-face {
    font-family: 'Roboto Regular';
    src: url('../fonts/Roboto-Regular.eot');
    src: url('../fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Roboto-Regular.woff') format('woff'),
    url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body{
    font-family: 'Roboto Regular', Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.header {
    position: fixed;
    background-color: white;
    width: 100%;
    z-index: 10;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__items {
    display: flex;
}

.header__item {
    position: relative;
    margin-right: 30px;
    font-size: 16px;
    font-weight: 600;
    color: black;
    text-decoration: none;
}

.header__item:hover {
    opacity: 0.7;
}

.header__item:hover.header__item:after {
    content: "";
    display: block;
    position: absolute;
    opacity: 0.7;
    width: 100%;
    height: 2px;
    background-color: black;
    animation: nav-line 0.2s;
}

.header__call {
    padding-top: 2%;
    padding-bottom: 2%;
}

.header__call-text {
    font-size: 18px;
    padding: 0 30px;
}

.header__call-btn {
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    color: #1040e0;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid #1040e0;
    border-radius: 5px
}

.hero {
    display: flex;
    justify-content: space-between;
    padding-top: 8%;
    padding-bottom: 3%;
    color: white;
    font-size: 18px;
}

.hero__photo {
    width: 48%;
    height: 100%;
}

.hero__text {
    width: 38%;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgb(51, 63, 232);
    
}

.hero__title {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.23;
    font-size: 52px;
    font-weight: 600;
}

.hero__address {
    font-weight: 600;
    line-height: 1.55;
}

.hero__email {
    color: #ff8562;
    text-decoration: none;
}

.service__title {
    margin-top: 8%;
    margin-bottom: 5%;
    text-align: center;
    font-size: 42px;
    font-weight: 600;
}

.service__table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.service__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10% 0;
}

.service__img {
    width: 100px;
    height: 100px;
}

.service__celltitle {
    margin: 7% 0;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
}

.brands {
    padding: 14vh 0;
}

.brands__title {
    padding-bottom: 5%;
    font-size: 52px;
    text-align: center;
    font-weight: 700;
    line-height: 1.23;
}

.brands__table {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.brands__cell {
    width: 140px;
    height: auto;
}

.gallery {
    margin-left: 2%;
    margin-right: 2%;
}
.gallery__link {
    display: block;
    width: 100%;
    height: 250px;
    background-position: center;
    background-size: cover;
    cursor: zoom-in;
}
.gallery__photos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}

.contacts {
    padding-top: 5%;
    padding-bottom: 5%;
}

.contacts__title {
    padding-bottom: 5%;
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    clear: both;
}

.contacts__info {
    float: left;
    width: 45%;
}

.contacts__icon {
    text-decoration: none;
}

.contacts__send {
    display: flex;
    flex-direction: column;
    margin-bottom: 8%;
    font-size: 30px;
}

.contacts__icons {
    margin-top: 8%;
}

.contacts__sand-mail {
    color: #ff8562;
    text-decoration: none;
}

.contacts__form {
    float: right;
    width: 45%;
}

.contacts__city {
    font-size: 18px;
}

.contacts__form form {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.contacts__input {
    width: 90%;
    padding: 4% 5%;
    margin-bottom: 5%;
}

.contacts__btn {    
    padding: 4% 12%;
    color: white;
    background-color: #1f5bff;
    border-radius: 5px;
    border: none;
    box-shadow: none;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.answer-cards__wrap {
    margin: auto;
    max-width: 960px;    
    margin-top: 5%;
}

.answer-card {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
}

.answer-card__question {
    padding: 2% 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.answers__title {    
    padding: 5% 13%;
    font-size: 42px;
    font-weight: 600;
    background-color: #fafafa;    
    text-align: center;
}

.answer-card__plus {
    height: 24px;
    border-radius: 50%;
    padding: 8px;
}

.answer-card__close {
    transform: rotate(45deg);
}

.answer-card__plus:hover {
    background-color: #EEEEEE;
}
.answer-card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}

.answer-card__text{
    display: none;
    margin-bottom: 3%;
    font-size: 14px;
    font-weight: 300;
}

.feedback {
    padding: 5% 0;
}

.feedback__title {
    margin-bottom: 5%;
    font-size: 42px;
    font-weight: 600;
    text-align: center;
}

.custom-prev-html {
    transform: rotate(-180deg);
}

.lSAction>a {
    width: 50px;
}

.comment {
    display: flex;
    justify-content: center;
    /* max-width: 730px; */
}

.comment__img {
    width: 100px;
    height: 100px;
    margin-top: 20px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
}

.comment__text {
    padding-left: 30px;
    max-width: 630px;
}

.comment__desc {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 300;
}

.comment__name {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
}

/* animation */
@keyframes nav-line {
    from { 
        margin-top: -6px;
        opacity: 0; 
    }
    to { 
        margin-top: 0;
        opacity: 0.7;
     }
}


/* adaptive */
@media screen and (max-width: 1200px) {
    .container {
        padding-left: 2%;
        padding-right: 2%;
    }
    .header {
        position: relative;
    }
    .header-wrap {
        flex-direction: column;
    }
    .header__items {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .header__item {
        margin-right: 0;
        margin-top: 5%;
        padding: 10px 0;
    }

    .header__call {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .header__call-text {
        padding: 20px 0;
    }
    .hero {
        flex-wrap: wrap;
    }
    .hero__photo, .hero__text {
        width: 100%;
    }
    .hero__photo {
        margin-bottom: 5%;
    }
    .hero__title {
        font-size: 53px;
    }
    .hero__subtitle {
        margin: 7% 0;
    }
    .service__table {
        grid-template-columns: 1fr;
    }
    .service__celltitle {
        font-size: 24px;
    }
    .service__cellsubtitle {
        font-size: 12px;
        opacity: 0.5;
    }
    .brands__table {
        justify-content: center;
    }
    .brands__cell {
        max-width: 50vw;
    }
    .brands__title {
        font-size: 30px;
    }
    .gallery__photos {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }
    .contacts__title {
        font-size: 30px;
    }
    .contacts__info {
        text-align: center;
        float: none;
        width: 100%;
        padding: 8% 0;
    }
    .contacts__send {
        font-size: 18px;
    }
    .contacts__city {
        font-size: 14px;
    }
    .contacts__form {
        margin: auto;
        float: none;
        width: 90%;
    }
    .contacts__btn {
        padding: 5% 12%;
        width: 100%;
    }
    .contacts {
        padding-bottom: 15%;
    }
    .answer-cards__wrap {
        margin-top: 5%;
    }
    .answer-card__text {
        opacity: 0.5;
    }
    .comment {
        justify-content: left;
        flex-wrap: wrap;
    }
    .comment__text, .comment__img {
        margin: 0 14%;
    }
    .comment__text {
        padding-left: 0;
    }
    .lSAction>a {
        width: 30px;
    }
    .custom-arrow img {
        width: 30px;
    }
}