:root {
  --bg-color: #F7E7D6;
  --max-width: 1200px;
  --padding: 20px;
  --font-sans: 'Quicksand', sans-serif;
  --font-display: 'Dongle', sans-serif;
  --color-text: #000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  font-family: var(--font-sans);
  color: var(--color-text);
}

.container {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--padding);
}

/* Make content fill its container and center its children */
.content {
  display: flex;
  gap: 40px;
  min-height: 100%;             /* fill the remaining viewport height */
}

/* Center inside each section, both horizontally and vertically */
.left,
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;     /* vertical centering */
  align-items: center;         /* horizontal centering */
  text-align: center;          /* center text */
}

/* Logo */
.logo {
  width: 115px;
  height: auto;
  margin-bottom: 20px;
}

/* Heading */
h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 48px;
  margin: 0 0 20px 0;
}

/* Description */
.description {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* CTA */
.cta img {
  width: 200px;
  height: auto;
}

/* Screenshot */
.screenshot {
  max-width: 500px;
  width: 100%;
  height: auto;
  align-self: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px var(--padding);
  background: transparent;
  font-size: 16px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }
  .left, .right {
    align-items: center;
    text-align: center;
  }
  h1 {
    font-size: 36px;
  }
}
