@charset "utf-8";
:root {
    --gruen: rgb(0, 150, 67);
    --blau: #1aa1ca;
    --blau1: #24a3c8;
    --orange: rgb(253, 81, 8);
    --breite: 1240px;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
    /*font-style: normal;
    font-weight: 300;*/
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Medium.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url(../pics/background.jpg);
    background-color: #f8e0ea;
    background-attachment: fixed;
    background-size: cover;
    font-size: 1.4em;
    font-family: 'Roboto', Verdana, Arial, sans-serif;
    color: #36393a;
}

#atomic_time {
    position: fixed;
    right: 2.4vw;
    top: 12px;
    text-align: right;
    font-size: 0.5em;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #f0f0f0;
    z-index: 999;
}

#time_is_UTC {
    font-weight: bold;
}

#Seitenanfang,
#Seitenanf {
    position: fixed;
    right: 20px;
    bottom: 20px;
    font-size: 3em;
    color: var(--blau);
    z-index: 999;
    display: none;
}

#Seitenanf {
    display: block;
}

#Seitenanfang a,
#Seitenanf a {
    opacity: 0.3;
    transition: color 1s, opacity 1s;
}

#Seitenanfang a:hover,
#Seitenanf a:hover {
    color: var(--orange);
    opacity: 0.6;
}

a {
    outline: none;
    text-decoration: none;
    color: var(--blau);
    font-weight: bold;
}

a:hover {
    opacity: 0.6;
}

.float_left {
    float: left;
    margin-right: 0.6em;
}

.clear_both {
    clear: both;
}

#wrapper {
    position: relative;
    margin: 0 auto;
    max-width: var(--breite);
    margin-top: 20px;
}

#wrapper.impressum,
#wrapper.rangliste {
    margin-bottom: 60px;
}

#picBanner,
#picFlaggenBanner,
#preview,
#previewT9 {
    width: 100%;
    height: auto;
}

.excel_kenntnisse {
    font-size: 1.2em;
    margin-top: 8px;
}

.excel_kenntnisse img {
    margin-bottom: -10px;
}

.aktuell img {
    max-width: 100%;
}

#groups {
    max-width: 100%;
    height: auto;
}

#picFlaggenBanner {
    opacity: 0.8;
}

#previewT9 {
    margin-bottom: 10px;
}

#banner {
    position: relative;
    text-align: center;
}

#sprache {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 5px;
}

#links {
    padding: 6px 4px 20px 2px;
    line-height: 1.4em;
}

#backlink {
    margin-bottom: 1em;
}

#main {
    padding: 6px 36px 6px 36px;
    line-height: 1.7em;
    background-color: rgba(255, 255, 255, 0.75);
    border: 3px solid #ccc;
}

.gruen {
    color: var(--gruen);
    font-weight: bold;
}

table.gruppentabelle {
    border-collapse: collapse;
    min-width: 180px;
}

table.gruppentabelle th,
table.gruppentabelle td {
    padding: 3px 10px 3px 10px;
    text-align: left;
}

table.gruppentabelle th {
    color: white;
    background-color: var(--orange);
}

table.gruppentabelle tr {
    background-color: #e8e8e8;
}


/*table.gruppentabelle tr:nth-child(2n+3) {
    background-color: #e8e8e8;
}*/

table.gruppentabelle tr {
    border-bottom: 1px solid #e4e1f4;
}

table.gruppentabelle td:nth-child(2),
table.gruppentabelle th:nth-child(2) {
    text-align: left;
}

table.gruppentabelle td:nth-child(2) {
    font-weight: bold;
}

table.tabelle {
    border-collapse: collapse;
    border: 1px solid #107fc7;
    margin-left: 32px;
    margin-bottom: 22px;
}

table.tabelle th,
table.tabelle td {
    padding: 3px 10px 3px 10px;
    text-align: left;
}

table.tabelle tr {
    border-bottom: 1px solid #e4e1f4;
}

table.tabelle tr:nth-child(2),
table.tabelle tr:nth-child(4),
table.tabelle tr:nth-child(6) {
    background-color: #e8e8e8;
}

table.tabelle tr:last-child {
    border: 1px solid #107fc7;
}

#main h3 {
    margin-top: 0.6em;
    margin-bottom: 1em;
    color: var(--gruen);
    font-size: 1.4em;
}

#main p {
    margin-bottom: 16px;
}

