body {
    line-height: 1.5;
    color: black;
    background-color: white;
    margin: 0px;
}

h1,
h2,
h3,
h4,
h5 {
    color: black
}

h4 {
    margin-bottom: 0px;
}

p {
    margin-top: 0px;
    margin-bottom: 0px;
    color: black;
}

.section {
    margin-top: 3em;
    margin-bottom: 3em;
}

.backgroundTwo {
    background-color: #f0f0f0;
}

.content {
    margin-left: auto;
    margin-right: auto;
    max-width: 980px;
}

.content-blog {
    margin-left: 50px;
    margin-right: 50px;
    max-width: 980px;
}

/* =================================== */
/* TITLES & BUTTONS & IMAGES */
/* =================================== */

.headerTitle {
    font-size: 40px;
    font-weight: bold;
}

.headericon {
    height: 32px;
    width: 32px;
    padding-left: 5px;
    padding-right: 5px;
}

.link-text {
    font-size: 14px;
    color: #757575;
    text-decoration: none;
    margin-top: 2em;
    margin-bottom: 2em;
}

.link-text:hover {
    color: black;
}

.appStoreHeaderButton {
    background-color: #007AFF;
    /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 12px;
    margin-top: 10px;
    margin-left: 1em;
    margin-right: 1em;
}

.appStoreHeaderButton:hover {
    opacity: 0.75;
}

.playStoreHeaderButton {
    background-color: #4CAF50;
    /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 12px;
    margin-top: 10px;
    margin-left: 1em;
    margin-right: 1em;
}

.playStoreHeaderButton:hover {
    opacity: 0.75;
}

.storeButton {
    max-height: 40px;
}

.app-header-img {
    max-width: 80%;
    height: auto;
}

.app-feature-img {
    max-width: 100%;
    height: auto;
}

.app-feature-icon {
    max-height: 150px;
}

.applewatch {
    max-width: 240px;
    height: auto;
}

.app-icon {
    max-height: 140px;
}

.landing-image {
    max-height: 250px;
}

.divider {
    height: 1.0px;
    background-color: lightgray;
}

/* =================================== */
/* DOCUMENT PAGES */
/* =================================== */

.blog-img {
    max-width: 140px;
}

.small-icon {
    max-height: 50px;
    padding-top: 5 !important;
    padding-bottom: 5px !important;
}

.document-content {
    margin-left: 2em;
    margin-right: 2em;
    font-size: 80%;
}

.document-section {
    margin-top: 1em;
    margin-bottom: 1em;
}

/* =================================== */
/* COLUMNS */
/* =================================== */

.column-content {
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 5px;
}

.column-buttons {
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.column {
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 20px;
}

.column-one-third {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 10px;
}

.column-two-third {
    box-sizing: border-box;
    padding: 10px;
}

@media screen {
    .column {
        flex-basis: 100%;

        &:nth-last-child(2) {
            margin-right: 0;
        }

        &:last-child {
            flex-basis: 100%;
            margin: 0;
        }
    }

    .column-one-third {
        flex-basis: 30%;

        &:nth-last-child(2) {
            margin-right: 0;
        }

        &:last-child {
            flex-basis: 100%;
            margin: 0;
        }
    }

    .column-two-third {
        flex-basis: 70%;

        &:nth-last-child(2) {
            margin-right: 0;
        }

        &:last-child {
            flex-basis: 100%;
            margin: 0;
        }
    }
}

@media screen and (max-width: 500px) {
    .column {
        flex-basis: 100%;
    }
}

/* =================================== */
/* TOP NAV BAR */
/* =================================== */

.topnav {
    background-color: white;
    overflow: hidden;
}

.topnav a {
    float: right;
    display: block;
    color: black;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    font-size: 14px;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: right;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    font-size: 14px;
    border: none;
    outline: none;
    color: black;
    padding: 14px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover,
.dropdown:hover .dropbtn {
    background-color: #f5f5f5;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
    .dropdown, .dropbtn {
        display: none;
    }

    .topnav a {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. */
@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: center;
    }

    .topnav.responsive .dropdown {
        display: block;
        float: none;
    }

    .topnav.responsive .dropdown-content {
        position: relative;
    }

    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* =================================== */
/* DARK MODE */
/* =================================== */
@media screen and (prefers-color-scheme: dark) {
    body {
        background-color: #2d3239;
        color: white;
    }

    .section {
        background-color: #2d3239;
        color: white;
    }

    .backgroundTwo {
        background-color: #454a52;
    }

    h1,
    h2,
    h3,
    h4,
    h5 {
        color: white
    }

    p {
        color: white
    }

    .link-text {
        font-size: 14px;
        color: lightgray;
        text-decoration: none;
        margin-top: 2em;
        margin-bottom: 2em;
    }

    .link-text:hover {
        color: white;
    }

    .headericon {
        filter: invert(1);
    }

    .topnav {
        background-color: #2d3239;
    }

    .topnav a {
        color: white;
    }

    .dropdown .dropbtn {
        color: white;
    }

    .dropdown-content {
        background-color: #2d3239;
    }

    .dropdown-content a:hover {
        color: white;
    }

    .topnav a:hover,
    .dropdown:hover .dropbtn {
        background-color: #424242;
    }

}