body {
    margin: 1em;

    font-family: "SF UI Text", "SF Pro Display", "SF Pro Text", "Helvetica Neue", Roboto, Arial, "Noto Sans", sans-serif;
    font-weight: normal;
    font-style: normal;
}

.card {
    margin-bottom: 1em;
    border-radius: 10px;
    border: 3px solid;
}

.card-text {
    margin-bottom: 10px;
}

.thumbnail {
    margin-bottom: 2em;
}

.list-group {
    margin-bottom: 2em;
}

.disable-hover {
    pointer-events: none;
}

.link-item {
    list-style-type: none;
    padding: 10px 15px 10px 15px;
    display: block;
    /*color: #4f89bb !important;*/
    text-align: left;
    border-width: 3px;
}

.link-item:hover {
    /*border: 1px solid #ddd;*/
    background-color: #f5f5f5;
    color: black;
    border-width: 3px;
}

html.can-touch .link-item:hover { /* disable hover effect when input is touch */
    background-color: #fff;
}

html.can-touch .link-item:active { /* disable hover effect when input is touch */
    background-color: #f5f5f5;
}

.fa-brands {
    font-size: 16px;
    margin-left: 5px;
    margin-right: 15px;
    min-width: 20px;
    text-align: center;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

.jumbotron {
    border-radius: 10px;
}

.list-group-item {
    border-width: 3px;
}

.list-group-item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /*border-width: 3px;*/
}

.list-group-item:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /*border-width: 3px;*/
}

.list-group-item + .list-group-item {
    border-top-width: 0px;
}

.card-header {
    font-weight: 500;
}

.card-header:first-child {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-width: 3px;
    border-bottom: none;
}

.card-body:first-child {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-width: 3px;
}

.card-body:last-child {
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    border-width: 3px;
}

.btn {
    border-radius: 10px;
}

.link-item.list-group-item {
    text-decoration: none;
}

.link-item.list-group-item:first-child:hover {
    border-top: 3px solid #f5f5f5;
    border-left: 3px solid #f5f5f5;
    border-right: 3px solid #f5f5f5;
    border-bottom: 3px solid #f5f5f5;
}

.link-item.list-group-item:hover {
    border-left: 3px solid #f5f5f5;
    border-right: 3px solid #f5f5f5;
    border-bottom: 3px solid #f5f5f5;
    border-top: 3px solid #f5f5f5;
}

.link-item.list-group-item:last-child:hover {
    border-left: 3px solid #f5f5f5;
    border-right: 3px solid #f5f5f5;
    border-bottom: 3px solid #f5f5f5;
}

.link-item.list-group-item:hover:not(:first-child) {
    box-shadow: 0px -4px 0px 0px #f5f5f5;
}

.list-group-item+.link-item:hover {
    border-bottom: 3px solid #f5f5f5;
    border-top: none;
}

.package-header {
    padding: 2em;
}

.header-image-container {
    margin-bottom: 1em;
}

.header-image {
    width: 100%;
    border-radius: 10px;
}

@media (prefers-color-scheme: light) {
    body {
        background-color: var(--light-mode-primary-bg-color);
        color: black;
    }

    .card {
        border-color: var(--light-mode-secondary-bg-color);
        background-color: rgba(0, 0, 0, 0);
    }

    .card-header {
        background-color: var(--light-mode-secondary-bg-color);
    }

    .card-body {
        background-color: var(--light-mode-primary-bg-color);
    }

    .jumbotron {
        background-color: var(--light-mode-secondary-bg-color);
    }

    .list-group-item {
        background-color: var(--light-mode-primary-bg-color);
        border-color:  var(--light-mode-secondary-bg-color);
    }

    html.can-touch .link-item:hover { /* disable hover effect when input is touch */
        background-color: var(--light-mode-primary-bg-color);
    }
    
    html.can-touch .link-item:active { /* disable hover effect when input is touch */
        background-color: var(--light-mode-primary-bg-color);
    }

    /*
    .fa-brands:before {
        color: white;
    }

    .link-item:hover > .fa-brands:before {
        color: black;
    }
    */

    :root {
        --light-mode-primary-bg-color: #eeeeee;
        --light-mode-secondary-bg-color: #969696;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark-mode-primary-bg-color);
        color: white;
    }

    .card {
        border-color: var(--dark-mode-secondary-bg-color);
        background-color: rgba(0, 0, 0, 0);
    }

    .card-header {
        background-color: var(--dark-mode-secondary-bg-color);
    }

    .card-body {
        background-color: var(--dark-mode-primary-bg-color);
    }

    .jumbotron {
        background-color: var(--dark-mode-secondary-bg-color);
    }

    .list-group-item {
        background-color: var(--dark-mode-primary-bg-color);
        border-color:  var(--dark-mode-secondary-bg-color);
    }

    html.can-touch .link-item:hover { /* disable hover effect when input is touch */
        background-color: var(--dark-mode-primary-bg-color);
    }
    
    html.can-touch .link-item:active { /* disable hover effect when input is touch */
        background-color: var(--dark-mode-primary-bg-color);
    }

    .fa-brands:before {
        color: white;
    }

    .link-item:hover > .fa-brands:before {
        color: black;
    }

    :root {
        --dark-mode-primary-bg-color: #1f1f1f;
        --dark-mode-secondary-bg-color: #2f2f2f;
    }
}