* {
	box-sizing: border-box;
}

body {
	font-size: 1em;
	margin: 0;
	padding: 0;
	font-family: "Montserrat", sans-serif;
	background-color: #dadada;
	color: #3f3f3f;
}

body > p {
	width: fit-content;
	height: fit-content;
	margin-inline: auto;
	font-size: 0.8em;
}

.header {
	background-color: #ffffff;
	height: 8vh;
	box-shadow: 2px 2px 2px #a3a3a3;
	z-index: 1;
}

.header>.logo-container {
	align-items: center;
	margin: 0px;
}

.header>.logo-container>p {
	font-size: 12px;
	margin: 0px;
	padding: 0px 0px 0px 20px;
}

.header>.logo-container>.logo-img {
	width: 60px;
	height: 60px;
	margin-right: 15px;
}

.header>.logo-container>.logo-text {
	font-size: 26px;
	font-weight: 700;
	margin: 0px;
	padding: 12px 0px 0px 20px;
}

.header>.logo-container>.logo-text>.logo-highlight {
	color: #65a9e5;
}

.interface {
	display: flex;
}

.terms-overlay {
	height: 100vh;
	width: 100vw;
	background-color: rgb(0, 0, 0, 0.6);
	z-index: 999;
	position: absolute;
	margin: auto;
	align-items: center;
	padding-top: 20vh;
}

.interface>.video-container {
	padding: 8px 0 0 0;
	width: 30vw;
	height: 92vh;
	position: relative;
	background-color: #d3d3d3;
	z-index: -10;
}

.interface>.chat-container {
	width: 70vw;
	height: 70vh;
}

.interface>.chat-container.text {
	width: 100vw;
	height: 70vh;
}

.interface>.chat-container>.chatlog {
	width: calc(70vw - 2px);
	height: 82vh;
	border-left: 1px solid #a0a0a0;
	margin: 0px;
	overflow-x: hidden;
	overflow-y: scroll;
	background-color: #ffffff;
}

.interface>.chat-container.text>.chatlog {
	width: calc(100vw - 20px);
	margin: 10px 10px 0px 10px;
	border-right: 1px solid #a0a0a0;
	border-top: 1px solid #a0a0a0;
}

.interface>.chat-container.text>.input {
	width: 100vw;
}

.interface>.chat-container>.input {
	background-color: #d3d3d3;
	position: fixed;
	width: 70vw;
	height: 10vh;
	bottom: 0;
	display: flex;
	border-top: 1px solid #a0a0a0;
}

.interface>.chat-container>.chatlog {
	margin: 0px;
	overflow-x: hidden;
	overflow-y: scroll;
}

.interface>.chat-container>.chatlog>p {
	margin: 0px 3px 3px 8px;
	padding: 0px;
}

.interface>.chat-container>.chatlog>p>.strangerLabel {
	color: #ff4949;
	font-weight: bold;
}

.interface>.chat-container>.chatlog>p>.youLabel {
	color: #1000a5;
	font-weight: bold;
}

/*.interface > .chat-container > .chatlog > p > .you, .interface > .chat-container > .chatlog > .system-message:last-of-type {
     color: blue;
     font-weight: bold;
}
*/
.interface>.chat-container>.chatlog>.system-message {
	color: rgb(102, 102, 102);
	font-weight: bold;
}

.interface>.chat-container>.chatlog>.system-message.error {
	color: rgb(226, 0, 0);
	font-weight: bold;
}

.interface>.chat-container>.chatlog>.system-message:first-of-type {
	margin-top: 8px;
}

.interface>.chat-container.text>.input>textarea {
	width: calc(100vw - 232px);
}

.interface>.chat-container>.input>textarea {
	margin-top: 8px;
	margin-left: 8px;
	width: calc(70vw - 232px);
	height: 75%;
	font-size: 1.2em;
}

