﻿main {
    display: flex;
}

.invisible {
    background-color: green;
    width: 60px;
    height: 100%;
    z-index: -1;
}

/* Кнопка вверх */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    z-index: 3;
}

.back-to-top img {
    width: 50px;
    height: 50px;
}

.back-to-top:hover {
    animation: pulsate-bck 0.5s ease-in-out infinite both;
}

/*Вертикальная панель*/

.nav_vertical {
    position: fixed;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 60px;
    background-color: rgb(148, 128, 129);
    z-index: 2;
    height: 100%;
    text-align: center;
}

.socialmedia img {
    margin-top: 30px;
}

.socialmedia img:hover {
    animation: vibrate-1 .5s linear both
}

/*Горизонтальная панель*/

#header {
    /* padding-top: 10px; */
    position: fixed;
    z-index: 1;
    width: calc(100% - 60px);
    padding-top: 30px;
    transition: height .3s, padding-top .3s, background-color .3s, box-shadow .3s, backdrop-filter .3s;
}

.header_mini {
    background-color: rgba(225, 225, 225, .7);
    padding-top: 0px !important;
    box-shadow: 0px 0px 29px -11px rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
}

.navigation {
    display: flex;
    justify-content: space-between;
    font-family: oswald;
    font-size: 22px;
    align-items: center;
    padding: 0 50px;
    height: 70px;
}

.burger_button {
    display: none;
}

