@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

.tab-wrap {
	background: #f3f3f3;
	box-shadow: 0 0 3px #949495;
	border-radius: 3px;
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	padding: 0 0 20px;
}

.tab-label {
	color: #9fa0a0;
	cursor: pointer;
	flex: 1;
	font-weight: bold;
	order: -1;
	padding: 12px 24px;
	position: relative;
	text-align: center;
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s;
	user-select: none;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}

.tab-label:hover {
	background: rgba(188, 226, 232, 0.4);
}

.tab-switch:checked + .tab-label {
	color: #59b9c6;
}

.tab-label::after {
	background: #59b9c6;
	bottom: 0;
	content: '';
	display: block;
	height: 3px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translateX(100%);
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s 80ms;
	width: 100%;
}

.tab-switch:checked ~ .tab-label::after {
	transform: translateX(-100%);
}

.tab-switch:checked + .tab-label::after {
	opacity: 1;
	transform: translateX(0);
}

.tab-content {
	height:0;
	opacity:0;
	padding: 0 20px;
	pointer-events:none;
	transform: translateX(-30%);
	transition: transform .3s 80ms, opacity .3s 80ms;
	width: 100%;
}

.tab-switch:checked ~ .tab-content {
	transform: translateX(30%);
}

.tab-switch:checked + .tab-label + .tab-content {
	height: auto;
	opacity: 1;
	order: 1;
	pointer-events:auto;
	transform: translateX(0);
}

.tab-wrap::after {
	content: '';
	height: 20px;
	order: -1;
	width: 100%;
}

.tab-switch {
	display: none;
}

.command-box {
    padding: 1.6em;
    margin-top: 25px;
    box-shadow: 0 0 6px #dddcd6;
    display: block;
}
.command-box h2 {
    font-size: 30px;
    font-family: 'Orbitron', sans-serif;
}
.command-box p {
    font-size: 20px;
    margin-left: 10px;
}
.info .info-sub {
    text-shadow: 0 0 1px #4a488e;
    color: #383c3c;
}
.info .info-sub {
    padding-left: 1.1em;
}
.command-box:hover {
    box-shadow: 0 0 2px #507ea4;
    transition: all .3s;
}
.command-box input {
    display: none;
}
.command-box .info {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: .3s;
    background-color: #e5e4e6;
    margin: 5px 10px;
    border-radius: 5px;
}
.command-box .info p {
    font-size: 18px;
}
.command-box input:checked ~ .info {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}