:root {
  --surface: rgb(247, 229, 209);
  --onSurface: #2e2e2e;
  --primary: #415f91;
  --onPrimary: #ffffff;
  --accent: #91415f;
  --onAccent: #ffffff;
  --color-primary: var(--primary);
  --color-on-primary: var(--onPrimary);
  --text: #3b3b3b;
  --muted: #d8cfc2;
  --secondary: #565f71;
  --surfaceAlt: #c2d5dc;
  --surfaceAccent: #f8e4ea;
  --headlineButton: #ff8559;
  --footerUpperBackground: #37393e;
  --footerLowerBackground: #111318;
  --onFooter: #ffffff;

  /* Typography */
  --font-title: "Outfit", sans-serif;
  --font-body: "Comfortaa", sans-serif;
}

/*
@media (prefers-color-scheme: dark) {
  :root {
    --surface: rgb(37, 42, 54);
    --onSurface: #e2e2e9;
    --primary: #aac7ff;
    --onPrimary: #0a305f;
    --accent: #ddbce0;
    --onAccent: #3f2844;
    --text: #dddddd;
    --muted: #3a3a3a;
    --secondary: #bec6dc;
    --surfaceAlt: #111318;
    --surfaceAccent: #91415f;
    --headlineButton: #ff8559;
    --footerUpperBackground: #37393e;
    --footerLowerBackground: #111318;
    --onFooter: #ffffff;
  }
}*/

body {
  font-family: var(--font-title);
  color: var(--text);
  margin: 0;
  padding: 0;
}

.column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 0rem;
  gap: var(--gap, 0);
}

h1 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--primary);
}

p {
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  padding: 0rem;
  gap: var(--gap, 0);
}

.background-container {
  background-color: var(--surface);
  width: 100%;
  height: auto;
}

.title-primary {
  color: var(--primary);
  text-align: center;
  font-size: 1.8rem;
  font-family: var(--font-title);
  margin-top: 0;
}

.title-text {
  color: var(--text);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  font-family: var(--font-title);
  margin-top: 0;
}

button {
  background-color: var(--primary);
  color: var(--onPrimary);
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-family: var(--font-title);
  border-radius: 1.4rem;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

button:hover {
  transform: scale(1.04);
}

button:active {
  transform: scale(0.9);
}

button.accent {
  background-color: var(--accent);
  color: var(--onAccent);
}

.button-container {
  display: flex;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto auto;
}

button.headline {
  font-family: var(--font-title);
  font-size: 1.35rem;
  text-transform: uppercase;
  background-color: var(--headlineButton);
  color: var(--onPrimary);
  font-weight: 500;
}

header {
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 768px;
  margin: 0rem auto;
}

.header-left-logotype {
  height: 3rem;
  margin: 0 0.6rem;
}

.header-right-icon-button {
  background: none;
  border: none;
  padding: 0rem 0.6rem;
  cursor: pointer;
  color: var(--secondary);
}

.header-right-icon-button .material-icons {
  font-size: 3rem;
}

.spacer-vertical {
  width: 100%;
  height: var(--spacer-size, 1rem);
}

.spacer-horizontal {
  width: var(--spacer-size, 1rem);
  height: 100%;
}

.description {
  text-align: center;
  max-width: 756px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.2;
  font-family: var(--font-body);
  font-weight: 400;
}

/* Sticky bottom section for the button */
.sticky-bottom-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--surfaceAccent);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-top: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
}

body.sticky-bottom-section {
  padding-bottom: 80px;
}

.material-icons {
  /* Hide the text until the font is loaded */
  color: transparent;
}

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2)
    format("woff2");
}

.material-icons-loaded .material-icons {
  color: var(--secondary);
}

.material-icons-font-loaded .material-icons {
  color: var(--secondary);
}

.leading-image {
  width: 90%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.title-headline {
  color: var(--text);
  text-align: center;
  font-size: 2.2rem;
  line-height: 1.4;
  font-weight: 400;
  font-family: var(--font-title);
  margin: 0rem 1.5rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-business-data {
  color: var(--onFooter);
  text-align: center;
  font-size: 0.8rem;
  font-family: var(--font-body);
  margin: 0.6rem 2rem;
}

/* Grid columns for footer placeholders */
.grid-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1024px;
  margin: 2rem auto;
  padding: 0 1rem;
  align-items: start;
}

@media (max-width: 768px) {
  .grid-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.column-item {
  text-align: center;
  font-family: var(--font-body);
  color: var(--text);
}

/* Footer section title and links */
.footerTextTitle {
  color: var(--onFooter);
  font-size: 1rem;
  text-align: center;
  font-weight: 600;
  margin: 0.5rem 0;
}

.footerTextLink {
  color: var(--onFooter);
  text-decoration: none;
  display: block;
  text-align: center;
  margin: 1rem 0;
  font-size: 0.8rem;
}

/* Center content inside each column item */
.column-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-align: center;
  width: 100%;
}

.grid-columns .column-item ul {
  width: 100%;
  padding: 0;
  list-style: none;
}

/* Social icons container and styling */
.social-icon-row-container {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0.5rem 0;
  list-style: none;
  justify-content: center;
}

.social-icon {
  font-size: 2.5rem;
  color: var(--onFooter);
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
  color: var(--accent);
  transform: scale(1.1);
}
