/* General styles */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  box-sizing: border-box; /* Ensure all elements include padding and border in their width and height */
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Remove vertical scrollbar */
}

.custom-header {
  background-color: transparent !important;
  border-bottom: none !important;
  position: relative !important;
}

.custom-header .header-icons {
  display: flex !important;
  justify-content: flex-end !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  padding: 10px 20px !important;
  width: auto !important;
}

/* Link kopiert melding */
.feedback-message {
  position: fixed;
  top: 100px;
  right: 50px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #000;
  border-radius: 5px;
  font-size: 1rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.feedback-message.visible {
  opacity: 1;
  visibility: visible;
}


.sidebar {
  position: fixed;
  top: 0;
  left: -15%;
  width: 15%;
  height: 100vh;
  background-color: #fff;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 1000;
  border-right: 1px solid #eee;
}

.show-sidebar-button {
  position: fixed;
  top: 10px;
  left: 0px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #eee;
  display: block;
}

.hide-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

#searchInput {
  width: 90%;
  padding: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  border: none;
  border-bottom: 1px solid #eee;
  outline: none;
}

.image-list {
  padding: 10px;
}

.image-list img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.main-content {
  display: flex;
  background-color: #fafafa;
  height: 100vh; /* Full viewport height to ensure the right content area takes the available height */
}

.schedule {
  position: fixed;
  top: 0;
  left: 15%;
  width: 26%;
  height: 100vh;
  overflow-y: auto;
  padding: 20px;
  border-left: 1px solid #eee;
  background-color: #fff;
}

.resize-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: row;
}

.resize-buttons button {
  background-color: #fafafa;
  border: none;
  color: #aaa;
  padding: 2px;
  margin-right: 15px;
  cursor: pointer;
  font-size: 1.2em;
  border-radius: 5px;
  width: 35px;
  height: 35px;
}

.resize-buttons button:focus {
  outline: none;
}

.resize-buttons button:active {
  background-color: #fafafa;
}

.resize-buttons button:last-child {
  margin-right: 0;
}

.schedule::-webkit-scrollbar {
  width: 8px;
}

.schedule::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.schedule::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.schedule::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

.dropzone {
  width: 100%;
  height: 130px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
}

.right-content {
  margin-left: 41%;
  width: 59%;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto; /* Ensure there's only one scrollbar */
}

.date-heading {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  cursor: pointer;
  width: 100%;
}

.section {
  width: 100%; /* Ensure the section takes full width */
  max-width: 100%; /* Remove any max-width to allow full width for video grid */
  margin: 0 auto 50px; /* Center align sections */
}

.section-heading {
  font-weight: 400;
  font-size: 1rem;
  border-bottom: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  text-align: right;
}

.section-content {
  display: block; /* Ensure the section content is displayed */
  width: 100%;
  margin-top: 10px;
}

.text-field {
  width: 100%;
  height: 300px;
  margin-bottom: 50px;
  display: block;
  padding: 1%;
  font-size: 2rem;
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
  border: 1px solid #eee;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
}

.text-field:focus {
  outline: none;
}

/* Ensure the video grid displays videos in one line with horizontal scrolling */
.video-grid {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  flex-wrap: nowrap; /* Prevent wrapping */
  overflow-y: hidden; /* Ensure no vertical scroll in video grid */
  width: 100%; /* Ensure the video grid takes full width */
  white-space: nowrap; /* Ensure the content does not wrap */
}

.video-grid iframe {
  flex: 0 0 auto;
  width: 300px; /* Adjust this width as needed */
  height: 168.75px; /* 16:9 aspect ratio */
}

.video-grid::-webkit-scrollbar {
  height: 5px;
}

.video-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.video-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.video-grid::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

@media (max-width: 1200px) {
  .game, .video-grid .video {
      width: calc(33.33% - 40px);
  }
}

@media (max-width: 992px) {
  .game, .video-grid .video {
      width: calc(50% - 40px);
  }
}

