@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

*,
*::before,
*::after {
	box-sizing: border-box;
}

::selection {
	background: #333;
	color: #eee;
}

body {
	font-family: "IBM Plex Mono", monospace;
	color: #333;
	margin: 0;
	position: relative;
	line-height: 1.5em;
	font-size: 15px;
	background: repeating-linear-gradient(45deg,
			#aaa,
			#aaa 2px,
			#ccc 2px,
			#ccc 6px);
	background-attachment: fixed;
}

redact {
    position: relative;
    white-space: pre;
}

redact:after {
    background: black;
    border-radius: 0.1em;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
    content: " ";
    width: 100%;
    height: 1.2em;
    left: 0;
    position: absolute;
    transform: skewY(-5deg) rotate(5deg);
    opacity: 1;
    transition: opacity 1s;
}

.redact-fade:after {
    opacity: 0;
}

/* Add a class to apply the fade effect */
.fade {
    opacity: 0;
}

a {
	/* text-decoration: none; */
	font-weight: bold;
}

a:link {
	color: #333;
}

/* visited link */
a:visited {
	color: #333;
}

/* mouse over link */
a:hover {
	color: #333;
}

/* selected link */
a:active {
	color: #333;
}

.dashboard {
	display: grid;
	grid-template-columns: repeat(6, 15.25%);
	grid-gap: 0 1.67%;
	margin: 20px auto;
	padding: 20px;
	border: 2px solid;
	width: 1000px;
	max-width: calc(100% - 40px);
	background: #ddd;
	box-shadow: 1px 1px, 2px 2px, 3px 3px, 4px 4px;
}

.dashboard>div {
	margin-bottom: 20px;
	padding: 15px;
	background-color: #f7f7f7;
	border: 2px solid;
	grid-column: 1 / 7;
	box-shadow: inherit;
}

.dashboard>div:hover {
	background: #fff;
	color: black;
}

.dashboard>div:last-of-type {
	margin-bottom: 5px;
}

.table-wrap {
	max-width: 100%;
	overflow-x: auto;
}

h2 {
	font-size: 1.5em;
	line-height: 1.1em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 0;
	padding: 5px 10px;
	margin-bottom: 15px;
	border-bottom: 2px solid;
	position: relative;
}

h2::before,
h2::after {
	content: "";
	position: absolute;
	bottom: -2px;
	width: 15px;
	height: 100%;
	left: -15px;
	border: 2px solid;
	border-left: none;
	vertical-align: text-bottom;
}

h2::after {
	left: unset;
	right: -15px;
	border-right: none;
	border-left: 2px solid;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	border: 2px solid #333;
	padding: 8px;
	text-align: left;
}

tr:hover td {
	background: #eee;
}

th {
	background-color: #666;
	color: #fff;
}

ul {
	list-style-type: none;
	padding: 0;
}

li {
	padding: 5px 0;
	border-bottom: 2px solid;
}

.stats div {
	font-size: 1.25em;
	line-height: 1.5em;
	border-bottom: 2px solid;
	padding: 5px 0;
}

.profile {
	text-align: center;
}

.profile h2 {
	font-size: 2em;
	padding-bottom: 10px;
	border: none;
}

.profile p {
	font-size: 1.25em;
	font-style: italic;
	margin-bottom: 10px;
}

.dashboard .activity-feed li {
	font-style: italic;
}

@media (min-width: 767px) {
	.dashboard .products {
		grid-column: 1 / 4;
	}

	.dashboard .contact {
		grid-column: 4 / 7;
	}

	.dashboard .stats {
		grid-column: 1 / 5;
	}

	.dashboard .uptime {
		grid-column: 5 / 7;
	}

	.dashboard .info {
		grid-column: 1 / 3;
	}

	.dashboard .activity-feed {
		grid-column: 3 / 7;
	}

	.stats div {
		width: 33.333%;
		float: left;
		display: grid;
		border-left: 2px solid;
		padding-left: 10px;
		margin-left: -2px;
		border-bottom: none;
	}
}

/*Close Button Rules*/

.dashboard .profile button {
	display: none;
}

.dashboard button {
	appearance: none;
	border: inherit;
	color: inherit;
	font-family: arial;
	font-size: 24px;
	line-height: 1.1em;
	width: 1.2em;
	height: 1.2em;
	padding: 0;
	text-align: center;
	float: right;
	z-index: 9;
	position: relative;
	background: #eee;
}

.dashboard button:hover {
	background: #666;
	border-color: #666;
	color: white;
}

@media (min-width: 767px) {

	.profile+.uptime+div,
	.profile+.contact+div,
	.products+div {
		grid-column: 4 / 7 !important;
	}

	.profile+.uptime,
	.profile+.contact {
		grid-column: 1 / 4;
	}

	.profile+div+div+.uptime,
	.profile+.contact+.stats+div {
		grid-column: 1 / 3;
	}

	.profile+div+div+.uptime+div,
	.profile+.contact+.stats+div+div {
		grid-column: 3 / 5;
	}

	.profile+div+div+.uptime+div+div,
	.profile+.contact+.stats+div+div+div {
		grid-column: 5 / 7;
	}
}