body {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
}

.nav {
    display: flex;
    gap: 1.25rem;
    padding: 0.625rem 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #eee;
}

.nav a.active {
    font-weight: bold;
    text-decoration: underline;
    color: #d32f2f;
}

.skip-link {
    position: absolute;
    top: -1000px;
    left: -1000px;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
    left: 0;
}

.form {
    max-width: 50rem;
    margin: 3.75rem auto;
    padding: 0 1.25rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

label,
legend {
    font-weight: bold;
    margin-bottom: 0.3125rem;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 0.625rem;
    font-size: 1rem;
    border: 0.004rem solid #ccc;
    border-radius: 0.375rem;
    width: 100%;
    box-sizing: border-box;
    display: block;
    margin-bottom: 1.25rem;
}

textarea {
    min-height: 6.25rem;
}

fieldset {
    border: 0.063rem solid #ccc;
    border-radius: 0.375rem;
    padding: 0.9375rem;
    margin-bottom: 1.5rem;
}

fieldset label {
    display: inline-block;
    margin-right: 4rem;
    margin-bottom: 0.5rem;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 0.3rem;
}

button {
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.375rem;
    background-color: #444;
    color: white;
    cursor: pointer;
    width: fit-content;
}

button:hover {
    background-color: #222;
}

button[type="submit"],
button[type="reset"] {
    margin-right: 0.5rem;
}

header {
    background-image: url("kepek/web_background.jpg");
    background-size: cover;
    background-position: center;
    padding: 2.5rem 1.25rem;
    color: white;
}

header h1 {
    text-align: center;
    font-size: 2rem;
    margin-top: 0;
}

h2 {
    font-size: 1.625rem;
    margin-top: 0;
    color: #1fa6e5;
}

p, li {
    text-align: left;
}

footer p {
    text-align: left;
    padding: 1rem;
}

.high-contrast {
    background-color: #121212 !important;
    color: #f5f5f5 !important;
    font-family: "Segoe UI", Arial, sans-serif;
    text-transform: uppercase
}

.high-contrast a {
    color: #80cbc4 !important;
    text-decoration: underline !important;
}

.high-contrast header {
    background-color: #1f1f1f !important;
}

.high-contrast .nav {
    background-color: #1c1c1c !important;
    border-bottom: 0.125rem solid #444;
}

.high-contrast input,
.high-contrast textarea {
    background-color: #1a1a1a;
    color: #f5f5f5;
    border: 0.063rem solid #777;
}

.high-contrast button {
    background-color: #333;
    color: #fff;
    text-transform: uppercase;
}

.high-contrast button:hover {
    background-color: #555;
}