#abspann {
    text-align: center;
    width: var(--breite);
    margin-bottom: 20px;
}

#banner h1 {
    margin-top: 0px;
    margin-bottom: 16px;
    font-weight: 900;
}

.en #banner h1 {
    font-size: 1.6em;
}

#banner h3 {
    margin-top: 0px;
    margin-bottom: 16px;
}

#wuerfel {
    margin-top: 0px;
    margin-bottom: 5px;
    color: rgb(18, 15, 15);
    font-weight: bold;
}

#wuerfel table {
    display: inline-block;
}

#wuerfel td.schrift {
    padding-top: 10px;
}

.beispiel .tabelle {
    border-collapse: collapse;
    margin: 20px 40px 20px 80px;
}

#allgemeines {
    margin-top: 20px;
    padding: 2px 4px 2px 4px;
    border: 2px solid var(--blau);
    background-color: rgba(215, 230, 243, 0.4);
}

.download-box {
    margin-top: 10px;
    padding: 2px 4px 2px 4px;
    border: 2px solid var(--blau);
    background-color: rgba(215, 230, 243, 0.4);
}

#women {
    padding: 1px 6px 1px 6px;
    border: 2px solid #9ccf5e;
    background: rgba(255, 255, 255, 0.6);
}

#women-logo {
    margin: 8px;
    margin-right: 40px;
}

#olympics-logo {
    margin: 8px;
    margin-right: 40px;
}

#olympics-logo img {
    max-width: 200px;
    height: auto;
}

#olympics-logo,
#women-logo,
#pdf-symbol,
#download-symbol {
    float: left;
}

#download-symbol {
    margin-right: 25px;
}

#pdf-symbol {
    margin-right: 40px;
}

.clearboth {
    clear: both;
}

#banner h1 {
    color: var(--blau1);
}

#banner h3 {
    color: var(--blau);
}

#links ul {
    margin-left: 24px;
}

#main ol,
#main ul {
    margin-left: 36px;
    margin-top: 14px;
}

#links li {
    margin-bottom: 6px;
}

#links h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.endfassung {
    color: #C00;
    font-weight: bold;
}

.spielplan {
    margin-top: -5px;
    margin-left: -2px;
}

#links .spielplan img {
    max-width: 540px;
    width: 100%;
    height: auto;
}

.bildunterschrift {
    text-align: left;
    color: #222;
    margin-right: 2px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.starthinweis {
    color: #222;
    line-height: 1.1em;
}

.zeile1 {
    margin-bottom: 4px;
}

#links h4 {
    color: #C00;
}

#links h4.automatic {
    margin-top: 10px;
}

#main h5 {
    color: var(--orange);
}

#main table td {
    padding-right: 12px;
}

.version {
    line-height: 1em;
}

.version ul {
    margin-top: 10px;
    line-height: 0.8em;
}

#abspann h4 {
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--orange);
}

.uefa_logo a:hover {
    opacity: 0.6;
}

#em_logo,
#uefa_log {
    display: inline-block;
}

#em_logo {
    margin-right: 100px;
}

#matrixlink {
    margin-top: 24px;
    margin-bottom: 24px;
}

#matrixlink a {
    font-size: 0.8em;
    color: #fc7233;
}

#matrixlink a:hover {
    opacity: 0.7;
}

#matrixlink a img:hover {
    opacity: 0.6;
}

.hervor {
    font-style: italic;
    font-weight: bold;
}

.predictions h4 {
    margin-top: 30px;
    font-size: 1.1em;
    color: var(--orange);
}

.impressum #main {
    text-align: center;
}

.impressum #footer {
    margin-bottom: 30px;
}

.link_zum_beispiel,
.weitere_screenshots {
    display: inline-block;
    padding: 1px 6px 1px 6px;
    border: 2px solid #9ccf5e;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.6);
}

#wrapper #links .weitere {
    margin-bottom: 20px;
}

.link_zum_beispiel:hover {
    background: rgba(255, 255, 255, 0.9);
}

.beispiel h3,
.download h3 {
    color: #c00;
}

.beispiel .spot {
    font-weight: bold;
    color: #c00;
}

.beispiel .tabelle table,
.beispiel .tabelle th,
.beispiel .tabelle td {
    border: 1px solid var(--blau);
}

.beispiel .tabelle td,
.beispiel .tabelle th {
    padding: 2px 8px 2px 8px;
    text-align: center;
}

