@charset "UTF-8";

input,
textarea {
    border: none;
    -webkit-user-select: auto;
    background-color: transparent
}

.about_text_lower,
.about_text_upper,
body,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0
}

.h_a-link,
input,
textarea {
    background-color: transparent
}

#burger span,
.h_a-link>span:after,
header::before {
    left: 0;
    position: absolute
}

.h_a-link>span,
.lang_changer {
    font-family: TildaSans;
    font-weight: 300
}

.a_container,
.card_items,
.header_text {
    -webkit-box-direction: normal
}

.g_card-descc,
a {
    text-decoration: none
}

.about_part,
.header_text,
.modal p span,
.modal ul {
    text-align: left
}

.footer_title,
.giftcard_text h2,
.h_a-link>span,
.logo_text,
.storage_link h2 {
    text-transform: uppercase
}

#burger,
.fb,
.g_card-descc,
.inst,
.message_send,
.storage_link h2,
.viber,
a,
button {
    cursor: pointer
}

@font-face {
    font-family: TildaSans;
    font-display: swap;
    src: url(../fonts/TildaSans-Regular.woff2) format("woff2"), url(../fonts/TildaSans-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: TildaSans;
    font-display: swap;
    src: url(../fonts/TildaSans-Light.woff2) format("woff2"), url(../fonts/TildaSans-Light.woff) format("woff");
    font-weight: 300;
    font-style: normal
}

*,
::after,
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg*, symbol*)) {
    all: unset;
    display: revert
}

menu,
ol,
ul {
    list-style: none
}

img {
    max-inline-size: 100%;
    max-block-size: 100%
}

input {
    font-family: TildaSans
}

input:focus-visible {
    outline: 0
}

meter {
    -webkit-appearance: revert;
    -moz-appearance: revert;
    appearance: revert
}

table {
    border-collapse: collapse
}

textarea {
    white-space: revert;
    font-family: TildaSans;
    width: 100%;
    padding-left: 10px
}

textarea:focus-visible {
    outline: 0
}

:where(pre) {
    all: revert
}

::-webkit-input-placeholder {
    color: unset
}

::-moz-placeholder {
    color: unset
}

:-ms-input-placeholder {
    color: unset
}

::-ms-input-placeholder {
    color: unset
}

::placeholder {
    color: unset
}

::marker {
    content: initial
}

:where([hidden]) {
    display: none
}

:where([contenteditable]:not([contenteditable=false])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto
}

:where([draggable=true]) {
    -webkit-user-drag: element
}

:where(dialog:modal) {
    all: revert
}

html {
    height: initial;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-tap-highlight-color: transparent
}

body {
    font-family: TildaSans;
    background: #faf8cf;
    background: radial-gradient(circle, #faf8cf 0, #cbd9eb 100%);
    -ms-overflow-style: none
}

body::-webkit-scrollbar {
    display: none !important
}

h1,
h2,
h6 {
    font-weight: 200
}

p {
    font-weight: 100
}

a {
    color: #fff
}

ul {
    padding: 0
}

header#header {
    position: relative;
    height: 100vh
}

footer,
section {
    height: 100vh
}

.container {
    max-width: 1440px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%
}

.container:first-child:not(header>#header_block>.container:first-child) {
    margin-top: 70px
}

.ov-h {
    overflow: hidden !important
}

.no-webp header::before {
    background: url(../img/Photo_637_2.jpg) center center/cover no-repeat
}

header::before {
    background-size: cover;
    content: " ";
    height: 100vh;
    top: 0;
    width: 100%;
    will-change: transform;
    z-index: -1
}

#burger,
.h_a-link>span,
.h_container,
.lang_changer {
    position: relative
}

#header_block {
    width: 100%;
    background: rgba(46, 49, 50, .8)
}

.h_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transform: translateY(-50px);
    -ms-transform: translateY(-50px);
    transform: translateY(-50px);
    -webkit-transition: opacity .5s, -webkit-transform .5s;
    transition: opacity .5s, transform .5s, -webkit-transform .5s;
    z-index: 1
}

.header_text,
.logo_side {
    display: -webkit-box;
    display: -ms-flexbox
}

#header.header_start {
    opacity: 0;
    -webkit-transform: translateY(-50px);
    -ms-transform: translateY(-50px);
    transform: translateY(-50px);
    -webkit-transition: opacity .5s, -webkit-transform .5s;
    transition: opacity .5s, transform .5s, -webkit-transform .5s
}

