* {
    font-family: -apple-system;
}

:root {
    color-scheme: light dark;
    --background-color: white;
    --code-background-color: #D9EFFF;
    --h2-color: rgba(0, 0, 0, 0.7);
    --text-color: rgb(76, 76, 76);
    --border-color: rgba(0, 0, 0, 0.1);
}

@media screen and (prefers-color-scheme: dark) {
  :root {
      --background-color: black;
      --code-background-color: #B3DFFF;
      --h2-color: rgba(255, 255, 255, 1.0);
      --text-color: rgba(255, 255, 255, 1.0);
      --border-color: rgba(255, 255, 255, 0.3);
  }
}


html, body, div, form, fieldset, legend, label
{
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--text-color);
}

h2 {
    margin-left: 15px;
    font-weight: 500;
    font-size: 17px;
    color: var(--h2-color);
}

code {
    font-family: Courier;
    font-weight: 600;
    color: rgb(0, 0, 0, 0.8);
    background-color: var(--code-background-color);
    padding: 1px 2px;
    border-radius: 4px;
    line-height: 180%;
}

li {
    line-height: 160%;
}

body {
    background-color: var(--background-color);
}

a {
    color: #3794FD;
}

img {
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

header {
    position: relative;
    text-align: center;
}

.hidden {
    display: none;
}

.app-title {
    font-weight: 400;
    font-size: 36px;
}

.app-title span {
    font-weight: 600;
    font-size: 36px;
}

.help-title {
    font-size: 24px;
}

#app-icon {
    padding: 20px 0 20px;
}

#background-pattern {
    position: absolute;
    display: block;
    left: 50%;
    bottom: 0;
    margin-left: -220px;
}

.section {
    margin-bottom: 20px;
}

.intro-section {
    max-width: 360px;
    text-align: center;
    margin: 5px auto 25px auto;
}

.example-section {
    margin-left: 19px;
}

.example-icon {
    width: 24px;
    height: 24px;
    vertical-align: -7px;
    padding-right: 15px;
}

.section-icon {
    width: 32px;
    height: 32px;
    vertical-align: -8px;
    padding-right: 10px;
}

.example-list {
    list-style: none;
}

.title {
    font-size: 15px;
}

.section > p {
    margin-left: 57px;
}

.section > ul {
    margin-left: 17px;
}

.unavailable {
    color: rgb(100, 100, 100);
}

.unavailable img {
    opacity: 0.4;
}

#container {
    padding: 30px 30px 75px 30px;
    max-width: 650px;
    margin: 0 auto;
}

#actions img {
    padding-right: 10px;
    vertical-align: -10px;
}

#actions .action {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

#actions .example {
    margin: 15px 0 5px 0;
}

#actions .help {
    margin-bottom: 0;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    -webkit-user-select: none;
    cursor: default;
}

#close {
    margin: 0 30px 0 auto;
    text-decoration: none;
    background-color: #3794FD;
    padding: 0.5em;
    border-radius: 4px;
    color: white;
    font-size: 13px;
    box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.5);
    min-width: 70px;
    text-align: center;
    cursor: default;
}

#footer p {
    margin-left: 30px;
}
