/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFDAB3;
    direction: lrt;
}
header {
    background-color: #FF7F50;
    color: white;
    padding: 1rem;
    text-align: center;
}
header img {
    height: 200px; /* Размер изображения */
    width: auto;
    margin-bottom: 5px; /* Отступ снизу для отделения от текста */
}
main {
    padding: 15px;
    max-width: 800px; /* Максимальная ширина основного содержимого */
    margin: 0 auto; /* Центрирование содержимого */
    padding-bottom: 30px;
}
article {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.article2 {
    margin-bottom: 10px;
    padding: 2px 10px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
h1 {
    color: #ffffff;
    text-align: center;   /* Центрирование текста */
    font-size: 32px;      /* Размер шрифта */
    margin-top: 15px;     /* Отступ сверху, по желанию */
    margin-bottom: 10px;  /* Отступ снизу, по желанию */
}
h2 {
    color: #FF4500;
    text-align: center;   /* Центрирование текста */
    font-size: 28px;      /* Размер шрифта */
    margin-top: 20px;     /* Отступ сверху, по желанию */
    margin-bottom: 20px;  /* Отступ снизу, по желанию */
}
p {
    font-size: 16px; 
    line-height: 1.6;
    color: #FF4500;
}
footer {
    text-align: center;
    background-color: #FF7F50;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 16px;
    line-height: 16px;
    height: 32px; /* ← две строки по 16px каждая */
}
a {
    display: inline-block; /* Делаем ссылку блочным элементом */
    margin-top: 10px; /* Отступ сверху для отделения от текста */
    text-decoration: none; /* Убираем подчеркивание */
    color: #FF4500; /* Цвет ссылки */
    font-weight: bold; /* Жирный шрифт для ссылки */
    font-size: 14px; /* Размер шрифта */
}

a:hover {
    text-decoration: underline; /* Подчеркивание при наведении */
}
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
}
.logo-title {
    color: #ffffff;
    text-align: center;   /* Центрирование текста */
    font-size: 32px;      /* Размер шрифта */
    margin-top: 10px;     /* Отступ сверху, по желанию */
    margin-bottom: 5px;  /* Отступ снизу, по желанию */
}

.logo-title a {
    color: #ffffff;
    text-align: center;   /* Центрирование текста */
    font-size: 32px;      /* Размер шрифта */
    margin-top: 10px;     /* Отступ сверху, по желанию */
    margin-bottom: 5px;  /* Отступ снизу, по желанию */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 💻 На компьютерах — фиксированная ширина и высота */
@media (min-width: 768px) {
  .video-container {
    width: 560px;
    height: 315px;
    padding: 0;        /* отключаем отступ-пропорцию */
  }

  .video-container iframe {
    width: 560px;
    height: 315px;
    position: static;  /* убираем абсолютное позиционирование */
  }
}

/* Медиазапросы для экранов шириной до 600px (мобильные устройства) */
@media (max-width: 600px) {
    header img {
        height: 150px; /* Уменьшенный размер изображения для мобильных устройств */
    }
    header h1 {
        font-size: 1.5em; /* Уменьшенный размер заголовка */
    }
    main {
        padding: 10px; /* Уменьшенные отступы */
    }
    article {
        padding: 10px; /* Уменьшенные отступы для статей */
    }
    footer {
        font-size: 8px; /* Уменьшенный размер текста в подвале */
    }
}
