/*!
Theme Name: lux
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lux
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

lux is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

@font-face {
	font-family: 'SF Pro Display';
	src: url('./fonts/SFProDisplay-Medium.eot');
	src: local('SF Pro Display Medium'), local('SFProDisplay-Medium'),
	url('./fonts/SFProDisplay-Medium.eot?#iefix') format('embedded-opentype'),
	url('./fonts/SFProDisplay-Medium.woff2') format('woff2'),
	url('./fonts/SFProDisplay-Medium.woff') format('woff'),
	url('./fonts/SFProDisplay-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'SF Pro Display';
	src: url('./fonts/SFProDisplay-Bold.eot');
	src: local('SF Pro Display Bold'), local('SFProDisplay-Bold'),
	url('./fonts/SFProDisplay-Bold.eot?#iefix') format('embedded-opentype'),
	url('./fonts/SFProDisplay-Bold.woff2') format('woff2'),
	url('./fonts/SFProDisplay-Bold.woff') format('woff'),
	url('./fonts/SFProDisplay-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'SF Pro Display';
	src: url('./fonts/SFProDisplay-Semibold.eot');
	src: local('SF Pro Display Semibold'), local('SFProDisplay-Semibold'),
	url('./fonts/SFProDisplay-Semibold.eot?#iefix') format('embedded-opentype'),
	url('./fonts/SFProDisplay-Semibold.woff2') format('woff2'),
	url('./fonts/SFProDisplay-Semibold.woff') format('woff'),
	url('./fonts/SFProDisplay-Semibold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'SF Pro Display';
	src: url('./fonts/SFProDisplay-Regular.eot');
	src: local('SF Pro Display Regular'), local('SFProDisplay-Regular'),
	url('./fonts/SFProDisplay-Regular.eot?#iefix') format('embedded-opentype'),
	url('./fonts/SFProDisplay-Regular.woff2') format('woff2'),
	url('./fonts/SFProDisplay-Regular.woff') format('woff'),
	url('./fonts/SFProDisplay-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Agency Gothic CT';
	src: url('./fonts/AgencyGothicCT-Light.eot');
	src: local('Agency Gothic CT Light'), local('AgencyGothicCT-Light'),
	url('./fonts/AgencyGothicCT-Light.eot?#iefix') format('embedded-opentype'),
	url('./fonts/AgencyGothicCT-Light.woff2') format('woff2'),
	url('./fonts/AgencyGothicCT-Light.woff') format('woff'),
	url('./fonts/AgencyGothicCT-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}


/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	font-family: 'Agency Gothic CT';
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	background: #0c0c0c;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Agency Gothic CT';
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	font-family: 'Agency Gothic CT';
	margin: 0;
	background: #0c0c0c;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Agency Gothic CT';
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */


hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */


/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	padding: 0;
	margin: 0;
	width: 50px;
	height: 50px;
	border: none;
	background: url('./img/burger.svg') no-repeat center center;
	background-size: contain;
	transition: all 0.6s;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.loader {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 160px;
	max-height: 150px;
}

.loader.visible:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 160px;
	height: 150px;
	display: inline-block;
	background: #F41214;
	box-sizing: border-box;
	animation: zeroRotation 1s ease alternate-reverse;
}

@keyframes zeroRotation {
	0% {
		transform: scale(1) rotate(0deg);
	}
	100% {
		transform: scale(0) rotate(360deg);
	}
}

@keyframes fadeIn {
	0% {
		transform: scale(1) rotate(0deg);
	}
	100% {
		transform: scale(0) rotate(360deg);
	}
}

