/* styles.css */

/* Eigener Font einbinden */
@font-face {
    font-family: 'Sansumi';
    src: url('/fonts/Sansumi-Bold.woff2') format('woff2'),
        url('/fonts/Sansumi-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sansumi';
    src: url('/fonts/Sansumi-DemiBold.woff2') format('woff2'),
        url('/fonts/Sansumi-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sansumi';
    src: url('/fonts/Sansumi-Regular.woff2') format('woff2'),
        url('/fonts/Sansumi-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sansumi';
    src: url('/fonts/Sansumi-UltraLight.woff2') format('woff2'),
        url('/fonts/Sansumi-UltraLight.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Allgemeine Stile für HTML */
html {
    font-size: 1.2rem; /* Standard-Schriftgröße */
    height: 100%; /* Damit das Body-Flexbox-Layout korrekt funktioniert */
}

/* Allgemeine Stile für Body */
body {
    height: 100%;
    margin: 0;
    padding-top: 1em;
    padding-bottom: 3em;
    display: flex;
    justify-content: center; /* Zentriert horizontal */
    background-color: #fff5e8; /* Standard-Hintergrundfarbe */
    background-image: url('background.jpg'); /* Optional: Hintergrundbild */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Sansumi', Arial, sans-serif; /* Eigener Font mit Fallback */
    color: #a12837; /* Standard-Schriftfarbe */
    line-height: normal; /* Keine globale Zeilenhöhe auf Body */
}

/* Zentrierter Content */
.content {
    text-align: center; /* Zentriert Text horizontal */
    font-size: 1em; /* Übernimmt die Standard-Schriftgröße */
    line-height: 1.6; /* Standard-Zeilenhöhe nur für den Inhalt */
}

/* Logo-Stil */
.logo {
    display: block; /* Damit das Logo als Block behandelt wird */
    margin: 60px auto 60px auto; /* Horizontal zentrieren und 60px Abstand nach unten */
    max-width: 300px; /* Maximale Breite des Logos */
    height: auto; /* Behalte das Seitenverhältnis */
}

/* Überschrift-Stil */
h1 {
    font-size: 2.5rem; /* Größere Schrift für Überschrift */
    margin-bottom: 1rem; /* Abstand zum nächsten Element */
    font-weight: 600;
}

h2 {
	font-weight: 600;
}

/* Stil für Absätze */
p {
    line-height: inherit; /* Erbt die Zeilenhöhe von .content */
}

a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}