/* header */

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 10;
}

.header {
  position: relative;
  display: flex;
  justify-content: center;
  height: 60px;
  padding: var(--default-padding);
  background-color: #fff;
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.header-content {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--content-width);
  background-color: #fff;
  z-index: 10;
}

.mobile-nav-menu {
  display: block;
  cursor: pointer;
}

.mobile-dropdown {
  position: fixed;
  top: -215px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  background: #eee;
  border-bottom: 1px solid #bbb;
  text-align: center;
  box-shadow: 0px 6px 6px -4px rgba(0, 0, 0, 0.33);
  z-index: 9;
  transition: top 0.15s linear;
}

.mobile-dropdown.show {
  top: 60px;
}

.mobile-dropdown a {
  width: 100%;
  padding: 15px 0;
}

.mobile-dropdown a:hover {
  background: #ddd;
}

.login-signup-links,
.dashboard-link {
  display: none;
}

.is-logged-in .dashboard-link {
  display: block;
}

.is-not-logged-in .login-signup-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.nav-menu {
  display: none;
  margin-top: 10px;
  margin-left: auto;
}

.nav-menu a {
  margin: 12px;
}

.nav-menu a:hover {
  color: #333;
}

.logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo-img {
  width: 32px;
}

.logo-text {
  position: relative;
  height: 18px;
  margin-left: 10px;
}

.auth-check {
  position: absolute;
  border: 0;
}

@media (min-width: 768px) {
  .api-doc-header.main-header {
    position: static;
  }

  .api-doc-header.main-header .logo {
    position: fixed;
    left: 20px;
  }

  .mobile-nav-menu {
    display: none;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    margin-top: 0;
  }

  .is-not-logged-in .login-signup-links {
    flex-direction: row;
  }
}

/* general */

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

:root {
  --blurple: #6c60f3;
  --gray: #666;
  --black: #333;
  --green: #31af31;
  --yellow: #e8a723;
  --red: #b92121;
  --content-width: 1100px;
  --default-padding: 20px;
  --bold: 700;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  box-sizing: border-box;
  color: #111;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Ubuntu, Arial,
    sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

h2 {
  margin: 0 0 20px 0;
  font-size: 32px;
}

h3 {
  margin: 30px 0 10px 0;
  font-size: 18px;
}

p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin: 12px 0;
  color: var(--black);
  line-height: 1.8em;
}

ul {
  list-style-type: none;
  padding-inline-start: 0;
}

ul.ul-dots {
  margin: 20px;
  list-style-type: disc;
}

li {
  margin: 0;
  color: var(--gray);
  line-height: 1.8em;
}

a,
.link {
  color: var(--gray);
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
}

img {
  border: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td,
th {
  padding: 12px;
  border: 1px solid #ccc;
  color: var(--gray);
  border-collapse: collapse;
}

th {
  background-color: #eee;
  text-align: left;
}

button {
  -webkit-appearance: none;
  border: none;
  border-radius: 5px;
  padding: 8px 18px;
  background-color: var(--blurple);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 100px 20px;
}

.page-container.api {
  max-width: 100%;
}

.page-content {
  width: 100%;
}

.icon {
  position: relative;
  top: 4px;
  width: 20px;
  height: 20px;
  /* gray */
  filter: invert(41%) sepia(0%) saturate(349%) hue-rotate(249deg)
    brightness(91%) contrast(80%);
}

.hero-img,
.browser-img {
  width: 100%;
  height: auto;
}

.browser-img {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.hide,
.chip.hide {
  display: none;
}

@media (min-width: 768px) {
  h1 {
    margin: 40px 0 20px 0;
    font-size: 60px;
  }

  h2 {
    margin: 20px 0;
    font-size: 56px;
  }

  .page-container.api {
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
  }
}

@media (min-width: 1140px) {
  .page-container {
    padding: 20px 0 100px 0;
  }

  .page-container.api {
    padding-top: 0;
  }
}

/* fonts */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: local(''), url('../fonts/Inter-regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: local(''), url('../fonts/Inter-bold.woff2') format('woff2');
  font-display: swap;
}

/* SECTIONS */
.section {
  border-bottom: 1px solid #f6f9fc;
  padding: 100px 20px;
}

.shadow {
  box-shadow: rgba(0, 0, 0, 0.12) 0px 30px 60px 0px;
  border-radius: 10px;
}

.section-hero {
  height: auto;
  background-image: radial-gradient(
    70% 70% at 50% 100%,
    #e8e8e8 0%,
    #fafafa 100%
  );
  padding: 80px 10px 60px 10px;
}

.section-header {
  text-align: center;
  width: 100%;
  display: block;
}

.section-grey {
  background-color: #f3f3f3;
}

.section-description {
  margin: 24px 0;
  text-align: center;
  color: var(--gray);
  font-size: 18px;
  line-height: 25px;
}

.section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--content-width);
  margin: auto;
}

.section-content-single-col {
  max-width: var(--content-width);
  margin: auto;
}

.section-half {
  width: 50%;
}

.no-mobile {
  display: none;
}

.section-wide {
  width: 100%;
  order: 1;
}

.how-does-it-work-section {
  margin-top: 0;
}

.auth-settings-with-phone-graphic {
  position: relative;
  width: 600px;
}

.dev-tools-graphic {
  width: 100%;
}

.section-narrow {
  width: 100%;
  order: 2;
}

.section-padding {
  padding: 10px;
}

.highlight-title {
  font-size: 24px;
  font-weight: var(--bold);
  margin-bottom: 10px;
  margin-top: 25px;
}

.highlight .link {
  color: var(--blurple);
}

@media (min-width: 768px) {
  .section,
  .footer-section {
    padding: 160px 20px;
  }

  .section-hero {
    height: 630px;
    padding: 40px 0 80px 0;
  }

  .section-description {
    margin: 10px 0;
    font-size: 19px;
  }

  .section-wide {
    display: block;
    width: 60%;
  }

  .how-does-it-work-section .section-wide {
    margin-top: 75px;
  }

  .auth-settings-with-phone-graphic {
    width: 500px;
  }

  .how-does-it-work-section .auth-settings-with-phone-graphic {
    margin-left: 50px;
  }

  .section-narrow {
    width: 40%;
  }

  .dev-tools-graphic {
    width: 600px;
  }

  .narrow-first {
    order: 1;
  }

  .wide-second {
    order: 2;
  }

  .no-mobile {
    display: block;
  }

  .why-section .shadow {
    width: 500px;
    margin-bottom: 60px;
  }

  .why-section .fake-browser {
    width: 450px;
    position: absolute;
    top: 60px;
    right: 30px;
    z-index: 8;
  }
}

@media (min-width: 1140px) {
  .section-content {
    flex-direction: row;
  }

  .how-does-it-work-section .section-wide {
    margin-top: 0;
  }

  .how-does-it-work-section .auth-settings-with-phone-graphic {
    margin-left: 100px;
  }
}

.about-us-container .section {
  padding-left: 16px;
  padding-right: 16px;
}
