/* static/your_app/css/fonts.css */
@font-face {
    font-family: 'Compose';
    src: url('/static/fonts/Compose_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Vermeidet unsichtbaren Text während des Ladens */
}

@font-face {
    font-family: 'Compose';
    src: url('/static/fonts/Compose_Regular.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Compose';
    src: url('/static/fonts/Compose_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Comfortaa Light';
    src: url('/static/fonts/Comfortaa-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Compose', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
}

logo {
    font-size: 3rem;
}


h1 {
    line-height: 1.3; /* Adjust this value (e.g., 1.1 or 1.2) until it looks right to you */
    margin-bottom: 0.5rem; /* Optional: keeps spacing consistent if line-height makes it too tight */
    letter-spacing: -0.02em;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa Light', 'Compose', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.text-default {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-default-left {
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
h1.section-heads-register {
    text-align: left;
    width: 100%;
    display: block;
    margin-top: 6rem;
    margin-bottom: 4rem;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    line-height: 1.3;
}