@import url('./shablon1.css?v=9');

@font-face {
    font-family: RedShelley;
    src: url('/fonts/Asylbekm02shelleyKz.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: RedSans;
    src: url('/fonts/Gilroy-Light.ttf') format('truetype');
    font-display: swap;
}
:root {
    --color-primary: #8d0c0c;
    --color-hover: #650909;
    --color-text: #3d2314;
    --color-opros: #8d0c0c;
    --color-shadow: 0 8px 24px rgb(141 12 12 / 15%);
    --color-shadow2: 0 8px 24px rgb(141 12 12 / 12%);
    --wishes-accent: var(--color-primary);
    --button-radius: 24px;
    --invitation-background: #fff8ed;
}
html, html body { background: var(--invitation-background); }
body { font-family: RedSans, Arial, sans-serif !important; }
.sitecontainer { max-width: 476px; }
.red-cover { position: relative; height: auto; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate; }
.red-cover-photo { position: absolute; inset: 0; background-size: 100% auto; background-position: center top; background-repeat: no-repeat; }
.red-cover::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgb(40 10 4 / 10%), transparent 40%, rgb(49 10 7 / 55%) 80%, #fff8ed 100%);
}
.red-cover-title { position: absolute; left: 20px; right: 20px; bottom: 85px; z-index: 2; text-align: center; color: #fff; }
.red-cover-title h1 { margin: 0; font-family: RedShelley, serif; font-size: clamp(58px, 15vw, 84px); line-height: 1.2; font-weight: normal; overflow-wrap: anywhere; }
.red-cover-title h1:focus { outline: none; }
.red-cover-title h1 span { display: block; }
.red-cover-title p { font-family: Forum-Regular, serif; font-size: 27px; text-transform: uppercase; letter-spacing: 4px; margin: 10px 0; }
.red-cover-title--anniversary { bottom: 38px; }
.red-cover-title--anniversary h1 { font-size: clamp(42px, 12vw, 62px); line-height: 1.05; }
.red-cover-title .red-cover-name, .red-cover-title .red-cover-age { font: inherit; letter-spacing: normal; }
.red-cover-title .red-cover-age { margin-top: 2px; }
body .blok-1 { background: var(--invitation-background) !important; padding-top: 0; }
.mainfirstfon { background: none !important; padding: 32px 0 12px !important; }
.maintext { position: relative; padding: 0 18px; width: 100%; overflow: hidden; }
.maintext::after { content: ''; display: block; width: 90px; height: 80px; margin: 20px auto; background: url('/images/main/default/shablon5/page_builder_comp_1770662352135_ae1e7fb336074cb49f3fec123a5dd6ea.webp') center / contain no-repeat; }
.kurmetti { overflow-wrap: anywhere; }
body .kurmetti { font-family: RedShelley, serif; color: #3d2314 !important; font-size: 42px; font-weight: normal; text-transform: none; }
.kurmetti span { font-family: RedSans, sans-serif; }
.shaktext { font-family: RedSans, sans-serif; font-size: 22px; line-height: 1.55; padding: 12px 12px 25px; }
.blok-2 { margin-top: 0; }
.toiinfolar, .toiinfolar2 { background: none; color: #3d2314; padding: 35px 24px; }
.toiinfolar { padding-top: 16px; }
.toiabout, .toiinfolar span, .toiinfolar2 span, .dopinfo span, .tilektitle { font-family: RedShelley, serif; color: #3d2314; font-size: 38px; line-height: 1.3; }
.toiieleri { padding: 0 10px; margin-top: 0; font-size: 26px; }
.toidate { font-size: 21px; line-height: 1.6; }
.toidate span { margin: 24px 0 12px; }
.toiadress { padding: 0 10px; line-height: 1.6; }
.vectorline, .vectorline2 { background: #dac8b1; width: 65%; margin: 26px auto; }
.toiinfolar2::before {
    content: ''; display: block; height: 290px; margin: -10px -24px 36px;
    background: linear-gradient(#fff8ed, transparent 25%, transparent 75%, #fff8ed), url('/images/main/default/shablon5/venue.jpg') center 45% / cover;
}
.timer__items { justify-content: center; gap: 10px; }
.timer__item { background: transparent; color: #8d0c0c; border: 1px solid #d9bda5; border-radius: 12px; box-shadow: none; }
.timer__item::before { color: #3d2314; }
.twogis, .twogis:hover { background: #8d0c0c; color: #fff; border: 0; border-radius: 90px; box-shadow: none; animation: none; min-width: 0; }
.dopinfo { padding: 20px 12px; line-height: 1.6; }
.vector1, .vector2, .vector3, .vector5, .vector6, .vector8 { background-image: url('/images/main/default/shablon5/page_builder_comp_1770662352135_ae1e7fb336074cb49f3fec123a5dd6ea.webp'); background-size: contain; background-repeat: no-repeat; background-position: center; height: 65px; margin: 24px auto; }
.tblok-1 { padding: 30px 20px; }
.blok-6-inblok2 { background: none; padding: 40px 26px 65px; }
.blok6title, .opros span { font-family: RedShelley, serif; font-size: 34px; line-height: 1.3; color: #3d2314; }
:is(.sitecontainer, .modal, .sound-barer) :is(button, .twogis, .sound, .tilek_kaldir, .ozgetilekter, .ozgetilekter2, .telegram-button, .oprosozgertu, .artkakait),
.pagination a, .mamandiv .content a, .sitecontainer .wishes-empty .wishes-empty__button {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: none;
    animation: none;
    text-decoration: none;
    border-radius: var(--button-radius);
}
:is(.sitecontainer, .modal, .sound-barer) :is(button, .twogis, .sound, .tilek_kaldir, .ozgetilekter, .ozgetilekter2, .telegram-button, .oprosozgertu, .artkakait):is(:hover, :focus-visible, :active),
.pagination a:is(:hover, :focus-visible, :active), .mamandiv .content a:is(:hover, :focus-visible, :active), .sitecontainer .wishes-empty .wishes-empty__button:is(:hover, :focus-visible, :active) {
    background: var(--color-hover);
    color: #fff;
    border-color: var(--color-hover);
    box-shadow: none;
}
.zayotrp, .sound { border: 0; }
.blok-9 a { display: inline; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: #0066cc; text-decoration: underline; }
.blok-9 a:is(:hover, :focus-visible, :active) { color: #004a99; background: transparent; text-decoration: underline; }
.artkakait { padding-inline: 20px; }
.artkakait img { filter: brightness(0) invert(1); }
.pagination .actpage a { background: var(--color-hover); border-color: var(--color-hover); }
.carousel-indicators li { background-color: var(--color-primary); border-color: var(--color-primary) !important; }
.carousel-indicators .active { background-color: var(--color-primary); }
.carousel-control-prev-icon, .carousel-control-next-icon { background-color: var(--color-primary); border-radius: var(--button-radius); padding: 16px; background-size: 12px 12px; }
.carousel-control-prev-icon, #carouselExampleIndicators2 .carousel-control-prev-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E"); }
.carousel-control-next-icon, #carouselExampleIndicators2 .carousel-control-next-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E"); }
.blok-9 { background: none; padding-bottom: 60px; }
input, textarea { accent-color: #8d0c0c; }
.sitecontainer .custom-radio+.otvetyn {
    background: color-mix(in srgb, var(--wishes-accent) 4%, transparent);
    color: var(--color-text);
    border: 2px solid color-mix(in srgb, var(--wishes-accent) 18%, transparent);
    border-radius: var(--button-radius);
}
.sitecontainer .custom-radio:checked+.otvetyn { border-color: var(--wishes-accent); }
.sitecontainer .custom-radio:focus-visible+.otvetyn { outline: 2px solid var(--wishes-accent); outline-offset: 3px; }
.custom-radio+label::before { border-color: var(--wishes-accent); }
.custom-radio:checked+label::before { background-color: var(--color-primary); border-color: var(--color-primary); background-image: radial-gradient(circle, #fff 0 30%, transparent 35%); }
img.znakimg { top: -160px; }
.red-envelope { display: none; position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; color: #fce7eb; background: #7c2d3e; transition: background 4s ease-out; }
.red-envelope-closed { overflow: hidden !important; }
.red-envelope-closed body { overflow: hidden !important; }
.red-envelope-closed.red-envelope-ready .red-envelope { display: block; }
.red-envelope-closed .sound-barer, .red-envelope-closed .downcontainer { visibility: hidden; }
.red-envelope svg { display: block; width: 100%; height: 100%; }
.red-envelope-panels { position: absolute; inset: 0; }
.red-envelope-flap { position: absolute; left: 0; width: 100%; height: 50%; transition: transform 5s cubic-bezier(.25,.46,.45,.94); }
.red-envelope-top { top: 0; }
.red-envelope-bottom { bottom: 0; }
.red-envelope-heading { position: absolute; top: 6vh; left: 5%; width: 90%; text-align: center; transition: opacity .3s; }
.red-envelope-heading p { font: 40px/1.3 RedShelley, cursive; margin: 0 0 15px; }
.red-envelope-heading h2 { font: 19px/1.5 Forum-Regular, serif; letter-spacing: 3px; text-transform: uppercase; color: #fce7eb; overflow-wrap: anywhere; }
.red-envelope-heading h2 span { display: block; }
.red-envelope-open { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 130px; height: 173px; padding: 0; border: 0; border-radius: var(--button-radius); background: transparent; transition: transform 5s cubic-bezier(.25,.46,.45,.94); cursor: pointer; }
.red-envelope-open img { width: 100%; height: 100%; object-fit: contain; filter: sepia(1) saturate(3) hue-rotate(310deg) brightness(.65); }
.red-envelope-open span { position: absolute; left: 0; top: 46%; width: 100%; color: #fff; font: bold 16px Forum-Regular, serif; letter-spacing: 2px; }
.red-envelope .red-envelope-open:is(:focus, :focus-visible, :active, :disabled) { outline: none; border: 0; box-shadow: none; -webkit-tap-highlight-color: transparent; }
.red-envelope-hint { position: absolute; bottom: 6vh; left: 50%; transform: translateX(-50%); width: min(270px, 85%); text-align: center; font: 17px/1.4 Forum-Regular, serif; transition: opacity .3s; }
.red-envelope.opening { background: transparent; }
.red-envelope.opening .red-envelope-panels, .red-envelope.opening .red-envelope-heading, .red-envelope.opening .red-envelope-hint { opacity: 0; }
.red-envelope.opening .red-envelope-top { transform: translateY(-100%); }
.red-envelope.opening .red-envelope-bottom { transform: translateY(100%); }
.red-envelope.opening .red-envelope-open { transform: translate(-50%,calc(-50% - 55vh)); outline: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
    .red-envelope, .red-envelope * { transition-duration: .01s !important; }
}
@media (max-width: 380px) {
    .shaktext { font-size: 20px; padding-inline: 4px; }
    .toiinfolar, .toiinfolar2 { padding-inline: 18px; }
    .timer__items { gap: 5px; }
}
