* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.4;
    background-color: #cccccc;
    color: #000;
}
.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}
main h2 {
    font-style: italic;
    margin-bottom: 0.3rem;
    color: #005;
}
main section:first-of-type h2:first-of-type {
    margin-top: 1.4rem;
}
.section-divider {
    width: 80%;
    margin: 2rem auto;
    border: 0;
    border-top: 1px solid #000;
}
.small-divider {
    width: 10%;
    margin: 1rem auto;
    height: 32px;
    background-image: url('../images/logos/logo_g32.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
}
header {
    background: #222;
    color: #fff;
    padding: 1rem 0;
    border-bottom: #007bff 3px solid;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 img {
    height: 50px;
    vertical-align: middle;
}
header h1 {
    font-size: 1.8rem;
    line-height: 1;
}
header nav ul {
    list-style: none;
}
header nav {
    display: flex;
    align-items: center;
}
header nav ul li {
    display: inline;
    margin-left: 20px;
}
header a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}
header a:hover {
    color: #007bff;
}
header nav ul li.active a {
    color: #007bff;
    font-weight: bold;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
footer {
    text-align: center;
    padding: 0.8rem 0;
    background: #222;
    color: #fff;
    font-size: 0.8rem;
}
.inclink a:link {
    color: #1f547c;
}
.inclink a:visited {
    color: #1f547c;
}
.inclink a:hover {
    color: #1a1e22;
}
main {
    padding: 2rem 0;
    min-height: calc(100vh - 155px);
}
em {
    font-style: italic;
    font-weight: 600;
    color:#007bff;
}
.gradient-text {
    background-image: linear-gradient(to bottom, #005, 70%, #007bff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
}
.apptitle {
    font-style: italic;
    margin-bottom: 0.3rem;
   /* color: rgb(255, 255, 255);*/
    background-image: linear-gradient(to bottom, #fff, 70%, #aaa);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 

}
.hamburger-box {
    position: relative;
}
@media (max-width: 850px) {
    header h1 img {
        height: 40px;
    }
    .hamburger {
        display: block;
        position: relative;
        z-index: 1001;
    }
    .hamburger-box {
        width: 30px;
        height: 24px;
        display: inline-block;
    }
    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        width: 30px;
        height: 3px;
        background-color: #888;
        position: absolute;
        border-radius: 3px;
        transition: transform 0.2s ease-in-out;
    }
    .hamburger-inner {
        top: 50%;
        transform: translateY(-50%);
    }
    .hamburger-inner::before,
    .hamburger-inner::after {
        content: '';
        display: block;
    }
    .hamburger-inner::before { top: -10px; }
    .hamburger-inner::after { bottom: -10px; }
    .hamburger.is-active .hamburger-inner {
        background-color: transparent;
    }
    .hamburger.is-active .hamburger-inner::before {
        top: 0;
        transform: rotate(45deg);
        transition: top 0.2s ease-in-out, transform 0.2s 0.1s ease-in-out;
    }
    .hamburger.is-active .hamburger-inner::after {
        bottom: 0;
        transform: rotate(-45deg);
        transition: bottom 0.2s ease-in-out, transform 0.2s 0.1s ease-in-out;
    }
    header nav ul {
        display: flex;
        position: absolute;
        top: 0;
        right: 2rem;
        width: auto;       
        background: rgba(34, 34, 34, 0.85);
        z-index: 1000;
        flex-direction: column;
        text-align: center;
        padding: 1rem 2rem;
        border-radius: 5px;
        transform: translateY(-150%);
        transition: transform 0.4s ease-in-out;
    }
    header nav ul.show {
        transform: translateY(0);
    }
    header nav ul li {
        display: block;
        margin: 1rem 0;
    }
}
@media (max-width: 768px) {
    html {
        font-size: 80%;
    }
}
@media (prefers-color-scheme: dark) {
    body {
        background-color: #35393c;
        color: #c6c6ca;
    }
    main h2 {
        color: #1186e2;
    }
    .section-divider {
        border-top: 1px solid #808080;
    }
    .inclink a:link {
        color: #4cb2ff;
    }
    .inclink a:visited {
        color: #4cb2ff;
    }
    .inclink a:hover {
        color: #c2e5ff;
    }
    .gradient-text {
    background-image: linear-gradient(to bottom, #e6e6e2, 70%, #222);
    }
    em {
        color:#acf;
    }
    .apptitle {
        background-image: linear-gradient(to bottom, #bbb, 70%, #888);
    }
}