@media (max-width: 576px) {
  .game, .video-grid .video {
      width: calc(100% - 40px);
  }
}
/* General styles */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  box-sizing: border-box; /* Ensure all elements include padding and border in their width and height */
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Remove vertical scrollbar */
}

.custom-header {
  background-color: transparent !important;
  border-bottom: none !important;
  position: relative !important;
}

.custom-header .header-icons {
  display: flex !important;
  justify-content: flex-end !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  padding: 10px 20px !important;
  width: auto !important;
}

/* Link kopiert melding */
.feedback-message {
  position: fixed;
  top: 100px;
  right: 50px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #000;
  border-radius: 5px;
  font-size: 1rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.feedback-message.visible {
  opacity: 1;
  visibility: visible;
}


.sidebar {
  position: fixed;
  top: 0;
  left: -15%;
  width: 15%;
  height: 100vh;
  background-color: #fff;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 1000;
  border-right: 1px solid #eee;
}

.show-sidebar-button {
  position: fixed;
  top: 10px;
  left: 0px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #eee;
  display: block;
}

.hide-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

#searchInput {
  width: 90%;
  padding: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  border: none;
  border-bottom: 1px solid #eee;
  outline: none;
}

.image-list {
  padding: 10px;
}

.image-list img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.main-content {
  display: flex;
  background-color: #fafafa;
  height: 100vh; /* Full viewport height to ensure the right content area takes the available height */
}

.schedule {
  position: fixed;
  top: 0;
  left: 15%;
  width: 26%;
  height: 100vh;
  overflow-y: auto;
  padding: 20px;
  border-left: 1px solid #eee;
  background-color: #fff;
}

.resize-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: row;
}

.resize-buttons button {
  background-color: #fafafa;
  border: none;
  color: #aaa;
  padding: 2px;
  margin-right: 15px;
  cursor: pointer;
  font-size: 1.2em;
  border-radius: 5px;
  width: 35px;
  height: 35px;
}

.resize-buttons button:focus {
  outline: none;
}

.resize-buttons button:active {
  background-color: #fafafa;
}

.resize-buttons button:last-child {
  margin-right: 0;
}

.schedule::-webkit-scrollbar {
  width: 8px;
}

.schedule::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.schedule::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.schedule::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

.dropzone {
  width: 100%;
  height: 130px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
}

.right-content {
  margin-left: 41%;
  width: 59%;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto; /* Ensure there's only one scrollbar */
}

.date-heading {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  cursor: pointer;
  width: 100%;
}

.section {
  width: 100%; /* Ensure the section takes full width */
  max-width: 100%; /* Remove any max-width to allow full width for video grid */
  margin: 0 auto 50px; /* Center align sections */
}

.section-heading {
  font-weight: 400;
  font-size: 1rem;
  border-bottom: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  text-align: right;
}

.section-content {
  display: block; /* Ensure the section content is displayed */
  width: 100%;
  margin-top: 10px;
}

.text-field {
  width: 100%;
  height: 300px;
  margin-bottom: 50px;
  display: block;
  padding: 1%;
  font-size: 2rem;
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
  border: 1px solid #eee;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
}

.text-field:focus {
  outline: none;
}

/* Ensure the video grid displays videos in one line with horizontal scrolling */
.video-grid {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  flex-wrap: nowrap; /* Prevent wrapping */
  overflow-y: hidden; /* Ensure no vertical scroll in video grid */
  width: 100%; /* Ensure the video grid takes full width */
  white-space: nowrap; /* Ensure the content does not wrap */
}

.video-grid iframe {
  flex: 0 0 auto;
  width: 300px; /* Adjust this width as needed */
  height: 168.75px; /* 16:9 aspect ratio */
}

.video-grid::-webkit-scrollbar {
  height: 5px;
}

.video-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.video-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.video-grid::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

@media (max-width: 1200px) {
  .game, .video-grid .video {
      width: calc(33.33% - 40px);
  }
}

@media (max-width: 992px) {
  .game, .video-grid .video {
      width: calc(50% - 40px);
  }
}

@media (max-width: 576px) {
  .game, .video-grid .video {
      width: calc(100% - 40px);
  }
}