#header.h_appear,
.h_container.appear {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0)
}

.logo_side {
    display: flex;
    padding: 20px 5%
}

.logo_img {
    display: none;
    -webkit-filter: invert(1);
    filter: invert(1);
    width: 15%
}

.header_text {
    -webkit-box-orient: vertical;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    color: #fff
}

.menu_side,
.menu_side nav {
    display: -webkit-box;
    display: -ms-flexbox
}

.logo_text {
    margin-bottom: 5px;
    font-size: clamp(32px, 2.6vw, 40px)
}

.logo_desc {
    line-height: 20px;
    font-size: clamp(15px, 1.2vw, 19px)
}

#burger {
    display: none;
    width: 25px;
    height: 32px;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out
}

#burger span {
    display: block;
    height: 1px;
    width: 100%;
    background: #949393;
    border-radius: 9px;
    opacity: 1;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out
}

#burger span:first-child {
    top: 3px
}

#burger span:nth-child(2),
#burger span:nth-child(3) {
    top: 12px
}

#burger span:nth-child(4) {
    top: 20px
}

#burger.open span:first-child,
#burger.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%
}

#burger.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg)
}

#burger.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.menu_side {
    width: 50%;
    display: flex;
    color: #fff;
    padding: 0 5%
}

.menu_side nav {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%
}

.menu_side ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.h_m-button {
    padding: 10px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: -webkit-box-shadow .2s;
    transition: box-shadow .2s;
    transition: box-shadow .2s, -webkit-box-shadow .2s
}

.h_a-link {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: -webkit-box-shadow .2s;
    transition: box-shadow .2s;
    transition: box-shadow .2s, -webkit-box-shadow .2s;
    display: block
}

.h_a-link>span {
    display: inline-block;
    font-size: 14px
}

.h_a-link>span:after {
    content: "";
    width: 100%;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    height: .5px;
    bottom: -2px;
    background-color: #fff;
    -webkit-transform-origin: bottom right;
    -ms-transform-origin: bottom right;
    transform-origin: bottom right;
    -webkit-transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out, -webkit-transform .25s ease-out
}

.g_card-descc:hover:after,
.h_a-link>span:hover:after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: bottom left;
    -ms-transform-origin: bottom left;
    transform-origin: bottom left
}

.lang_changer-wrap {
    justify-content: center;
    flex-direction: column;
    display: flex;
    position: relative
}

.a_container,
.about_part {
    display: -webkit-box;
    display: -ms-flexbox
}

.lang_changer-wrap::after {
    background-color: #eee;
    content: '';
    height: 10px;
    left: 4px;
    position: absolute;
    width: 2px
}

#languageDropdown {
    pointer-events: visible;
}

.lang_changer-wrap select {
    font-size: 14px;
    width: 40px;
    padding: 0 0 0 7px;
    color: #fff;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none
}

.lang_changer {
    border: none;
    color: #fff;
    background: 0 0
}

.lang_changer:focus-visible {
    outline: 0
}

.lang_changer option {
    color: #fff;
    background: #a9a9a9
}

.custom_arrow {
    pointer-events: none;
    position: absolute;
    top: 13px;
    right: 13px;
    width: 7px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg)
}

.a_container,
.g_container {
    padding: 6% 5%;
    overflow: hidden
}

.a_container {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: flex;
    -webkit-box-orient: horizontal;
    -ms-flex-direction: row;
    flex-direction: row
}

.portrait_part {
    display: flex;
    align-items: center
}

.portrait_part img {
    border-radius: 50%;
    aspect-ratio: 1;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 1%;
    object-position: 50% 1%;
    width: 100%
}

.about_part {
    flex-direction: column;
    justify-content: center;
    font-size: 19px;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 48%;
    overflow: hidden
}

.card_items,
.s_container {
    display: -webkit-box;
    display: -ms-flexbox
}

.about_text {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1.7s, opacity 1.7s
}

.about_textVisible {
    opacity: 1;
    transform: translateX(0)
}

.s_container {
    display: flex;
    height: 100vh;
    max-width: 100%;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    overflow: hidden;
    position: relative
}

.s_card {
    position: relative;
    -webkit-filter: invert(.35);
    filter: invert(.35);
    -webkit-box-flex: 3;
    -ms-flex: 3;
    flex: 3;
    -webkit-transition: .8s cubic-bezier(.25, .4, 0, 0);
    transition: .8s cubic-bezier(.25, .4, 0, 0);
    overflow: hidden
}

