:root {
	--font-primary: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
*, ::after, ::before {
  box-sizing: border-box;
}
html,body,
h1, p {
	margin: 0;
	padding: 0;
}
html,
body {
	font-family: var(--font-primary);
	font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}
header {
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	align-items: center;
	padding: .5rem 1rem;
	border-bottom: 1px solid #ddd;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.04);
	/* background-color: #cfbd50; */
	position: sticky;
	top: 0;
	z-index: 999;
	overflow: clip;
}
header:after {
	background-color: rgba(255,255,255,0.95);
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	content: '';
	z-index: -1;
}
.header-kiri {
	display: flex;
	flex-flow: row;
	align-items: center;
}
.menu-icon {
	position: relative;
}
.menu-icon:after,
.menu-icon:before {
	position: absolute;
}
.menu-icon,
.menu-icon:after,
.menu-icon:before {
	background: #495057;
	border-radius: 1px;
	content: "";
	cursor: pointer;
	display: block;
	height: 3px;
	width: 24px;
	margin: auto;
	left: 0px;
	right: 0px;
	transition: background .1s ease-in-out, color .1s ease-in-out, width .1s ease-in-out;
}
.menu-icon:before {
	top: -7.5px;
	transition: width .2s ease-in-out;
}
.menu-icon:after {
	bottom: -7.5px;
	transition: width .2s ease-in-out .1s;
}
.menu-toggle {
	cursor: pointer;
	height: 26px;
	width: 26px;
	display: flex;
}
.menu-toggle:hover .menu-icon,
.menu-toggle:hover .menu-icon:before,
.menu-toggle:hover .menu-icon:after {
	background: black;
}
.menu-toggle:hover .menu-icon:before,
.menu-toggle:hover .menu-icon:after {
	width: 50%;
}
.brand {
	color: black;
	padding: 0.3rem 1rem;
	white-space: nowrap;
	font-size: 1.25rem;
	text-decoration: none;
}
.utama {
  padding: 3rem;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #444;
  text-align: center;
  text-transform: uppercase;
}
.utama .h2 {
	font-size: 1.25rem;
  line-height: 1.25;
  color: #444;
	margin-bottom: 0.5em;
}
.blk {
	display: flex;
	flex-flow: column;
}
.bag {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: min-content;
}
.baga {
	text-align: center;
}
.baga img {
	max-width: 100%;
}
.tombol {
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border-radius: .25rem;
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem 0;
  border: 1px solid #00000035;
  padding: 0.5rem;
  cursor: pointer;
}
.utama .tombol {
  background-color: #343a40;
  color: #fff;
  border: 1px solid #343a40;
  text-transform: uppercase;
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  padding: 1rem 2rem;
  border-radius: 10px;
}
.utama .tombol:hover {
  background-color: #494e54;
}
.utama .aksi {
	text-align: center;
}
.info {
  padding: 3rem;
	color: white;
	background-color: #343a40;
	text-align: center;
}
.info .h1 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
	margin-bottom: 1rem;
}
.info .h2 {
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.info .tombol {
  color: #fff;
  border: 1px solid #fff;
  padding: 0.5rem 2rem;
	background-color: transparent;
  border-radius: 10px;
}
.info .tombol:hover {
  background-color: rgba(255,255,255,0.1);
}
.info hr {
	border-bottom-color: #fff;
  margin: 2rem 0;
}
.info .baga .h1 {
  font-size: 1.4rem;
	margin-bottom: 0.5em;
}
.kartus {
  padding: 3rem;
}
.kartub {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}
.kartu {
	position: relative;
	border: 1px solid #343a40;
	border-radius: 10px;
	overflow: clip;
}
.kartu img {
  width: 100%;
	cursor: pointer;
}
.kartu .aksi {
	background: #343a40;
}
.suka {
	fill: white;
}
.kartu .aktif .suka {
	fill: red;
}
.kartu .tombol {
  border: none;
  background: transparent;
  margin: 0;
  padding: 0.5rem;
  min-width: 50%;
  text-align: left;
}
.kartu .tombol:hover .suka {
	fill: red;
}
.kartu .jumlah {
	color: white;
	margin-left: 0.5rem;
	vertical-align: top;
  font-size: 0.75rem;
}
#login,
#dkartu {
  position: fixed;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: top 0.5s ease-in-out;
}
#login {
  top: 100%;
}
#dkartu {
	top: -100%;
}
#login.tampil,
#dkartu.tampil {
	top: 0;
}
.login {
	padding: 1rem;
}
.login,
.ckartu{
	background-color: white;
	border-radius: 15px;
}
.login label {
  display: block;
  font-size: 0.9rem;
  color: #444;
}
.login input {
  display: block;
  margin-bottom: 0.25rem;
  border: 1px solid #444;
  border-radius: 0em;
  padding: 0.5rem;
	width: 100%;
}
.login .tombol {
  padding: 0.5rem 1rem;
  border: 1px solid #444;
  border-radius: 0;
  display: block;
}
.login .aksi {
  display: flex;
  justify-content: end;
}
.login .err {
	font-size: 0.75rem;
	color: red;
}
.ckartu {
	margin: 1rem;
	padding: 1rem;
	display: flex;
	flex-flow: column;
	gap: 1rem;
}
#canvas {
	max-width: 100%;
	max-height: calc(100vh - 200px);
}
.ckartu label {
	display: flex;
}
.ckartu label span {
  padding: 6px;
  color: #444;
}
.ckartu input {
  flex-grow: 1;
  margin-left: 0.5rem;
	padding: 0.5rem;
	border: 1px solid #444;
  border-radius: 3px;
}
.ckartu .aksi {
  text-align: center;
}
.ckartu .tombol {
  background: transparent;
  color: #444;
  margin: 0;
  border-color: #444;
  padding: 0.5rem 3rem;
	position: relative;
}
.ckartu .tombol:hover {
  background: rgba(0,0,0,0.05);
  color: black;
}
.tombol .svg {
  fill: #444;
	position: absolute;
  right: 10px;
}.panw {
  position: absolute;
  top: 57px;
  right: 0px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 0 0 0 0.5rem;
}
.icos {
  border: none;
  background: transparent;
  padding: 1rem;
	cursor: pointer;
}
.icos:hover {
  background: rgba(255,255,255,0.1);
}
.svg {
  width: 1rem;
  height: 1rem;
  fill: white;
}
@media (min-width: 768px) {
	.blk {
		flex-flow: row;
	}
	.info .blk {
		flex-direction: row-reverse;
	}
	.utama .baga,
	.utama .bagb {
		max-width: 50%;
	}
	.utama .baga {
		text-align: right;
	}
	.utama .baga img {
		margin-right: 5vw;
	}
	.utama .bagb {
		text-align: left;
	}
	.utama .bagb .dktk {
		max-width: 500px;
		margin-top: 2vw;
		margin-left : 1vw;
		text-align: left;
	}
	.info hr {
		display: none;
	}
}
