* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -10;
}

.main-content {
    flex: 1; /* ЗАНИМАЕТ ВСЁ СВОБОДНОЕ ПРОСТРАНСТВО */
    position: relative;
    z-index: 1;
}

.content {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: gold;
    padding: 5px 5px;
    text-align: right;
    min-height: 80vh; /* Контент занимает 80% высоты */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content h2 {
    color: yellow; /* Желтый цвет */
    text-align: left; /* Выравнивание по правому краю */
    margin: 20px 20px 20px auto; /* Отступы с акцентом на правую сторону */
    padding-left: 20px; /* Дополнительный отступ справа */
    font-family: inherit; /* Наследует шрифт от .content */
    font-size: 2rem; /* Больший размер шрифта для заголовка */
    font-weight: bold; /* Жирное начертание */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Тень для лучшей читаемости на фоне */
    line-height: 0.5; 
}

.weather-list {
    text-align: left;
    margin-left: 20px;
}

.weather-item {
    color: yellow;
    text-align: left;
    margin: 10px 0; /* Убрать auto с правой стороны */
    padding-left: 0;
    font-family: 'Great Vibes', cursive;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.5; /* Исправить высоту строки */
}
.tooltip {
position: fixed; /* Вместо relative — фиксированное позиционирование */
top: 10px; /* Отступ от верхнего края окна */
left: 10px; /* Отступ от левого края окна */
display: inline-block;
cursor: pointer;
z-index: 9999; 
}


.tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  top: 125%; 
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}

/* ПОДВАЛ - всегда внизу */
footer {
    position: absolute;
    bottom: 1px;
    right: 10px; /* Отступ от правого края */
    z-index: 2;
    padding: 5px;
    background: transparent;
}

.footer {
    max-width: 1200px;
    margin: 0 auto;
    text-align: right;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ffd700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-item {
    color: black;
    display: flex;
    align-items: baseline;
    gap: 15px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.05);
    padding: 12px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 300px;
    justify-content: center;
}

.contact-item span {
    font-size: 16px;
    display: inline-flex;
    line-height: 1;
    vertical-align: baseline;
    align-items: center;
    height: 1.5rem; /* Фиксированная высота */
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.contact-item span:first-child {
    font-size: 1.2rem;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    color: black;
}