.s_card:hover {
    -webkit-filter: none;
    filter: none;
    -webkit-box-flex: 5;
    -ms-flex: 5;
    flex: 5
}

.s_card img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center
}

.no-webp .family_card {
    background: url(../img/Photo_17dg.jpg)
}

.family_card,
.portrait_card,
.wedding_card {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}

.no-webp .wedding_card {
    background: url(../img/IMG_3917.jpg)
}

.no-webp .portrait_card {
    background: url(../img/Photo_432.jpg)
}

.card_items {
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: flex;
    color: #faebd7;
    -webkit-box-orient: vertical;
    -ms-flex-direction: column;
    flex-direction: column
}

/* .storage_link h2 {
    background: rgba(46, 49, 50, .8);
    color: #fff;
    display: table-caption;
    font-size: clamp(30px, 5.3vw, 35px);
    line-height: 36px;
    max-width: 455px;
    padding: 10px 20px;
    word-wrap: break-word
} */

.storage_link h1 {
    background: rgba(46, 49, 50, .8);
    color: #fff;
    display: table-caption;
    font-size: clamp(30px, 5.3vw, 35px);
    line-height: 36px;
    max-width: 455px;
    padding: 10px 20px;
    word-wrap: break-word;
    text-transform: uppercase;
}

#f_slider,
#p_slider,
#w_slider {
    top: 4%;
    right: -2%;
    display: none;
    height: 85vh;
    margin: 2%;
    position: fixed;
    visibility: hidden;
    width: 100%;
    z-index: 20;
    opacity: 0;
    -webkit-transition: visibility, opacity .7s linear;
    transition: visibility, opacity .7s linear
}

#f_slider::before,
#p_slider::before,
#w_slider::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1
}

#f_slider:after,
#p_slider:after,
#w_slider:after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(46, 49, 50, .98);
    z-index: -2
}

body.f_slider {
    overflow: hidden
}

.swiper-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

#overlay,
.swiper-scrollbar {
    display: none
}

.swiper-slide img {
    max-height: 100%;
    width: auto;
    height: auto
}

@-moz-document url-prefix() {
    .lang_changer option {
        font-family: system-ui
    }

    .swiper-slide {
        display: block;
        display: -ms-flexbox;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .swiper-slide img {
        aspect-ratio: 4/3;
        object-fit: contain;
        width: 100%
    }
}

.swiper-slide-prev {
    visibility: hidden;
    -webkit-transition: visibility .2s;
    transition: visibility .2s
}

.closeButton,
.close_slider-f,
.close_slider-p,
.close_slider-w {
    background: 0 0;
    border: none;
    cursor: pointer;
    visibility: hidden;
    display: none;
    opacity: 0;
    position: fixed;
    right: 10px;
    top: 10px;
    -webkit-transition: -webkit-filter .3s;
    transition: filter .3s;
    transition: visibility, opacity .7s linear;
    z-index: 30;
    -webkit-transition: visibility, opacity .7s linear
}

.g_card-desc,
.giftcard_img {
    border-radius: 50%
}

.close_slider {
    position: absolute;
    top: 10%;
    z-index: 50
}

.form__body,
.g_card-desc,
.g_card-descc,
.g_container,
.giftcard_img {
    position: relative
}

.close-btn svg {
    width: 20px;
    fill: #6d6c6c
}

.close_slider-f:hover,
.close_slider-p:hover,
.close_slider-w:hover {
    -webkit-filter: brightness(.7);
    filter: brightness(.7)
}

.g_container,
.giftcard_img-wrapper {
    display: -webkit-box;
    display: -ms-flexbox
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff
}

.g_container {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse
}

.contact_items,
.giftcard_text,
.s_media-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal
}

.giftcard_img-wrapper {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 48%
}

.g_card-desc>img {
    scale: .8;
    opacity: 0;
    animation: linear forwards fade-in;
    animation-timeline: view();
    animation-range: cover 0 50%
}

@keyframes fade-in {
    to {
        scale: 1;
        opacity: 1
    }
}

@-webkit-keyframes fade-in {
    to {
        scale: 1;
        opacity: 1
    }
}

.giftcard_img {
    aspect-ratio: 1;
    -webkit-filter: brightness(.8);
    filter: brightness(.8);
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 30%;
    object-position: 50% 30%;
    width: 100%
}