.loader svg {
	overflow: visible;
	max-height: 100%;
	max-width: 100%;
	position: relative;
	z-index: 20;
}
.loader svg .line {
	opacity: 0;
	transition: all 1s;
}
.loader svg #LUX_2 {
	opacity: 0;
}
.loader svg #BRILLIANCE {
	opacity: 0;
}
.loader svg #light_main {
	opacity: 0;
}
.loader svg #mask_light {
	opacity: 0;
}
.loader.visible svg .line {
	animation: fadeIn 1s 1.5s ease-in-out forwards;
}
.loader.visible svg #LUX_2 {
	animation: fadeIn 1s 2s ease-in-out forwards;
}
.loader.visible svg #BRILLIANCE {
	animation: fadeIn 1s 2.5s ease-in-out forwards;
}
@keyframes lightAnimation {
	0% {
		opacity: 0;
	}
	/*1% {*/
	/*	opacity: 1;*/
	/*}*/
	/*2% {*/
	/*	opacity: 0;*/
	/*}*/
	/*15% {*/
	/*	opacity: 0;*/
	/*}*/
	/*16% {*/
	/*	opacity: 1;*/
	/*}*/
	/*17% {*/
	/*	opacity: 0;*/
	/*}*/
	/*50% {*/
	/*	opacity: 0;*/
	/*}*/
	/*51% {*/
	/*	opacity: 1;*/
	/*}*/
	/*52% {*/
	/*	opacity: 0;*/
	/*}*/
	/*60% {*/
	/*	opacity: 0;*/
	/*}*/
	/*61% {*/
	/*	opacity: 1;*/
	/*}*/
	/*62% {*/
	/*	opacity: 0;*/
	/*}*/
	99% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes widthAnimation {
	0% {
		max-width: 0;
		opacity: 0;
	}
	100% {
		max-width: 500px;
		opacity: 1;
	}
}
.loader.visible svg #light_main {
	animation: lightAnimation 1s 2.5s ease-in-out forwards;
}
.loader.visible svg #mask_light {
	animation: lightAnimation 1s 2.5s ease-in-out forwards;
}
.loader.visible .logo-text {
	animation: widthAnimation 1s 3.3s ease-in-out forwards;
}

#preloader {
	background: #0c0c0c;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	transition: opacity 0.5s ease; /* Плавный переход */
	opacity: 1;
}

#preloader.hidden {
	opacity: 0; /* Полная прозрачность */
	pointer-events: none; /* Отключает взаимодействие */
}

.logo-text {
	position: absolute;
	left: 50%;
	top: 108%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 18px;
	opacity: 0;
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
}

.acf-gallery-slider {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100vh;
}

.slider-container {
	position: relative;
	height: 100vh;
}
.slider-container:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 20;
}

.slider-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	opacity: 0;
	transition: all 1s ease; /* Плавный переход */
	transform: scale(1.1);
}

.section-not-found {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: 100vh;
}
.section-not-found p {
	font-size: 24px;
	line-height: 28px;
	margin: 20px 0;
	color: #fff;
}
.section-not-found p a {
	font-size: 24px;
	line-height: 28px;
	margin: 20px 0;
	color: #fff;
	text-decoration: none;
	border-bottom: 2px solid #F41214;
}
.section-not-found__title {
	font-size: 120px;
	line-height: 100px;
	color: #fff;
}

.slider-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slider-item.active {
	transform: scale(1);
	opacity: 1; /* Показ активного изображения */
}

.site {
	opacity: 0;
	transition: all 2.5s;
}

.site.visible {
	opacity: 1;
}
header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: auto;
	z-index: 22;
}
.site-branding a {
	width: 113px;
	height: 105px;
}
.site-branding a img {
	transition: all 0.2s;
	width: 113px;
	height: 105px;
}
header.scrolled .site-branding a img {
	width: 80px;
	max-height: 75px;
}

body {
	margin: 0!important;
}

.admin-bar .acf-gallery-slider {
	height: calc(100vh - 32px);
}

.admin-bar .slider-container {
	height: calc(100vh - 32px);
}

.admin-bar .slider-item {
	height: calc(100vh - 32px);
}

.site-branding .header__top_logo img {
	max-height: 105px;
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 25px 45px;
}

.main-navigation {
	width: auto;
}


/* Общий стиль для всех анимированных элементов */
#L, #X, #U, #text, #Rectangle\ 2381, #Rectangle\ 2382 {
	opacity: 0;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Анимации для элементов L, X, U */
#L {
	animation: slideInLeft 0.5s ease forwards;
	animation-delay: 0s;
}

#X {
	animation: slideInRight 0.5s ease forwards;
	animation-delay: 0.5s;
}

#U {
	animation: slideInBottom 0.5s ease forwards;
	animation-delay: 1s;
}

/* Анимация для элемента text */
#text {
	animation: fadeIn 0.5s ease forwards;
	animation-delay: 1.5s;
}

/* Анимация "резкого падения" для Rectangle 2381 */
#Rectangle\ 2381 {
	animation: fallDown 0.4s cubic-bezier(0.4, 0.05, 0.5, 1.3) forwards;
	animation-delay: 2s;
}

/* Анимация "резкого падения" для Rectangle 2382 */
#Rectangle\ 2382 {
	animation: fallDown 0.4s cubic-bezier(0.4, 0.05, 0.5, 1.3) forwards;
	animation-delay: 2.2s;
}

