* {font-family: sans-serif;font-size: medium;line-height:1.8;}
.container {
    display: flex;
  }
  h1 {
    margin-top: 4px;
    margin-left: 50px;
    background-color: rgb(176, 193, 247);
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 1%;
    box-shadow: 4% 4% 5%;
    border-radius: 8px;
    font-size: x-large;
    width: 85%; /* Hier wird die Breite des h1-Elements definiert */
  }
  #clock {
    display: flex;
    align-items: center;
    font-size: x-large;
    font-family: Arial;
    color: rgb(0, 0, 0);
  }
  #time {
    padding: 4px;
  } 
body {
    height: 140vh;
    background-image: linear-gradient(rgb(223, 236, 248), rgb(178, 173, 246));
    }
li  {
    padding: 5px;
}
.b1 {
    padding-top: 2px;
    padding-bottom: 2px;
    color: rgb(0, 0, 0);
    background-color: rgb(196, 200, 246);
}
.b2 {
    padding-top: 2px;
    padding-bottom: 2px;
    color: rgb(0, 0, 0);
    background-color: rgb(220, 226, 246);
}
.b3 {
    padding-top: 4px;
    padding-bottom: 4px;
    color: rgb(0, 0, 0);
    background-color: rgb(227, 250, 201);
}
ul {
    text-align: center;
    list-style-type: none;
}
table, th  {
    width: 310px;
    padding: 6px;
    border-collapse: collapse;
    color: rgb(0, 0, 0);
    font-size: small;
}
td  {
    padding: 5px;
    border-collapse: collapse;
    color: rgb(0, 0, 0);
    font-size: small;
}
#t1, #t2, #t3, #t4 {
    padding: 4px;
    }        
.flex-container {
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 120px;
    margin-right: 70px;
    justify-content: space-around;  
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 4fr));
}
.flex-container2 {
    padding: 4px;
}
button {
    background-color: rgb(172, 189, 243);
    margin: 6px;
    border-radius: 8px;
    font-size: medium;
    color: rgb(0, 0, 0);
}
/*****************************
*	Erste waagerechter Ticker
******************************/
.c1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: rgb(181, 195, 239);
    overflow: hidden;
    margin-left: 120px;
    margin-right: 100px;
    border-radius: 8px;
  }
  
  .c1 h2 {
    margin: 0 20px;
    color: #000000;
    font-size: 16px;
    line-height: 44px;
    white-space: nowrap; /* Verhindert, dass der Text automatisch umbrochen wird */
    animation: ticker 15s linear infinite; /* Die Animation definiert die Dauer und den Effekt des Tickers */
  }
  
  @keyframes ticker {
    0% {
      transform: translateX(170%); /* Beginnt mit der vollst ndigen  bersetzung nach links */
    }
    100% {
      transform: translateX(-100%); /* Endet mit der vollst ndigen  bersetzung nach rechts */
    }
  }
@keyframes move-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
    }
/*****************************
*	Der zweite, der untere News-Ticker
******************************/
.ticker-wrapper-v{
    margin-left: 120px;
    margin-right: 110px;
    display: flex;	
    overflow: hidden;
    height: 36px;
    padding: 10px;
}
.ticker-wrapper-v .heading{
	background-color: rgb(137, 161, 238);
	color: rgb(0, 0, 0);
	padding: 5px 10px;
	flex: 0 0 auto;
}
.news-ticker-v{
	display: flex;
	flex-wrap: wrap;
	margin: 30px;
	padding: 0;
	z-index: 999;
    animation: tic-v 16s cubic-bezier(1, 0, .5, 0) infinite;
}
.news-ticker-v li{
	display: flex;
	width: 76%;
	line-height: 30px;
	align-items: center;
	white-space: nowrap;
	padding-left: 10px;
}
.news-ticker-v li a{
    font-size: 19px;
    color: rgb(0, 0, 0);
    text-decoration: none;
}
@keyframes tic-v {
	0%   {margin-top: 0;}
	20%  {margin-top: -44px;}
	40%  {margin-top: -88px;}
	60%  {margin-top: -132px;}
	80%  {margin-top: -176px;}
        100% {margin-top: -220px;}
	130% {margin-top: 0;}
}
@media screen and (min-width: 1000px) {
    .flex-container {
      display: flex; /* Standard-Flexbox-Layout f r Desktop-Ansicht */
      flex-wrap: wrap; /* Flex-Items umbrechen, wenn sie nicht mehr in eine Reihe passen */
      justify-content: space-around; /* Flex-Items gleichm  ig verteilen */
    }
  
    .flex-container .flex-item {
      flex: 1 0 auto; /* Flex-Items gleich gro e Breite geben */
      margin: 10px; /* Abstand zwischen den Flex-Items hinzuf gen */
    }
  }
  @media screen and (max-width: 1000px) and (min-width: 600px) {
    .flex-container {
      display: grid; /* Grid-Layout f r Tablet-Ansicht */
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Spaltenanzahl und Breite anpassen */
    }
  
    .flex-container .flex-item {
      margin: 5px; /* Abstand zwischen den Flex-Items verringern */
    }
  }
  @media screen and (max-width: 600px) {
    .flex-container {
      display: flex; /* Flexbox-Layout f r Mobile-Ansicht */
      flex-direction: column; /* Flex-Items in Spalte statt Reihe anordnen */
    }
  
    .flex-container .flex-item {
      width: 100%; /* Flex-Items die volle Breite des Containers geben */
      margin: 5px 0; /* Abstand zwischen den Flex-Items anpassen */
    }
  }