:root {
    --accent: #82bdf8;
    --negative: #db4437;
    --disabled: #ccc;
    --alt: #e3e3e3;

    --bg1: #1a1a1a;
    --bg2: #151515;
    --bg3: #2d2d2d;
    --bg4: #282828;
    --bg5: #1c1c1c;

    --fg1: #fff;
    --fg2: #737373;
    --fg3: #9a9a9a;

    --arrow: url(/images/layout/arrow.png);
    --close: url(/images/layout/fail.png);
}
@font-face {
    font-family: "Hack";
    src: url(/fonts/hack-regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Hack";
    src: url(/fonts/hack-bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
}
a:link,
a:hover,
a:focus,
a:visited {
    text-decoration: none;
    color: var(--accent);
}
a:hover {
    opacity: 0.7;
}
.center {
    text-align: center;
}
::selection {
    color: #fff;
    background: var(--accent);
}
::-moz-selection {
    color: #fff;
    background: var(--accent);
}
*, *:after, *:before {
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-mask-size: contain;
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-moz-mask-size: contain;
	-moz-mask-position: center;
	-moz-mask-repeat: no-repeat;
	mask-size: contain;
	mask-position: center;
	mask-repeat: no-repeat;
    border-spacing: 10px;
}
html,
body {
    margin: 0;
    padding: 0;
    font-family: "Hack";
    background: var(--bg1);
    scroll-behavior: smooth;
    color: var(--fg1);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}
#wrapper {
    width: 100%;
    background: var(--bg2);
    word-break: break-word;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#scrollTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--accent) var(--arrow);
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    display: none;
}
#scrollTop:hover {
    opacity: 0.7;
    cursor: pointer;
}
#banner {
    min-height: 350px;
    width: 100%;
    background: var(--bg1);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-flow: row wrap;
    padding: 50px 0;
    box-sizing: border-box;
    margin-top: -20px;
}
#banner div {
    flex: 1 0 100%;
}
#banner #icon {
    height: 140px;
    max-width: 140px;
}
#banner #icon a #image {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    background: url(/images/newicon.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 10px -10px #000;
    transition: box-shadow 0.25s ease-in-out;
    -webkit-transition: box-shadow 0.25s ease-in-out;
}
#banner #icon a #image:hover {
    cursor: pointer;
    box-shadow: 0 10px 10px -5px #000;
}
#banner .text {
    text-align: center;
    padding: 20px;
}
.text {
    width: 100%;
    color: var(--fg1);
    box-sizing: border-box;
}
.text :after {
    color: var(--fg2);
}
.nowrap {
	white-space: nowrap;
}
.downloadText {
    width: 100%;
    color: var(--fg1);
    text-align: center;
    box-sizing: border-box;
}
.title {
    font-size: 25px;
}
.subtitle {
    font-size: 20px;
    color: var(--fg2);
}
.links {
    padding: 20px 20px 0;
}
.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.sections {
    text-align: center;
}
.links .link a,
.sections .link a,
.caps .link a {
    padding: 0;
}
.links .link:not(:last-child):after,
.sections .link:not(:last-child):after,
.caps .link:not(:last-child):after {
    content: "\a0\2022\a0";
}
.accent {
	color: var(--accent);
}
.arrow.voted {
	background: var(--accent);
}
.feature {
	width: 100%;
}
.feature .votes:after {
	content: attr(data-votes);
}
.feature .voted ~ .votes:after {
    color: var(--accent);
}
.feature .body table {
    width: 100%;
}
.vote {
    padding: 7px 0 0 0;
    vertical-align: top;
    width: 50px;
}
.vote .arrow {
    margin-left: auto;
    margin-right: auto;
}
#content {
    position: relative;
    box-sizing: border-box;
    padding: 0 20px 20px 20px;
    margin-top: -50px;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.mockup {
    width: 100%;
    height: 500px;
}
#ipad {
    z-index: 1;
    background: url(/images/ss/ipad2.png);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}
