@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@500;600;700&display=swap');

:root {
    --bg-color: #101010;
    --text-color: #333;
    --white-color: #fdfdfd;
    --main-color: #ed0014;
    --black-color: #070707;
    --shadow-color: rgba(0, 0, 0, .2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
    color: var(--white-color);
    line-height: 133%;
}

p {
    font-family: 'Golos Text', sans-serif;
}

a,
.btn {
    cursor: pointer;
}

html,
body {
    height: 100%;
}

html {
    font-weight: 500;
    background: var(--bg-color);
    overflow-x: hidden;
}

.accordeon {
    cursor: pointer;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease-in-out;

    will-change: max-height;
}

.container {
    padding: 40px 80px;
}

.title {
    font-size: 40px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    color: var(--main-color);
}

.title_descr::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    background: var(--main-color);
    height: 2px;
    width: 150px;
    transform: translateX(-50%);
}

.title_descr {
    position: relative;
    font-size: 16px;
    text-align: center;
    opacity: .8;

    margin: 30px 0 100px 0;
}

.btn_list {
    display: flex;
    align-items: center;
}

.btn_list .btn {
    margin-right: 10px;
}

.btn_list .btn:last-child {
    margin-right: 0;
}

.btn {
    display: inline-block;
    padding: 16px 30px;
    background: transparent;
    border-radius: 5px;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 15px;
    font-weight: 700;
    border: 3px solid var(--main-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s ease;

    -webkit-appearance: none;
}

.btn:hover {
    background: var(--main-color);
    border-color: transparent;
}

.btn_no_border {
    border: none;
    box-shadow: none;
}

.btn_no_border:hover,
.btn_no_border:hover a {
    background: transparent;
    color: var(--main-color);
}

.btn_image {
    display: flex;
    align-items: center;
    box-shadow: none;
}

.btn_image img {
    margin-left: 20px;
}

/* Поп ап */

.pop_up,
.pop_up_links {    
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: transparent;
    transform: translateY(-150%);
    transition: .6s ease-in-out;

    z-index: 999;
}

.pop_up {
    overflow-y: scroll;
}

.pop_up *,
.pop_up_links {
    color: #000;
}

.pop_up.active,
.pop_up_links.active {
    transform: translateY(0%);
    background-color: rgba(0, 0, 0, 0.8);
}

.pop_up_container {
    padding-top: 100px;
    
    display: flex;
    width: 100%;
    height: 100%;

    position: relative;
    z-index: 999;
}

.pop_up_body,
.pop_up_body_links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: auto;
    height: auto;
    border-radius: 10px;
    position: relative;

    z-index: 999;
}

.pop_up_body {
    background-color: #fdfdfd;
    padding: 40px 45px 10px 45px;
}

.pop_up_body i {
    font-size: 20px;
    margin-bottom: 10px;
}

.pop_up_title {
    font-size: 22px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--main-color);
    margin-bottom: 40px;
}

.pop_up_body p {
    margin-bottom: 40px;
}

.inputbox {
    position: relative;

    display: flex;
    justify-content: center;
}

