:root {
    /* Colors. */
    --theme-color-bg-1: #2b3c44;
    --theme-color-bg-2: #00ff00;
    --theme-color-bg-3: #b7b7b7;
    --theme-color-border-1: #d3d3d3;
    --theme-color-text-1: #000;
    --theme-color-text-2: #fff;
    --theme-color-text-3: #797979;

    /* Widths. */
    --flex-direction-responsive: row;
    --nav-margin-list-item: 0 20px;
    --screenshot-width: 40%;
}

@media (max-width: 800px) {
    :root {
        --flex-direction-responsive: column;
        --nav-margin-list-item: 8px 8px 0 0;
        --screenshot-width: 80%;
    }
}

body {
    font-family: system-ui;
    margin: 0;
}

header {
    background: var(--theme-color-bg-1);
    color: var(--theme-color-text-2);
    padding: 20px;
}

header img {
    width: 180px;
}

header section {
    padding: 50px 0;
    text-align: center;
}

header section div {
    margin-top: 60px;
}

nav {
    align-items: center;
    display: flex;
    flex-direction: var(--flex-direction-responsive);
    justify-content: space-between;
    padding: 0 10px;
}

nav ol {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: center;
}

nav li {
    display: inline-block;
    margin: var(--nav-margin-list-item);
}

nav a {
    color: var(--theme-color-text-2);
    text-decoration: none;
}

.modal {
    align-items: center;
    background: #000000b8;
    display: none;
    height: 100%;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
}

.modal.active {
    display: flex;
}

.modal section {
    background: #fff;
    border-radius: 8px;
    padding: 20px 0;
    position: relative;
}

.modal .btn-close-modal {
    border: 1px solid lightgray;
    border-radius: 100%;
    position: absolute;
    right: 10px;
    top: 10px;
}

.modal ol {
    padding: 0 40px;
}

.modal li {
    margin-bottom: 40px;
}

.modal code {
    padding: 10px;
    background: var(--theme-color-bg-3);
    border-radius: 8px;
    font-family: monospace;
}

main > section {
    padding: 60px 20px;
}

div.bordered {
    border: 1px solid var(--theme-color-border-1);
    border-radius: 8px;
    padding: 10px 20px;
}

a.action-btn {
    background: var(--theme-color-bg-2);
    border: 1px solid var(--theme-color-border-1);
    border-radius: 8px;
    color: var(--theme-color-text-1);
    display: inline-block;
    margin: 10px 0;
    padding: 10px;
    text-decoration: none;
}

#features {
    display: flex;
    flex-direction: var(--flex-direction-responsive);
    justify-content: center;
}

#features div {
    margin: 4px;
}

#features p {
    color: var(--theme-color-text-3);
}

#screenshots {
    align-items: center;
    display: flex;
    flex-direction: var(--flex-direction-responsive);
    justify-content: space-around;
    padding: 20px;
}

#screenshots img {
    margin: 10px 0;
    width: var(--screenshot-width);
}

#pricing {
    text-align: center;
}

#pricing p {
    color: var(--theme-color-text-3);
}

#pricing #pricing-plans {
    display: flex;
    flex-direction: var(--flex-direction-responsive);
    justify-content: center;
}

#pricing #pricing-plans div {
    display: inline-block;
    margin: 5px;
    text-align: left;
}

#pricing span {
    font-size: 1.5em;
    font-weight: bold;
}

#pricing span small {
    color: var(--theme-color-text-3);
    font-size: 0.6em;
}

#download {
    text-align: center;
}

#download div {
    margin-top: 40px;
}

footer {
    border-top: 1px solid var(--theme-color-border-1);
    padding: 20px 0;
}

footer,
footer a {
    color: var(--theme-color-text-3);
}
