html {
  background-color: #f4f4f4;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  background-color: #f4f4f4;
  color: #333;
}

header {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

section {
  margin-bottom: 2rem;
}

h1, h2 {
  color: #333;
  text-align: center;
}

p {
  margin-bottom: 1rem;
  text-align: center;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #333;
  color: #fff;
}

.alternative {
  color: red;
  font-weight: bold;
}

.peaceful-sleep {
  font-weight: bold;
}

.feature-title {
  font-style: italic;
}

.babysleep-icon-image {
  display: block;
  margin: 0 auto;
  border: 10px solid transparent;
  max-width: 100%;
  height: auto;
}

.centered-image {
  display: block;
  margin: 0 auto;
  border: 10px solid transparent;
  max-width: 100%;
  height: auto;
}

.google-play-image {
    display: block;
    margin: 0 auto;
    border: 10px solid transparent;
    max-width: 100%;
    height: auto;
}

.cta-button {
    display: block;
    width: fit-content;
    margin: 0.5rem auto;
    padding: 14px 32px;
    background-color: #e8a000;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.cta-button:hover {
    background-color: #ffb800;
}

.google-play-image-small {
    border: 10px solid transparent;
    width: 200px;
    height: auto;
}

.half-size {
  width: 50% !important;
  max-width: 100% !important;
  height: auto !important;
}

.screenshots-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.screenshots-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.screenshot-item {
  width: 120px;
  flex-shrink: 0;
  text-align: center;
}

.screenshot-item img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: block;
  margin: 0 auto;
}

.screenshot-caption {
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.3rem;
  margin-bottom: 0;
  text-align: center;
}

.reviews-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.review {
  background-color: #fff;
  border-left: 4px solid #5b8fcf;
  margin: 0.8rem auto;
  padding: 0.8rem 1rem;
  max-width: 680px;
  text-align: left;
}

.review-text {
  font-style: italic;
  margin-bottom: 0.3rem;
  text-align: left;
}

.review-author {
  font-weight: bold;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0;
  text-align: left;
}

.lang-link {
  text-align: right;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.lang-select {
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

/* Responsive design for mobile and tablet */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 0.5rem;
  }
  main {
    padding: 0.5rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1rem;
  }
  .half-size {
    width: 100% !important;
  }
}
