/* Import Atkinson Hyperlegible */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

:root {
  --background-color: #09101E;
  --primary-text: #FAFAFA;
  --secondary-text: #99BCDC;
  --accent-text: #FFB048;
  --link-color: #00FFE4; /* Added link color variable */
  --body-font: 'Atkinson Hyperlegible', sans-serif;
}

html {
  font-size: 20px;
}

body {
  background-color: var(--background-color);
  color: var(--primary-text);
  font-family: var(--body-font);
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

header {
  text-align: center;
  padding: 1.5rem 1rem 0 1rem;
}

.design-award {
  width: 100%;
  overflow: hidden;
  display: flex; 
  justify-content: center;
  background-color: #F5F5F7;
}

.design-award img {
  display: block;
  height: 200px;
  width: auto;
}

.divider {
  width: 100%; /* Make the divider span the full width */
  height: 25px; /* Set the height of the divider */
  background-image: url('images/divider.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center; /* Center the background image */
  margin: 1rem auto; /* Center the divider element */
}

.app-icon {
  width: 180px;
  height: 180px;
}

.star-rating {
  font-size: 1.2rem;
  color: var(--primary-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-rating .star {
  display: inline-block;
  font-family: Arial, sans-serif;
  color: #ff9500;/*var(--accent-text);*/
}

.star-rating .star.half {
  position: relative;
  display: inline-block;
  color: #ccc;
}

.star-rating .star.half::after {
  content: "★";
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #ff9500; /* Gold color for the filled half */
}

.star-rating .rating-text {
  margin-left: 0.5rem;
  font-size: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--accent-text);
  margin: 0;
}

h2 {
  font-size: 2rem;
  color: var(--accent-text);
  margin: 0.5rem 0;
}

.quote-highlight {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary-text);
}

section {
  max-width: 900px;
  margin: auto;
  padding: 0rem 1rem;
}

.description, .connect {
  background: linear-gradient(to right, rgba(18, 33, 59, 0) 0%, rgba(18, 33, 59, 1) 50%, rgba(18, 33, 59, 0) 100%);
  text-align: center;
  padding: 2rem 1rem;
}

.hook {
  font-size: 1.3rem;
  color: var(--primary-text);
  margin: 0;
  margin-bottom: 1rem;
}

.app-store-button img {
  width: 160px;
  height: auto;
}

.stats {
  color: var(--accent-text);
}

.screenshots {
  padding-bottom: 1rem;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;

}

.screenshot-item {
  text-align: center;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.screenshot-item p {
  margin-top: 10px;
  padding: 0rem 0.2rem;
  font-size: 1.3rem;
  color: var(--primary-text-color); /* Replace with your primary text color variable or value */
}

.screenshot-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.screenshot-item:hover img {
  transform: scale(1.07);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  max-width: 900px;
  padding: 3rem 1rem;
}

.testimonials blockquote {
  background-color: #0058A8;
  border-radius: 30px;
  padding: 1em;
  position: relative;
  font-style: italic;
  display: flex; /* Changed from block to flex */
  flex-direction: column; /* Added to enable vertical alignment */
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

.testimonials blockquote .quote {
  margin: 0;
}

.testimonials blockquote .attribution {
  margin: 0;
  margin-top: auto; /* Added to push the attribution to the bottom */
  text-align: right;
  font-size: 0.9em;
  align-self: flex-end;
}

.testimonials blockquote .quote span {
  font-size: 4em;
  line-height: 0.1em;
  vertical-align: -0.4em;
  margin-right: 0.2em;
}

.accessibility {
  text-align: center;
  padding: 3rem 1rem;
  padding-top: 1.5rem;
}

.accessibility h2 {
  font-size: 1.4rem;
  color: var(--primary-text);
  margin-bottom: 1rem;
  margin-top: 0;
}

.accessibility p {
  margin-bottom: 1rem;
}

.badge-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.badge {
  display: inline-block;
  padding: 10px 25px;
  font-size: 0.9rem;
  color: var(--primary-text);
  border: 1px solid var(--accent-text);
  border-radius: 8px;
  text-transform: uppercase;
  margin: 5px;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.discord-button, .email-button, .linktree-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 20px;
  border: none;
  border-radius: 30px;
  color: var(--primary-text);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 200px; /* Set a fixed width for all buttons */
}

.discord-button {
  background-color: #5865F2;
}

.email-button {
  background-color: #0058A8;
}

.linktree-button {
  color: #1E2330;
  background-color: #42E661;
}

.discord-button img, .email-button img, .linktree-button img {
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

.discord-button:hover, .email-button:hover, .linktree-button:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem 1rem;
}

footer h2 {
  margin: 0rem;
}

footer a {
  font-weight: bold;
  color: var(--link-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.splitatomlabs-logo {
  width: 50px;
  height: auto;
}

/* Link styling */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

.screenshot-item a:hover {
  opacity: 1.0;
}