#iphone {
    z-index: 2;
    background: url(/images/ss/iphone13.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#download {
    width: 100%;
    background: var(--bg1);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-flow: row wrap;
    padding: 20px 0;
    box-sizing: border-box;
}
#download div:not(.downloadText) {
    margin: 10px;
}
#apple {
    height: 58px;
    width: 175px;
    background: url(/images/layout/apple.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 10px -10px #000;
}
#android {
    height: 58px;
    width: 195px;
    background: url(/images/layout/android.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 10px -10px #000;
}
.pageTitle {
    margin-top: 5px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    font-size: 30px;
}
.swag {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.header,
.body,
div.command,
.explanation {
    padding: 5px;
}
.header,
div.command {
    background: var(--bg3);
    border-left: 5px solid var(--accent);
}
.icon {
	height: 20px;
	width: 20px;
	background-color: var(--fg1);
}
.icon.arrow {
	-webkit-mask-image: var(--arrow);
	-moz-mask-image: var(--arrow);
	mask-image: var(--arrow);
}
.icon.close {
	-webkit-mask-image: var(--close);
	-moz-mask-image: var(--close);
	mask-image: var(--close);
}
.icon:hover {
	cursor: pointer;
	opacity: 0.7;
}
.padded {
	padding: 10px;
}
.center {
	text-align: center;
}
.rank {
	height: 100%;
}
.rank .arrow {
	margin-left: auto;
	margin-right: auto;
}
.header .q,
.body .a {
    vertical-align: top;
    font-size: 30px;
    padding: 0 20px;
}
.header .text {
    font-weight: 700;
}
.body .text,
.explanation .text {
    color: var(--fg2);
    white-space: pre-wrap;
}
.warning {
    color: var(--negative);
}
.explanation span.command,
.explanation span.alias {
    background: var(--bg1);
}
.body,
.explanation {
    background: var(--bg4);
    border-left: 5px solid var(--bg3);
}
.item:not(:last-child),
.explanation:not(:last-child) {
    margin-bottom: 20px;
}
.section {
    font-size: 20px;
    padding-bottom: 10px;
    text-align: center;
}
.section:not(:first-child) {
    padding-top: 20px;
}
.merch {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}
.merch .product {
    width: 200px;
    height: 200px;
    background: #fbfbfb;
    margin: 10px;
    padding: 10px;
}
.merch .product.large {
    width: 320px !important;
    height: 320px !important;
}
.merch .product .title {
    text-align: center;
    height: 20px;
}
.merch .product .image {
    width: 100%;
    height: calc(100% - 30px);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.merch .product .image:hover {
    cursor: pointer;
}
.merch .product .buy {
    margin-top: 10px;
    text-align: center;
    height: 20px;
}
#footer {
    text-align: center;
    background: var(--bg1);
    line-height: 30px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    justify-content: flex-end;
}
input,textarea {
	border-radius: 5px;
    border: 2px solid transparent;
    box-sizing: border-box;
    font-size: 15px;
    background: var(--bg3);
    color: var(--fg1);
    padding: 10px;
}
input {
    height: 31px;
    font-family: "Hack";
}
textarea {
	min-height: 100px;
	resize: vertical;
}
input:focus, textarea:focus {
    outline: none;
    border: 2px solid var(--accent);
}
.rounded {
	border-radius: 0 10px 10px 10px;
	overflow: hidden;
}
.checkoutButton {
    height: 31px;
    background: var(--accent);
    color: #fff;
    -webkit-appearance: none;
    margin: 5px 0px 5px 0px;
    line-height: 31px;
    border-radius: 5px;
    font-size: 15px;
    text-align: center;
}
#btcButton {
    height: 50px;
    width: 100%; 
    margin: 5px auto 0 auto;
    border-radius: 5px;
    background-color: #000;
    background-image: url(/images/layout/btcpay.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.checkoutButton:hover, #btcButton:hover {
    cursor: pointer;
    opacity: 0.7;
}
.checkoutButton.disabled, #btcButton.disabled {
    background-color: var(--disabled);
}
.checkoutButton.disabled:hover, #btcButton.disabled:hover {
    cursor: not-allowed;
}
form table {
    font-weight: 700;
}
form table td:last-child {
    text-align: right;
}
.small {
    font-size: 12px;
}
.priceHeader {
    margin-bottom: 20px;
}
.group {
    width: 100%;
    text-align: left;
}
table#admin tr:not(:first-child):nth-child(odd) {
    background-color: var(--bg5);
}
table#admin input {
    width: 100%;
}
.action[data-action] {
    filter: invert(100%);
}

.buttons {
    display: flex;
    margin: 0 10px;
}
.button {
    padding: 10px;
    background: var(--accent);
    border-radius: 5px;
    text-align: center;
}
.button:hover {
    cursor: pointer;
    opacity: 0.7;
}
.right {
    justify-content: flex-end;
}

.noscroll {
	overflow: hidden;
}
.response {
	background: var(--bg5);

}
.response td {
	padding: 10px;
	border-radius: 5px;
	overflow: hidden;
}
.response td span:nth-child(1) {
	color: var(--fg1);
}

.popover {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: flex;
	justify-content: center;
	align-items: center;
	display: none;
}
.blackout {
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.5);
}
.content {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}
.modal {
    display: none;
    max-width: 500px;
    background-color: var(--bg4);
    margin: 20px;
    width: 100%;
    pointer-events: all;
}
.modal .body {
	padding: 10px;
}
.popover.show .modal {
	display: unset;
}
.show {
	display: block;
}
.form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.tags {
	display: flex;
	gap: 10px;
	margin-top: 5px;
}
.tag {
	background: var(--accent);
	padding: 5px;
	border-radius: 5px;
}

