body {
    margin: 0;
    font-family: sans-serif;
    height: 1540px;
}
  
header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}
  
nav {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}
  
nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
}
  
.banner {
    position: relative;
    overflow: hidden;
    height: 500px; /* Или другая желаемая высота */
}
  
.banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1; /* Убедитесь, что видео ниже текста */
    object-fit: cover; /*  Заполняет область, обрезая при необходимости */
}
  
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4em;
    text-shadow: 2px 2px 4px #000000; /* Добавляет тень для лучшей читаемости */
    z-index: 2; /* Помещает текст поверх видео */
    text-align: center;
}
.te{
    position: relative;
    top: 40px;
    left: -60px;
    color: #d5d4d4;
    margin-left: 200px; 
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.3em;
}
.banner-text h1{
    position: relative;
    top: 40px;
    font-size: 1.2em;
    color: #9f4800;
    font-family:Arial, Helvetica, sans-serif;
    -webkit-text-stroke: 3px #000000; /* Толщина и цвет обводки */
    /* text-stroke: 3px #000000; Толщина и цвет обводки (стандартное свойство) */
}
.banner-text p{
    font-size: 0.4em;
}
.geroi{
    background-color: #2a2400;
    height: 1000px; 
    position: relative;
    top: -55px; 
  }
  .zifra h2{
    position: absolute;
    left: 350px;
    font-size: 2.8rem;
    color:  #804613;
  }
.zifra p,ul{
    font-size: 1.5rem;
    color:  #804613;
    position: absolute;
} 
.qqq{
    left: 100px;
    top: 100px;
}
.www, ul{
    left: 100px;
    top: 300px;
}
.www{
    top: 230px;
}
.eee{
    width: 700px;
}
/* Общие стили для табличек */
.hero-card {
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #f9f9f9;
    transition: transform 0.3s ease; /* Плавная анимация */
    cursor: pointer; /* Меняет курсор на "руку" */
  }

  .hero-card:hover {
    transform: scale(1.05); /* Увеличение при наведении */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Более выраженная тень при наведении */
  }

  .hero-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }

  .hero-card h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
  }

  .hero-card p {
    font-size: 0.9em;
    color: #666;
  }

  /* Контейнер для расположения табличек в ряд */
  .hero-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Ссылка занимает всю карточку */
  .hero-card a {
    display: block; /* Делаем ссылку блочным элементом */
    text-decoration: none; /* Убираем подчеркивание */
    color: inherit; /* Наследуем цвет текста от карточки */
    height: 100%; /* Занимаем всю высоту карточки */
    width: 100%; /* Занимаем всю ширину карточки */
  }
  .tech {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #34495E; /* Темно-серый фон, как ночное небо */
    color: #ECF0F1; /* Светлый текст для контраста */
    height: 900px;
    position: relative;
    /* top: -90px; */
}
footer {
    background-color: #333; /* Темный фон */
    color: #fff; /* Светлый текст */
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    position:relative;
    top: -100px;
}

footer .container1 {
    max-width: 960px;
    margin: 0 auto;
}

footer p {
    margin-bottom: 10px;
}

.social-links {
    margin-bottom: 10px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
}

.social-links img {
    width: 30px; /* Размер иконок соцсетей */
    height: 30px;
    border-radius: 50%; /* Круглые иконки */
    transition: transform 0.2s ease-in-out; /* Анимация при наведении */
}

.social-links img:hover {
    transform: scale(1.2); /* Увеличение при наведении */
}

.feedback-link {
    color: #fff; /* Цвет ссылки */
    text-decoration: none; /* Убрать подчеркивание */
    border-bottom: 1px solid #fff; /* Подчеркивание при наведении */
    transition: border-bottom 0.2s ease-in-out;
}

.feedback-link:hover {
    border-bottom: 1px solid transparent; /* Убрать подчеркивание при наведении */
}

.additional-text {
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
}
.floating-button-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    
}

.image-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
     display: flex;
    align-items: center;
   transition: opacity 0.3s ease;
   
}

.image-button img {
    width: 50px; /* задаём желаемый размер */
    height: auto;
    display: block;
    
}

.text-container {
  background-color: rgba(0, 0, 0, 0);
  color: rgb(0, 0, 0);
  padding: 10px;
  border-radius: 5px;
  margin-left: 10px;
  white-space: nowrap;
  transform: translateX(-10%);
  opacity: 0;
  transition: all 0.3s ease;
  
}

.image-button:hover .text-container {
  transform: translateX(0); /* При наведении выдвигаем текст */
  opacity: 1;
  pointer-events: auto;
}
