/*
Theme Name: Memory Craft
Author: Alextix
Author URI: mailto:tixalex@gmail.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Изготовление памятников
Text Domain: Profit

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import "fonts/fonts.css" screen, print;

body {
    background: #000;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    color: #afaeae;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.hamburger {
    display: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img.centered {
    margin: auto;
}

.wpm-switcher-list {
    margin: 0;
}

.wpm-switcher-list li span {
    color: #cba856;
    font-weight: 600;
}

.wpm-switcher-list li.active span {
    color: #fff;
}

.wpm-switcher-list li {
    display: inline-block;
    padding: 0 4px;
}

.wrapper {
    width: 100%;
    max-width: 1700px;
    margin: auto;
    padding: 0 15px;
}

.flex-end,
.flex-centered,
.flex-stretch,
.flex-center {
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.flex-end {
    align-items: end;
}

.flex-centered {
    justify-content: center;
}

.flex-stretch {
    align-items: stretch;
    flex-wrap: wrap;
}

header .logo img {
    height: 50px;
}

.right-header {
    width: 210px;
}

ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-place {
    width: calc(100% - 600px);
    max-width: 750px;
}

.menu-place ul.menu {
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.menu-placeul.menu li {
    display: inline-block;
}

ul.menu a {
    text-decoration: none;
    color: #afaeae;
    position: relative;
}

ul.menu a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background: #cba856;
    left: 0;
    right: 0;
    bottom: -5px;
    margin: auto;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

ul.menu a:hover:after {
    width: 100%;
}

ul.menu a:hover {
    color: #fff;
}

a.button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

a.button.big {
    font-size: 22px;
    padding: 15px 30px;
}

.yellow {
    border: 2px solid #cba856;
    background: #cba856;
    color: #000;
}

.yellow:hover {
    background: #F9D97E;
}

.yellow-border {
    border: 2px solid #cba856;
    color: #cba856;
}

.yellow-border:hover {
    background: #cba856;
    color: #000;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(5px);
    z-index: 99;
}

.banner {
    height: 100vh;
    min-height: 500px;
    display: flex;
    position: relative;
    z-index: 1;
}

.banner:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
    backdrop-filter: blur(2px);
    z-index: -1;
}

.banner .left,
.banner .right {
    width: 35%;
    max-width: 520px;
}

.banner .left {
    order: 2;
}

.banner .center {
    width: 30%;
    order: 1;
}

h2,
.banner h1 {
    font-family: 'Georgia';
    color: #fff;
    font-size: 50px;
    font-weight: 400;
    margin: 18px 0;
}

.tc {
    text-align: center;
}

h1 span,
h2 span,
.s-title span {
    color: #C8A84B;
    font-weight: 600;
}

.subtitle {
    color: #afaeae;
}

.button-block {
    margin-top: 40px;
    text-align: center;
}

.button-block a {
    margin: 0 10px;
}

.statsbar .wrapper {
    max-width: 1000px;
}

.stat {
    width: 25%;
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat:not(:last-of-type):after {
    content: "";
    position: absolute;
    height: 50%;
    width: 1px;
    background: #474747;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.stat .d {
    font-family: 'Georgia';
    color: #C8A84B;
    font-size: 42px;
    font-weight: 600;
}

.stat .t {
    color: #afaeae;
    margin-top: 5px;
    line-height: 1.5;
}

.section {
    margin: 60px 0;
}

.up-title {
    font-family: 'Georgia';
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    color: #C8A84B;
    position: relative;
}

.up-title:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #C8A84B;
    left: 0;
    bottom: -3px;
}

.service {
    margin: 40px 0 0;
}

.service-item {
    width: 32%;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid #C8A84B;
    margin-bottom: 30px;
}

.s-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 1s ease-in;
    -moz-transition: all 1s ease-in;
    -o-transition: all 1s ease-in;
    transition: all 1s ease-in;
}

.service-item:hover {
    border: 2px solid #F9D97E;
}

.service-item:hover .s-banner {
    -webkit-transform: scale(1.05, 1.05);
}

.s-title {
    font-family: 'Georgia';
    font-weight: 600;
    color: #fff;
    font-size: 22px;
}

.s-info {
    padding: 20px;
    background: #000;
    position: relative;

}

.s-price {
    padding-top: 20px;
    border-top: 1px solid #474747;
}

.sp {
    font-size: 10px;
}

.sp span {
    display: block;
    font-family: 'Georgia';
    color: #C8A84B;
    font-size: 24px;
    font-weight: 600;
}

p {
    line-height: 1.5;
}

.modal-dialog .s-title {
    margin: 20px 0 10px;
}

#formContact {
    margin-top: 20px;
}

input {
    width: 100%;
    height: 48px;
    margin-bottom: 10px;
    border: 1px solid rgba(200, 168, 75, .18);
    border-radius: 10px;
    background: #000;
    color: #fff;
    padding: 0 10px;
}

input:focus {
    outline: none;
    border: 1px solid rgba(200, 168, 75, 1);
}

button[type="submit"] {
    width: 100%;
    height: 48px;
    border-radius: 10px;
}

@media (max-width: 1400px) {
    header .logo img {
        width: auto;
    }

    .menu-place {
        width: calc(100% - 450px);
    }
}

@media (max-width: 1300px) {
    .banner .flex-end {
        display: block;
    }

    .banner .center,
    .banner .right {
        width: 100%;
        max-width: unset;
        text-align: center;
    }

    .banner .center img {
        max-width: 200px;
    }
}

@media (max-width: 1100px) {
    .menu-place ul.menu li,
    .menu-place ul.menu,
    .hamburger {
        display: block;
    }

    .right-header {
        width: 250px;
    }

    .menu-place {
        position: absolute;
        width: 100%;
        max-width: 500px;
        height: calc(100vh - 70px);
        top: 70px;
        right: -500px;
        background: #000;
        padding: 25px;
        background: rgba(0, 0, 0, .95);
        -webkit-transition: all .5s ease-in;
        -moz-transition: all .5s ease-in;
        -o-transition: all .5s ease-in;
        transition: all .5s ease-in;
    }

    .open .menu-place {
        right: 0;
    }

    header.open {
        background: rgba(0, 0, 0, .95);
    }

    .menu-place ul.menu li {
        font-size: 22px;
        margin: 20px 0;
        text-align: center;
    }

    ul.menu a:after {
        content: none;
    }

    h2, .banner h1 {
        font-size: 40px;
    }

    a.button.big {
        font-size: 18px;
        padding: 10px 20px;
    }
    .service-item {
        width: 49%;
    }

}

@media (max-width: 900px) {
    .statsbar .flex-center {
        flex-wrap: wrap;
    }

    .stat {
        width: 50%;
        padding: 10px;
    }
    .stat:not(:last-of-type)::after {
        content: none;
    }
    .stat:first-child:after{
        content: "";
        position: absolute;
        height: 140%;
        width: 1px;
        background: #474747;
        right: 0;
        bottom: -110%;
    }

}
@media (max-width: 730px) {
    .service-item {
        width: 100%;
    }
}
@media (max-width: 700px) {
    h2, .banner h1 {
        font-size: 30px;
    }

    .banner .center img {
        max-width: 150px;
    }

    a.button,
    a.button.big {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 550px) {
    .button-block a {
        margin: 5px 0;
        width: 100%;
    }
}

@media (max-width: 500px) {
    .right-header {
        width: 120px;
    }
    .banner .center,
    .right-header a.button {
        display: none;
    }
    .statsbar .wrapper{
        padding: 0;
    }
    .stat .t {
        font-size: 13px;
    }
}