body {
    margin: 0;
    font-family: sans-serif;
    height: 2910px;
}
  
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;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

.container {
    width: 80%;
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    font-size: 2.5em;
    color: #d32f2f; /* Красный цвет для акцента */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

p {
    font-size: 1.1em;
    margin-bottom: 20px;
    /* color: #555; */
}

.year {
    font-size: 1.8em;
    color: #1976d2; /* Синий цвет для годов */
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    
}

ul {
    list-style: none;
    padding: 0;
}

.event {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding: 15px;
    border-left: 5px solid #d32f2f; /* Красная полоса слева */
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.event:hover {
    background-color: #f0f0f0;
}

.event i {
    display: block; /* Отображение тега <i> как блочного элемента */
    margin-top: 5px;   /* Отступ сверху */
    font-style: italic; /* Курсив */
    color: #777;       /* Цвет текста */
    font-size: 0.9em;  /* Размер текста */
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .year {
        font-size: 1.5em;
    }

    .event {
        font-size: 1em;
        padding: 10px;
    }
}
.banner-text p {
    color: #aaaaaa;
}
.cont{
    padding: 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;
}
footer {
    background-color: #333; /* Темный фон */
    color: #fff; /* Светлый текст */
    padding: 20px 0 20px 0;
    text-align: center;
    font-size: 14px;
    position:relative;
    top: 10px;
}

footer .container1 {
    max-width: 100%;
    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;
}