.beispiel .tabelle th {
    font-size: 0.8em;
}

.beispiel p {
    margin-bottom: 20px;
}

.beispiel .fett {
    font-weight: bold;
}

.beispiel #main ol li {
    font-size: 0.84em;
    line-height: 120%;
}

.beispiel .sterne {
    text-align: center;
    color: #aaa;
}

.download ul {
    margin-left: 40px;
    font-weight: bold;
}

.download ul .zusatzbemerkung {
    font-weight: normal;
}

#tabelle_direktvergleich {
    position: relative;
}

#hinweispfeil {
    position: absolute;
    top: 6px;
    left: 400px;
}

#vielSpass {
    width: 100%;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

.zentriert {
    text-align: center;
}

.rot,
a .rot {
    color: var(--orange);
}

.bold,
.fett {
    font-weight: bold;
}

.klein {
    font-size: 0.8em;
    line-height: 1.1em;
}

p.klein {
    margin-bottom: 6px;
}

#main h4.rot {
    margin-bottom: 6px;
}

.datum {
    text-align: right;
}

.excel_kenntnisse {
    margin-top: 8px;
}

.excel_kenntnisse img {
    margin-bottom: -10px;
}

#releases .tabelle {
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: -18px;
}

#releases .tabelle table,
#releases .tabelle th,
#releases .tabelle td {
    border: 1px solid var(--blau);
    font-size: 0.8em;
    line-height: 1.2em;
    vertical-align: top;
}

#releases .tabelle td,
#releases .tabelle th {
    padding: 2px 8px 2px 8px;
    text-align: center;
}

#releases .tabelle td:last-child {
    text-align: left;
}

.fair_play .tabelle {
    border-collapse: collapse;
    margin-top: 20px;
}

.ausgleich {
    padding-top: 0px;
}

#footer img {
    width: 100%;
}

#richtig_hier {
    border-left: 18px solid var(--blau);
    padding-left: 12px;
}

#imgPredictions {
    width: 100%;
}

@media (max-width: 1260px) {
    #wrapper {
        display: block;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
    #banner {
        display: block;
        width: 100%;
        margin-top: 20px;
    }
    #sprache {
        display: block;
        margin-top: 5px;
    }
    #links {
        display: none;
        padding: 6px 4px 20px 2px;
    }
    #main {
        display: block;
        padding: 6px 8px 6px 8px;
        border: 3px solid #ccc;
    }
    #footer {
        width: 100%;
    }
    #abspann {
        width: 100%;
        margin-bottom: 20px;
    }
    #footer img {
        width: 100%;
    }
    #banner h1 {
        margin-top: 10px;
        margin-bottom: 0;
    }
    #banner h3 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    #wuerfel {
        margin-top: 0px;
        margin-bottom: 10px;
    }
    #wuerfel img.hunderter {
        width: 41px;
    }
    #wuerfel img.zehner {
        width: 40px;
    }
    #wuerfel img.einer {
        width: 42px;
    }
    .impressum #main,
    .fair_play #main {
        width: 100%;
    }
    .impressum #main img {
        width: 100%;
    }
    #hinweispfeil {
        display: none;
    }
    .beispiel .tabelle {
        margin: 20px 0 20px 32px;
    }
    .spielplan {
        width: 100%;
        margin-top: 5px;
        margin-left: 0;
    }
    .klein {
        font-size: 0.9em;
        line-height: 1.2em;
    }
    .version ul {
        line-height: 0.9em;
    }
}

@media (max-width: 850px) {
    #atomic_time {
        display: none;
    }
    .weitere_screenshots {
        display: block;
        width: 11em;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    #em_logo,
    #uefa_log {
        display: inline-block;
    }
    body {
        font-size: 1.2em;
    }
    table.ergebnisse {
        max-width: 100%;
        font-size: min(3vw, 1em);
    }
}

@media (max-width: 700px) {
    body {
        font-size: 1em;
    }
    table.gruppentabelle {
        font-size: 0.9em;
    }
}

@media (max-width: 520px) {
    #em_logo,
    #uefa_log {
        display: block;
    }
    #em_logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    #pdf-symbol,
    #download-symbol {
        float: none;
    }
    table.gruppentabelle {
        font-size: 0.7em;
    }
    table.ergebnisse {
        font-size: min(3.8vw, 1em);
    }
}