/* Allgemeines Styling */
html {
    scroll-behavior: smooth;
}

.postbody {
    /* Old browsers */
    background: #141E30;
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(-45deg, #35577D, #141E30);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(-45deg, #35577D, #141E30);
    margin: 0;
    padding: 0;
}

.site-logo-img {
    display: block;
    width: 90%;
    max-width: 400px;
    height: auto;
    padding-left: 5%;
    padding-top: 2.5vh;
}

.before::before, .after::after {
    content: "\A";
    white-space: pre;
}

/* MENU */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
}

/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--white);
    font-family: "Tahoma", sans-serif;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--black);
    box-shadow: 1px 1px 5px 0px var(--grey);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 5%; /* Adjust padding as needed */
}

/* Logo */
.logo img {
    vertical-align: middle; /* Align the image vertically */
    max-height: 50px; /* You can adjust the height as needed */
    margin-right: 20px; /* Optional: adds some space between the logo and the menu */
	padding-top: 0em;
}

/* Nav menu */
.nav{
    width: 100%;
    position: fixed;
    background-color: var(--black);
    overflow: hidden;
    top: 60px; /* Adjusted based on the height of your header */
    left: 0; /* Ensure it's aligned to the left */
    transition: max-height 0.5s ease-out;
    max-height: 0; /* Initially set to 0 to ensure menu is hidden */
    z-index: 1001; /* Ensure it's above other content */
}

.menu a,.menu p{
    display: block;
    padding: 30px;
    color: var(--white);
}

.menu a:hover{
    background-color: var(--grey);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Sub nav */
.subnav-content {
	z-index: 1100;
	background-color:  var(--white);
    width: 100%;
    padding: 20px 0 ;
    display: none;
  }

.subnav-content a {
    color: var(--black);
    text-decoration: none;
    padding: 0;
    margin: 10px 0;
    text-align: center;
}

.subnav:hover .subnav-content {
    display: block;
}

/* Menu Icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}

.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 500px;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

/* Responsiveness */

@media (min-width: 900px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }

    .menu li{
        float: left;
    }

    .menu a:hover{
        background-color: transparent;
        color: var(--grey);      
    }
    
    .hamb{
        display: none;
    }

        /* Sub nav */
    .subnav-content {
        padding: 20px 0 ;
        display: none;
        background-color:  var(--black);
    }
	
    .subnav-content a {
        color: white;
    }

}

/* Der Hauptbereich für den Content */
.content {
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5px;
	max-width: 1040px;
    font-family: 'Tahoma', serif;
}

/* Der Bereich für den iframe */
.container {
	padding-left: 5%;
	padding-right: 2%;
	position: relative;
	z-index: 100;
}

.image-wrapper {
	position: relative;
	display: inline-block;
}

.iframe-radar {
	padding-left: 1%;
	padding-right: 2%;
}

#iframe-placeholder {
  display: block;
  max-width: 100%;
  width: 100%;
}

/* Das Vorschaubild für den iframe */
figure {
  position: relative;
  margin: 0;
}

/* Der Button für den iframe und seine Position */
#button1 {
	position: absolute;
  	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
  	padding: 10px 20px; /* oder die gewünschten Padding-Werte */
  	background-color: #dabd0c; /* oder die gewünschte Hintergrundfarbe */
  	color: #fff; /* oder die gewünschte Textfarbe */
  	border: none;
  	border-radius: 5px; /* oder der gewünschte Radius */
  	cursor: pointer;
	font-family: Arial;
	font-size: 2em;
	font-weight: 800;
}

#button1:hover {
	background-color: #0056b3; /* oder die gewünschte Hover-Farbe */
}


.byline {
    font-family: Helvetica;
    color: rgba(255, 255, 255);
    font-size: 1em;
    text-transform: uppercase;
    padding-left: 5%;
    width: inherit;    
}

