@import url("https://fonts.googleapis.com/css2?family=Cuprum:wght@400;700&family=Miriam+Libre:wght@700&family=Podkova&family=Roboto:wght@500&display=swap");

* {
    padding: 0;
    margin: 0;
}
body {
    background: url(/public/images/white-brick-small.jpg);
    font-family: "Cuprum", sans-serif;
}
section {
    text-align: center;
    margin: 0 auto;
}
.container {
    width: 100%;
    max-width: 1200px;
    min-width: 320px;
    margin: 0 auto;
    box-shadow: 0 5px 12px 5px gray;
    background: white;
}
.header {
    width: 100%;
    height: 150px;
    background: #1b0f1b;
    border-bottom: 3px solid #fac11b;
}
.header .header__top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 50px;
    border-bottom: 1px solid #fac11b;
}
.header .logo {
    /* width: 388px;
    height: 73px; */
    /* background: url(/public/images/logo.png); */
}
.header .logo img {
    width: 100%;
}
.header .contacts {
    color: #febd00;
    font-family: "Podkova", serif;
    font-weight: 700;
    font-size: 36px;
    text-align: right;
}
.header .contacts a {
    color: #febd00;
    text-decoration: none;
}
.navi {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.navi .naviblok {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    border-bottom: radial-gradient(
        50% 50% at 50% 50%,
        #febd00 0%,
        rgba(254, 189, 0, 0.109375) 99.99%,
        rgba(254, 189, 0, 0) 100%
    );
}
.navi .navi__menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.navi .menu__link {
    text-decoration: none;
    color: black;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 18px;
    border-radius: 32px;
    width: 150px;
    height: 42px;
    border: 3px solid #3a130c;
    margin: 20px 25px;
    border-radius: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.navi .menu__link:hover {
    background: #1b0f1b;
    border: 3px solid #1b0f1b;
    font-size: 16px;
    color: white;
}
.menu__link.active {
    /* background-color: #fff4a8; */
    border-color: #febd00;
    color: #febd00;
}
.menu__hamburger {
    width: 35px;
    height: 35px;
    margin-left: auto;
    background: transparent;
    cursor: pointer;
    border: none;
    display: none;
}
.menu__hamburger:focus {
    outline: none;
}
.menu__hamburger span {
    height: 5px;
    background: #febd00;
    display: block;
    margin: 7px 0;
}
.menu__hamburger::before,
.menu__hamburger::after {
    content: "";
    height: 5px;
    background: #febd00;
    display: block;
}
.navi__menu li {
}

.category-name {
    text-align: center;
    margin: 10px;
}
.line {
    width: 100%;
    height: 2px;
    background: radial-gradient(
        50% 50% at 50% 50%,
        #febd00 0%,
        rgba(254, 189, 0, 0.109375) 99.99%,
        rgba(254, 189, 0, 0) 100%
    );
    margin-top: 10px;
}
.line_2 {
    width: 100%;
    height: 2px;
    background: radial-gradient(
        50% 50% at 50% 50%,
        #febd00 0%,
        rgba(254, 189, 0, 0.109375) 99.99%,
        rgba(254, 189, 0, 0) 100%
    );
    margin: 30px 0;
}
.line_3 {
    width: 100%;
    height: 2px;
    background: radial-gradient(
        50% 50% at 50% 50%,
        #febd00 0%,
        rgba(254, 189, 0, 0.109375) 99.99%,
        rgba(254, 189, 0, 0) 100%
    );
    margin: 20px;
}

.content h1 {
    text-align: center;
    padding: 20px;
    font-family: "Cuprum", sans-serif;
    font-weight: 700;
    font-size: 36px;
}
.content .uslugi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 30px;
}
.uslugi .masterok,
.uslugi .wall,
.uslugi .car,
.uslugi .house {
    height: 135px;
    width: 175px;
}
.uslugi .img1,
.uslugi .img2,
.uslugi .img3,
.uslugi .img4 {
    width: 250px;
    height: 273px;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
    margin: 20px;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-evenly;
}
.uslugi .img1:hover,
.uslugi .img2:hover,
.uslugi .img3:hover,
.uslugi .img4:hover {
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
}
.uslugi p {
    font-family: "Cuprum", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    padding: 0 20px;
}
.about {
    width: 100%;
    height: 236px;
    background: url(/public/images/header_bg.jpg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.about p {
    color: white;
    font-family: "Cuprum", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 28px;
    padding: 0 20px;
    margin: 0 auto;
}
h2 {
    text-align: center;
    padding: 10px;
    font-family: "Cuprum", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
}
.info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.info1,
.info2,
.info3,
.info4 {
    width: 236px;
    height: 237px;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px;
}
.info1:hover,
.info2:hover,
.info3:hover,
.info4:hover {
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
}

.info p {
    font-family: "Cuprum", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    padding: 0 10px;
}
.number1,
.number2,
.number3,
.number4 {
    width: 110px;
    height: 110px;
    color: #febd00;
    border: 15px solid #febd00;
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-family: "Miriam Libre", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 72px;
    text-align: center;
    margin-bottom: 20px;
}

.my_job {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.my_job .stove,
.my_job .bbq,
.my_job .fareplace {
    width: 309px;
    margin: 30px;
    background: #ffffff;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
}
.my_job .stove:hover,
.my_job .bbq:hover,
.my_job .fareplace:hover {
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
}
.my_job h3 {
    background: #1b0f1b;
    color: #febd00;
    height: 45px;
    padding-top: 15px;
    font-family: "Cuprum", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
}
.my_job a {
    text-decoration: none;
    color: #1b0f1b;
}
.my_job a:hover {
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.562); */
    text-decoration: underline;
}
.my_job h3:hover {
    /* font-size: 26px; */
    /* color: #ffffff; */
    text-decoration: underline;

    /* text-shadow: 1px 1px 2px rgba(255, 208, 0, 0.562); */
}
.my_job p {
    font-family: "Cuprum", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 22px;
    text-align: left;
    padding: 20px 30px;
}
.my_job img {
    vertical-align: bottom;
}
.price {
    height: 346px;
    width: 100%;
    background: url(/public/images/flame.jpg);
    margin: 0 auto;
    font-family: "Cuprum", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 26px;
    color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    margin-top: 30px;
}
.price p {
    text-align: left;
    padding: 30px 50px;
}
.price .button_price {
    height: 48px;
    width: 249px;
    border: 4px solid #fac11b;
    box-sizing: border-box;
    border-radius: 32px;
    font-family: "Cuprum", sans-serif;
    font-weight: bold;
    font-size: 20px;
    background-color: #fac11b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.price .button_price a {
    text-decoration: none;
    color: #000000;
}
.price .button_price a:hover {
    color: #ffffff;
    font-size: 22px;
}
.price .button_price:hover {
    /* color: #ffffff; */
    /* border: 4px solid #ffffff; */
}

footer {
    height: 194px;
    margin-top: 50px;
    background: #1b0f1b;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
footer .city {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    color: white;
}
footer .messenger {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    margin: 0 50px;
}
footer .messenger div {
    margin: 10px;
    /* box-shadow: 0px 0px 10px 10px #fac11b; */
}
footer .messenger div:hover {
}
footer .messenger img {
    /* margin: 10px; */
    /* box-shadow: 0px 0px 10px 10px #fac11b; */
}
footer .button_call {
    height: 47px;
    width: 204px;
    border: 4px solid #fac11b;
    box-sizing: border-box;
    border-radius: 30px;
    color: #fac11b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-family: "Cuprum", sans-serif;
    font-weight: bold;
    font-size: 20px;
}
footer .button_call a {
    text-decoration: none;
    color: #fac11b;
}

@media (max-width: 1161px) {
    .navi__menu a {
        width: 140px;
        margin: 20px 18px;
    }
    .uslugi {
        max-width: 700px;
    }
    .my_job {
        justify-content: center;
    }
    .info {
        max-width: 635px;
    }
}
@media (max-width: 920px) {
    .header {
        height: 220px;
    }
    .header .header__top {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .navi__menu a {
        width: 122px;
        margin: 20px 12px;
    }
    footer .city {
        display: none;
    }
    footer .messenger {
        margin: 0 10px;
    }
}
@media (max-width: 760px) {
    .navi .navi__menu {
        display: none;
    }
    .navi__menu a {
        width: 275px;
        margin: 8px 5px;
    }
    .navi .menu__hamburger {
        display: block;
    }
    .navi .naviblock {
        padding-top: 13px;
        padding-bottom: 13px;
    }
    .menu__link {
        padding: 10px 0;
    }
    .menu__link:hover {
        background: transparent;
    }
    .navi .naviblok--active .menu__hamburger span {
        display: none;
    }
    .navi .naviblok--active .menu__hamburger::after {
        transform: rotate(45deg);
    }
    .navi .naviblok--active .menu__hamburger::before {
        transform: rotate(-45deg) translate(-3px, 3px);
    }
    .navi .naviblok--active .navi__menu {
        display: block;
    }
    .content .about {
        height: 380px;
    }
    .content .price {
        height: 420px;
    }
    .content .price p {
        font-size: 24px;
    }
}
@media (max-width: 530px) {
    .header .logo {
        /* background: url(/public/images/logo.png) no-repeat center; */
        /* background-size: 80%; */
    }
    .header .header__top {
        padding: 20px 0px;
    }
    .header .contacts {
        font-size: 30px;
        text-align: center;
    }
    .content .about {
        height: 420px;
    }
    .content .about p {
        font-size: 24px;
    }
    .content .price p {
        font-size: 20px;
    }
    footer .button_call {
        margin-right: none;
        margin-bottom: 20px;
    }
    footer .messenger div {
        margin: 5px;
    }
}
@media (max-width: 400px) {
    .header .logo {
        /* background-size: 70%; */
    }
    .header .contacts {
        font-size: 26px;
    }
    .content .price {
        height: 514px;
    }
    footer .messenger div {
        margin: 2px;
    }
}
@media (max-width: 360px) {
    .header {
        height: 170px;
    }
    .header .logo {
        /* background-size: 100%; */
    }
    .header .contacts {
        font-size: 24px;
    }
    .header .logo {
        /* width: 238px;
        height: 44px; */
    }
}

.modal {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-body {
    background-color: rgb(255, 255, 255);
    max-width: 500px;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    position: relative;
}
.modal-body .close-modal {
    border: none;
    background: transparent;
    padding: 5px;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    color: #fff;
    margin: 0;
    font-size: 25px;
}
.modal-body .close-modal-wrap {
    position: relative;
    width: 100%;
}
.modal-body.full-width {
    width: fit-content;
    height: fit-content;
    max-width: 100vw;
    max-height: 100vh;
    box-sizing: border-box;
    overflow: auto;
}
/* .modal-body.full-width img {
    overflow: auto;
} */
.modal-body p {
    font-size: 28px;
    font-weight: bold;
    color: rgb(243, 164, 17);
}
.modal-body input {
    display: block;
    margin: 15px auto 0px auto;
    width: 350px;
    padding: 20px;
    background-color: #e5e5e5;
    border-radius: 35px;
    border: none;
}
.modal-body input:focus {
    outline: none;
}
.modal-body .btn-secondary {
    cursor: pointer;
    display: inline;
    width: 180px;
    margin: 6px 10px 6px 10px;
    padding: 10px 5px;
    font-size: 18px;
    border: none;
    background-color: white;
    color: #3a130c;
    border-radius: 50px;
    border: 3px solid #3a130c;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
}
.modal-body textarea {
    display: block;
    margin: 15px auto 0px auto;
    width: 350px;
    padding: 20px;
    background-color: #e5e5e5;
    border-radius: 35px;
    border: none;
    resize: none;
}
.modal-body textarea:focus {
    outline: none;
}

.all-card {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.card {
    display: flex;
    border-radius: 15px;
    box-shadow: 0px 4px 25px rgb(0 0 0 / 25%);
    margin: 15px;
    padding: 20px;
    /* max-width: 400px; */
    flex-direction: column;
}
.slider-container {
    position: relative;
}
.card .img {
    display: block;
    width: 400px;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.modal .close-modal {
    background-color: rgba(51, 47, 47, 0);
    cursor: pointer;
    border: none;
    right: 30px;
    font-size: 38px;
    font-weight: bold;
    color: rgba(255, 0, 0, 0.5);
}
.modal .close-modal:hover {
    color: rgb(255, 4, 4);
}
.modal .slider-left-arrow {
    position: absolute;
    left: 30px;
    top: 50%;
    background-color: rgba(51, 47, 47, 0);
    cursor: pointer;
    border: none;
    font-size: 38px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5);
}
.modal .slider-left-arrow:hover,
.modal .slider-right-arrow:hover {
    color: rgba(255, 255, 255, 0.685);
}
.modal .slider-left-arrow:hover:before,
.modal .slider-right-arrow:hover:before {
    color: rgba(73, 67, 67, 0.918);
}
.modal .slider-right-arrow {
    position: absolute;
    right: 30px;
    top: 50%;
    background-color: rgba(51, 47, 47, 0);
    cursor: pointer;
    border: none;
    font-size: 38px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5);
}
.slider-container .left-arrow {
    position: absolute;
    left: 6px;
    top: 50%;
    background-color: rgba(51, 47, 47, 0);
    cursor: pointer;
    border: none;
    font-size: 26px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5);
}
.slider-container .right-arrow {
    position: absolute;
    right: 6px;
    top: 50%;
    background-color: rgba(51, 47, 47, 0);
    cursor: pointer;
    border: none;
    font-size: 26px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5);
}
.slider-container .left-arrow:hover,
.slider-container .right-arrow:hover {
    color: rgba(255, 255, 255, 0.685);
}

.card h3 {
    margin: 10px 0;
}
.post-title {
    text-align: left;
    padding-left: 0;
}
.table {
    width: 100%;
    margin-bottom: 20px;
    border: 5px solid #fff;
    border-top: 5px solid #fff;
    border-bottom: 3px solid #fff;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff !important;
}
.table th {
    font-weight: bold;
    padding: 7px;
    background: #ffd300;
    border: none;
    text-align: left;
    font-size: 15px;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #ffd300;
}
.table td {
    padding: 7px;
    border: none;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    font-size: 15px;
}
.table tbody tr:nth-child(even) {
    background: #f8f8f8 !important;
}
.tabs {
    margin: 20px;
}
.smeta {
    text-align: center;
}
