.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;
}

.content {
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.875rem;
    margin: 3.75rem 0;
    flex-wrap: wrap;
}

.top-content.reverse {
    flex-direction: row-reverse;
}

.text {
    font-family: "Segoe UI", Arial, sans-serif;
    flex: 1 1 50%;
    min-width: 21.875rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.image {
    flex: 1 1 45%;
    min-width: 18.75rem;
    margin-top: 1.25rem;
}

.image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}

.video {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.video-preview {
    text-align: center;
    margin: 2rem 0;
}

.video img.video-thumbnail {
    max-width: 40rem;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}


.video-preview img.video-thumbnail:hover {
    transform: scale(0.98);
}
.video h2 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 0.625rem 0;
}

.video-caption {
    text-align: center;
    margin-top: 1rem;
}

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;
    font-family: "Segoe UI", Arial, sans-serif;
}

button:hover {
    background-color: #222;
}

header h1 {
    text-align: center;
    font-size: 2rem;
    margin-top: 0;
}

header {
    background-image: url("kepek/web_background.jpg");
    background-size: cover;
    background-position: center;
    padding: 2.5rem 1.25rem;
    color: white;
}

h2 {
    font-size: 1.625rem;
    margin-top: 3.75rem;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1fa6e5;
}

h3 {
    font-size: 1.25rem;
    margin-top: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: red;
}

p, li {
    text-align: left;
}

.top-content h3 {
    margin-top: 0;
}

.long-text {
    margin: 0;
    max-width: 75rem;
    font-size: 1.125rem;
    line-height: 1.6;
    font-family: "Segoe UI", Arial, sans-serif;
}

.align-center {
    align-items: center;
}

@media (max-width: 48rem) {
    .top-content {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .image {
        width: 100%;
    }
}

@media (max-width: 37.5rem) {
    button {
        width: 100%;
    }
}

.erdekesseg {
    background-color: #f5f5f5;
    border-left: 0.3125rem solid #d32f2f;
    padding: 0.9375rem 1.25rem;
    margin: 2.5rem 0;
    font-style: italic;
    border-radius: 0.375rem;
    font-family: "Segoe UI", Arial, sans-serif;
}

.erdekesseg h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: #b71c1c;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 100%;
}

.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 table {
    background-color: #1e1e1e;
    color: #f5f5f5;
    border-color: #444;
}

.high-contrast th {
    background-color: #2c2c2c;
}

.high-contrast td {
    background-color: #1a1a1a;
}

.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;
}

.high-contrast .erdekesseg {
    color:black;
}

.high-contrast .video-caption{
    background-color: #333;
    color: #fff;
    text-transform: uppercase;
}

.high-contrast details{
    background-color: #333;
    color: #fff;
    text-transform: uppercase;
}
details {
    margin-top: 1.5rem;
    background-color: #f9f9f9;
    padding: 1rem;
    border-left: 0.25rem solid #1fa6e5;
    border-radius: 0.5rem;
}

details summary {
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 0.5rem;
}