/* Canvas */
.webinar-canvas, .webinar-canvas div {
	display: flex;
	flex-direction: column;
}

.webinar-canvas {
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  position: relative;
  background-color: var(--background2, #f0f0f0);
  overflow-x: hidden;
  box-sizing: border-box;
  background: black;
}

/* Settings Cog */
.webinar-settings-cog {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #333;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

/* Flyout Menu */
.webinar-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: #333;
  color: #fff;
  padding: 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.webinar-menu.hidden {
  transform: translateX(100%);
}

.webinar-menu h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.webinar-menu-close {
  background: none;
  color: #fff;
  font-size: 16px;
  margin-bottom: 30px;
  cursor: pointer;
  border: 2px white solid;
}

/* Main menu content */
.webinar-menu-content {
  /* This is the container for the main menu items */
  gap:20px;
}

.webinar-menu-container {
	position: relative;
}

.webinar-menu-item {
  margin-bottom: 15px;
  gap:7px;
}

/* The help icon next to each label */
.webinar-help-icon {
  display: inline-block;
  margin-left: 5px;
  border-radius: 50%;
  background: #888;
  color: #fff;
  width: 16px;
  height: 16px;
  font-size: 12px;
  text-align: center;
  line-height: 16px;
  cursor: pointer;
}

.webinar-menu-seperator {
	border: 1px solid white;
	height: 0px;
}

/* Submenus (one level deep). We'll layer them on top. */
.webinar-submenu {
  position: absolute;
  width: 100%;
  background-color: #444;
  padding: 10px;
  overflow-y: auto;
  transition: opacity 0.3s ease;
  gap: 20px;
}

/* Hidden submenus are simply display: none */
.webinar-submenu.hidden {
  display: none;
}

.webinar-canvas button, .webinar-canvas select, .webinar-canvas input {
	padding: 10px 5px;
	border-radius:5px;
	cursor: pointer;
}

.webinar-canvas input[type=number] {
	padding: 0 0 0 10px;
	line-height: 40px;
}

.webinar-canvas input[type=color] {
	padding: 0;
	width: 100%;
	border: 0;
}


/* apps styling  */

#webinar-canvas .app-container {
	flex-grow: 2;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: stretch;
}

.app {
	background-color: #111;
	color: white;
	border: 2px solid white;
    border-radius: 10px;
    padding: 18px;
    font-size: 25px;
    text-align: center;
    color: white;
	flex-grow:2;
	cursor: pointer;
}

.app .stopwatch-button-row {
	flex-direction: row;
}

.app .stopwatch-button-row button {
	flex-grow: 2;
}


.app .app-title {
	font-size: 50px;
}

.app .on-air-text, .app .stopwatch-time, .app .clock-time {
	flex-grow:2;
	font-size: clamp(12px, 15vw, 14vh);
}


.app .stopwatch-time, .app .clock-time {
	font-family: monospace;
}

