@font-face {
	font-family: "Roboto Mono";
	src: url("/dependencies/fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf");
}
@font-face {
	font-family: "Fugaz One";
	src: url("/dependencies/fonts/Fugaz_One/FugazOne-Regular.ttf");
}
@font-face {
	font-family: "Raleway";
	src: url("/dependencies/fonts/Raleway/Raleway-VariableFont_wght.ttf");
}
body {
	margin: 0;
	background-color: #180721;
	font-family: "Raleway", sans-serif;
}
#ec-logo {
	width: 90px;
	height: auto;
	position: absolute;
	top: 20px;
	left: 20px;
	cursor: pointer;
}
#call-positioning {
	margin: 100px auto 0 auto;
	padding: 0;
	min-width: 350px;
	width: 50%;
	position: relative;
}
#call-wrap {
	position: relative;
	margin: 0;
	padding-top: 75%;
	width: 100%;
	height: 0;
}
#preview-wrap {
	position: absolute;
	z-index: 5;
	width: 25%;
	padding-top: 18.75%;
	height: 0;
	bottom: 15px;
	right: 15px;
	display: flex;
	text-align: center;
	overflow: hidden;
	border-radius: 10px;
}
#preview-video {
	position: absolute;
	border-radius: 10px;
}
.tall-video {
	height: auto;
	width: 100%;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.wide-video {
	height: 100%;
	width: auto;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}
.name-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #dedede;
	text-overflow: ellipsis;
	display: flex;
	justify-content: center;
	align-items: center;
}
#preview-name-wrap {
	border-radius: 10px;
	background-color: #3d2b4f;
	font-size: 1rem;
	position: absolute;
	top: 0;
	left: 0;
}
#preview-name {
	max-width: 90%;
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}
#remote-wrap {
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	top: 0;
	left: 0;
	overflow: hidden;
	text-align: center;
	border-radius: 10px;
}
#remote-video {
	border-radius: 16px;
	z-index: 3;
	position: relative;
}
#remote-name-wrap {
	border-radius: 16px;
	background-color: #2c1d3d;
	font-size: 35px;
	z-index: 1;
}
#remote-name {
	margin: 0 0 30px 0;
	max-width: 80%;
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}
#remote-muted-image-wrap {
	z-index: 8;
	width: 25px;
	height: 25px;
	position: absolute;
	top: 15px;
	left: 15px;
	filter: drop-shadow(0 0 1px #dedede) drop-shadow(0 0 3px #ff2982);
	-webkit-filter: drop-shadow(0 0 1px #dedede) drop-shadow(0 0 3px #ff2982);
}
#remote-muted-image {
	width: 100%;
	height: 100%;
	background-color: #292929;
}
#call-controls {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 15px;
	justify-content: center;
	height: 35px;
	position: absolute;
	z-index: 10;
	bottom: 15px;
	left: 0px;
	width: 100%;
}
.control-button {
	border-radius: 50%;
	height: 35px;
	width: 35px;
	border: none;
	outline: none;
	cursor: pointer;
	transition: background-color 0.5s;
}
.button-image {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
#end-call-button {
	background-color: #e32929;
}
#end-call-button:hover {
	background-color: #f53838;
}
#end-call-image {
	transform: rotate(135deg);
	background-color: #ededed;
	mask-image: url(./icons/phone.svg);
	mask-repeat: no-repeat;
	mask-size: 75%;
	mask-position: center;
	-webkit-mask-image: url(./icons/phone.svg);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 75%;
	-webkit-mask-position: center;
}
.toggled-off-button {
	background-color: #454545;
}
.toggled-off-button:hover {
	background-color: #525252;
}
.toggled-on-button {
	background-color: #e8e8e8;
}
.toggled-on-button:hover {
	background-color: #ffffff;
}
.muted-image {
	background-color: #a8a8a8;
	mask-image: url(./icons/microphone-slash.svg);
	mask-repeat: no-repeat;
	mask-size: 100%;
	mask-position: center;
	-webkit-mask-image: url(./icons/microphone-slash.svg);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100%;
	-webkit-mask-position: center;
}
#unmuted-image {
	display: none;
	background-color: #292929;
	mask-image: url(./icons/microphone.svg);
	mask-repeat: no-repeat;
	mask-size: 60%;
	mask-position: center;
	-webkit-mask-image: url(./icons/microphone.svg);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 60%;
	-webkit-mask-position: center;
}
#camera-on-image {
	display: none;
	background-color: #292929;
	mask-image: url(./icons/video.svg);
	mask-repeat: no-repeat;
	mask-size: 85%;
	mask-position: center;
	-webkit-mask-image: url(./icons/video.svg);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 85%;
	-webkit-mask-position: center;
}
.camera-off-image {
	background-color: #a8a8a8;
	mask-image: url(./icons/video-slash.svg);
	mask-repeat: no-repeat;
	mask-size: 95%;
	mask-position: center;
	-webkit-mask-image: url(./icons/video-slash.svg);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 95%;
	-webkit-mask-position: center;
}
#setup-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
}
.logo-text {
	color: #f5f5f5;
	font-family: "Fugaz One", cursive;
	text-align: center;
	font-size: 50px;
	margin: 0;
	text-shadow: -3px 2px 0 #ff2982;
}
#room-code-form {
	margin: 10px 0 12px 0;
	width: 50%;
}
#room-code-input {
	font-family: "Roboto Mono", monospace;
	font-weight: bold;
	width: calc(100% - 20px);
	height: 30px;
	padding: 0 10px;
	margin: 0 0 5px 0;
	font-size: 20px;
	border-radius: 10px;
	border: none;
	text-align: center;
	background-color: #f2f2f2;
	color: #171717;
}
#room-code-input:focus {
	background-color: #f7f7f7;
	outline: 2px solid #ff2982;
}
.setup-button {
	width: 50%;
	height: 30px;
	border-radius: 10px;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: "Raleway", sans-serif;
	background-color: #2c1d3d;
	color: #f5f5f5;
	font-size: 16px;
	transition: background-color 0.5s;
	box-shadow: 0 0 5px 0 rgba(255, 255, 255, 0.5);
}
.setup-button:hover {
	background-color: #342247;
}
#create-room-button {
	margin-top: 35px;
}
#username-wrap {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
}
#username-input {
	background: none;
	color: #f2f2f2;
	font-family: "Raleway", sans-serif;
	font-size: 16px;
	border: none;
	outline: none;
	width: 150px;
	height: 30px;
	padding: 0 8px;
	border-radius: 8px;
	text-align: right;
}
#username-input:focus {
	background-color: #f2f2f2;
	color: #171717;
	outline: 2px solid #ff2982;
}
#username-icon {
	height: 30px;
	width: 30px;
	background-color: #f2f2f2;
	mask-image: url(./icons/user.svg);
	mask-repeat: no-repeat;
	mask-size: 60%;
	mask-position: center;
	-webkit-mask-image: url(./icons/user.svg);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 60%;
	-webkit-mask-position: center;
}
#remote-camera-off {
	width: 20%;
	height: 20%;
}
#preview-camera-off {
	width: 40%;
	height: 40%;
}
#remote-room-info-wrap {
	border-radius: 16px;
	background-color: #2c1d3d;
	z-index: 1;
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #dedede;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	flex-wrap: nowrap;
}
#absolute-logo-text {
	position: absolute;
	top: 0;
}
#room-info-code {
	font-family: "Roboto Mono", monospace;
	font-weight: bold;
	text-align: center;
	background-color: #f2f2f2;
	color: #171717;
	font-size: 28px;
	border-radius: 10px;
	padding: 5px 15px;
	margin: 0;
}
#room-info-label {
	color: #f5f5f5;
	font-size: 20px;
	margin: 0 0 10px 0;
	cursor: default;
}
#copy-link-button {
	font-family: "Raleway", sans-serif;
	margin: 20px 0 0 0;
	transition: background-color 0.4s;
	box-shadow: 0 0 5px 0 rgba(255, 255, 255, 0.5);
	border: none;
	outline: none;
	cursor: pointer;
	background-color: #ff2982;
	color: #ededed;
	font-size: 16px;
	border-radius: 10px;
	padding: 6px 12px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
}
#copy-link-button:hover {
	background-color: #ff3b8c;
}
#copy-link-button:active {
	background-color: #773dff;
}
#link-icon {
	width: 18px;
	height: 18px;
	background-color: #ededed;
	mask-image: url(./icons/link.svg);
	mask-repeat: no-repeat;
	mask-size: 100%;
	mask-position: center;
	-webkit-mask-image: url(./icons/link.svg);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100%;
	-webkit-mask-position: center;
}
#url-copy-text {
	visibility: hidden;
}
#ping-wrap {
	z-index: 15;
	width: 50%;
	position: absolute;
	left: calc(25% - 15px);
	top: 25%;
	border-radius: 10px;
	background-color: #3d2b4f;
	padding: 20px 15px;
	margin: 0;
	box-shadow: 0 0 5px 0 rgba(255, 255, 255, 0.5);
}
#ping-label {
	margin: 0;
	color: #dedede;
}
#ping-button {
	font-family: "Raleway", sans-serif;
	margin: 20px 0 0 0;
	transition: background-color 0.2s;
	box-shadow: 0 0 5px 0 rgba(255, 255, 255, 0.5);
	border: none;
	outline: none;
	cursor: pointer;
	background-color: #ff2982;
	color: #ededed;
	font-size: 16px;
	border-radius: 10px;
	padding: 6px 12px;
}
#ping-button:hover {
	background-color: #ff3b8c;
}
#ping-button:active {
	background-color: #773dff;
}