.inputbox_file {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.inputbox_file span {
    margin-bottom: 10px;
}

.pop_up .inputbox input,
.pop_up .inputbox textarea {
    width: 330px;
    padding: 17px 20px;
    background-color: #e7e7e7;
    border-radius: 10px;
    border: 2px solid transparent;
    font-size: 18px;
    color: #000;
    outline: none;
    resize: none;
}

.inputbox textarea {
    height: 100px;
}

.inputbox span {
    position: absolute;
    left: 0;
    padding: 17px 20px;
    pointer-events: none;
    transition: 0.5s;

    will-change: transform;
}

.inputbox input:valid ~ span,
.inputbox input:focus ~ span {
    color: var(--main-color);
    transform: translate(-10px, -40px);
    font-size: 14px;
}

.inputbox textarea:valid ~ span,
.inputbox textarea:focus ~ span {
    color: var(--main-color);
    transform: translateY(-38px);
    font-size: 12px;
}

.inputbox input:valid,
.inputbox input:focus {
    border: 2px solid var(--main-color);
    background-color: #fff;
}

.inputbox textarea:valid,
.inputbox textarea:focus {
   border: 2px solid var(--main-color);
   background-color: #fff;
}

.inputbox_file {
    position: relative;
    padding: 0 40px;
}
   
.input__file {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
   
.input__file-icon-wrapper {
    height: 58px;
    width: 60px;
    margin: 17px 0px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
   
.input__file-button-text {
    font-size: 14px;
    font-weight: 600;
    margin: 10px;
}
   
.input__file-button {
    width: 100%;
    max-width: 290px;
    height: 60px;
    color: #000;
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 10px;
    cursor: pointer;
    margin: 0 auto;
}

.inputbox_file_descr {
    display: flex;
    justify-content: center;
}

.inputbox_file_descr span {
    text-align: center;
    font-size: 14px;

    max-width: 300px;

    margin-bottom: 10px;
    margin-top: -10px;
}

.form_btn_block {
    display: flex;
    justify-content: center;
}

.form_btn {
    background-color: var(--main-color);
    color: #fff;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;

    -webkit-appearance: none;
}

.form_btn:hover {
    filter: brightness(90%);
}

.pop_up_close {
    color: #fff;
    position: absolute;
    top: -30px;
    right: 0px;
    font-size: 21px;
    cursor: pointer;

    -webkit-appearance: none;
}

/* Поп ап со ссылками */
.pop_up_links .pop_up_title {
    border-bottom: none;
    position: relative;
    max-width: 250px;
    line-height: 150%;
}

.pop_up_links .pop_up_title:after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    background: var(--main-color);
    height: 2px;
    width: 50%;
    transform: translateX(-50%);
}

.pop_up_body_links {
    background-color: #0b0b0b;
    padding: 30px 40px;
}

.pop_up_links .links_list {
    margin-bottom: 40px;
}

.pop_up_links .links_list i {
    color: #ffffff;
    background-color: var(--main-color);
    border-radius: 8px;
    padding: 10px;
    font-size: 40px;
    margin-right: 20px;
}

.pop_up_links .links_list a:last-child i {
    margin-right: 0;
}

.pop_up_links span {
    opacity: .8;
    margin-bottom: 20px;
}

.pop_up_links .nav_phone {
    border: 2px solid var(--main-color);
    border-radius: 8px;
    padding: 15px;
}

.pop_up_links .nav_phone i {
    font-size: 20px;
}

/* Шапка */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 80px;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.5s;
    z-index: 999;
}

.header_mobile {
    display: none;
}

header.sticky {
    background: #fff;
    padding: 20px 80px;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.nav_end {
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    margin-right: 50px;
}

.navbar a {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 5px;
    margin-right: 25px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

header.sticky a {
    color: #000;
}

.navbar a:hover,
.navbar a.active {
    border-bottom: 2px solid var(--main-color);
}

.nav_phone {
    display: flex;
    align-items: center;

    margin-left: 10px;
    padding-bottom: 5px;
}

.nav_phone i {
    font-size: 25px;
    color: #fff;
    margin-right: 10px;
}

header.sticky i {
    color: #000;
}

/* Главная */

.middle .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 200px 80px 70px 80px;
}

.middle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(40%) brightness(40%);
}

.middle {
    position: relative;
}

.middle_content {
    position: relative;
    max-width: 800px;
    z-index: 1;
    margin-right: 20px;
}

.middle_content h3 {
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--main-color);
}

.middle_content h1 {
    position: relative;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.middle_title h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    background: var(--main-color);
    height: 2px;
    width: 20%;
}

.middle_title p {
    font-size: 16px;
    opacity: .8;
}

.social-media {
    display: flex;
    align-items: center;
    margin: 30px 0px 40px 0px;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    font-size: 30px;
    transition: 0.3s ease;

    margin-right: 10px;
}

.social-media a:last-child {
    margin-right: 0;
}

.middle_content .btn {
    background: var(--main-color);
    margin-bottom: 10px;
}

.middle_content .btn_no_border {
    background: transparent;
}

.pluses_list {
    display: flex;
    align-items: flex-start;

    margin-top: 40px;
}

.pluses_block {
    display: flex;
    align-items: center;

    margin-right: 40px;
    margin-top: 40px;
}

.pluses_block:last-child {
    margin-right: 0;
}

.pluses_block_image {
    display: flex;
    align-items: center;
    border: 3px solid var(--main-color);
    border-radius: 10px;
    padding: 5px;
    margin-right: 20px;
}

.pluses_block img {
    width: 30px;
}

