﻿@charset "UTF-8";
body {
  margin: 0;
  font-family: "Century Gothic", sans-serif, 'Lato' ;
  /*font-family: Arial, Helvetica, sans-serif;*/
  font-size: 1.2rem;
}
h1{
	font-size: 2rem;
	margin: 0;
	letter-spacing: 0.2rem;
}
h1.header1{
	font-size: 2rem;
	margin: 0;
	letter-spacing: 0.3rem;
	color:#FFFFFF;
	
}

.text {
	text-align: center;
	animation: textwelle 2s;
	font-size: 0.1em;/**/
}

@keyframes textwelle {
	0% {
		transform: scale(1);
		opacity: 0;
	}
	70% {
		transform: scale(0.7);
		opacity: 1;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}


h2{
	font-size: 1.5rem;
	margin: 0;
	text-transform:uppercase;
	
}
h2.header2{
	font-size: 1.5rem;
	margin: 0;
	text-transform:uppercase;
	color:#FFFFFF;
}
h3{
	font-size: 1rem;
	margin: 0;
	letter-spacing: 0.2rem;
}
h3.admin{
	font-size: 1rem;
	margin: 0;
	letter-spacing: 0.1rem;
	color:#FFFFFF;
	text-transform:uppercase;
}

.top-container {
  background-image: url("img/backgroundc.png");
  background-repeat: repeat-x;
  /*background-color: #004d9e; #a28080; #a23b3b; #FFFFFF;#1E35DB; AED3F9;*/
  /*background-size: 100%;*/
  padding: 0px;
  height: 300px;
  text-align: left;
  
}



.header {
  	/*padding: 10px 16px; bg für linien im menü*/
  	background: #032c58;  /*#63C6EB; #AED3F9;*/
  	color: #000000;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

.font{
	font-size: 1.2rem;
}
.fontklein{
	font-size: 1.0rem;
}
.fontb{
	font-size: 1.2rem;
	font-weight: 900;
}
.font2 span{
	font-size: 1.2rem;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-lr;
	transform:rotate(180deg);
}

.font3{
	font-size: 1.4rem;
	color: #FFFFFF;
}

.content {
  padding: 16px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
 
}

.sticky + .content {
  padding-top: 75px; /* 102px;*/
}

.footer {
  padding: 10px 16px;
  background-color: #004d9e; /*#AED3F9;*/
  color: #FFFFFF;
  font-size:20pt;
}


a:link.header3,a:active.header3,a:visited.header3,a.postlink{color:#FFFFFF;text-decoration:none;font-size: 1.5rem;} /*#000b9a;*/
/*a:hover{color:#dd6900} /**/
a:link.admin,a:active.admin,a:visited.admin,a.postlink{color:#000000;}
a:link.tabelle2,a:active.tabelle2,a:visited.tabelle2,a.postlink{color:#000000;text-decoration:none;}
a:link.tabelle3,a:active.tabelle3,a:visited.tabelle3,a.postlink{color:#FFFFFF;text-decoration:none;}
/*a:hover{color:#dd6900} /**/
a:link.tabelle,a:active.tabelle,a:visited.tabelle,a.postlink{color:#FF0000;text-decoration:none;}
a:link,a:active,a:visited,a.postlink{color:#764600;}
a:hover{color:#dd6900} /*#000b9a*/

#td 
{
	background-color: #004d9e; /*#AED3F9;*/
	
	
}
#td2 
{
	background-color: #032c58; /*#0080FF;*/
}

#td3{
	background: rgba(0,0,0,0.5);
	color: #FFF;
	/*opacity: 0.3;*/
}
#td4{
	background-color: #60a1d3;
}

#row1 {background:#63C6EB;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* farbe 1 alt:FFD5FB*/
#row2 {background:#8BB7F8;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* farbe 2 alt:F59FFF*/
#row3 {background:#AAF2AC;padding: 0px 2px 0px 5px;font-size: 1.5rem;}
#row4 {background:#F19EA0;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* rot */
#row5 {background:#009900;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* gruen */
#row6 {background:#FF8000;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* orange */

#row16 {background:#f25f5f;} /* leichtes rot */
#row17 {background:#f20000;} /* dunkel rot */
#row18 {background:#f20000;} /* dunkel rot*/
#rowteam3 {background:#FF9900;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* orange*/
#rowteam4 {background:#003300;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* dunkelgrün */
#rowteam5 {background:#663300;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* braun */
#rowteam6 {background:#990000;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* braunrot */
#rowteam7 {background:#FF9999;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* Hautfarbe */
#rowteam8 {background:#660099;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* lila */
#rowteam9 {background:#0066ff;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* blau */
#rowteam10 {background:#0066ff;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* blau */
#rowteam11 {background:#0066ff;padding: 0px 2px 0px 5px;font-size: 1.5rem;} /* blau */

input, option, select {
	/*font-family: sans-serif;*/
	font-size: 1.2rem;
	height:38px;
	background-color: #AED3F9;
	width: 120px;
}
.red{
	color: #FF0000;
}


/* =========================================================================
   WM/EM EINSTELLUNGEN FÜR TURNIERBAUM (AN DEINE GLOBALE REM-SCHRIFT ANGEPASST)
   ========================================================================= */

.bracket-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    overflow: hidden; /* Schützt das restliche Handy-Layout */
}

/* Haupt-Container: Verhindert das Abschneiden der linken Seite auf Smartphones */
.wm-bracket {
    display: flex;
    justify-content: flex-start; /* Erzwingt den Start ganz links, damit man nach rechts scrollen kann */
    align-items: center;
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif !important;
    padding: 10px 0;
    box-sizing: border-box;
    overflow-x: auto !important; 
    -webkit-overflow-scrolling: touch;
}

/* Für größere Bildschirme zentrieren wir es schön */
@media screen and (min-width: 992px) {
    .wm-bracket {
        justify-content: center;
    }
}

.bracket-side {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 0 0 auto; /* Keine unkontrollierte Kompression */
}

.side-left { justify-content: flex-end; }
.side-right { justify-content: flex-start; }

.bracket-round {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0 8px;
    flex: 0 0 160px; /* Feste, stabile Breite für die KO-Runden-Spalten */
    width: 160px;
    min-height: 550px;
    box-sizing: border-box;
}

.bracket-match {
    display: flex;
    flex-direction: column;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #fff;
    margin: 6px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Überschreibt die riesige 1.7rem .content-Schrift für die Teams! */
.bracket-team {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 6px 8px !important;
    font-size: 12px !important; /* Fixe Pixelgröße, damit es auf Handys passt */
    line-height: 1.2 !important;
    font-weight: bold !important;
    color: #334155 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Linker Teil (Logo + Name) */
.bracket-team > span:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important; 
    white-space: nowrap !important;
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 12px !important;
}

/* Rechter Teil (Tore) - Wird NIEMALS unsichtbar oder zusammengeschoben */
.bracket-team > span:last-child {
    flex-shrink: 0 !important;
    margin-left: auto !important;
    padding-left: 6px !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    font-size: 12px !important;
}

.bracket-team img {
    height: 20px !important;
    width: 20px !important;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0 !important;
    margin-right: 2px !important;
}

.bracket-team:last-child {
    border-bottom: none !important;
    background-color: #f8fafc !important;
}

.bracket-team strong {
    color: #0f172a !important; 
    font-size: 13px !important;
    display: inline-block !important;
    font-weight: 900 !important;
}

/* Korrektur für das Elfmeterschießen-Text-Format */
.bracket-team span span {
    margin-left: 3px !important;
    font-size: 9px !important;
    font-weight: normal !important;
}

/* Zentrum mit Finale */
.bracket-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    flex: 0 0 170px; /* Genug Breite für das Wort FINALE */
    width: 170px;
}

.final-match { width: 100%; }
.final-match h3 {
    margin: 0 0 8px 0;
    color: #e28743;
    font-size: 14px !important;
    letter-spacing: 0.1rem;
    text-align: center;
}

.winner-box {
    margin-top: 15px;
    padding: 8px;
    border: 2px solid #eab308;
    background-color: #fef9c3;
    border-radius: 6px;
    text-align: center;
}
.winner-box strong {
    display: block;
    color: #ca8a04;
    font-size: 11px !important;
    margin-bottom: 4px;
}
.bracket-team.master {
    background-color: #eab308 !important;
    color: #fff !important;
    border: none !important;
    justify-content: center !important;
}