/* Ключевые кадры для анимаций */
@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInBottom {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInTop {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Ключевые кадры для резкого падения с гравитацией */
@keyframes fallDown {
	0% {
		opacity: 0;
		transform: translateY(-40px); /* Начальная позиция над текущим местом */
	}
	70% {
		opacity: 1;
		transform: translateY(-5px); /* Быстрое падение до начального положения */
	}
	100% {
		opacity: 1;
		transform: translateY(0); /* Небольшой отскок вверх после падения */
	}
}

.main-navigation a {
	color: #fff;
	font-weight: 200;
	font-size: 25px;
	text-transform: uppercase;
	margin-left: 25px;
	position: relative;
	font-family: 'Agency Gothic CT';
}
.main-navigation a:before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	transition: all 0.2s;
	width: 15px;
	height: 2px;
	background: #F41214;
}
.main-navigation .current-menu-item a {
	pointer-events: none;
}
.main-navigation .current-menu-item a:before {
	width: 85%;
}
.site-branding a {
	display: flex;
}
.main-navigation a:hover:before {
	width: 85%;
}
.section-main-page__content {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateY(-50%) translateX(-50%);
	z-index: 99;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.section-main-page__content h1 {
	font-size: 80px;
	line-height: 90px;
	font-weight: 200;
	margin-bottom: 30px;
	margin-top: 0;
	opacity: 0;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-main-page__content p {
	font-family: 'Agency Gothic CT';
	max-width: 600px;
	text-align: center;
	color: #e1e1e1;
	font-size: 26px;
	margin-top: 0;
	opacity: 0;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.site.visible .section-main-page__content h1 {
	animation: slideInBottom 0.5s ease forwards;
	animation-delay: 1s;
}

.section-main-page__content__buttons {
	display: flex;
	align-items: center;
}

.site.visible .section-main-page__content p {
	animation: slideInBottom 0.5s ease forwards;
	animation-delay: 1.5s;
}

.btn {
	font-family: 'Agency Gothic CT';
	color: #fff;
	cursor: pointer;
	font-size:24px;
	line-height: 24px;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	background: transparent;
	font-weight: 200;
	padding: 15px 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 15px;

}

.section-main-page__content .btn {
	transition: opacity 0.5s ease, transform 0.5s ease;
	opacity: 0;
}

.site.visible .section-main-page__content .btn:first-child {
	animation: slideInLeft 0.5s ease forwards;
	animation-delay: 2s;
}
.site.visible .section-main-page__content .btn:last-child {
	animation: slideInRight 0.5s ease forwards;
	animation-delay: 2s;
}

.btn svg {
	height: 54px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.btn:hover {
	color: #fff;
}

.btn rect {
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-dasharray: 422, 0;
	transition: all 0.35s linear;
}

.btn:hover rect {
	stroke-width: 5;
	stroke-dasharray: 15, 310;
	stroke-dashoffset: 48;
	stroke: #F41214;
	transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.section-head {
	padding-top: 100px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-bottom: 45px;
}

.section-head h1 {
	font-size: 50px;
	line-height: 50px;
	margin: 0;
	color: #fff;
}

.section-portfolio {
	padding: 25px 45px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: max-content;
	grid-gap: 25px;
}
.section-portfolio__item {
	position: relative;
	aspect-ratio: 9 / 8;
}
.section-portfolio__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.6s;
}
.section-portfolio__item:hover .section-portfolio__image img {
	filter: grayscale(0);
}
.section-portfolio__content {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.7);
	opacity: 0;
	transition: all 0.6s;
}
.section-portfolio__item:hover .section-portfolio__content {
	opacity: 1;
}

.section-portfolio__title {
	font-size: 36px;
	line-height: 46px;
	color: #fff;
	margin-bottom: 40px;
	position: relative;
}

.section-portfolio__title_text {
	opacity: 0;
	transition: all 0.6s;
	display: block;
}

.section-portfolio__desc {
	font-size: 22px;
	line-height: 30px;
	color: #fff;
	text-align: center;
	opacity: 0;
	transition: all 0.6s;
	padding: 0 20px
}

.section-portfolio__title:before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -20px;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: #F41214;
	transition: all 0.6s;
}

.section-portfolio__item:hover .section-portfolio__title:before {
	animation: fullWidth 0.5s ease forwards;
	animation-delay: 0.1s;
}
.section-portfolio__item:hover .section-portfolio__title_text {
	animation: slideInTop 0.5s ease forwards;
	animation-delay: 0.5s;
}
.section-portfolio__item:hover .section-portfolio__desc {
	animation: slideInBottom 0.5s ease forwards;
	animation-delay: 0.5s;
}

@keyframes fullWidth {
	0% {
		width: 0%;
	}
	100% {
		width: 80%;
	}
}

.section-portfolio__filter {
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-portfolio__filter .btn {
	width: 152px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.section-portfolio__filter .btn:hover rect {
	stroke-dasharray: 30, 310;
}
.section-portfolio__filter .btn.active {
	color: #fff;
}
.section-portfolio__filter .btn.active rect {
	stroke-width: 5;
	stroke-dasharray: 30, 310;
	stroke-dashoffset: 48;
	stroke: #F41214;
	transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}

#portfolio-items {
	opacity: 1;
	transition: opacity 0.5s ease; /* Переход для плавного появления */
}

#portfolio-items.hidden {
	opacity: 0;
}

.section-portfolio-item {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-gap: 25px;
	padding: 25px 45px;
}
.section-portfolio-item a {
	aspect-ratio: 9 / 7;
	filter: grayscale(100);
	transition: all 0.6s;
}
.section-portfolio-item a:hover {
	filter: grayscale(0);
}
.section-portfolio-item a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Общие стили для модального окна */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	z-index: 9999;
	justify-content: center;
	align-items: center;
	opacity: 0;
	width: 100%;
	height: 100vh;
	transition: opacity 0.5s ease-in-out; /* Плавное появление */
}

/* Когда модальное окно активно */
.modal.active {
	display: flex;
	opacity: 1;
}

/* Контейнер для изображения и кнопок */
.modal-content {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 45px;
}

/* Изображение в модальном окне */
#modal-image {
	max-width: 90%;
	max-height: 80vh;
	transition: opacity 0.5s ease-in-out; /* Плавный переход для смены изображений */
}

/* Кнопки для навигации */
.nav-buttons {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
}

.nav-buttons button {
	border: none;
	padding: 10px;
	width: 60px;
	height: 60px;
	color: #fff;
	cursor: pointer;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: none;
}

.nav-buttons #prevBtn {
	left: 5px;
	background: url("./img/prev.svg") no-repeat center center;
	background-size: contain;
}

