@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;400;700&display=swap');

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: #8f54a0 #000000;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 12px;
  }

  *::-webkit-scrollbar-track {
    background: #00000000;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #88888888;
    border-radius: 10px;
  }

html, body { margin:0; padding:0; width:100%; height:100%; overflow:hidden; }

body.dark {
	background-image: #000 url(https://cdn.midjourney.com/1f62faab-34f9-4732-8515-fb9b7d747be3/grid_0.png);
	backdrop-filter:blur(24px);
	-webkit-backdrop-filter: blur(24px);
	-moz-backdrop-filter: blur(24px);
	-ms-backdrop-filter: blur(24px);
	background-size: cover !important;
}

body {
	background-size: cover !important;
}

body.dark, body.dark * {
	color:#fff;
}

body.dark .continput #input1 {
	color: #fff !important;
}

body.dark .awn-toast.awn-toast-info .awn-toast-wrapper{
    background-color: #0008;
}

body.dark .swal-button--cancel {
    color: #555 !important;
}

body.dark .stats {
	background: #0008 !important;
	border: none;
}

body.dark .swal-modal {
	background-color: #0008;
}

body.dark a {
	color:#fff !important;
	text-decoration: underline;
}
body.dark .infos {
    background: linear-gradient(270deg, #000d, #0006);
}

textarea:focus, input:focus{
	outline: none;
}

body.dark #clientMessage {
	margin: 12px 0 0 5px;
}

body.dark #selfclientMessage {
	margin: 12px 0 0 5px;
}

.selfclientMessage {
    text-align: right;
    font-weight: 700;
    backdrop-filter: blur(13px);
}
.selfclientMessage .ping {
    border: 2px solid #fff;
}

body.dark .swal2-popup {
	background: #0008;
}
body.dark #returnstr .ping {
    display: inline-block;
	box-shadow:#0007 0 0 7px !important;
	padding: 12px 14px;
	background: #0008;
	text-align: initial;
	backdrop-filter:blur(30px);
	margin: 4px 0 0 -7px;
	overflow-wrap: anywhere;
	border-radius: 8px;
    font-size: 14px;
}
body.dark #returnstr strong {
	clear: both;
	width: 100%;
	display: block;
}

.channel:hover {
    transform: translateY(-5px);
}

.channel {
	transition: transform 250ms;
}


.loading {
    display: flex;
	position: relative;
    z-index: 9999;
    justify-content: center;
    width: 100%;
    height: 100%;
    align-items: center;
	background: rgba(0,0,0,0.5);
}

.typing {
	align-items: center;
	display: flex;
	height: 17px;
  }
  .typing .dot {
	animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
	background-color: #ffffff ;
	border-radius: 50%;
	height: 7px;
	margin-right: 4px;
	vertical-align: middle;
	width: 7px;
	display: inline-block;
  }
  .typing .dot:nth-child(1) {
	animation-delay: 100ms;
  }
  .typing .dot:nth-child(2) {
	animation-delay: 200ms;
  }
  .typing .dot:nth-child(3) {
	animation-delay: 300ms;
  }
  .typing .dot:last-child {
	margin-right: 0;
  }

  @keyframes mercuryTypingAnimation {
	0% {
	  transform: translateY(0px);
	  background-color:white;
	}
	28% {
	  transform: translateY(-7px);
	  background-color:white;
	}
	44% {
	  transform: translateY(0px);
	  background-color: white;
	}
  }


html,
p {
	font-size: 14px;
	color: black;
}

:root {
	--main-bg-color: #fff;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Raleway", sans-serif;
	background: #eee;
	overflow: hidden;
}

video {
	margin: 0;
	padding: 0;
	height: auto;
}

#cmdresult {
    bottom: 68px;
    position: fixed;
    padding: 5px;
    z-index: 1500;
    background: #0008;
	width: 100%;
    backdrop-filter: blur(11px);
}

#cmdresult {
	display: none;
	list-style-type: none;
	padding: 0;
}

#cmdresult li {
	cursor: pointer;
	padding: 4px;
}

#cmdresult li.selected {
	background-color: #f0f0f0;
}

@keyframes fadein {
	from {
		transform: translatey(20px);
		opacity: 0%;
	}
	to {
		transform: translatey(0px);
		opacity: 100%;
	}
}

@keyframes fadeout {
	from {
		transform: translatey(0px);
		opacity: 100%;
	}
	to {
		transform: translatey(20px);
		opacity: 0%;
	}
}

.w3-light-grey, .w3-hover-light-grey:hover, .w3-light-gray, .w3-hover-light-gray:hover {
	color: #000!important;
	background-color: #f1f1f1!important;
}