img {
    width: 100%;
    height: auto;
    max-width: 1040px;
    padding-top: 1.5em;
}


h1 {
	font-family: Tahoma;
    color: #FFF;
    font-size: 2em;
	font-weight:600;
    padding-top: 0px;
    margin-top: 0px;
    width: 90%;
}

h2 {
	font-family: Tahoma;
    color: #FFF;
    font-size: 1.8em;
	font-weight: 600;
    line-height: 1.5em;
    padding-bottom: 10px;
    padding-top: 2em;;
    text-align: left;
    width: 90%;
	max-width: 1040px;	
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);

}

h3 {
	font-family: Tahoma;
    color: #FFF;
	font-size: 1.6em;
    font-weight: 400;
    line-height: 1.3em;
    padding-bottom: 25px;
    padding-top: 25px;
    text-align: left;
    width: 90%;
}

p {
    font-family: Tahoma;
    color: AliceBlue;
	font-size: 1.4em;
    line-height: 1.8em;
    text-align: left;
    width: 100%;
    padding-bottom: 1em;
	padding-top: 1.5em;
}

p.footer {
	border-top: 1px solid rgba(255, 255, 255, 1);
	font-size: 1em;
}

.caption {
    font-family: 'Arial';
    font-size: 1.4em;
    font-style: italic;
    line-height: 1.2em;
    text-align: left;
	max-width: 85%;
    margin-left: 10%;
	margin-right: 10%;
	margin-bottom: 1em;
	padding: 10px;
    background: rgba(000, 000, 000, 0.5)
}

.image {
    background-image: url("/Flachwitz%20-%20Startseite.png");
    background-size: cover;
    background-position: center;
    height: 100%;
}

.witzbild {
    padding-left: 15%;
    padding-right: 15%;
    padding-bottom: 20px;
    width: 100%;
}

.list {
    color: AliceBlue;
    line-height: 1.6em;
    text-align: left;
    width: 100%;
    font-size: 1.3em;
    padding-bottom: 10px;
	padding-top: 1.5em;
	margin-left: 15px;
}

li.content {
    font-family: Arial;
	color: AliceBlue;
	list-style-type: circle;
    line-height: 1.3em;
    text-align: left;
    width: 90%;
    font-size: 1.4em;
    padding-bottom: 10px;
    margin-left: 2em;
}

.footermenue {
    font-size: 12px;
    color: #FFF;
    font-family: Helvetica;
    text-align: center;
    background-color: #C7AC0B;
    padding: 1%;
}

a:link    {
    color: #E4CF4E;
}

a:visited {
    color: AliceBlue;
}

a:focus   {
    color: #E4CF4E;
    font-weight: 500;
}

a:hover   {
    color: #E4CF4E;
    font-weight: 200;
}

a:active  {
    color: #E4CF4E;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container-wrapper {
    max-width: 100%;
    width: 600px;
    left: 0;
    right:0;
    margin:auto;
}

/* Custom li-styles for Bullets */

/* Style for airplane bullets */
ul.custom-list.airplane li::before {
    content: '✈️';
    margin-right: 10px;	
}

/* Style for train bullets */
ul.custom-list.train li::before {
    content: '🚂';
    margin-right: 10px;
	font-family: Arial;
	color: AliceBlue;
    line-height: 1.3em;
    text-align: left;
    width: 90%;
    font-size: 1.4em;
    padding-bottom: 10px;
    margin-left: 2em;
}

/* Style for sun bullets */
ul.custom-list.sun li::before {
    content: '☀️';
    margin-right: 10px;
	margin-right: 10px;
	font-family: Arial;
	color: AliceBlue;
    line-height: 1.3em;
    text-align: left;
    width: 90%;
    font-size: 1.4em;
    padding-bottom: 10px;
    margin-left: 2em;
}

/* Style for cloud bullets */
ul.custom-list.cloud li::before {
    content: '☁️';
    margin-right: 10px;
}