.giftcard_text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    max-width: 48%;
    padding: 3%;
    color: #000;
    text-align: right;
    text-wrap: balance;
    opacity: 0;
    transform: translate(-100%, 0);
    transition: opacity 1.7s, transform 1.7s
}

#gcard_popup::before,
.modal {
    display: inline-block;
    vertical-align: middle
}

.giftcard_text h2 {
    font-weight: 400;
    font-size: 27px;
    line-height: 2.1875rem;
    margin-bottom: 10px
}

.giftcard_text p {
    font-size: 19px
}

.giftcard_textVisible {
    opacity: 1;
    transform: translate(0, 0)
}

.g_card-descc {
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px;
    padding-bottom: 2px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content
}

.g_card-descc:after {
    content: "";
    position: absolute;
    width: 100%;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    height: .5px;
    bottom: -2px;
    left: 0;
    background-color: #000;
    -webkit-transform-origin: bottom right;
    -ms-transform-origin: bottom right;
    transform-origin: bottom right;
    -webkit-transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out, -webkit-transform .25s ease-out
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 9998
}

#gcard_popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    overflow-y: scroll;
    text-align: center;
    transition: visibility, opacity .7s linear;
    visibility: hidden;
    -webkit-transition: visibility, opacity .7s linear
}

.modal {
    padding: 3% 4%;
    background: #eee;
    border-radius: 5px;
    width: clamp(300px, 60vw, 500px);
    margin: 10px
}

.contact_items,
.form_block {
    display: -webkit-box;
    display: -ms-flexbox
}

.contact_desc-m,
.footer_title {
    margin-bottom: 40px
}

.modal p {
    margin-left: 10px
}

.modal ul {
    list-style-position: inside;
    list-style-type: disc;
    margin: 10px 1px 16px 0;
    font-weight: 300
}

.modal ul li {
    margin-left: 14px;
    text-indent: -14px
}

.modal ul li::marker {
    font-size: 10px
}

.modal hr {
    border-bottom-style: none;
    width: 30%
}

#gcard_popup::before {
    content: "";
    width: 0;
    height: 100%
}

#gcard_popup:after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
    z-index: -2
}

.footer_title {
    font-size: clamp(32px, 2.6vw, 40px);
    font-weight: 400;
    letter-spacing: -1px;
    text-align: center
}

.contact_items {
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.contact_desc-m,
.contact_desc-s-m {
    text-align: center;
    font-size: clamp(17px, 1.8vw, 20px);
    padding: 0 20px
}

.contact_desc-s-m {
    margin: 30px 0 20px
}

.mail_block {
    width: 100%;
    padding: 0 20px
}

.mail_block input {
    width: 100%;
    padding: 0 0 1px 10px
}

.form_block {
    display: flex;
    border-bottom: 2px solid rgba(97, 77, 87, .8);
    padding: 10px 0
}

.button_block,
.s_media-block {
    display: -webkit-box;
    display: -ms-flexbox
}

.form__body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/760_small.svg) center/80px no-repeat;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .5s;
    transition: .5s
}

.form__body._sending::after {
    opacity: 1;
    visibility: visible
}

.form_block._error {
    border-color: rgba(237, 15, 15, .593);
    box-shadow: 0 4px 2px -2px #e18f8f
}

.form_block label {
    width: 30%
}

.mail_block textarea {
    height: 100px
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    opacity: .4
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: .4
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    opacity: .4
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    opacity: .4
}

input::placeholder,
textarea::placeholder {
    opacity: .4
}

.button_block {
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.message_send {
    margin-top: 30px;
    padding: 10px;
    border: 1px solid transparent;
    background-color: #272829;
    color: #d8d9da
}

.message_send:hover {
    background-color: #61677a;
    color: #fff6e0
}

.message_send:active {
    background-color: #d8d9da;
    color: #272829
}

.c_container {
    max-width: 65%;
    padding: 5% 6%
}

.s_media-block {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: column;
    flex-direction: column;
    display: flex
}

.media_link,
.s_media-block ul {
    display: -webkit-box;
    display: -ms-flexbox
}

.s_media-block ul {
    width: 36%;
    display: flex
}

.media_link {
    height: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: flex
}

.media_link svg {
    width: 63%;
    -webkit-transition: .5s;
    transition: .5s
}

.fb,
.inst,
.viber {
    -webkit-transition: .5s;
    transition: .5s
}

.fb:hover,
.inst:hover,
.viber:hover {
    -webkit-filter: opacity(.4);
    filter: opacity(.4)
}

.webp header::before {
    background: url(../img/Photo_637_2w.webp) center center/cover no-repeat
}

.webp .family_card {
    background: url(../img/Photo_17dg.webp) center/cover no-repeat
}

.webp .wedding_card {
    background: url(../img/IMG_3917.webp) center/cover no-repeat
}

.webp .portrait_card {
    background: url(../img/Photo_432.webp) center/cover no-repeat
}

@media (pointer:coarse) {

    .g_card-descc:active,
    .h_a-link>span:active {
        opacity: .3
    }

    .g_card-descc:hover:after,
    .h_a-link>span:hover:after {
        display: none
    }
}

@media screen and (min-width:1500px) {

    #giftcard,
    #intro {
        scroll-margin-top: -3.5rem
    }
}