.nav-buttons #nextBtn {
	right: 5px;
	background: url("./img/prev.svg") no-repeat center center;
	background-size: contain;
	transform: translateY(-50%) rotate(180deg);
}

.close-button {
	position: fixed;
	top: 10px;
	right: 10px;
	border: none;
	width: 60px;
	height: 60px;
	padding: 10px;
	cursor: pointer;
	background: url("./img/close.svg") no-repeat center center;
	background-size: contain;
}

.section-head p {
	font-family: 'SF Pro Display';
	color: #fff;
	font-size: 20px;
	margin-top: 30px;
	margin-bottom: 0;
	margin-left: 20px;
	margin-right: 20px;
	text-align: center;
}

.section-contacts__left_image {
	height: 463px;
	margin-top: auto;
	width: 100%;
}

.section-contacts {
	min-height: calc(100vh - 242px);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.section-contacts__name {
	font-size: 28px;
	padding-bottom: 10px;
	position: relative;
	text-align: center;
	color: #fff;
}
.section-contacts__name:before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 80%;
	height: 3px;
	background: #F41214;
}
.section-contacts__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	color: #fff;
	font-size: 26px;
	line-height: 30px;
}
.section-contacts__contact a {
	color: #fff;
	font-size: 26px;
	line-height: 25px;

}
.section-contacts__contact a:hover {
	text-decoration: none;
}

.section-about {
	padding: 0 45px 25px 45px;
	text-align: center;
}

.section-about__wrapper {
	padding-top: 30px;
	font-family: 'SF Pro Display';
	max-width: 750px;
	margin: 0 auto;
	font-size: 18px;
	color: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.section-about__wrapper:before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 250px;
	height: 3px;
	background: #F41214;
	transform: translateX(-50%);
}

.section-about__wrapper h2 {
	padding-bottom: 25px;
	position: relative;
	margin-bottom: 25px;
}

.section-about__wrapper p {
	margin-top: 0;
}

.section-about__wrapper h2:before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 80%;
	height: 3px;
	background: #F41214;
	transform: translateX(-50%);
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column p strong {
	font-family: 'Agency Gothic CT';
	font-size: 22px;
	display: block;
	margin-bottom: 20px;
}

.wp-block-columns {
	margin-top: 60px;
}

.wp-block-columns p {
	font-size: 16px;
	max-width: 85%;
	margin: 0 auto;
}

