/* 5 nach 12 */
/* islandrabe 2023 */

/* EXTERNE ELEMENTE */

/* Libre Franklin, https://github.com/impallari/Libre-Franklin */

@font-face {
    font-family: 'LibreFranklin-Regular';
    font-style: normal;
    src: url(./fonts/LibreFranklin-Regular.woff2) format('woff2');
}
@font-face {
    font-family: 'LibreFranklin-Italic';
    font-style: normal;
    src: url(./fonts/LibreFranklin-Italic.woff2) format('woff2');
}
@font-face {
    font-family: 'LibreFranklin-SemiBold';
    font-style: normal;
    src: url(./fonts/LibreFranklin-SemiBold.woff2) format('woff2');
}
@font-face {
    font-family: 'LibreFranklin-SemiBoldItalic';
    font-style: normal;
    src: url(./fonts/LibreFranklin-SemiBoldItalic.woff2) format('woff2');
}

/* EXTERNE ELEMENTE */

/* BASIS ELEMENTE */

html {
    background-color: black;
    background-size: cover; /* Hintergrundbild jeweils in index.php definiert */
}

body {
    margin: 0 auto;
    font-family: 'LibreFranklin-Regular', sans-serif;
    font-size: 100%;
    color: white;
}

/* ENDE BASIS ELEMENTE */

/* SEITEN ELEMENTE */

/* Menü, Ticker – menu */
#menu {
    margin: 1em 0;
    overflow: hidden;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.ticker-wrapper {
    width: 100%;
    height: 2em;
    padding-left: 100%;
    box-sizing: content-box;
}

.ticker {
    display: inline-block;
    height: 2em;
    line-height: 2em;  
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    animation-name: ticker;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-duration: 60s;
}

.ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 0.4em;
}

/* Logo und Ankündigung - header */

header {
    grid-area: hd;
}

/* Navigation, Untermenü - outline */

#outline {
    grid-area: ol;
}

.scroll {
    overflow-y: auto;
    max-height: 35em;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    width: 100%;
    height: 8em;
    padding: 0 0.6em;
    border: 2px solid white;
}

/* Inhalt Seite - main */

main {
    grid-area: ma;
}

/* Platzhalter - space */

#space {
    grid-area: sp;
}

/* ENDE SEITEN ELEMENTE */

/* TYPOGRAFIE */

/* Text Menü, Ticker - menu */

#menu nav {
    font-family: 'LibreFranklin-SemiBoldItalic', sans-serif;
    font-size: 1.2em;
}

#menu a {
    text-decoration: none;
}

#menu .select {
    text-decoration: underline;
}

/* Überschriften Navigation, outline */

#outline h3 {
    margin-bottom: 0.2em;
    font-size: 1.8em;
    letter-spacing: 0.02em;
    font-family: 'Times', serif;
    font-weight: normal;
    text-decoration-line: underline;
    text-decoration-thickness: 0.05em;
}

#outline h4 {
    margin-top: 0;
    font-size: 1.4em;
    letter-spacing: 0.01em;
    font-family: 'Times', serif;
    font-weight: normal;
}

#outline a {
    text-decoration: none;
}

/* Überschriften Hauptbereich, main */
main h1 {
    margin-top: 0;
    font-family: 'LibreFranklin-SemiBold', sans-serif;
    font-weight: normal;
    font-size: 2.em;
    line-height: 1.3;
    color: #fcee21;
}

main h2 {
    margin-top: 0;
    font-family: 'LibreFranklin-SemiBold', sans-serif;
    font-weight: normal;
    color: #00ffff;
    font-size: 1.6em;
    line-height: 1.3;
}

main h3 {
    margin-top: 0;
    font-family: 'LibreFranklin-SemiBold', sans-serif;
    font-weight: normal;
    font-size: 1.6em;
    line-height: 1.3;
}

main h4 {
    margin-top: 0;
    font-family: 'LibreFranklin-SemiBold', sans-serif;
    font-weight: normal;
    font-size: 1.4em;
    line-height: 1.3;
}

/* allgemeine Formatierung */

p {
    margin-top: 0;
    font-size: 1.1em;
    line-height: 1.5;
}

i {
    font-family: 'LibreFranklin-Italic', sans-serif;
}

a {
    color: white;
}

a:visited {
    color: #d8d8d8;
}

a:hover {
    color: #fcee21;
}

img {
    width:100%;
}

.logo {
    width: auto;
    height: 50px;
}

/* ENDE TYPOGRAFIE */

/* ANZEIGE, MEDIA QUERIES */

/* Smartphone Anzeige, bis 768px – standard */
.site {
    display: grid;
    margin: 1em;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
	"hd ol"
	"ma ma";
    column-gap: 3em;
    row-gap: 1em;
}

/* Tablets, von 768px */
@media only screen and (min-width: 768px) {

    .site {
	grid-template-columns: repeat(4, 1fr);
	grid-template-areas:
	    "hd ol ma ma";
    }

    #menu {
	margin-bottom: 2em;
    }

    .scroll {
	overflow-y: visible;
	max-height: auto;
    }

}

/* HD-Desktops und größer, ab 1680px */
@media only screen and (min-width: 1680px) {

    .site {
	margin: 1em auto;
	max-width: 1680px;
    }

    #menu {
	margin-bottom: 3em;
    }

}

/* ENDE ANZEIGE, MEDIA QUERIES */
