* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	--index: calc(1vw + 1vh);
	--gutter: 30px;
	--side-small: 26;
	--side-big: 36;
	--depth: 4000px;
	--transition: .75s cubic-bezier(.075, .5, 0, 1)
}

/* Скрываем Scrollbar */
body {
	scrollbar-width: none; /* Firefox */
}
body::-webkit-scrollbar { 
	display: none; /* Safari and Chrome */
}

@font-face {
    font-family: 'BankGothic RUSS';
    src: url('css/BankGothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    background-color: #000;
    color: #fff;
    font-size: calc(var(--index) * .8);
    font-family: 'BankGothic RUSS', sans-serif;
    line-height: 1.75;
    height: var(--depth);
    font-weight: 300;
}
.container2 {
	width: 100%;
	height: 100%;
	position: fixed;
	perspective: 1500px;
}
.frame66{
	padding-top:70px;
	 text-shadow: 0 0 5px rgba(0, 0, 0, 0.8),
                 0 0 10px rgba(0, 0, 0, 0.5);
	
}

.gallery2 {
	transform-style: preserve-3d;
	height: 100%;
}
.frame2 {
	width: 100%;
	height: 100%;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition), opacity .75s ease;
	will-change: transform;
	transform-style: preserve-3d;
}
h1, h2, h3, h4 {
	font-weight: 100;
	text-transform: uppercase;
	width: min-content;
	line-height: 1;
}
.frame2 h2 {
	text-align: center;
	font-size: calc(var(--index) * 3.3);
}
.frame-media {
	position: relative;
	 z-index: -1;
	width: calc(var(--index) * var(--side-small));
	height: calc(var(--index) * var(--side-big));
	background-position: center;
	background-size: cover;
}
.frame-media_left {
	right: calc(var(--side-small) / 2 * var(--index) + var(--gutter));
}
.frame-media_right {
	left: calc(var(--side-small) / 2 * var(--index) + var(--gutter));
}
.frame_bg {
	background-color: rgb(0 0 0 / .87);
}
video.frame-media {
	width: calc(var(--index) * var(--side-big));
	height: calc(var(--index) * var(--side-small));
}
video.frame-media_right {
	left: calc(var(--side-big) / 2 * var(--index) + var(--gutter));
}
video.frame-media_left {
	right: calc(var(--side-big) / 2 * var(--index) + var(--gutter));
}
.text-right > * {
	position: relative;
	left: 18vw;
}
.text-left > * {
	position: relative;
	right: 18vw;
}
.frame2 h3 {
	font-size: calc(var(--index) * 3);
}
.frame2 p {
	max-width: 30vw;
	margin-top: 3vh;
}
.soundbutton {
	position: fixed;
	bottom: 5vh;
	right: 5vw;
	cursor: pointer;
	width: 24px;
	transition: .25s ease;
}
.soundbutton.paused {
	opacity: .25;
}

.detail-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: black; /* Ярко-красный */
  color: #ffffff; /* Белый текст */
  font-family: BankGothic RUSS, sans-serif;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #ff0000; /* Красная граница */
  border-radius: 30px; /* Закругленные углы */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(255, 0, 0, 0.1); /* Легкая тень */
  text-align: center;
}

.detail-button:hover {
  background-color: #ffffff; /* Белый фон при наведении */
  color: #ff0000; /* Красный текст */
  transform: translateY(-2px); /* Легкий подъем */
  box-shadow: 0 6px 8px rgba(255, 0, 0, 0.2); /* Усиленная тень */
}

.detail-button:active {
  transform: translateY(0); /* Возврат при нажатии */
  box-shadow: 0 2px 4px rgba(255, 0, 0, 0.1);
}




.footer1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    font-size: calc(var(--index) * 1.2);
    z-index: 0;
    opacity: 0; /* Начальная прозрачность */
    visibility: hidden; /* Скрываем элемент */
    transition: opacity 0.8s ease, visibility 0.8s ease; /* Анимация прозрачности */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.footer1.visible {
    opacity: 1; /* Полная видимость */
    visibility: visible; /* Показываем элемент */
     z-index: 400;
}

.footer2 {
    position: fixed;
    top: 150px;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    font-size: calc(var(--index) * 1.2);
    z-index: 500;
    opacity: 0; /* Начальная прозрачность */
    visibility: hidden; /* Скрываем элемент */
    transition: opacity 0.8s ease, visibility 0.8s ease; /* Анимация прозрачности */
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 150px);
}

.footer2.visible {
    opacity: 1; /* Полная видимость */
    visibility: visible; /* Показываем элемент */
}




.frame_bg {
   
    z-index: 1; /* Убедитесь, что видео не перекрывает текст */
}
.frame:not(.frame_bg) {
    z-index: 2; /* Текстовые блоки выше */
}

 .h90 {   min-height: 10vh; } 
.modal-content {     min-height: 10vh; } 