
* {
	font-family: Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
	background-color: #F5ECE6;
    display: flex;
    flex-direction: column;
}

.content {
	padding: 50px;
	/*margin-left: 8%;
	margin-right: 8%;*/
	max-width: 1000px;
	width: 90%;
	margin: auto;
	text-align: center;
    flex: 1; /* Nimmt den restlichen Platz ein */
    display: flex;
    flex-direction: column;
}

.content img {
	width: 100%;
	max-height: 500px;
	object-fit:contain;
}

#logo {
	padding-left: 30px;
	padding-right: 30px;
	height: inherit;
	float: left;
	background-color: #F5ECE6;
}

.header {
	max-height: 300px;
}

select, input[type="text"], input[type="date"] {
    min-width: 200px;
    padding: 6px;
    font-size: 16px;
}


/* Basis-Styles für die Menubar */
    .menubar {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        width: 100%;
        height: 50px;
        overflow: visible;  /* Erlaubt Dropdowns außerhalb des Menubereichs */
		background: black;
        z-index: 1000; /* Damit die Menubar über anderen Inhalten liegt */
    }
    /* Navigation als horizontale Liste */
	.navigation a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;         /* Füllt die gesamte Höhe des übergeordneten Elements */
    padding: 0 16px;      /* Nur horizontales Padding; vertikales Padding entfällt, damit die Höhe exakt 100% bleibt */
    box-sizing: border-box;
    color: white;
    text-align: center;
    text-decoration: none;
    /* Falls du noch eine Übergangsanimation wünschst: */
    transition: background-color 0.3s ease;
}
    .navigation ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        background-color: black;
    }
    .navigation ul li {
        position: relative;
        height: 50px;
    }
    .navigation ul li a {
        display: block;
        padding: 14px 16px;
        text-decoration: none;
        color: white;
        white-space: nowrap;
    }
    .navigation ul li a:hover {
		background-color: #7cb17f;
	}
    .navigation ul li a.active {
        background-color: #388e3c;
    }
    /* Dropdown-Inhalt – zunächst versteckt */
    .navigation ul li .dropdown-content {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        background-color: #656565;
        min-width: 160px;
        z-index: 1001; /* Höher als die Menubar, damit die Dropdowns sichtbar sind */
    }
    .navigation ul li .dropdown-content li {
        display: block;
    }
    .navigation ul li .dropdown-content li a {
        padding: 10px 16px;
        color: white;
		display: flex;
    align-items: center;  /* Vertikale Zentrierung */
    padding: 10px 16px;   /* Angenehmer Innenabstand */
    white-space: nowrap;  /* Verhindert Zeilenumbrüche */
    height: 100%; 
    }
    .navigation ul li .dropdown-content li a:hover {
		background-color: #7cb17f;
	}	
    .navigation ul li .dropdown-content li a.active {
        background-color: #388e3c;
    }
    /* Beim Hover Dropdown anzeigen */
    .navigation ul li:hover .dropdown-content {
        display: block;
    }



.footer {
	height: 400px;
	background-color: black;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-top: #388e3c 15px solid;
	display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    min-width: 200px
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
	color: white !important;
}

.footer p {
	color: #388e3c;
}

.footer_column {
	float: left;
	width: 50%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px 10px;
}
.maps-image {
    width: 100%;
    object-fit: contain; /* Stellt sicher, dass das gesamte Bild sichtbar ist */
    display: block;
	height: 300px;
}

.table {
	/* width: 100%; */
	border: 1px solid;
	border-collapse: collapse;
	text-align: center;
	margin: 10px;
	background-color: #f9f9f9;
}

.table th {
	background-color: #7cb17f;
}

.table th,
.table td {
	padding: 10px;
	width: 5%;
	border: 1px solid;
}

.tshirt {
	background-color: #d2b48c;
	padding: 10px;
	margin-left: 20%;
	margin-right: 20%;
	border: 8px dotted grey;
}

/* Gemeinsame Formularstile für Login, Konto und andere Formulare */
button {
    padding: 10px;
    background-color: #388e3c;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
}
button:hover {
    background-color: #ff7f33;
}

/* Speziell für Turnierergebnisse (Name und Button zusammen) */
.card {
	background-color: #f9f9f9;
    border: 2px solid #388e3c;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

form {
    /*width: 300px;*/
    margin: 20px;
    padding: 20px;
	background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

form input[type="text"],
form input[type="password"],
form input[type="number"],
form input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

form input[type="submit"],
form input[type="button"] {
    width: 100%;
    padding: 10px;
    background-color: #388e3c;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
}

form input[type="submit"]:hover,
form input[type="button"]:hover {
    background-color: #ff7f33;
}

/* Spezielle Regel für Inline-Buttons (z. B. Löschbutton) */
form input[type="submit"].inline-btn,
form input[type="button"].inline-btn {
    width: auto;           /* Überschreibt die volle Breite */
    padding: 6px 12px;      /* Kleinere Polsterung */
    border: none;           /* Kein Rahmen */
    background: none;       /* Kein Hintergrund */
    color: #388e3c;         /* Nur farbiger Text */
    font-size: 14px;        /* Schriftgröße anpassen */
    cursor: pointer;        /* Zeigt an, dass der Button klickbar ist */
    transition: none;       /* Kein Hover-Übergang, wenn gewünscht */
}
form.inline {
    width: 300px;
    margin: 20px auto;
    padding: 0px;
    background-color: #fff;
    border: none;           /* Kein Rahmen */
}


/* Überschriften und Nachrichten im Formularbereich */
h2, h3 {
    text-align: center;
    color: #333;
}

p.error {
    color: red;
    text-align: center;
}

p.msg {
    color: green;
    text-align: center;
}

.hero {
    text-align: center;
    background-color: #388e3c;
    color: white;
    padding: 50px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.intro-text p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-card {
	background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.call-to-action {
    margin-top: 30px;
}

.call-to-action button {
    background-color: #ff7f33;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.call-to-action button:hover {
    background-color: #d86629;
}