.interface>.chat-container>.input>.button,
.text-container>.button,
.terms-overlay>.text-container>.button-container>.button,
body>.button.report {
	height: 75%;
	width: 100px;
	margin: 8px 0px 0px 8px;
	border: 1px solid #7ac9fd;
	background-image: linear-gradient(#2aaaff, #5fbfff);
	color: #fff;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	align-content: center;
}

.interface>.chat-container>.input>.button:hover,
.text-container.buttons>.button:hover,
.terms-overlay>.text-container>.button-container>.button:hover {
	background-image: linear-gradient(#1e7dbd, #5fbfff);
}

.terms-overlay>.text-container {
	width: fit-content;
	height: fit-content;
	margin-inline: auto;
}

.terms-overlay>.text-container>.button-container {
	display: flex;
	align-items: center;
	padding-left: 6vw;
}

.terms-overlay>.button,
body>.button.report {
	height: 40px;
}

.container>.text-container {
	width: 50vw;
	min-width: 599px;
	margin: 10px;
	padding: 10px;
	margin-inline: auto;
	border: solid 0px 1px 1px 1px;
	border-color: 000;
	background-color: #fff;
	box-shadow: 2px 2px 2px #a3a3a3;
}

body>.button.report {
	position: absolute;
	right: 10px;
	top: 4px;
	background-image: linear-gradient(rgba(255, 0, 0, 0.25), rgba(155, 0, 0, 0.25));
	color: rgba(255, 0, 0, 0.25);
	border: solid 1px;
	border-color: #131313;
	z-index: 1000;
}

body>.button.report:hover {
	background-image: linear-gradient(rgba(255, 0, 0, 0.8), rgba(155, 0, 0, 0.8));
	color: rgba(255, 255, 255, 0.9);
	border-color: #ff0000;
	cursor: pointer;
}

body>.button.report.disabled {
	display: none;
}

.container>.text-container.agreements {
	width: fit-content;
}

.text-container>.button,
.terms-overlay > .text-container>.button-container>.button {
	height: 60px;
	margin: 8px 8px 0px 8px;
}

.container>.text-container.buttons {
	min-width: 20px;
	margin-inline: auto;
	padding: 0px;
	padding-bottom: 8px;
	display: grid;
	grid-template-columns: 50% 50%;
	width: fit-content;
}
	.terms-overlay>.text-container {
		background-color: #2e2e2e;
		padding: 10px;
		color: #c7c7c7;
	}
	.terms-overlay>.text-container>.button-container>.button {
		margin: 10px 30px 10px 0px;
	}
	.terms-overlay>.text-container>input {
		margin: 5px;
	}

.subtext {
	font-size: 0.7em;
	font-weight: normal;
}

.text-container>h1,
.text-container>h2,
.text-container>h3 {
	margin-top: 0px;
}

.interface>.chat-container>.input>.button:hover,
.text-container>.button:hover,
.terms-overlay>.text-container>.button:hover {
	background-image: linear-gradient(#5abcfd, #98d6ff);
	cursor: pointer;
}

.interface>.chat-container>.input>.disabled,
.interface>.chat-container>.input>.disabled:hover,
.text-container.buttons>.button.disabled,
.terms-overlay>.text-container>.button-container>.button.disabled {
	background-color: #b6b6b6;
	color: rgb(139, 139, 139);
	border-color: #999898;
	background-image: none;
	cursor: not-allowed;
}

.remote-video {
	width: 100%;
	height: 37vh;
	background-image: linear-gradient(#272727, #3f3f3f);
	margin-bottom: 5px;
}

.local-video {
	width: 100%;
	height: 37vh;
	background-image: linear-gradient(#272727, #3f3f3f);
}
a:link,a:visited {
		color: #000000;
		font-style: underline;
}
/* Phones */
/*@media only screen and (max-width: 750px) {*/
@media (orientation: portrait) {
	body {
		font-size: 0.9em;
	}

	.container>.text-container {
		width: 90vw;
		min-width: unset;
	}

	.header>.logo-container>p {
		display: none;
	}

	.header {
		height: 3.2vh;
		min-height: 25px;
	}

	.header>.logo-container>.logo-text {
		font-size: 20px;
		font-weight: 700;
		margin: 0px;
		padding: 2px 0px 0px 4px;
	}

	.interface>.video-container {
		padding: 0px 0 0 0;
		width: 100vw;
		height: fit-content;
	}

	.interface>.chat-container>.chatlog {
		width: 100vw;
		height: 35vh;
	}

	.interface>.chat-container.text>.chatlog {
		height: 93vh;
	}

	.interface>.chat-container.text {
		width: 100vw;
		height: unset;
	}

	.interface>.chat-container {
		width: 100vw;
		height: fit-content;
	}

	.interface {
		display: unset;
	}

	.remote-video {
		height: 35vh;
		background-image: linear-gradient(#272727, #3f3f3f);
		margin-bottom: 2px;
		margin-top: 0px;
	}

	.local-video {
		height: 20vh;
		background-image: linear-gradient(#272727, #3f3f3f);
	}

	.interface>.chat-container>.input {
		position: fixed;
		width: 100vw;
		height: 10vh;
		bottom: 0;
		display: flex;
	}

	.interface>.chat-container>.input>.button {
		height: 75%;
		width: 100px;
		min-width: fit-content;
		margin: 8px 0px 0px 8px;
	}

	.interface>.chat-container>.input>textarea {
		margin-top: 8px;
		margin-left: 8px;
		width: calc(100vw - 232px);
		height: 71%;
	}

	.terms-overlay {
		padding-top: 30%;
		padding-left: 10%;
	}

	.terms-overlay>input {
		margin-bottom: 30px;
	}
}

@media only screen and (max-height: 750px) {
	.header {
		height: 5.5vh;
		min-height: 38px;
	}

	.header>.logo-container>.logo-text {
		margin: 5px;
		padding: 4px 0px 0px 4px;
	}

	.header>.logo-container {
		display: flex;
	}

	.header>.logo-container>p {
		font-size: 0.8em;
		margin: 0px;
		padding: 13px 0px 0px 5px;
	}
}

@media (prefers-color-scheme: dark) {
	.header {
		background-color: #2e2e2e;
		box-shadow: 2px 2px 2px #181818;
	}

	body {
		background-color: #141414;
		color: #b8b8b8;
	}

	.interface>.video-container {
		background-color: #2e2e2e;
	}

	.interface>.chat-container>.chatlog {
		border-left: 1px solid #000;
		background-color: #3d3d3d;
		z-index: -11;
	}

	.interface>.chat-container>.input {
		background-color: #2e2e2e;
		border-top: 1px solid #000;
	}
	.terms-overlay>.text-container {
		background-color: #2e2e2e;
		padding: 10px;
	}
	.terms-overlay>.text-container>.button-container>.button {
		margin: 10px 30px 10px 0px;
	}
	.terms-overlay>.text-container>input {
		margin: 5px;
	}
	.interface>.chat-container>.input>.button,
	.text-container>.button,
	.terms-overlay>.button {
		border: 1px solid #548baf;
		background-image: linear-gradient(#1a6aa0, #264e68);
		color: #c7c7c7;
	}

	.interface>.chat-container>.input>textarea {
		background-color: #272727;
		border: 1px solid #131313;
		color: #777777;
	}

	.interface>.chat-container>.input>.button.disabled,
	.interface>.chat-container>.input>.button.disabled:hover,
	.text-container>.button.disabled,
	.text-container>.button.disabled:hover {
		background-color: #575757;
		color: #868686;
		border-color: #646464;
		background-image: none;
		cursor: not-allowed;
	}

	.container>.text-container {
		border: solid 0px 1px 1px 1px;
		border-color: 000;
		background-color: #4e4e4e;
		box-shadow: unset;
	}

	.interface>.chat-container>.chatlog>.system-message {
		color: #949393;
		font-weight: bold;
	}

	.interface>.chat-container>.input>.button:hover,
	.text-container>.button:hover {
		background-image: linear-gradient(#135079, #183244);
		cursor: pointer;
	}

	.interface>.chat-container>.chatlog>.system-message.error {
		color: #bd0000;
		font-weight: bold;
	}

	.interface>.chat-container>.chatlog>p>.youLabel {
		color: #1500cf;
		font-weight: bold;
	}

	.interface>.chat-container.text>.chatlog {
		border-right: 1px solid #696969;
		border-top: 1px solid #696969;
		border-left: 1px solid #696969;
	}

	a:link,a:visited {
		color: #fff;
		font-style: underline;
	}
}

@media (orientation: portrait) {
	.local-video {
		position: absolute;
		width: 23%;
		height: 35%;
		top: 10px;
		left: 10px;
		background: unset;
	}

	.interface>.chat-container>.chatlog {
		height: calc(51vh + 2px);
	}
}

.logo-container:hover {
	cursor: pointer;
}