@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

#controls {
	font-family: 'Montserrat', sans-serif;
	font-size: 3em;
	color: #fff;
	position: absolute;
	bottom: 40;
	right: 40;
}

.controls {
	display: none;
}

.dialog {
	font-family: 'Montserrat', sans-serif;
  background: rgba(33, 33, 33, 0.8);
  color: #fff;
	position: absolute;
	overflow: hidden;
	top: 50%;
	left: 50%;
	width: 600px;
	height: 127px;
	transform: translate(-50%, -50%);
  border-top: 5px solid #1486C0;
  border-radius: 10px;
  -webkit-box-shadow: 10px 9px 42px -5px rgba(0, 0, 0, 0.52);
  -moz-box-shadow: 10px 9px 42px -5px rgba(0, 0, 0, 0.52);
  box-shadow: 10px 9px 42px -5px rgba(0, 0, 0, 0.52);
}

.head {
	display: flex;
	flex-basis: 100%;
	align-items: center;
}

.dialog.big {
	height: 200px;
}

.dialog .head {
	background-color: #27272d;
	text-align: center;
	height: 40px;
}

.dialog .head span::before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.dialog input[type="text"] {
	width: 60%;
	height: 32px;
  outline: 0;
  background: rgba(33, 33, 33, 0.8);
  text-align: center;
  margin-top: 26px;
  margin-left: 125px;
  transition: all 0.2s ease-in-out;
  color: #fff;
  border: 1.2px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
}

.dialog input[type="text"]:active, .dialog input[type="text"]:hover {
  color: #fff;
}

.dialog textarea {
	width: 100%;
	height: 128px;
}

.dialog button[name="submit"] {
	width: 17.6%;
	height: 29px;
  margin-left: 160px;
  letter-spacing: 0.2px;
  font-weight: 600;
  color: #fff;
  background-color: #2dce89;
  border: 0;
  border-radius: 8px;
  border-color: #2dce89;
  outline: 0;
  transition: all 0.1s ease-in-out;
  box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
}

.dialog button {
  z-index: 9999;
	transform: translate(-0%, 50%);
}

.dialog button[name="cancel"] {
	width: 17.6%;
	height: 29px;
  margin-left: 80px;
  letter-spacing: 0.2px;
  font-weight: 600;
  color: #fff;
  background-color: #f5365c;
  border: 0;
  border-radius: 8px;
  border-color: #f5365c;
  outline: 0;
  transition: all 0.1s ease-in-out;
  box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
}

.dialog button[name="cancel"]:hover {
  color: #fff;
  border-color: #99223a;
  background-color: #99223a;
  width: 17.6%;
  box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
  font-weight: 700;
}

.dialog button[name="submit"]:hover {
  color: #fff;
  border-color: #1c8356;
  background-color: #1c8356;
  width: 17.6%;
  box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
  font-weight: 700;
}

.head::before,
.head::after {
	content: "";
	flex-grow: 1;
	background: #00e1ff;
	height: 2px;
	margin: 0px 3px;
}