.w3-green, .w3-hover-green:hover {
	color: #fff!important;
	background-color: #4CAF50!important;
}
.w3-center {
	text-align: center!important;
}
.w3-container, .w3-panel {
	padding: 0.01em 16px;
}

#container {
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	height: calc(100vh - 128px);
	width: calc(100vw - 240px);
	overflow: auto;
}

.allthings {
	display: flex;
	flex-direction: row;
}

#returnstr {
	padding: 21px 25px;
	font-size: 13px;
	overflow: hidden;
}

#returnstr .pong {
	text-transform: uppercase;
}

#returnstr .ping {
	background: var(--main-bg-color);
	box-shadow: #0003 0 0 3px;
	padding: 9px 11px 6px 9px;
	margin: 2px -10px 9px 0;
	border-radius: 6px;
	font-size: 19px;
	width: max-content;
	text-transform: none;
	overflow-wrap: break-word;
	max-width: 80%;
	align-items: center;
}

#returnstr .ping img {
	max-width: 100%;
}

#isTyping {
	position: absolute;
	margin: 0;
	height: px;
	width: 200px;
	padding: 2px 2px;
	border-radius: 12px;
	left: 4px;
	bottom: -50px;
	margin-top: 10px;
	padding-bottom: 20px;
	right: 4px;
}

#returnstr h1 {
	padding: 5px 10px;
	margin: 2px -10px 9px;
	font-size: 30px;
	font-weight: 700;
	text-transform: none;
}

#returnstr a {
	color: red;
	text-decoration: none;
	font-weight: bold;
}

#returnstr a:hover {
	color: red;
	text-decoration: none;
	font-weight: bold;
}

#returnstr h2 {
	background: var(--main-bg-color);
	box-shadow: #0003 0 0 3px;
	padding: 5px 10px;
	margin: 2px -10px 9px;
	border-radius: 12px;
	font-size: 24px;
	font-weight: 700;
	text-transform: none;
}

.changebg {
    display: flex;
    align-items: center;
    font-size: 30px;
    justify-content: center;
}

#returnstr h3 {
	background: var(--main-bg-color);
	box-shadow: #0003 0 0 3px;
	padding: 5px 10px;
	margin: 2px -10px 9px;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 700;
	text-transform: none;
}

#returnstr h4 {
	background: var(--main-bg-color);
	box-shadow: #0003 0 0 3px;
	padding: 5px 10px;
	margin: 2px -10px 9px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
}

#returnstr h5 {
	background: var(--main-bg-color);
	box-shadow: #0003 0 0 3px;
	padding: 5px 10px;
	margin: 2px -10px 9px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	text-transform: none;
}

#returnstr h6 {
	background: var(--main-bg-color);
	box-shadow: #0003 0 0 3px;
	padding: 5px 10px;
	margin: 2px -10px 9px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 700;
	text-transform: none;
}

.bigcont {
	padding: 14px;
}

.infos {
	position: absolute;
	top: 59.5px;
	right: 0;
	height: calc(100vh - 60px);
	background: var(--main-bg-color);
	color: #888;
	padding: 17px 20px;
	width: 200px;
	font-size: 17px;
}

b,
strong {
	font-weight: 700;
}

.stats {
	display: flex;
	position: fixed;
	flex-direction: row;
	background: var(--main-bg-color);
	gap: 1.5em;
	top: 0;
	left: 0;
	width: 100%;
	height: 59px;
	margin: 0;
	border-bottom: 1px solid #ccc;
	box-shadow: #000 0 0 2px, #0005 0 0 15px; 
	z-index: 42;
}

.substats {
	display: flex;
	flex-direction: column;
	align-items: center;
    justify-content: center;
	max-width: 400px;
	overflow: hidden;
}

#returnhome {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	font-size: 28px;
}

#listnum {
	margin-bottom: 30px;
	font-size: 15px;
	padding: 0 20px;
}

#listnum strong {
	color: black !important;
}

#notdisturb {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

#leaveroom {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

#darkmod {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	font-size: 35px;
}

.noselect {
-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
		-ms-user-select: none; /* Internet Explorer/Edge */
			user-select: none; /* Non-prefixed version, currently
								supported by Chrome, Edge, Opera and Firefox */
}

#home {
	font-size: 30px !important;
	margin-right: 20px;
}

#channel {
	overflow: hidden;
	margin-right: 15px;
}

#radiosound {
	font-size: 30px;
}

#leaveroombutton {
	font-size: 30px;
}

#listclients {
	cursor: pointer;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: "..." "...";
	width: 100%
}
#list {
	display: flex;
	flex-direction: column;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: "..." "...";
	width: 100%;
}