.section-contacts__wrapper {
	display: flex;
	width: 100%;
	height: calc(100vh - 227px);
}
.section-contacts__left	{
	width: 50%;
	height: 100%;
}
.section-contacts__left .section-contacts__left_image {
	height: 100%;
}
.section-contacts__left .section-contacts__left_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.section-contacts__right {
	width: 50%;
	padding: 0 30px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: relative;
}
.section-contacts__right form, .section-contacts__right .wpforms-container {
	width: 100%!important;
	margin: 0!important;
}
.section-contacts__right .wpforms-container input, .section-contacts__right .wpforms-container textarea {
	background: none!important;
	color: #fff!important;
	border-radius: 0!important;
	border: 1px solid #bbbbbb!important;
	resize: none!important;
	font-size: 18px!important;
}
.section-contacts__right .wpforms-container input::placeholder, .section-contacts__right .wpforms-container textarea::placeholder {
	color: #bbbbbb!important;
}
.section-contacts__right .wpforms-container button {
	background: #F41214!important;
	width: 100%!important;
	text-align: center;
	border-radius: 0!important;
	font-size: 18px!important;
}
.section-contacts__right .wpforms-container button:hover {
	opacity: 0.7;
}

.section-contacts__social img {
	width: 25px;
	height: 25px;
}
.section-contacts__social li {
	margin-left: 15px;
}
.section-contacts__social a {
	transition: all 0.2s;
}
.section-contacts__social a:hover {
	opacity: 0.7;
}
.section-contacts__social {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	position: absolute;
	right: 30px;
	top: 85px;
}

div.wpforms-container-full .wpforms-form label.wpforms-error, div.wpforms-container-full .wpforms-form em.wpforms-error {
	position: absolute!important;
	right: 0;
	bottom: 20px;
}

@media screen and (max-width: 800px) {
	.site-header {
		padding: 20px 15px;
		z-index: 999;
	}
	.site.visible .section-main-page__content h1 {
		font-size: 60px;
		line-height: 70px;
	}
	.section-main-page__content {
		width: 100%;
		padding: 0 15px;
	}

	#primary-menu {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100vh;
		background: rgba(0, 0, 0, 0.7);
		backdrop-filter: blur(10px);
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		z-index: 99;
		opacity: 0;
		visibility: hidden;
		transition: all 0.6s;
	}
	.main-navigation.toggled #primary-menu {
		opacity: 1;
		visibility: visible;
	}
	.main-navigation li:not(:last-child) {
		margin-bottom: 20px;
	}
	.main-navigation a {
		font-size: 30px;
	}
	.menu-toggle {
		z-index: 999;
		position: relative;
	}
	.main-navigation.toggled .menu-toggle {
		background: url("./img/close_m.svg") no-repeat center center;
		background-size: contain;
	}
	.section-portfolio__filter {
		flex-wrap: wrap;
		gap: 25px;
	}
	.section-portfolio__filter .btn {
		margin: 0;
	}
	#portfolio-items {
		padding: 20px 15px;
		max-width: 100%;
		grid-template-columns: repeat(1, 1fr);
	}
	.section-portfolio-item {
		padding: 20px 15px;
	}
	* {
		box-sizing: border-box;
	}
	.section-portfolio__item {
		max-width: 100%;
		aspect-ratio: auto;
		height: 350px;
	}
	.section-portfolio__title:before {
		width: 80%;
		animation: none!important;
	}
	.section-portfolio__title_text, .section-portfolio__desc {
		opacity: 1;
		animation: none!important;
	}
	.section-portfolio__content {
		opacity: 1;
	}
	.section-head {
		padding-top: 180px;
	}
	.section-contacts__wrapper {
		flex-direction: column-reverse;
	}
	.section-contacts__wrapper {
		height: auto;
	}
	.section-contacts__left {
		width: 100%;
	}
	.section-contacts__right {
		width: 100%;
		margin-bottom: 30px;
	}
	.section-contacts__social {
		position: relative;
		right: auto;
		top: auto;
		margin-top: 20px;
	}
	.section-contacts__social li {
		margin-left: 0;
		margin-right: 15px;
	}
	.section-portfolio__desc {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 4;
		line-clamp: 4;
		-webkit-box-orient: vertical;
		text-overflow: ellipsis;
	}
	.section-portfolio__title_text {
		max-width: 90%;
		text-align: center;
		margin: 0 auto;
	}
	.site-header {
		background: rgb(0,0,0);
		background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6579424005930496) 50%, rgba(0,212,255,0) 100%);
	}
	header.scrolled .site-branding a {
		max-height: 75px;
	}
	.section-head h1 {
		max-width: 90%;
		text-align: center;
		margin: 0 auto;
	}
}
