@font-face {
  font-family: 'Figtree';
  src: local('Figtree'), url('fonts/Figtree-Regular.woff2') format('woff2'),
    url('fonts/Figtree-Regular.woff') format('woff');
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Figtree';
  src: local('Figtree Bold'), url('./fonts/Figtree-Bold.woff2') format('woff2'),
    url('./fonts/Figtree-Bold.woff') format('woff');

  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: 'Cocogoose Pro';
  src: local('Cocogoose Pro'),
    url('./fonts/CocogoosePro-Regular.woff2') format('woff2'),
    url('./fonts/CocogoosePro-Regular.woff') format('woff');

  font-style: normal;
  font-weight: normal;
}

:root {
  --brand-primary: #fa5831;
  --brand-secondary: #2574db;
  --font-family: 'Figtree', Arial, Helvetica, sans-serif;
  --brand-font-family: 'Cocogoose Pro', sans-serif;
  --bg-color: #f3f3f3;
  --text-color: #2b2b2b;
  --card-bg-color: #fff;
  --card-border-color: #ddd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-secondary: #4a90e2;
    --bg-color: #2b2b2b;
    --text-color: #f3f3f3;

    --card-bg-color: #1d1d1d;
    --card-border-color: #000;
  }
}

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

*:not(dialog) {
  margin: 0;
}

body {
  align-items: center;
  background: var(--bg-color);
  border-top: 4px solid var(--brand-primary);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  justify-content: center;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

a {
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
  user-select: none;
}

.card {
  align-items: center;
  background: var(--card-bg-color);
  border: 2px solid var(--card-border-color);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px;
  text-align: center;
}

.container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo {
  display: block;
  height: auto;
  width: 100px;
}

.callout {
  color: var(--text-color);
  font-size: 1.44rem;
}

.brand-link {
  color: var(--brand-primary);
  font-family: var(--brand-font-family);
}

.brand-link:active,
.brand-link:hover {
  text-decoration: underline;
}

.app-links-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

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

.app-link-image {
  height: auto;
  user-select: none;
}

.learn-more-text {
  font-family: inherit;
  font-size: 1.4rem;
}

.learn-more-link {
  color: var(--brand-secondary);
  cursor: pointer;
}
.learn-more-link:active,
.learn-more-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  body {
    line-height: 1.4;
    padding: 0 20px;
  }

  .card {
    gap: 20px;
  }

  .app-links {
    flex-direction: column;
    gap: 40px;
  }
}
