﻿@font-face {
    font-family: 'OpenDyslexic';
    src: url('OpenDyslexic-Regular.woff2') format('woff2'),
         url('OpenDyslexic-Regular.woff') format('woff'),
         url('OpenDyslexic-Regular.ttf') format('truetype'),
         url('OpenDyslexic-Regular.svg#OpenDyslexic-Regular') format('svg'),
         url('OpenDyslexic-Regular.eot');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'OpenDyslexic', Arial, Helvetica, sans-serif;
    background-color: #fffbe6;
    color: #222;
}

.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #000;
    color: #fff;
    z-index: 1000;
    transform: translateY(-200%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.sidebar {
    position: fixed;
    top: 25px;
    left: 8%;
    width: 240px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.17);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    padding: 30px 20px 40px;
    height: auto;
    z-index: 10;
}

.logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.logo-mark {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #0645ad;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-title {
    font-size: 1.15rem;
    font-weight: bold;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #333;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.nav-links li {
    margin: 0.2rem 0;
}

.nav-links a {
    text-decoration: none;
    color: #0645ad;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #0b0080;
    text-decoration: underline;
}

.cta {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 16px;
    background-color: #ffa500;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta:hover,
.cta:focus {
    background-color: #ff9500;
}

.cta.small {
    padding: 6px 10px;
    font-size: 14px;
    margin-top: 12px;
    border-radius: 5px;
}

.cta .cta-main,
.cta .cta-sub {
    display: block;
}

.cta .cta-sub {
    font-size: 12px;
    font-weight: normal;
    color: #000;
    opacity: 0.95;
    margin-top: 2px;
}

.content {
    margin-left: 400px;
    margin-right: 8%;
    padding: 0 40px 30px 40px;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
}

.main-container {
    background: #fffbe6;
    margin: 0 auto;
    max-width: 1000px;
}

.hero,
section {
    margin-top: 10px;
    margin-bottom: 30px;
}

.page-intro,
p,
ul {
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3 {
    color: #1a1a1a;
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.section-intro {
    margin-bottom: 1rem;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.command-card {
    background: #fff;
    border: 1px solid #e6dfbf;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.command-card h3 {
    margin-top: 0;
}

#footer {
    margin: 40px 8% 20px 400px;
    padding: 8px 40px 20px 40px;
    color: #333;
}

@media (max-width: 980px) {
    .sidebar {
        position: static;
        width: auto;
        margin: 20px;
        left: auto;
        top: auto;
    }

    .content {
        margin: 0;
        padding: 0 20px 30px 20px;
    }

    #footer {
        margin: 20px;
        padding: 0 20px 20px 20px;
    }
}