@media screen and (width <=1065px) {
    .h_a-link>span {
        font-size: 13px
    }
}

@media (width<=830px) {
    .swiper-slide img {
        max-width: 100%
    }
}

@media (width > 767px) {
    .portrait_part {
        max-width: 48%
    }
}

@media screen and (max-width:767px) {

    .s_card,
    section {
        min-height: 100vh
    }

    .a_container,
    .g_container,
    .s_container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal
    }

    .about_part,
    .giftcard_text {
        text-align: center;
        max-width: unset
    }

    .about_part,
    .c_container,
    .giftcard_text {
        max-width: unset
    }

    .no-webp header::before {
        background: url(../img/Photo_637mnw.jpg) center no-repeat
    }

    .webp header::before {
        background: url(../img/Photo_637mw.webp) center no-repeat
    }

    section {
        display: flex;
        height: auto
    }

    .h_container {
        position: relative;
        flex-direction: column
    }

    .logo_side {
        padding: 20px 5% 45px
    }

    .header_text {
        align-items: center
    }

    #burger {
        bottom: 10px;
        display: block;
        height: 25px;
        position: absolute;
        right: 48%;
        width: 17px
    }

    .h_m-button:first-child {
        padding: 0 10px 10px
    }

    .h_m-button:last-child {
        padding: 10px 10px 20px
    }

    .lang_changer-wrap {
        margin-left: 10px
    }

    .menu_side {
        background: rgba(46, 49, 50, .8);
        position: absolute;
        top: 128.5px;
        display: none;
        margin: 0;
        width: 100%;
        transition: max-height .5s;
        max-height: 0
    }

    .header_menu {
        align-items: center;
        flex-direction: column;
        margin: 0
    }

    .h_m-button {
        opacity: 0;
        transition: opacity .5s .1s
    }

    .a_container {
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .about_part {
        margin-top: 50px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .s_container {
        -ms-flex-direction: column;
        flex-direction: column;
        height: unset
    }

    .s_card {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-transition: none;
        transition: none;
        width: 100%;
        -webkit-filter: none;
        filter: none
    }

    .s_card:hover {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
        -webkit-filter: none;
        filter: none
    }

    .card_items {
        width: 60%
    }

    .no-webp .family_card {
        background-image: url(../img/Photo_17dg.jpg)
    }

    .webp .family_card {
        background-image: url(../img/Photo_17dg.webp)
    }

    .family_card {
        background-position: center center;
        background-repeat: no-repeat
    }

    .portrait_card,
    .wedding_card {
        background-position: center top;
        background-repeat: no-repeat
    }

    .no-webp .wedding_card {
        background-image: url(../img/IMG_3917.jpg)
    }

    .webp .wedding_card {
        background-image: url(../img/IMG_3917.webp)
    }

    .no-webp .portrait_card {
        background-image: url(../img/Photo_432.jpg)
    }

    .webp .portrait_card {
        background-image: url(../img/Photo_432.webp)
    }

    .portrait_card {
        -o-object-fit: cover;
        object-fit: cover
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none
    }

    .g_container {
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: distribute;
        justify-content: space-around
    }

    .giftcard_img-wrapper {
        max-width: unset;
        padding-bottom: 50px
    }

    .giftcard_text {
        width: unset;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .giftcard_text .g_card-desc {
        margin-top: 30px
    }
}

@media screen and (max-width:480px) {

    .form_block label,
    .mail_block input {
        font-size: 12px
    }
}

@media screen and (max-width:400px) {
    .menu_side {
        top: 129px
    }
}