@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Roboto:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #fff;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background: url('../img/pikaso_enhance__subtle_2K_Standard_r_c_.jpg') no-repeat center center;
  background-size: cover;
}

.title {
  opacity: 0;
  font-size: 6rem;
  font-weight: bold;
  font-family: 'Audiowide', sans-serif;
  animation: fadeIn 2s ease-in-out forwards;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#our-games {
  width: 100%;
  padding: 2rem 0 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.9);
}

#our-games h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-family: 'Audiowide', sans-serif;
}

#our-games .subheader {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #ccc;
}

.game {
  position: relative;
  margin-bottom: 0.5rem;
}

.game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game .description {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 1rem;
  max-width: 500px;
  font-family: 'Audiowide', sans-serif;
}

.description p {
  font-family: 'Roboto', sans-serif;
}

.description.left {
  left: 10%;
}

.description.right {
  right: 10%;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
}

.button .google-play-badge {
  width: 150px;
  height: auto;
}

.button:hover .google-play-badge {
  opacity: 0.8;
}

footer {
  width: 100%;
  padding: 2rem 0;
  background-color: #222;
  text-align: center;
  margin-top: -1rem;
}

.footer-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
    text-align: center;
  }

  .title {
    font-size: 3rem;
    text-align: center;
  }

  #our-games h2 {
    font-size: 2rem;
  }

  #our-games .subheader {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .game .description {
    position: relative;
    top: auto;
    transform: none;
    left: auto;
    right: auto;
    max-width: 90%;
    margin: 0 auto 1rem;
  }

  .description.left,
  .description.right {
    top: auto;
    left: auto;
    right: auto;
  }

  .game img {
    height: auto;
  }

  .footer-container {
    flex-direction: column;
    gap: 1rem;
  }
}
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30vh;
  background: url('../img/pikaso_enhance__subtle_2K_Standard_r_c_.jpg') no-repeat center center;
  background-size: cover;
  text-align: center;
}

.header .title a {
  font-size: 2rem;
  font-weight: bold;
  font-family: 'Audiowide', sans-serif;
  color: #fff;
  text-decoration: none;
}

.header .title a:hover {
  text-decoration: underline;
}

.content {
  width: 100%;
  padding: 2rem 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.9);
}

.container {
  max-width: 1000px; /* Увеличиваем ширину контейнера */
  margin: 0 auto;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  text-align: left; /* Выравниваем текст по левому краю */
}

.container h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Audiowide', sans-serif;
  text-align: center; /* Заголовок остаётся по центру */
}

.container p, .container ul {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.container a {
  color: #00bfff; /* Светлый голубой цвет для ссылок */
  text-decoration: none;
}

.container a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .container h2 {
    font-size: 2rem;
  }

  .container p {
    font-size: 0.875rem;
  }
}