.pluses_block p {
    width: 200px;
}

.triangle {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 384px solid #000;
    border-right: 384px solid #000;
    border-bottom: 384px solid #000;
    border-left: 384px solid transparent;

    opacity: .5;
}

.middle_slider * {
    position: relative;
}

.middle_slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.middle_slide_image {
    width: 400px;
    margin-bottom: 60px;
}

.middle_slide .btn_image img {
    width: 12px;
}

.pluses_mobile {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    position: relative;
    display: none;
}

/* О нас */

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_black.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(80%);
}

.about {
    position: relative;
}

.about * {
    position: relative;
}

.about .btn_list {
    align-items: center;
    justify-content: center;
}

.about .btn {
    margin-right: 40px;
}

.about .btn_image img {
    width: 12px;

    float: auto;
    border-radius: 0px;
    margin-left: 0px;
}

.about svg {
    position: absolute;

    bottom: -40px;
    right: 40%;
}

.about .btn_list p {
    font-size: 14px;
    opacity: .8;
    margin-bottom: 0;
}

.about_block {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;

    margin: 60px;
}

.about_text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 800px;
    margin-left: 100px;
}

.about_block h3 {
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 60px;
}

.about_block h3 span {
    color: var(--main-color);
    font-size: 45px;
}

.about_block p {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: .9;
}

.about_image img {
    height: 500px;
    width: 500px;
    object-fit: cover;
    filter: grayscale(40%);
    border-radius: 50% 20% / 10% 40%;
}

/* Мастера */

.workers::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_white.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.workers {
    position: relative;
}

.workers::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_black.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;

    clip-path: polygon(0 0, 0 8%, 100% 0);
    filter: brightness(80%);
}

.workers .title {
    margin-top: 70px;
    position: relative;
}

.workers .title_descr {
    color: #000;
    font-weight: 600;
}

.workers .btn:hover {
    color: #fff;
}

.slide_container {
    max-width: 1120px;
    width: 100%;
    padding: 40px 0;

    display: flex;
}

.slide_content {
    margin: 0 40px;
    overflow: hidden;
    border-radius: 25px;

    padding-bottom: 30px;
}

.card {
    width: 350px;
    border-radius: 25px;
    background-color: #fff;

    box-shadow: 0 16px 32px rgba(34,35,38,.05), 0 8px 16px rgba(34,35,38,.05);
}

.image_content,
.card_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
}

.image_content {
    position: relative;
    row-gap: 5px;
    padding: 35px 0;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: url(../images/background_red.jpg);
    background-size: cover;
    border-radius: 25px 25px 0 25px;
}

.overlay::before,
.overlay::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -40px;
    height: 40px;
    width: 40px;
    background: url(../images/background_red.jpg);
    background-size: cover;
}

.overlay::after {
    border-radius: 0 25px 0 0;
    background: #fff;
}

.card_image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background: url(../images/background_red.jpg);
    background-size: cover;
    padding: 3px;
}

.card_image .card_img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
}

.card_content {
    padding: 0 20px;
}

.card_content h3 {
    position: relative;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 30px 0px 40px 0px;
}

.card_content h3:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    background: var(--main-color);
    height: 2px;
    width: 40px;
    transform: translateX(-50%);
}

.card_content p {
    text-align: center;
    font-size: 16px;
    color: #000;
    opacity: .8;
}

.card_content .btn {
    color: var(--main-color);
    margin: 40px 0px;
}

.swiper-navBtn {
    color: var(--main-color);
    transition: color 0.3 ease;
}

.swiper-navBtn:hover {
    filter: brightness(80%);
}

.swiper-navBtn::before,
.swiper-navBtn::after {
    font-size: 30px;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-pagination-bullet {
    background-color: var(--main-color);
    opacity: .7;
}

.swiper-pagination-bullet-active {
    background-color: var(--main-color);
    opacity: 1;
}

/* Галерея */

.gallery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_black.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(80%);
}

.gallery {
    position: relative;
    height: 100%;

    padding-bottom: 300px;
}

.gallery .title {
    position: relative;
    margin: 0 0 10px 0;
    padding-top: 50px;
}

.gallery .title_descr {
    margin-bottom: 100px;
}

