@import url("include.css");

/*html {
    -webkit-font-smoothing: antialiased;
    font-family: 'bahnschrift';
    text-align: center;
    font-size: 20pt;
}
*/

body {
    /* Content padding is reserved only for the collapsed sidebar width.
       The expanded menu must NOT change this padding (see menu.js) */
    /* Keep the same visual offset as the old fixed 5.5rem, but tied to --nav-width. */
    padding: 0 0 0 calc(var(--nav-width) - 0.2rem);
    position: relative;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    text-align: center;
    transition: .5s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #323131;
    color: white;
}

.page-main {
    flex: 1 0 auto;
    width: 100%;
}

.page-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 2rem 1rem 2.5rem;
    text-align: center;
}

.intro-text {
    max-width: 52rem;
    margin: 0 auto 1.25rem;
    padding: 0 0.75rem;
    line-height: 1.45;
}

.home-feature-list {
    max-width: 52rem;
    margin: 0 auto 1.5rem;
    padding: 0 1rem 0 1.5rem;
    text-align: left;
    list-style: decimal;
    line-height: 1.45;
}

.home-feature-list li {
    margin-bottom: 0.75rem;
}

.home-repo {
    margin: 1.5rem 0 0;
}

.app-launch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
}

.app-launch-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background-color: var(--bg-color);
    color: var(--white-color);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    transition: background-color 0.2s, opacity 0.2s;
}

.app-launch-card:hover {
    background-color: #1c2744;
    opacity: 0.95;
}

.app-launch-card__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.app-launch-card__text {
    font-size: var(--small-font-size);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .page-main {
        padding-top: 3.75rem;
    }
}

h1 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; }

.header {
    align-items: baseline;
    justify-content: space-between;
    font-weight: bold;
    font-size: 22pt;
    float: center;
    text-align: center;
    display: flow-root;
}

.footer {
    font-size: 12pt;
    color: #ffffff;
    text-align: center;
    display: inline-block;
}

.footer:hover {
    opacity: 0.7;
  }
  
  form {
    padding-bottom: 2rem;
  }

@media (max-width: 480px) {
    body {
        font-size: 0.95rem;
    }
    .header {
        font-size: clamp(1.25rem, 6vw, 1.6rem);
    }
    .footer {
        font-size: 0.9rem;
    }
    form {
        padding-bottom: 1.25rem;
    }
}