/* Общие стили */
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;
}

/* Стили для первого блока с картинкой */
#hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  text-align: center;
  position: relative;
  margin-top: -20px;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-text {
  max-width: 600px;
}

.hero-text h2 {
  font-size: 48px;
  margin: 20px 0;
}

.hero-text p {
  font-size: 18px;
  margin: 20px 0;
}

#next-section {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Стили для блока с преимуществами */
#blocks-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(270deg, #5300ff, #e300ff);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
}

.info-block {
  background-color: #555;
  margin: 10px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: calc(35%);
  color: #fff;
  text-align: center;
}

.info-block img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  width: 100px;
}

.info-block h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .info-block {
    width: calc(100% - 40px);
  }
}

/* Стили для блока "загрузить сейчас" */
.download-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 20px;
  background: linear-gradient(270deg, #5300ff, #e300ff);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
}

.download-left {
  flex: 1;
  overflow: hidden;
}

.download-left img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.download-right {
  flex: 1;
  padding: 0 20px;
  color: #fff;
  position: relative;
  text-align: center;
}

.download-right h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.download-right p {
  font-size: 18px;
  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;
}

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

  .download-left, .download-right {
    flex: none;
    width: 100%;
  }

  .download-right {
    padding: 20px;
  }

  .download-right h2 {
    font-size: 28px;
  }

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

  .download-right button {
    width: 100%;
    font-size: 16px;
  }
}

/* Стили для футера */
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;
  }
}