.gallery_slider {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.gallery_slide_preview {
    height: calc((100% - 30px) / 3) !important;
}

.gallery_slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Отзывы */

.reviews::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_white.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.reviews,
.reviews * {
    position: relative;
}

.reviews .title {
    margin-top: 10px;
}

.reviews .title_descr {
    color: #000;
    font-weight: 600;
}

.reviews_swiper {
    width: 100%;
    height: 100%;

    border: 2px solid red;
}

.reviews_list {
    margin-top: 100px;
    padding-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
}

.reviews_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    width: 350px;
    margin-right: 40px;
    margin-top: 40px;
    
    background: #fff;
    flex: 1 1 30%;

    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 16px 32px rgba(34,35,38,.05), 0 8px 16px rgba(34,35,38,.05);
}

.reviews_block:last-child {
    margin-right: 0;
}

.reviews_block * {
    color: #000;
}

.reviews_block_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.reviews_block_title div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews_block_title img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.reviews_block h4 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
}

.reviews_block h4 a {
    margin-left: 10px;
}

.reviews_block_title div p {
    position: relative;
    margin-bottom: 10px;
}

.reviews_block_title div p:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    background: var(--main-color);
    height: 2px;
    width: 40px;
    transform: translateX(-50%);
}

.reviews_block p {
    position: relative;
    text-align: center;
    font-size: 16px;
    opacity: .8;
}

.reviews .container .title_descr:last-child {
    margin-bottom: 0;
}

.reviews .links_list {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
}

.reviews .links_list i {
    color: #000;
    font-size: 35px;
    margin-right: 10px;
}

.reviews .links_list img {
    width: 30px;
}

.reviews .title_descr img {
    width: 40px;
}

/* Правила */

.faq:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_faq.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(80%) brightness(20%);
}

.faq {
    position: relative;
}

.faq:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_white.jpg);
    background-size: cover;
    background-repeat: no-repeat;

    clip-path: polygon(0 0, 0 5%, 100% 0);
}

.faq_container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_white.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    clip-path: polygon(100% 95%, 0 100%, 100% 100%);
}

.faq * {
    position: relative;
}

.faq .title {
    padding-top: 70px;
}

.faq .title_descr {
    margin-bottom: 150px;
}

.faq .accordeon {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq i {
    font-size: 30px;
    color: var(--main-color);
}

.faq_list {
    display: flex;
    justify-content:flex-end;

    margin-bottom: 150px;
}

.faq_image img {
    width: 400px;
}

.faq_text {
    display: flex;
    flex-direction: column;
}

.faq_block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 20px;
    border: 3px solid var(--main-color);

    width: 1000px;
    margin-bottom: 15px;
}

.faq_block:last-child {
    margin-bottom: 0;
}

.faq_block .accordeon {
    display: flex;
    align-items: center;
}

.faq_block h4 {
    font-size: 20px;
    font-weight: 600;
}

.faq_block p {
    font-size: 16px;
    margin-top: 40px;
}

/* Форма связи */

.form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_white.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.form,
.form * {
    color: #000;
    position: relative;
}

.form_list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form .form_image img {
    width: 400px;
}

.form_text h3 {
    text-align: center;
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form_text p {
    text-align: center;
    font-size: 18px;
    opacity: .9;

    max-width: 500px;
}

.inputbox_list {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 40px;
}

form .inputbox {
  font-size: 16px;
  font-weight: 600;
  opacity: .8;

  border-radius: 8px;

  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 25px;
}

form .inputbox:last-child {
    margin-bottom: 0;
}

.form .inputbox input {
  width: 430px;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  outline: none;
  resize: none;
}

.form .inputbox span {
  padding: 20px;
}

.form .btn {
  background: var(--main-color);
  color: #fff;
}

/* Карты */

.contacts:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_contacts.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(50%) brightness(20%);
}

.contacts {
    position: relative;
}

.contacts * {
    position: relative;
}

.contacts::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background_white.jpg);
    background-size: cover;
    background-repeat: no-repeat;

    clip-path: polygon(0 0, 0 8%, 100% 0);
}

.contacts .title {
    margin-top: 70px;
}

.contacts .title_descr {
    width: 500px;
    text-align: center;

    margin: 30px auto 100px auto;
}

