:root {
  --fl-brand-color: #ee3c77;
  --fl-brand-color-wcag: #de2266;
  --fl-background: #eeeeee;
  --fl-text-primary: #222222;
  --fl-text-secondary: #6a6a6a;
  --fl-text-auxiliary: #6a6a6a;
  --fl-text-orange: #ff7a18;
  --fl-nav-link: #455162;
  --fl-code-background: #1c1e21;
  --fl-code-primary: #ffffff;
  --fl-code-auxiliary: #999699;
  --fl-code-tag: #72b7f9;
  --fl-code-var: #008;
  --fl-code-atn: #bdb76b;
  --fl-code-atv: #43c78f;
  --fl-code-atb: #de3d82;
  --fl-code-key: #ca9ffc;
  --fl-code-prop: #2f752a;
  accent-color: var(--fl-brand-color);
}

body {
  background-color: var(--fl-background);
  font-family: 'PingFang TC', 'Noto Sans', 'Arial', sans-serif;
  margin: 0;
}

a {
  color: var(--fl-brand-color-wcag);
}

h1,
h2 {
  font-size: 32px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

.container {
  display: block;
  padding: 16px 32px;
}

.container.setup-docs {
  display: block;
  margin: 32px;
}

.container h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 24px;
}

.container p {
  margin-top: 0;
  margin-bottom: 16px;
}
.branding-logo {
  display: flex;
  float: left;
  width: 172px;
  height: 40px;
  margin: 8px 16px;
  background: url(https://assets.funliday.com/web/logo_funliday.png) no-repeat;
  background-size: 100%;
}

.text-aux {
  color: var(--fl-text-auxiliary);
}

.artefacts {
  line-height: 200%;
}
.artefacts ul,
.artefacts li {
  padding-top: 8px;
  padding-bottom: 8px;
}

footer .footer {
  margin-top: 64px;
  padding: 24px 0;
  color: var(--fl-text-auxiliary);
}

footer .footer.footer-dcl {
  margin-top: 64px;
  padding: 24px 0;
  color: var(--fl-text-auxiliary);
  display: flex; 
  justify-content: space-between;
}

/* navbar */
.header {
  border-bottom: 1px solid #d0d3d6;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}
.navbar li {
  list-style: none;
}

.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #101010;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 24px;
}

.nav-item {
  margin-left: 24px;
}

.nav-link {
  font-size: 20px;
  font-weight: 400;
  color: var(--fl-nav-link);
}

.nav-link:hover {
  color: var(--fl-brand-color);
}

.nav-logo-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
}

.nav-logo-wrapper > .nav-logo {
  width: 172px;
  height: 40px;
  margin: 8px 16px;
  background: url(https://assets.funliday.com/web/logo_funliday.png) no-repeat;
  background-size: 100%;
}

.nav-logo-wrapper > h1.nav-title {
  color: var(--fl-text-primary);
  font-size: 32px;
  line-height: 0;
}

@media only screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    flex-direction: column;
    background-color: var(--fl-background);
    width: 100%;
    top: -100%;
    left: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    top: 0;
    transition: 0.3s;
  }

  .nav-item {
    margin: 2.5rem 0;
  }

  .nav-logo {
    margin: 8px;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    padding: 2px 4px;
    margin: 4px;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
  }

  .artefacts ul,
  .artefacts li {
    padding: 8px;
  }

  .container {
    display: block;
    padding: 16px 8px;
  }
}

hr.hr-dotted {
  border-top: 1px dotted var(--fl-text-auxiliary);
  margin: 16px 0;
}

.mono {
  font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console',
    'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
    'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier,
    monospace;
}

.tag {
  color: var(--fl-code-tag);
}

.var {
  color: var(--fl-code-var);
}

.pln {
  color: #fff;
}

.atn {
  color: var(--fl-code-atn);
}

.atv {
  color: var(--fl-code-atv);
}

.atb {
  color: var(--fl-code-atb);
}

.atk {
  color: var(--fl-code-key);
}

.code-prop {
  color: var(--fl-code-prop);
}

.text-aux {
  color: var(--fl-text-auxiliary);
}

.text-orange {
  color: var(--fl-text-orange);
}

pre, .pre-wrap {
  white-space: pre-wrap;       /* Since CSS 2.1 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

pre.code[data-attr]::before {
  content: attr(data-attr);
  display: block;
  margin-bottom: 16px;
}

pre.code {
  position: relative;
  color: #fff;
  background: var(--fl-code-background);
  white-space: pre-wrap;
  border-radius: 4px;
  padding: 16px;
  margin: 24px 32px;
  overflow: auto;
}

iframe.embedded-map-demo
{
  width: 640px;
  height: 480px;
}

pre code {
  font-family: inherit;
}

@media only screen and (max-width: 900px) {
  .container.setup-docs {
    margin: 16px;
  }
  ul {
    padding: 8px;
  }
  pre.code {
    margin: 8px;
  }

  iframe.embedded-map-demo
  {
    width: 100%;
    height: 320px;
  }
}

@media only screen and (max-width: 601px) {
  ul {
    padding: 4px;
    margin-left: 8px;
  }
  pre.code {
    margin: 4px;
  }
  .container.setup-docs {
    margin: 8px;
  }
  footer .footer.footer-dcl {
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
  }
  iframe.embedded-map-demo
  {
    width: 100%;
    height: 240px;
  }
}
