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

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6em;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Setzt die Mindesthöhe auf die Höhe des Viewports */
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
}

/* Header */
header {
background-color: #0c466c;
  color: #ffffff;
  padding-top: 30px;
  min-height: 70px;
  border-bottom: #e53450 5px solid;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
  width: 80%;
  margin: auto;
  overflow: hidden;
}

header a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
}

header a:hover {
  color: #e53450;
}

header li {
  float: left;
  display: inline;
  padding: 0 10px 0 10px;
}

header #branding {
  float: left;
  flex: 1;
}

header #branding h1 {
  margin-top: 0;
}

header nav {
  float: right;
  display: flex;
}

header nav ul {
  display: flex;
  margin-top: 0;
  padding-left: 0;
}

header .highlight {
  color: #e53450;
}

header .current a {
  color: #e53450;
  border-bottom: 2px #e53450 solid;
}

.logo-container {
  text-align: center;
  color: #0c466c;
}

.logo-container h1{
  margin-top: 100px;
  font-size: 55px;
  margin-bottom: 15px;
}

/* Footer */
footer {
  background-color: #0c466c;
  color: #ffffff;
  padding: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .copyright {
  text-align: left;
}

/* Responsive Video Container */
.video-container,
.chat-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

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

/* Video and Chat Grid */
.video-chat-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Media Queries */
@media (min-width: 768px) {
  .video-container {
    flex: 0 0 calc(100% - 300px); /* 100% minus chat width */
  }
  .chat-container {
    flex: 0 0 300px; /* Chat width */
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  }
}

@media (max-width: 768px) {
  header #branding,
  header nav {
    float: none;
  }

  header li {
    display: block;
    padding: 20px 20px 0px 0px;
  }

  header nav ul {
    flex-direction: row;
  }

  .logo-container h1 {
    font-size: 30px;
    margin-top: 50px;
  }
  
  .chat-container {
    display: none;
    height: 300px; /* Passen Sie die Höhe an die gewünschte Größe an */
    overflow-y: scroll;
    padding-bottom: 150%;
  }

}

/* Toggle Chat Button */
.toggle-chat-btn {
  display: inline-block;
  background-color: #0c466c;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  margin-top: 1rem;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s, color 0.2s;
}

.toggle-chat-btn:hover {
  background-color: #e53450;
  color: #fff;
}

/* Dark Mode */
body.dark-mode {
  background-color: #212121;
  color: #f5f5f5;
}

body.dark-mode .logo-container {
  color: #f5f5f5;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
  display: inline-block;
  background-color: #0c466c;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  margin-top: 1rem;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s, color 0.2s;
}

.dark-mode-toggle:hover {
  background-color: #e53450;
  color: #fff;
}
