/* Общие стили */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  background: linear-gradient(270deg, #5300ff, #e300ff);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Стили для хедера */
header {
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  margin-left: 10px;
  flex-grow: 1;
}

.header-left .logo {
  width: 50px;
  margin-right: 15px;
}

.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  text-align: center;
}

.header-menu {
  text-align: center;
}

.header-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.header-menu ul li {
  display: inline;
  margin-right: 20px;
}

.header-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.header-menu ul li a:hover {
  text-decoration: underline;
}

.header-right {
  margin-right: 100px;
  flex-grow: 1;
  text-align: right;
}

.header-right .social-icon {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
  font-size: 30px;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
  .header-left {
    margin-left: 100px;
    margin-bottom: 10px;
  }

  .header-center {
    text-align: center;
  }

  .header-right {
    text-align: center;
    margin-left: 55px;
  }
}

/* Стили для основного контента */
main {
  margin-top: 80px;
  padding-bottom: 20px;
}

.download-section {
  padding: 50px 20px;
  background: linear-gradient(270deg, #5300ff, #e300ff);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
}

.download-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.styled-title {
  font-size: 48px;
  margin-bottom: 40px;
  color: #fff;
}

.styled-subtitle {
  font-size: 16px;
  margin-bottom: 40px;
}

.download-distro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.download-left {
  flex: 1;
  text-align: center;
}

.download-left img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.download-right {
  flex: 1;
  padding: 20px;
  background: #555;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #fff;
  margin-left: 20px;
}

.download-right h3 {
  font-size: 24px;
}

.download-right p {
  font-size: 16px;
  margin-bottom: 20px;
}

.download-right .button {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 5px 5px 0;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.download-right .button:hover {
  background-color: #0056b3;
}

/* Стили для блока перехода на wiki */
.install-guide {
  padding: 20px;
  background: #555;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #fff;
  margin-top: 40px;
  text-align: center;
}


.install-guide h3 {
  font-size: 24px;
}

.install-guide p {
  font-size: 16px;
  margin-bottom: 20px;
}

.install-guide .button {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.install-guide .button:hover {
  background-color: #0056b3;
}

/* Стили для блока "Поддержать проект" */
.support-project {
  background: #444;
  padding: 20px;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.support-project h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.support-project p {
  font-size: 16px;
  margin-bottom: 20px;
}

.support-project .button {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.support-project .button:hover {
  background-color: #218838;
}

/* Стили для блока с исходниками */
.explore-source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.source-left {
  flex: 1;
  text-align: center;
}

.source-left img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.source-right {
  flex: 1;
  padding: 20px;
  background: #555;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #fff;
  margin-left: 20px;
}

.source-right h3 {
  font-size: 24px;
}

.source-right p {
  font-size: 16px;
  margin-bottom: 20px;
}

.source-right .button {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 5px 5px 0;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.source-right .button:hover {
  background-color: #0056b3;
}

/* Медиа-запросы для основного контента */
@media (max-width: 768px) {
  .download-distro, .explore-source {
    flex-direction: column;
    text-align: center;
  }

  .download-left, .source-left, .download-right, .source-right {
    margin: 10px 0;
  }

  .download-right, .source-right {
    margin-left: 0;
  }

  .support-project {
    margin: 20px 0;
  }
}

/* Стили для футера */
footer {
  background-color: #333;
  padding: 10px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left, .footer-right {
  display: flex;
  align-items: center;
  margin-left: 100px;
  margin-right: 100px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-left .social-icon, .footer-right .social-icon {
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
  font-size: 30px;
}

.footer-right .logo {
  width: 180px;
}

#contact-info {
  width: 100%;
  text-align: center;
  margin-top: 0px;
  font-size: 12px;
}

/* Медиа-запрос для мобильных устройств для футера */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-left, .footer-right {
    margin: 10px 0;
  }

  #contact-info {
    margin-top: 0;
  }
}