* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Background */
body {
  background-image: url("../../static/img/background.jpg");
  background-size: cover;
}

/* Header */
header {
  padding-top: 1.5vh;
  padding-bottom: 1.5vh;
  background-color: #263340;
  display: flex;
  justify-content: space-evenly;
}

#left {
  width: 30vw;
  padding-left: 15px;
  padding-right: 15px;
}

#right {
  width: 45vw;
  padding-left: 15px;
  padding-right: 15px;
}

#title {
  height: 4vh;
  text-align: left;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  vertical-align: middle;
}

#title img {
  height: 5.5vh;
}

#titleH {
  vertical-align: middle;
  height: fit-content;
  width: fit-content;
  font-size: 1.75vw;
  margin-left: 10px;
  color: #fff;
}

/* Content */
#container {
  display: flex;
  justify-content: space-evenly;
  height: 93vh;
}

#iContent {
  width: 80vw;
  height: 80vh;
  margin-top: 6vh;
  border: solid 5px #263340;
  border-radius: 15px;
  padding: 15px;
  background-color: #dde6ed;
  /* box-shadow: 0 0 15px 2px #27374D; */
}

#iSlideshow {
  height: 65vh;
}

#iSponsoren {
  height: 15vh;
}

/* Table */
.table {
  margin: auto;
  margin-top: 1vh;
  text-align: center;
  table-layout: fixed;
  width: 98%;
}

.table thead {
  background: #263340;
}

.table thead > tr > th {
  border-radius: 5px;
  padding: 1vh;
  font-size: 1.75vh;
  color: white;
}

thead > tr {
  overflow-wrap: break-word;
}

.table tbody > tr > td,
th {
  padding: 0.5vh;
}

tbody > tr {
  margin-bottom: 1vh;
}

tbody > tr > th {
  background-color: #263340;
  border-radius: 5px;
  color: white;
}

tbody > th,
td {
  border: none;
  vertical-align: middle;
  color: #263340;
  font-weight: bold;
}

.table tbody > tr > td,
th {
  height: 2.7vh;
  line-height: 2.7vh;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.5vh;
}

/* Slides */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.slide {
  display: none;
  height: 65vh;
}

/* Belegungsslide */
.titleH4 {
  text-align: center;
  font-size: 2.25vh;
  color: #263340;
}

.free {
  background: rgba(0, 255, 33, 0.7);
  /*background-color: rgb(172, 243, 172);
    color: rgb(0, 61, 28);*/
}

.booked {
  background: rgba(207, 0, 14, 0.8);
  /*background-color: lightgray;
    color: rgb(67, 67, 67);*/
}

.past {
  background-color: rgba(0, 0, 0, 0.15);
}

/* Spiele */

/* divider */
.divider {
  height: 100%;
  display: flex;
  justify-content: space-around;
}

.left,
.right {
  height: 95%;
  width: 47.5%;
  /* border: solid 5px #263340;
  border-radius: 15px;
  border-top: none;
  border-top-right-radius: 0;
  border-top-left-radius: 0; */
}

.datumErg > th {
  background-color: transparent;
  color: #263340;
  border-bottom: solid 2px #263340;
  border-radius: 0;
}

/* Informationslide */

/* News */
#iNews {
  width: 85%;
  height: 65vh;
  margin: auto;
  overflow: hidden;
}

#iNews > h1 {
  margin-top: 3vh;
  width: 100%;
  text-align: center;
  font-size: 3vh;
  color: #263340;
}

#iNews > h2 {
  width: 100%;
  text-align: center;
  font-size: 2.5vh;
  color: #263340;
  margin-top: 5vh;
}

#iNews > p {
  padding-top: 1vh;
  width: 100%;
  text-align: center;
  font-size: 2vh;
  color: #263340;
  overflow-wrap: break-word;
}

/* Vorstand */
#iVorstand > h1 {
  /* margin-top: 3vh; */
  padding-top: 3vh;
  width: 100%;
  text-align: center;
  font-size: 4vh;
  color: #263340;
}

#iVorstand {
  height: 100%;
}

#iVorstand > div {
  margin-top: 7vh;
  display: flex;
  justify-content: space-evenly;
  /* height: 70%; */
}

#iVorstandImage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  border-radius: 10px;
  padding: 15px;
}

#iVorstandImage > img {
  max-width: 100%;
  max-height: 20vw;
  border-radius: 5px;
}

/* Abstand oberhalb des Textes unter dem Vorstandsbild */
#iVorstandImage > p {
  margin-top: 0.5vw;
}

/* Einheitliche Schrift und Abstand für Vorstandstexte (außer Name/Überschrift) */
#iVorstandImage > p,
.vorstandP > h3,
.vorstandP > h4 {
  font-size: 1vw;
  color: #263340;
  margin-bottom: 0.3vw;
  font-weight: normal;
}

/* Name (h2) — einheitliche Regel: hervorgehoben, größer, kleiner Abstand darunter */
.vorstandP > h2 {
  font-size: 1.3vw;
  color: #263340; /* hervorgehobenes Rot */
  font-weight: bold;
  margin-bottom: 0.3vw; /* kleiner Abstand unterhalb von h2 */
}
#iVorstand > h1 {
  font-size: 4vh;
  color: #263340;
  font-weight: bold;
}

#iVorstandInfo {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

#VorstandInfo > p {
  text-align: center;
  color: #263340;
}

.vorstandP {
  width: 85%;
  margin-bottom: 3vh;
}

.vorstandP > h2 {
  font-size: 1.3vw;
  color: #263340;
  font-weight: bold;
  margin-bottom: 0.3vw; /* kleiner Abstand unterhalb von h2 */
}

/* Sponsoren */
.sponsorSlide {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.sponsorSlide > img {
  max-width: 20vw;
  max-height: 100%;
  border-radius: 5px;
}

.result td {
    font-weight: normal; /* oder 400 */
}
