@font-face {
    font-family: 'Work Sans';
    src: url('/assets/fonts/WorkSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}w

h2 {
    line-height: 1.2;
    margin-bottom: 6px;
}

/* Header styling with centered image */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

header img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Navigation with button-like links */
nav {
    margin-bottom: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

nav ul li {
    width: 100%;
}

nav ul li a {
    display: block;
    padding: 12px 16px;
    background-color: #ffe6ff;
    color: #323;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #F7F0F7;
}

/* Main content area */
main {
    max-width: 320px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

p {
    margin-bottom: 16px;
}

/* Back arrow */
.back-arrow {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #333;
    text-decoration: none;
    width: 40px;
    height: 40px;
    background-color: #ffe6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
}

.back-arrow:hover {
    background-color: #F7F0F7;
    transform: translateX(-3px);
}

/* E-Mail protection */
.email-protection {
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: left;
}

/* Footer with subtle impressum link */
footer {
    margin-top: auto;
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    background-color: #ffe6ff;
}

footer a {
    color: #000;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    header img {
        max-width: 400px;
    }

    nav ul, main {
        max-width: 400px;
    }
}