/* Базовые сбросы и глобальные стили */
* {
  box-sizing: border-box;
}

html {
  background-color: #00000098;
  margin: 0;
  padding: 0;
}

body { 
  background-color: #00000098;
  min-width: 300px;
  margin: 0;
  padding: 0;
}

/* Текст */
/* Заголовки */
h1 {
  margin: 1px;
  padding: 5px;
  color: #e6e8de;
  -webkit-text-fill-color: unset;
  -webkit-text-stroke: 1px rgba(57, 80, 7, 0.608);
  text-shadow: 6px 2px 80px rgb(20, 244, 13);
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  text-align: center;
  font-size: 5vw;
}
h2 {
  margin: 1px;
  padding: 5px;
  color: #e6e8de;
  -webkit-text-fill-color: unset;
  -webkit-text-stroke: 1px rgba(57, 80, 7, 0.608);
  text-shadow: 6px 2px 80px rgb(20, 244, 13);
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  text-align: center;
  font-size: 3vw;
}

h3 {
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
}

h4 {
  margin: 0;
  padding: 3px 0;
  color: #ffeb09;
}

h5 {
  color: #ececec;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 15px;
  text-shadow: 1px 1px 10px #150f0f;
}
.text_layer {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-item {
  transform: translateX(-150px);
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  opacity: 0;
}
.text-item2 {
  transform: translateX(150px);
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  opacity: 0;
}
.text-item3 {
  transform: translateY(150px);
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  opacity: 0;
}

.title {
  
  font-size: 3.5em;
  margin-bottom: 10px;
  animation: slideInRight 0.8s ease-out 2s forwards; /* Задержка 2 сек */
}

.subtitle {

  font-size: 1.8em;
  margin-bottom: 30px;
  animation: slideInRight 0.8s ease-out 2.3s forwards; /* Задержка 2.3 сек */
}
.media-block {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}
.description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 100%;
  animation: slideInRight 0.8s ease-out 2.6s forwards; /* Задержка 3.6 сек */
}
/* Параграфы */
p {
  line-height: 1.5;
  margin-bottom: 10px;
  margin: 3px;
  font-family: 'Times New Roman', Times, serif;
}

/* Ссылки */
a {
  color: rgb(10, 10, 24);
  text-decoration: none;
  font-style: oblique;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

a:hover {
  color: rgb(78, 78, 81);
  text-decoration: underline;
  text-shadow: 2px 2px 10px rgb(23, 166, 23);
}

/* Списки */
ul {
  /* list-style-type: disc; */
  left: 10px;
  border-radius: 5%;
}

li {
  width: 100%;
}

/* Основная структура макета и грид-система */
.wrapper {
  display: grid;
  background-color: #0000009c;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-template-rows: repeat(2, );
  grid-gap: 5px;
  grid-template-areas:
    "h h h h h h h h h h h h"
    "c c c c c c c c c c c c"
    "f f f f f f f f f f f f";
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Шапка */
.header {
  grid-column: 1/4;
  grid-area: h;
  position: relative;
  z-index: 1000;
  width: 100%;
  height: 1200px;
  background-color: #150f0f;
  transition: transform 0.3s ease-in-out;  
}
.header.hidden {
  transform: translateY(-100%);
}

/* Тело */
.content {
  background-color: #ffffffb6;
  grid-column: 1 / 4;
  grid-area: c;
  padding: 10px;
  overflow-x: auto;
  overflow-y: visible;
  min-height: 2000px;
  border-radius: 10px;
  width: 100%;
  z-index: 1000;
}

/* Подвал */
.footer {
  background-color: #1012109c;
  grid-column: 1 / 4;
  grid-area: f;
  text-align: center;
  width: 100%;
}
.bashka {
  position: fixed;
  text-align:center;
  z-index: 900;
  width: 100%;
  /* height: 30%; */
  background-color: #150f0f;  
  border-radius: 10px;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bashka.visible {
  transform: translateY(0);
}
/* Изображения */
img {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 10px;
  border: 2px solid #000000;
  box-shadow: 5px 10px 15px rgba(0,0,0,0.3);
}
.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s;
}

.zoomable.zoomed {
  cursor: zoom-out;
  transform: scale(2);
  position: relative;
  /* left: 200px; */
  z-index: 100;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideInRight {
  to {
      opacity: 1;
      transform: translateX(0);
  }
}
.img1 {
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 3s ease-in-out 0.5s forwards;
  border: 0px solid #000000;
  box-shadow: 0px 0px 0px rgba(0,0,0,0.3);
}
.button_go {
  height: auto;
  width: 300px;
  display: block;
  margin: 0 auto;
  opacity: 0; 
  animation: fadeIn 3s ease-in-out 3s forwards;
  margin-left: auto;
  margin-right: auto;
  
}
.btn {
  position: relative;
  text-align: center;
  display:block;
  justify-content: center;
  align-items: center;
  padding: 15px 35px;
  background: #e74c3c;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 2em;
  font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  transition: all 0.3s ease;
  border: 2px solid #e74c3c;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);

}
.btn:hover {
  background: transparent;
  color: #e74c3c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
/* Таблицы */
table {
  display: table;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  border-left: 10px;
  border-right: 10px;
  border-bottom: 10px;
  border-top: 100px;
  text-align: center;
  border-color: #150f0f;
  margin: auto;
  width: 100%;
}

/* Всплывашки */
svg {
  position: absolute;
  top: 10px;
  left: 0px;
  right: 0;
  width: 100%;
}

.description_kit {
  display: none;
  text-align: center;
	padding: 15px;
	box-sizing: border-box;
	width: 300px;
	height: 34%;
	/* box-shadow: 0 0 32px 10px #ccc; */
  transform: translateY(0%) translateX(-30%);
  position: absolute;
	bottom: calc(50% - 100px);
	font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 13px;
  font-weight:bold;
  color: rgb(215, 238, 10);
	/* background-color: rgba(0, 120, 201, 0.8); */
  pointer-events: none;
  transition-duration: .1s;
  transition-delay: .1s;
  z-index: 10000;
}
.kit_cont {
  display: flex;
}
.kit {
  position: relative;
  text-align: center;
  margin: 0px auto;
  padding: 0px;
  display: inline-block;
  overflow: hidden;
}
.modale_kit {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 10%;
}
.part_kit {
  opacity: .5;
}

.part_kit:hover {
  transition: opacity .2s ease;
  opacity: .9;
  cursor: pointer;
}
/* Видео */
.video {
  height: 20%;
  padding: 10px;
  text-align: center;
  
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.video-container1 {
  margin: 25px 0;
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-left: auto;
  margin-right: auto;
}
.responsive-video {
  width: 100%; /* Занимает 100% ширины контейнера */
  height: auto; /* Автоматическая высота для сохранения пропорций */
  border-radius: 10px;
  display: block;
  max-width: 100%; /* Не превышает ширину контейнера */
}
/* Видео для вертикальных */
.video-container2 {
  margin: 25px 0;
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-left: auto;
  margin-right: auto;
}
.responsive-video2 {
  width: 100%; /* Занимает 100% ширины контейнера */
  height: auto; /* Автоматическая высота для сохранения пропорций */
  border-radius: 10px;
  display: block;
  max-width: 100%; /* Не превышает ширину контейнера */
}
.video-container {
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -10;
} 

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Затемнение видео */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Полупрозрачный оверлей */
}
@media (max-width: 400px) {
  .description {
    display: none;
  }
  .zoomable.zoomed {
    left: 200px;
  }
} 