.mam-header {
  display: flex;                /* Выстраивает картинки в ряд */
  justify-content: center;     /* Центрирует их */
  align-items: center;    /* Вертикальное выравнивание */
  width: 100%;
  margin-top: 30px;
  background-color: rgba(0, 0, 0, 0.2);  /* Полупрозрачный фон */
  padding: 10px 0;             /* Отступы сверху и снизу */
  gap: 25px;                   /* Расстояние между GIF */
  backdrop-filter: blur(4px); /* (опционально) блюр заднего фона */
  z-index: 999;                /* Поверх другого контента */
}
.mam-header img {
  max-height: 60px;            /* Чтобы баннеры не были огромными */
  transition: transform 0.3s ease;
}

.mam-header img:hover {
  transform: scale(1.05);      /* Лёгкое увеличение при наведении */
}
@media (max-width: 600px) {
  .mam-header {
    flex-direction: column;    /* Выстраивает гифки в колонку */
    gap: 15px;                 /* Меньше отступ между ними */
    padding: 25px 0;           /* Чуть больше отступы сверху/снизу */
	margin-top: 100px;
	margin-bottom: 10px;
  }
  .mam-header img {
    max-height: 50px;          /* Подстроим размер под мобилки */
  }
}
body {
	margin: 0;
	padding: 0;
	background: url('../image/background.jpg') center/cover no-repeat fixed;
	height: 100vh;
	font-family: 'Roboto', sans-serif;
	background-color: #0d1117;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}	
footer {
	background-color: rgba(51, 51, 51, 0.2);
	color: #ffffff;
	padding: 40px 20px;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	margin-top: 60px;
	border-top: 3px solid #ff5555;
	box-shadow: inset 0 0 10px #000000cc;
}
footer h3 {
	color: #ff5555;
	font-weight: 700;
	font-size: 1.8em;
	margin-bottom: 20px;
	letter-spacing: 1.2px;
}
footer p {
	margin: 10px 0;
	font-size: 1.1em;
	color: #ccc;
}
footer a {
	color: #ff9999; 
	text-decoration: none; 
	transition: color 0.3s ease;
}
footer a:hover {
	color: #ff5555;
}
footer .copyright {
	margin-top: 30px;
	font-size: 0.9em;
	color: #ff7777;
	letter-spacing: 0.05em;
}
.a {
	display: inline-block;
	background-color: #ff5555;
	text-align: center;
	padding: 15px 40px;
	border-radius: 40px;
	font-family: 'Times New Roman', Times, serif;
	font-size: 1.2em;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 6px 20px rgba(255, 85, 85, 0.4);
	margin: 20px auto;
	cursor: pointer;
	width: 210px;

	/* Градиент + анимация текста */
	background-image: linear-gradient(45deg, #ff5555, #ffffff, #ff5555);
	background-size: 300%;
	-webkit-background-clip: text;
	color: transparent;
	animation: glitter 3s linear infinite;
}

/* Анимация градиента "блесток" */
@keyframes glitter {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}

/* 🔻 Медиа-запрос для мобильных устройств */
@media (max-width: 600px) {
	.a {
		width: 90%;           /* Занимает почти всю ширину */
		font-size: 1em;       /* Чуть меньше текст */
		padding: 12px 20px;   /* Уменьшаем отступы */
	}
}
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgba(51, 51, 51, 0.1); /* чуть менее прозрачный для читаемости */
	padding: 10px 15px; /* уменьшенные отступы */
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'Roboto', sans-serif;
	box-shadow: inset 0 0 10px #000000cc;
	z-index: 1000;
	flex-wrap: wrap; /* чтобы элементы переносились при нехватке места */
}

.h1 {
	padding-top: 5px; /* для десктопа */
	text-align: center;
	font-size: 1.5em;
	color: #ff5555;
	margin-bottom: 10px;
	font-family: 'Times New Roman', Times, serif;
	font-weight: 700;
}
/* Адаптация для мобильных экранов */
@media (max-width: 600px) {
	.h1 {
		padding-top: 1px;
		font-size: 1.2em;
		margin-bottom: 10px;
		text-align: center;
		
	}
}
.h2 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    color: #ff5555;
    margin-bottom: 15px;
    text-align: center;
}
@media (max-width: 768px) {
	.h2 {
		font-size: 20px; /* Меньший размер для мобильных */
		padding: 0 10px;  /* Небольшие отступы по бокам */
		text-align: center;
	}
}
.h3 {
	font-family: 'Times New Roman', Times, serif;
	font-weight: 600;
	color: #ff5555;
	margin-bottom: 15px;
	
}
.h4 {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	color: #ccc;
	text-align: center;
	margin-bottom: 30px;
}
.p {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	color: #ccc;
	line-height: 1.6;
	max-width: 700px;
	margin: 0 auto 30px auto;
}
.img {
	display: block;
	margin: 30px auto;
	max-width: 80%;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);	
}
.div {
	color: #ff5555; 
	font-weight: 700; 
	font-size: 1.5em;
	background-image: linear-gradient(45deg, #ff5555, #ffffff, #ff5555);
	background-size: 300%;
	-webkit-background-clip: text;
	color: transparent;
	animation: glitter 3s linear infinite;
}
.container {
	max-width: 1200px;
	width: 100%;
	text-align: center;
}
@media (max-width: 600px) {
  .container {
    margin-top: 20px; /* или padding-top: 20px; в зависимости от цели */
  }
}
.software-image {
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	margin-bottom: 40px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
}
.title {
	font-size: 3em;
	font-weight: 700;
	margin-bottom: 20px;
}
.description {
	font-size: 1.2em;
	color: #c9d1d9;
	margin-bottom: 50px;
}

.cards {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}
.card {
	background-color: rgba(51, 51, 51, 0.2);
	padding: 20px 30px;
	border-radius: 15px;
	text-align: center;
	width: 250px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background-image: linear-gradient(45deg, #ff5555, #ffffff, #ff5555);
	background-size: 300%;
	-webkit-background-clip: text;
	color: transparent;
	animation: glitter 3s linear infinite;

}
.card:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.card-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 1.8em;
	color: #ccc;
}
.card-price {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	color: #ff5555;
	font-size: 1.5em;
}
.button {
	background-color: #ff5555;
	color: #ffffff;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 600;
	margin-top: 20px;
	transition: background-color 0.3s ease;
}
.button:hover {
	background-color: #ff7777;
}

.nav-link {
	margin: 0 15px; /* Горизонтальный отступ между кнопками (влияет на общее расположение, но не размер кнопки) */

	text-decoration: none; /* Убирает подчёркивание у ссылок */
	font-weight: 600;      /* Полужирный текст */

	transition: all 0.3s ease; /* Плавная анимация при изменении состояний (например, hover) */
	cursor: pointer;          /* Курсор в виде руки при наведении */

	/* Размер и внешний вид кнопки: */
	display: inline-block;     /* Делает ссылку блочным элементом, чтобы задать отступы/размер */
	padding: 4px 12px;         /* Влияет на **высоту** (5px сверху и снизу) и **ширину** (15px слева и справа) кнопки */
	border-radius: 20px;       /* Закруглённые углы */
	background-color: rgba(0, 0, 0, 0.1); /* Цвет фона полупрозрачный */
	border: 1px solid rgba(255, 255, 255, 0.6); /* Светлая рамка */
	backdrop-filter: blur(2px); /* Размытие заднего фона, если поддерживается */
	box-shadow: 0 0 8px 5px rgba(255, 85, 85, 0.2); /* Красная внешняя тень вокруг кнопки */

	color: transparent; /* Скрывает текст (возможно, ты хотел задать `color: rgba(...)` или `color: inherit`) */
}
.nav-link:hover {
	color: #ff5555;                            /* При наведении — красный текст */
	background-color: rgba(0, 0, 255, 0.1);    /* Фон становится синеватым */
	transform: scale(1.25);                    /* Увеличивает размер кнопки на 25% при наведении */
}

.video-slider {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 900px;
	margin: 20px auto;
	position: relative;
	gap: 5px; /* промежуток между кнопками и видео */
}
.caption {
	font-family: 'Times New Roman', Times, serif;
}
.video-track {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	gap: 10px;
	width: 770px; /* ширина ровно под 3 видео + 2 промежутка */
	box-sizing: content-box;
}
.video-track::-webkit-scrollbar {
	height: 8px;
}
.video-track::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}
.video-item {
	flex: 0 0 250px;
}
.video-item video {
	width: 250px;
	display: block;
}
.prev, .next {
	background-color: #444;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	padding: 20px 10px;
	user-select: none;
	border-radius: 8px;
	background-image: linear-gradient(45deg, #ff5555, #ffffff, #ff5555);
	background-size: 300%;
	-webkit-background-clip: text;
	color: transparent;
	animation: glitter 3s linear infinite;
}
@keyframes glitter {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