.senditems {
	display: flex;
	flex-direction: row;
	gap: 1.7em;
}

.swal2-popup {
	width: auto !important;
}

.continput {
	display: flex;
	flex-direction: row;
	position: fixed;
	-webkit-backface-visibility: hidden;
	z-index: 24;
	top: calc(100vh - 68px);
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--main-bg-color);
	box-shadow: #0005 0 0 5px;
}

.continput #input1 {
	width: 100%;
	max-width: 80%;
	font-family: "Raleway", sans-serif;
	padding: 23px 14px 2px 64px;
	border: 0;
	background: transparent;
	color: #000;
	font-size: 20px;
}

.continput #startvocal {
	cursor: pointer;
	background: transparent;
	border: 0;
	width: auto;
	z-index: 24;
	font-size: 32px;
	font-weight: 300;
}

.continput #sendmsg {
	cursor: pointer;
	background: transparent;
	border: 0;
	width: auto;
	z-index: 24;
	font-size: 32px;
	font-weight: 300;
}

.deletegroup {
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.dot_offline {
	height: 12px;
	width: 12px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
}

.dot_online {
	height: 12px;
	width: 12px;
	background-color: rgb(6, 176, 0);
	border-radius: 50%;
	display: inline-block;
}

.dot_sleeping {
	height: 12px;
    width: 12px;
    background-color: rgb(255 200 12);
    border-radius: 50%;
    display: inline-block;
}

.continput #inputemoji {
	cursor: pointer;
	background: transparent;
	border: 0;
	position: absolute;
	left: 4px;
	bottom: 2px;
	height: 60px;
	width: auto;
	z-index: 24;
	font-size: 32px;
	font-weight: 300;
}

.continput #choosefile {
	cursor: pointer;
	background: transparent;
	border: 0;
	width: auto;
	z-index: 24;
	font-size: 32px;
	font-weight: 300;
}

.clientMessage {
	animation: fadein 0.5s forwards;
	opacity: 0;
}

.selfclientMessage {
	animation: fadein 0.5s forwards;
	opacity: 0;
}

p {
	margin:5px 0;
}

#serverMessage {
	display: flex;
	background: rgb(251, 181, 181);
	box-shadow: #0003 0 0 3px;
	padding: 9px 7px 9px 9px;
	margin: 2px -10px 9px 0;
	border-radius: 12px;
	font-size: 19px;
	width: auto;
	text-transform: none;
	overflow-wrap: break-word;
	align-items: center;
	justify-content: center;
	left: auto;
	right: auto;
	animation: fadein 1s forwards;
	opacity: 0;
}

.listmemberclass {
	display: none;
}

.continput #downloadState {
	position: absolute;
}

.imgSend {
	width: auto !important;
	height: 200px !important;
}

.videosend {
	width: auto;
	height: 200px;
}

#chan {
	text-transform: uppercase;
	font-weight: 800;
	font-size: 20px;
	padding: 15px;
	overflow: hidden;
}

@supports (-webkit-touch-callout: none) {
	/* CSS specific to iOS devices */ 

	#returnstr {
		padding: 80px 25px 25px 25px !important;
	}

}
  

@media only screen and (max-width: 600px){

	.senditems {
		display: flex;
		gap: 0;
	}

	.senditems > * {
		margin: 10px;
		padding: 0;
	}

	#listmember {
		display: block;
	}

	.listmemberclass {
		position: relative;
		top: 13px;
	}

	#listclientsbutton {
		font-size: 30px;
	}

	.continput {
		position: sticky !important;
	}

	.infos {
		display: none;
		position: absolute;
		top: 57px;
		background-color: #f9f9f9;
		box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
		padding: 12px 16px;
		width: 210px;
		height: 40%;
		z-index: 1;
	}

	.membershow:focus .infos {
		display: block;
	}

	#container {
		width: 100vw;
		height: 85%;
		overflow: auto;
	}

	.continput #input1 {
		position: sticky;
		width: 100%;
		max-width: 100%;
		font-family: "Raleway", sans-serif;
		padding: 18px 14px 6px 9px;
		border: 0;
		background: transparent;
		color: #000;
		font-size: 20px;
	}

	.continput #choosefile {
		background: transparent;
		border: 0;
		width: auto;
		z-index: 24;
		font-size: 32px;
		font-weight: 300;
	}


	.continput #inputemoji {
		display: none;
	}
}


pre {
    font-size: 13px;
    line-height: 16px;
    overflow: scroll;
    padding: 2px 0 0 6px;
}
ol, li {
    font-size: 14px;
}
