* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Fredoka', Arial, sans-serif;
  background: #f5f6fa;
  color: #222;
  line-height: 1.7;
}

header {
  background: #fff;
    color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  padding: 1em;
  display: flex;
  align-items: center;
  gap: 2em;

  a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    margin-left: auto;
  }

  img {
    height: 50px;
  }

}

@media (max-width: 600px) {
  header {
    padding: 0.4em 1em;
    gap: 1em;

    a {
      font-size: 0.8rem;
      text-align: center;
    }
  }
}

.logo {
  display: block;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: -2px;
  margin: 0;
  margin-right: auto;
}

.hero {
  display: flex;
  align-items: center;
  padding: 72px 32px 56px 32px;
  background: linear-gradient(220deg, #e3eafc 0%, #f5f6fa 100%);
  gap: 56px;
  text-align: left;
}

.hero .product-image {
  max-width: 720px;
  width: 100%;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1)) blur(0px);
  margin-right: 24px;
}


.hero .text {
  margin-left: auto;
  max-width: 35em;
  margin-right: 4em;
  margin-left: 4em;
}

@media (max-width: 1500px) {
  .hero {
    flex-direction: column;
    gap: 32px;
    padding: 40px 8px 32px 8px;
  }

  .hero .product-image {
    margin-top: 100px;
    margin-right: 0;
  }

  .hero .text {
    margin-left: 1em;
    margin-right: 1em;
  }
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 28px;
  font-weight: bold;
  font-size: 2.5rem;

}

.hero-desc {
  font-size: 1.18rem;
  color: #444;
  max-width: 600px;
  margin-bottom: 40px;
  margin-top: 8px;
}


@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    gap: 32px;
    padding: 40px 8px 32px 8px;
  }

  .hero .product-image {
    max-width: 100%;
    margin-right: 0;
  }

}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media (max-width: 1200px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 0;
  }

  .hero .product-image {
    margin-top: 20px;
    margin-right: 0;
  }

  .hero .text {
    margin-left: 1em;
    margin-right: 1em;
    text-align: center;
  }
}

.btn-lined-link {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid currentColor;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.characters {
  background: #efb716a6; /*#efb716;*/
  border-radius: 16px;
  padding: 56px 32px;
  margin: 48px auto;
  max-width: 1200px;
}

.characters-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  color: #fff;
  letter-spacing: 1px;
}

.characters-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.character-card {
  background: #f5f6fa;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 32px 24px;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.character-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 18px;
}

.character-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: .3em;
  color: #333;
  text-align: center;
}

.character-card .desc {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  margin-top: 6px;
  padding: 0 1em 0;
}

@media (max-width: 900px) {
  .characters-list {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .character-card {
    width: 90%;
    max-width: 340px;
  }
  .characters {
    padding: 3
    2px 8px;
  }
}


.story {
  background: linear-gradient(120deg, #e3eafc 0%, #f5f6fa 100%);
  border-radius: 16px;
  padding: 56px 32px;
  margin: 48px auto;
  max-width: 1200px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.story-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.storybook-img {
  width: 480px;
  max-width: 100%;
  border-radius: 12px;
  margin-right: 24px;
}

.story-inner .text {
  max-width: 35em;
  margin-left: 2em;
}

.story-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
}

.story-desc {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .story-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .storybook-img {
    margin-right: 0;
    width: 90%;
    max-width: 320px;
  }
  .story-inner .text {
    margin-left: 0;
    max-width: 100%;
  }
  .story {
    padding: 32px 8px;
  }
}

.products {
  background: #fff;
  border-radius: 16px;
  padding: 56px 32px;
  margin: 48px auto;
  max-width: 1200px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.products-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #222;
  letter-spacing: 1px;
}

.products-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-card {
  background: #f5f6fa;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 32px 24px;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-img {
  width: 280px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 18px;
}

.product-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: .3em;
  color: #333;
  text-align: center;
}

.product-card .price {
  font-size: 1.1rem;
  color: #efb716;
  font-weight: 700;
  margin-bottom: 18px;
  margin-top: 6px;
}

.btn-filled-link {
  display: inline-block;
  padding: 12px 24px;
  background: #efb716;
  color: #fff;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-filled-link:hover,
.btn-filled-link:focus {
  background: #d1a014;
  color: #fff;
}

@media (max-width: 900px) {
  .products-list {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .product-card {
    width: 90%;
    max-width: 340px;
  }
  .products {
    padding: 32px 8px;
  }
}

.kid-playing-img {
  width: 100%;
  max-width: 2200px;
  display: block;
  margin: 48px auto;
}

footer {
  background: #222;
  color: #fff;
  padding: 40px 0 24px 0;
  border-radius: 16px 16px 0 0;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-text {
  font-size: 1rem;
  color: #fff;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  color: #efb716;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.social-link:hover,
.social-link:focus {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 12px;
  }
  .footer-text {
    text-align: left;
  }
}