.nav_block2 {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.nav_block2 a {
    text-decoration: none;
    color: #212529;
    font-weight: 350;
    font-size: 23px;
    line-height: 33px;
}

.menu {
    position: relative;
}

.menu a:hover {
    text-shadow: 0px 0px 1px black;
}

.nav_block3 {
    display: flex;
    justify-content: right;
    align-items: center;
}

.phoneandsocial {
    display: flex;
    align-items: center;
}

.nav_phone {
    position: relative;
    align-items: center;
    text-align: center;
}

.socialmedia2 {
    display: none;
}

.phone_icon {
    text-align: right;
}

.nav_phone a {
    text-decoration: none;
    color: #212529;
    font-size: 28px;
}

.nav_phone:hover {
    text-shadow: 0px 0px 1px black;
}

.nav_order {
    margin-left: 30px;
    align-items: center;
    border-style: none;
    position: relative;
    top: -4px;
}

.mybutton {
    white-space: nowrap;
    /*запрет переноса слов*/
    font: normal 600 0.5rem/0.5rem 'Merriweather', serif;
    font-size: 15px;
    border-radius: 45px;
    padding: 17px 20px;
    letter-spacing: .075rem;
    background-color: #DD2A35;
    text-decoration: none;
    color: white;
    text-shadow: 1px 1px 2px black;
    text-transform: uppercase;
    box-shadow: 2px 2px 5px black;
}

.mybutton:hover {
    box-shadow: 3px 3px 20px black;
}

/* ЗАГОЛОВОК */

.title_invisible {
    display: none;
}

.price {
    text-align: center;
    padding-bottom: 10px;
}

.descript {
    position: relative;
    padding-top: 100px;
    background: url(./images/bg.webp) no-repeat center/cover;
    /*фон растягивается на ширину экрана*/
    width: 100%;
    /*фон растягивается по высоте экрана*/
    min-height: 100vh;
}

.description2 {
    color: #222;
    display: flex;
    align-items: center;
    height: 100%;
    /* align и height работают только вместе*/
    background-color: transparent;
    padding: 0 30px;
    font-family: Merriweather;
    font-size: 15px;
    flex-direction: row-reverse;
    padding-top: 10%;
}

.holidays {
    display: block;
    position: relative;
    text-align: center;
    padding-top: 100px;
    margin-bottom: -100px;
}

.holidays p {
    color: red;
    line-height: initial;
    font-size: 2rem;
}

.title {
    width: 50%;
    text-align: left;
}

.title_photo {
    width: 50%;
}

.title_photo img {
    width: 70%;
    margin-bottom: 30px;
    margin-left: 100px;
}

.promo_features {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 5rem;
}

.promo_features>li {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    width: calc((100% - 3rem)/2);
}

.title_description {
    text-align: center;
}

h1 {
    margin-bottom: 60px;
}

.callback {
    text-align: left;
    margin-left: 2rem;
    padding-top: 30px;
}

/* Разметка страниц" */

.block_screen {
    background-color: rgb(240, 240, 240);
    width: 100%;
    min-height: 70vh;
    padding-top: 100px;
    padding-bottom: 100px;
}

.with_background {
    background: url(./images/bg.webp) no-repeat center/cover;
}

.double_block {
    display: flex;
    align-items: center;
    height: 100%;
}

.percent50 {
    width: 50%;
    text-align: center;
}

/* Блок "О Нас" */

.about_us_text {
    text-indent: 25px;
    /*Красная строка (отступ)*/
}

.about_us_photo img {
    width: 70%;
}

.about_us_text p {
    text-align: left;
    padding: 40px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.778;
}

/* Блок "Производство" */

.production_text {
    text-indent: 25px;
    /*Красная строка (отступ)*/
}

.production_photo img {
    width: 70%;
}

.production_text p {
    text-align: left;
    padding: 40px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.778;
}

/* Блок "Сроки изготовления" */

.schedule {
    padding-top: 150px;
}

.schedule>div {
    flex-direction: row-reverse;
}

.schedule_text {
    text-indent: 25px;
    /*Красная строка (отступ)*/
}

.schedule_photo img {
    width: 90%;
}

.schedule_text h2 {
    margin-bottom: 40px;
}

.schedule_text>p {
    text-align: left;
    padding: 0 40px;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.778;
}

/* КАК МЫ РАБОТАЕМ */

.section-heading {
    padding-top: 3rem;
    margin-bottom: 6rem;
    text-align: center;
}

.steps-list {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    gap: 6rem 6rem;
    counter-reset: num;
}

.steps-list__item {
    position: relative;
    width: calc((100% - 12rem)/3);
    padding: 4rem 3rem 2rem;
    text-align: center;
    border: 0.1rem solid rgb(185, 185, 185);
    font-style: normal;
    font-family: 'Inter', sans-serif;
}

.steps-list__item:before {
    position: absolute;
    top: -3rem;
    left: calc(50% - 3.5rem);
    width: 7rem;
    height: 6rem;
    font: normal 900 5rem 'Montserrat', sans-serif;
    color: #dd2a3631;
    text-align: center;
    content: counter(num);
    counter-increment: num;
}

.step-item1:before {
    counter-set: num 1;
}

.step-item2:before {
    counter-set: num 1;
}

.step-item__title {
    margin-bottom: 2rem;
    font: normal 400 1.5rem 'Merriweather', serif;
}

/* ОТЗЫВЫ  */

.reviews {
    background-color: rgb(240, 240, 240);
    width: 100%;
    height: 600px;
    padding: 50px 0 50px 50px;
    text-align: center;
}

.reviews p {
    padding-top: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.778;
}

.reviews2 {
    position: relative;
}

.reviews2 img {
    position: absolute;
}

.avito {
    text-decoration: none;
    position: relative;
}

.avito::before {
    content: url(./images/avito.png);
    position: relative;
    top: 8px;
}

/* КАРТА  */

.map_photo {
    display: flex;
}

.map {
    width: 50%;
    text-align: center;
}

iframe {
    width: 100%;
}

.office_photo {
    width: 50%;
    height: 600px;
}

.office_photo img {
    width: 100%;
    height: 600px;
}

/* ФУТЕР */

footer {
    background: url(./images/bg.webp) no-repeat center/cover;
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

.Contacts {
    display: flex;
    text-align: left;
    padding-top: 20px;
}

.footer_logo {
    width: 50%;
    position: relative;
}

.footer_logo img {
    margin-bottom: 20px;
}

.footer_text {
    width: 50%;
    position: relative;
}

.footer_text a,
p {
    position: relative;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    color: #222;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;

}

.footer_icons::before {
    position: absolute;
    top: 2px;
    left: -28px;
}

.footer_phone::before {
    content: url(./icons/phone.png);
}

.footer_address::before {
    content: url(./icons/Location.png);
}

.footer_time::before {
    content: url(./icons/time.png);
}

.footer_socialmedia {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
}

.footer_socialmedia img:hover {
    animation: vibrate-1 .5s linear both
}

/* КРАСНОЕ ПОДЧЕРКИВАНИЕ */

.red_link::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: rgb(182, 0, 0);
    position: absolute;
    left: 0;
    bottom: -5px;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s;
}

.red_link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


.footer_phone::after {
    bottom: -2px;
}

.nav_phone::after {
    transition: transform .5s;
}

.Contacts {
    justify-content: space-between;
}

.copyright {
    position: absolute;
    bottom: 0px;
}


/*              СТРАНИЦА С ЦЕНАМИ */

.grid_main {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.grid_price_flex {
    display: flex;
    justify-content: center;
}

.grid_eskiz img {
    width: 70px;
    margin-top: 7px;
}

.grid_block {
    border: 1px solid black;
}

.grid_block p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.shedule {
    text-align: left;
    width: 80%;
    height: 100%;
    padding: 10px 0px 10px 0px;
    margin-left: 5%;
}

.price1 {
    width: 230px;
    height: 150px;
}

.price2 {
    display: flex;
    width: 130px;
    height: 70px;
    border-top: none;
}

.price3 {
    display: flex;
    width: 100px;
    height: 70px;
    border-left: none;
    border-top: none;
}

.price3 p {
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.price1 p {
    padding-top: 10px;
}

.price2 p {
    margin: 5px 7% 0 auto;
}

.figure3 img {
    width: 15px;
    height: 15px;
    margin: auto;
}

.price_default_font {
    font-weight: 600 !important;
}

.text_image {
    margin-top: 32px !important;
}

.price_text2 {
    display: none;
}

.price_p2 {
    width: 744px;
    margin: 30px auto 0 auto;
}

.price_p2 p {
    text-align: left;
}

.price_p1 {
    width: 744px;
    margin: 0 auto;
    line-height: 30px;
    font-size: 24px;
}

.promo {
    position: absolute;
    left: -99px;
    bottom: -23px;
    width: 100px;
}

/* @keyframes rotate-center{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}  */
@keyframes vibrate-1 {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-2px, 2px)
    }

    40% {
        transform: translate(-2px, -2px)
    }

    60% {
        transform: translate(2px, 2px)
    }

    80% {
        transform: translate(2px, -2px)
    }

    100% {
        transform: translate(0)
    }
}

@keyframes pulsate-bck {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}