.contacts_list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacts_social {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.contacts_social h4 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.contacts_social_list {
    display: flex;
    align-items: center;

    border-radius: 20px;
    border: 3px solid var(--main-color);
    padding: 20px;
}

.contacts_social_block a {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding-right: 20px;
    border-right: 2px solid var(--main-color);
    margin-right: 20px;
}

.contacts_social_block:last-child a {
    padding-right: 0;
    margin-right: 0;
    border: none;
}

.contacts_social_block img {
    width: 60px;
}

.contacts_social_block i {
    font-size: 30px;
    margin-bottom: 10px;
}

.contacts_social_block p {
    font-size: 16px;
    font-weight: 600;
}

.contacts_studio {
    display: flex;
    align-items: center;
}

.contacts_studio_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    width: 300px;
    margin-right: 40px;
    margin-top: 40px;
}

.contacts_studio_block:last-child {
    margin-right: 0;
}

.contacts_studio_block i {
    font-size: 40px;
    margin-bottom: 10px;
}

.contacts_studio_block p {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contacts_studio_block span {
    font-size: 16px;
    opacity: .8;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 80px;
}

.footer_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .nav_start {
    display: flex;
    flex-direction: column;
}

.footer .logo {
    color: var(--main-color);
    margin-bottom: 20px;
}

.footer_bumble {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 200px;
    text-align: center;
}

.footer_bumble img {
    width: 30px;
    margin-bottom: 15px;
}

.footer_bumble p {
    font-size: 16px;
    margin-bottom: 10px;

    line-height: 150%;
}

.footer_bumble p span {
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    color: #33bbcf;
    opacity: 1;
}

.footer_bumble a:last-child {
    font-size: 12px;
    opacity: .8;
}

@media (max-width: 1550px) {
    .middle .btn_list {
        flex-direction: column;
    }

    .triangle {
        border-top: 400px solid #000;
        border-right: 400px solid #000;
        border-bottom: 400px solid #000;
        border-left: 400px solid transparent;
    }

    .middle .btn_list .btn {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .middle .btn_list .btn:last-child {
        margin-bottom: 0;
    }

    .about_block {
        margin: 60px 0px;
    }

    .about_image img {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 1350px) {
    .pluses_list {
        flex-wrap: wrap;
    }

    .triangle {
        border-top: 450px solid #000;
        border-right: 450px solid #000;
        border-bottom: 450px solid #000;
        border-left: 450px solid transparent;
    }

    .about_image img {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 1300px) {
    .header {
        padding: 30px 40px;
    }

    .header.sticky {
        padding: 20px 40px;
    }

    .triangle {
        display: none;
    }

    .middle::before {
        filter: grayscale(40%) brightness(30%);
    }

    .reviews_block {
        min-width: 500px;
    }

    .reviews_block:nth-child(2) {
        margin-right: 0;
    }

    .faq_list {
        justify-content: center;
    }

    .faq_block {
        width: 100%;
    }

    .contacts_studio {
        flex-direction: column;
    }

    .contacts_studio_block {
        width: 100%;
        flex: 1 1 33%;
        margin-right: 0;
    }
}

@media (max-width: 1999px) {
    .reviews_block:nth-child(2),
    .reviews_block:nth-child(3) {
        margin-right: 40px;
    }
}

@media (max-width: 1150px) {
    .header {
        display: none;
    }

    .header_mobile {
        display: block;
        position: fixed;

        top: 0;
        overflow: hidden;

        width: 100%;
        z-index: 100;
    }

    .header_mobile_up {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 30px 40px;
        background: transparent;
        transition: 0.5s;
    }

    .header_mobile_up .nav_phone {
        margin-left: 0px;
    }

    .header_mobile_up.sticky {
        padding: 20px 40px;
        background: #fff;
    }

    .logo_mobile img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

    .header_mobile_links {
        display: flex;
        justify-content: center;
        align-items: center;

        z-index: 999;
    }

    .header_mobile_links a {
        display: flex;
        align-items: center;
        margin-right: 20px;
    }

    .header_mobile_links a:last-child {
        margin-right: 0;
    }

    .header_mobile_links a i {
        color: #fff;
        font-size: 30px;
    }

    .header_mobile_up.sticky i {
        color: #000;
        font-size: 30px;
        z-index: 999;
    }

    .menu-btn {
        width: 32px;
        height: 32px;
        position: relative;
        z-index: 2;
        overflow: hidden;

        border: 2px solid #fff;
        border-radius: 10px;
    }

    .header_mobile_up.sticky .menu-btn {
        border: 2px solid #000;
    }

    .menu-btn span {
        width: 16px;
        height: 2px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        transition: all 0.5s;
    }

    .header_mobile_up.sticky .menu-btn span {
        background-color: #000;
    }

    .menu-btn span:nth-of-type(2) {
        top: calc(50% - 5px);
    }
    
    .menu-btn span:nth-of-type(3) {
        top: calc(50% + 5px);
    }

    .menu-btn.active span:nth-of-type(1) {
        display: none;
    }

    .menu-btn.active span:nth-of-type(2) {
        top: 50%;
        transform: translate(-50%, 0%) rotate(45deg);  
    }
    
    .menu-btn.active span:nth-of-type(3) {
        top: 50%;
        transform: translate(-50%, 0%) rotate(-45deg); 
    }

    .header_mobile_menu {
        display: flex;
        flex-direction: column;

        background: #fff;
        z-index: 998;

        top: 0;
        left: 0;
        width: 100%;
        transform: translateY(-150%);
        transition: transform 0.5s ease-in-out;
    }

    .header_mobile_menu.active {
        padding: 20px 40px;
        transform: translateY(0);
    }

    .header_mobile_menu a {
        display: none;
        color: #000;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .header_mobile_menu a:last-child {
        margin-bottom: 0;
    }

    .header_mobile_menu.active a {
        display: block;
    }

    .middle_slide_image {
        width: 300px;
    }

    .middle .container {
        align-items: flex-start;
    }

    .about_block {
        flex-direction: column;
        align-items: flex-start;
    }

    .about_image img {
        width: 550px;
        height: 450px;
    }

    .about_text {
        width: 100%;
        margin-left: 0;
        margin-bottom: 120px;
    }

    .reviews_block,
    .reviews_block:nth-child(2),
    .reviews_block:last-child {
        margin-right: 0;
    }
}

@media (max-width: 1000px) {
    .footer .navbar {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
    }

    .footer .navbar a {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 900px) {
    .middle .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .middle_content {
        margin-right: 0;
    }

    .middle_slider {
        display: none;
    }

    .pluses_block:last-child {
        margin-right: 0;
    }
}

@media (max-width: 800px) {
    .container {
        padding: 40px;
    }

    .title {
        font-size: 30px;
    }

    .btn {
        padding: 16px 20px;
    }

    .middle::before {
        background-image: url(../images/background_mobile.jpg);
        background-attachment: scroll;
        background-position: 50%;
    }

    .middle .container {
        padding: 200px 40px 70px 40px;
    }

    .faq:before {
        background-attachment: scroll;
        background-image: url(../images/background_faq_mobile.jpg);
        background-position: 50%;
    }

    .contacts:before {
        background-image: url(../images/background_contacts_mobile.jpg);
    }

    .about::before,
    .workers::after,
    .gallery::before {
        background-image: url(../images/background_black_mobile.jpg);
    }

    .workers::before,
    .reviews::before,
    .faq:after,
    .faq_container::before
    .form::before {
        background-image: url(../images/background_white_mobile.jpg);
    }
}

@media (max-width: 750px) {
    .slide_container {
        align-items: center;
    }
}

@media (max-width: 700px) {
    .about_image img {
        width: 400px;
        height: 400px;
    }

    .about .btn {
        font-size: 14px;
    }

    .workers::after {
        clip-path: polygon(0 0, 0 5%, 100% 0);
    }

    .workers .title {
        margin-top: 50px;
    }

    .faq:after {
        clip-path: polygon(0 0, 0 3%, 100% 0);
    }

    .contacts::after {
        clip-path: polygon(0 0, 0 5%, 100% 0);
    }
}

@media (max-width: 650px) {
    .middle .container {
        padding: 200px 40px 0px 40px;
    }

    .pluses_list {
        display: none;
    }

    .pluses_mobile {
        display: flex;
        padding: 20px 40px 40px 40px;
    }

    .pluses_block:first-child {
        margin-top: 0;
    }

    .about_block h3 {
        font-size: 18px;
    }

    .about_block h3 span {
        font-size: 35px;
    }

    .reviews_block {
        min-width: 100%;
    }

    .faq:before {
        background-position: 50%;
    }

    .contacts .title_descr {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .contacts_social_list {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    form .inputbox input {
        width: 400px;
    }

    .contacts_social_block:first-child a {
        padding-left: 10px;
    }
}

@media (max-width: 500px) {
    .pop_up_body {
        width: 100%;
        padding: 40px 20px 10px 20px;

        margin: auto 20px;
    }

    .pop_up .inputbox input,
    .pop_up .inputbox textarea {
        width: 100%;
    }

    .pop_up_body_links {
        padding: 30px;
    }

    .pop_up_links .links_list i {
        font-size: 30px;
    }

    .title_descr {
        margin: 30px 0 50px 0;
    }

    .btn {
        padding: 16px;
    }

    .middle_content h3 {
        font-size: 20px;
    }
    
    .middle_content h1 {
        font-size: 40px;
    }

    .about_block {
        align-items: center;
    }

    .about_block h3 {
        max-width: 300px;
    }

    .about_block h3 span {
        margin-top: 10px;
        font-size: 40px;
    }

    .about_image img {
        width: 300px;
        height: 300px;
    }

    .workers .container {
        padding: 40px 10px;
    }

    .swiper-navBtn::before,
    .swiper-navBtn::after {
        font-size: 20px;
    }

    .card_content p {
        font-size: 14px;
    }

    .gallery .title_descr {
        padding: 0 20px;
    }

    .reviews .title_descr {
        margin-bottom: -50px;
    }

    .faq .title_descr {
        margin-bottom: 100px;
    }

    .contacts .title {
        margin-top: 90px;
    }

    .contacts .title_descr {
        margin-bottom: 70px;
    }

    .contacts_social {
        margin-bottom: 20px;
    }

    .footer {
        flex-direction: column;
        padding: 40px;
        align-items: center;
        text-align: center;
    }

    .footer .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .footer .navbar a {
        margin-right: 15px;
    }

    .footer .navbar a:nth-child(4),
    .footer .navbar a:last-child {
        margin-right: 0px;
    }

    .footer_bumble {
        align-self: center;
    }

    .footer_bumble img {
        box-sizing: content-box;
        padding: 25px 20px 10px 20px;
        border-top: 2px solid var(--main-color);
    }
}

@media (max-width: 466px) {
    .contacts_social_list {
        flex-direction: column;
    }

    .contacts_social_block {
        width: 150px;
    }

    .contacts_social_block:nth-child(1) a,
    .contacts_social_block:nth-child(2) a,
    .contacts_social_block:nth-child(3) a,
    .contacts_social_block:nth-child(4) a {
        padding: 0;
        border-right: none;
    }

    .contacts_social_block:nth-child(1) a,
    .contacts_social_block:nth-child(2) a {
        margin: 0px 20px 20px 20px;
        padding-bottom: 20px;
        border-bottom: 2px solid var(--main-color);
    }

    .contacts_social_block:nth-child(4) a {
        padding-bottom: 0;
        margin: 0px 20px 10px 20px;
    }

}

@media (max-width: 450px) {
    .container {
        padding: 30px 20px;
    }

    .header_mobile_up {
        padding: 30px 20px;
    }

    .header_mobile_up.sticky {
        background: #fff;
        padding: 20px;
    }

    .header_mobile_menu.active {
        padding: 20px;
    }

    .middle .container {
        padding: 200px 20px 0px 20px;
    }

    .about .btn {
        margin-right: 20px;
    }

    .pluses_mobile {
        padding: 30px 20px;
    }

    .form .inputbox input,
    .form .inputbox textarea {
        width: 350px;
    }
}

@media (max-width: 407px) {
    .footer .navbar a:nth-child(3) {
        margin-right: 0px;
    }

    .footer .navbar a:nth-child(4) {
        margin-right: 15px;
    }
}

@media (max-width: 400px) {
    .form .inputbox input,
    .form .inputbox textarea {
        width: 100%;
    }

    .pop_up_links .links_list i {
        font-size: 25px;
        padding: 8px;
    }
}

.pop_up_links .links_list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.pop_up_links .links_list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--main-color);
    border-radius: 12px;
    margin-right: 0;
}

.pop_up_links .links_list i {
    color: #ffffff;
    background: none;
    padding: 0;
    margin: 0;
    font-size: 38px;
    line-height: 1;
}

.pop_up_links .links_list img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.header_mobile_links a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_mobile_links a i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_mobile_links a i {
    display: flex;
    align-items: center;
    justify-content: center;
}
