@charset "utf-8";

/* first, steal from Panic */

* {
  margin: 0;
  padding: 0;
  outline: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

body {
  font-family: ui-monospace, "Inconsolata", "Menlo", "Source Sans Pro",
    "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5em;
}

p {
  margin-top: 1.5em;
}

a {
  color: #0098ff;
  text-decoration: none;
}

a:visited {
  color: #005b99;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

header h1,
h2 {
  color: transparent;
  font-size: 0;
  position: relative;
  text-align: center;
  padding: 40px 0 0 0;
}

/* header h1 {
  background-image: url(../images/vna-light.svg);
  background-repeat: no-repeat;
  background-position: 50% 50%;

  -webkit-background-size: 128px 128px;
  -moz-background-size: 128px 128px;
  background-size: 128px 128px;
  height: 128px;
  padding-top: 60px;
} */

/* header h2 {
  background-image: url(../images/tagline.svg);
  background-repeat: no-repeat;
  background-position: 50% 50%;

  -webkit-background-size: 272px 24px;
  -moz-background-size: 272px 24px;
  background-size: 272px 24px;
  height: 24px;
  padding: 0 0 0 0;
} */

.main {
  width: 960px;
  margin: 0 auto;
  /* outline: 1px solid green; */
}

.text-section {
  width: 540px;
  margin: 40px auto 0 auto;
  margin-top: 40px;
  margin-bottom: 60px;
  /* outline: 1px solid orange; */
}

.text-section p {
  margin-bottom: 16px;
}

.text-section h3 {
  font-size: 16px;
}

.video-container {
  width: 960px;
  height: 540px;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: bisque;
}

/* App Lockup Styles */
.app-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.divider {
  text-align: center;
  font-family: ui-monospace, "Inconsolata", "Menlo", monospace;
  color: inherit;
  /* opacity: 0.5; */
  margin: 12px 0;
}

.app-lockup {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-header {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}

.app-logo {
  width: 512px;
  height: 512px;
  border-radius: 10px;
}

/* Fish row and icon button */
.fish-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.below-text-actions {
  display: flex;
  justify-content: center;
  margin: 16px 0 24px 0;
}

.app-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 4px;
}

.app-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.app-store-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
}

.app-store-link svg path {
  fill: #0098ff;
}

.app-store-link:visited svg path {
  fill: #005b99;
}

.download-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

.app-description {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.footer {
  text-align: center;
  font-size: 12px;
}

@media (prefers-color-scheme: light) {
  /* Light theme styles go here */

  body {
    color: #000;
    background-color: #fcfcf9;
  }
}

@media (prefers-color-scheme: dark) {
  /* Dark theme styles go here */

  body {
    color: #fff;
    background-color: #343432;
  }

  /* header h1 {
    background-image: url(../images/vna-dark.svg);
  }

  header h2 {
    background-image: url(../images/tagline-dark.svg);
  } */

  a {
    color: #a4d6f7;
    text-decoration: none;
  }

  a:visited {
    color: #81afcd;
  }

  .app-store-link svg path {
    fill: #a4d6f7;
  }

  .app-store-link:visited svg path {
    fill: #81afcd;
  }
}

@media only screen and (max-width: 600px) {
  /* header h1 {
        -webkit-background-size: 104px 94px;
        -moz-background-size: 104px 94px;
        background-size: 104px 94px;
        height: 104px;
    } */

  /* header h2 {
    -webkit-background-size: 281px 22px;
    -moz-background-size: 281px 22px;
    background-size: 281px 22px;
    height: 24px;
  } */

  .main {
    width: 100%;
  }

  .app-logo {
    width: 256px;
    height: 256px;
    border-radius: 10px;
  }

  .text-section {
    width: 90%;
  }
}
