@charset "utf-8";

html, body {
	background: url("/?originalUrl=https%3A%2F%2Fgit-send-email.io%2Fstatic%2Fisometric-grid.png");
	min-height: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	color: black;
}

.container {
	background: white;
	max-width: 840px;
	margin: 0 auto;
	min-height: 100%;
	display: grid;
	border-left: 1px solid #deddd5;
	border-right: 1px solid #deddd5;
	grid-template-rows: auto auto 1fr auto;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.6);
        min-width: 708px;
}

.container > p {
	padding: 0 1rem;
}

footer {
	margin-top: 1rem;
	padding: 1rem;
	color: grey;
	font-size: 0.9em;
}

h1, h2, h3 {
	text-align: center;
	margin-top: 0;
	text-shadow: 1px 1px 0 white;
}

h1 {
	padding-top: 1rem;
}

h2 small {
	display: block;
}

pre {
	padding: 0.5rem;
	background: #eee;
	white-space: pre-wrap;
	border: 1px solid #deddd5;
}

a {
	color: black;
}

a:hover {
	color: #f64d27;
}

.well {
	background: white;
	padding: 1rem;
}

.border-rainbow {
  border: 3px solid transparent;
  border-image: linear-gradient(to bottom right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);
  border-image-slice: 1;
}

.well ol {
	margin: 0;
	padding-left: 1rem;
}

.well ol pre {
	margin-bottom: 0;
}

.well ol li {
	margin-bottom: 0.5rem;
}

.wells .well {
	margin-bottom: 1rem;
}

.wells .well:last-child {
	margin-bottom: 0;
}

pre {
	overflow-x: auto;
}

.magic {
	display: none;
}

.step {
	display: none;
	padding: 2rem 1rem;
	background-color: #dad9d5;
	background-size: 256px 256px;
	background-repeat: no-repeat;
	background-position: top right;
	border-top: 1px solid #deddd5;
	border-bottom: 1px solid #deddd5;
	grid-template-rows: auto auto;
	grid-template-columns: auto 1fr auto;
}

.step > h2 {
	grid-row-start: 1;
	grid-column-start: 1;
	grid-column-end: 4;
	margin-top: 5rem;
}

.step > .prev {
	grid-row-start: 2;
	grid-column-start: 1;
}

.step > .content {
	grid-row-start: 2;
	grid-column-start: 2;
	padding: 0 1rem;
}

.step > .next {
	grid-row-start: 2;
	grid-column-start: 3;
}

.step > .next:hover, .step > .prev:hover {
	background: #f64d27;
}

.step > .prev::after {
	content: '◀';
}

.step > .next::after {
	content: '▶';
}

@media(max-width: 1080px) {
	.step {
		grid-template-rows: auto auto auto auto;
		grid-template-columns: auto;
		justify-items: center;
	}

	.step > h2 {
		grid-row-start: 1;
		grid-column-start: 1;
		grid-column-end: 4;
	}

	.step > .prev, .step > .next {
		margin: 1rem 0;
		grid-column-start: 1 !important;
		grid-column-end: 4 !important;
	}

	.step > .prev {
		grid-row-start: 2;
	}
	
	.step > .content {
		grid-row-start: 3;
		grid-column-start: 1;
		grid-column-end: 4;
		padding: 0;
	}

	.step > .next {
		grid-row-start: 4;
	}
}

.step > .next, .step > .prev {
	align-self: center;
	width: 3rem;
	height: 3rem;
	background: #888888;
	border-radius: 1.5rem;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	line-height: 3;
	font-weight: bold;
	color: white;
}

@media(min-width: 1080px) {
	.hardwrap {
		max-width: 75%;
	}
}

.content {
	display: flex;
	flex-direction: column;
}

.content label, .content .button {
	background: #f64d27;
	color: white;
	text-decoration: none;
	padding: 0.25rem;
	cursor: pointer;
	border: 1px solid #ab2e14;
	align-self: flex-end;
	margin-top: 0.5rem;
}

.alert {
	background: #f64d27;
	color: white;
	padding: 0.5rem;
	margin-bottom: 0.5rem;
	border: 1px solid #ab2e14;
}

.alert a {
	color: white;
}

.accordion {
	border: 1px solid black;
}

.accordion > .item > label {
	font-size: 1.25rem;
	display: block;
	background: #bbbbbb;
	color: black;
	padding-left: 1rem;
	border: none;
	border-bottom: 2px solid #222;
	cursor: pointer;
	margin: 0;
	position: relative;
}

.accordion > .item > label > img {
	max-height: 24px;
	position: absolute;
	top: 3px;
	right: 4px;
}

.accordion > .item:last-child > label {
	border-bottom: none;
}

input[type="radio"]:last-child:checked ~ .accordion > .item:last-child > label {
	/* TODO: fixme */
	border-bottom: 2px solid #222;
}

.accordion > .item > .content {
	display: none;
	padding: 1rem 1rem;
	border-bottom: 2px solid #222;
	background: white;
}

.accordion > .item:last-child > .content {
	border-bottom: none;
}

.accordion > .item > .content p {
	margin: 0;
}

/* step-1 is visible per default */
#step-1 { display: grid; }
.step:target ~ #step-1 { display: none; }
.step:target { display: grid; }

#os-arch:checked ~ .os-arch > .content { display: flex; }
#os-arch:checked ~ .os-arch > label { background: #222222; color: white; }
#os-alpine:checked ~ .os-alpine > .content { display: flex; }
#os-alpine:checked ~ .os-alpine > label { background: #222222; color: white; }
#os-centos:checked ~ .os-centos > .content { display: flex; }
#os-centos:checked ~ .os-centos > label { background: #222222; color: white; }
#os-debian:checked ~ .os-debian > .content { display: flex; }
#os-debian:checked ~ .os-debian > label { background: #222222; color: white; }
#os-fedora:checked ~ .os-fedora > .content { display: flex; }
#os-fedora:checked ~ .os-fedora > label { background: #222222; color: white; }
#os-freebsd:checked ~ .os-freebsd > .content { display: flex; }
#os-freebsd:checked ~ .os-freebsd > label { background: #222222; color: white; }
#os-gentoo:checked ~ .os-gentoo > .content { display: flex; }
#os-gentoo:checked ~ .os-gentoo > label { background: #222222; color: white; }
#os-guix:checked ~ .os-guix > .content { display: flex; }
#os-guix:checked ~ .os-guix > label { background: #222222; color: white; }
#os-macos:checked ~ .os-macos > .content { display: flex; }
#os-macos:checked ~ .os-macos > label { background: #222222; color: white; }
#os-nixos:checked ~ .os-nixos > .content { display: flex; }
#os-nixos:checked ~ .os-nixos > label { background: #222222; color: white; }
#os-omnios:checked ~ .os-omnios > .content { display: flex; }
#os-omnios:checked ~ .os-omnios > label { background: #222222; color: white; }
#os-openbsd:checked ~ .os-openbsd > .content { display: flex; }
#os-openbsd:checked ~ .os-openbsd > label { background: #222222; color: white; }
#os-openmandriva:checked ~ .os-openmandriva > .content { display: flex; }
#os-openmandriva:checked ~ .os-openmandriva > label { background: #222222; color: white; }
#os-opensuse:checked ~ .os-opensuse > .content { display: flex; }
#os-opensuse:checked ~ .os-opensuse > label { background: #222222; color: white; }
#os-pkgsrc:checked ~ .os-pkgsrc > .content { display: flex; }
#os-pkgsrc:checked ~ .os-pkgsrc > label { background: #222222; color: white; }
#os-rocky:checked ~ .os-rocky > .content { display: flex; }
#os-rocky:checked ~ .os-rocky > label { background: #222222; color: white; }
#os-solus:checked ~ .os-solus > .content { display: flex; }
#os-solus:checked ~ .os-solus > label { background: #222222; color: white; }
#os-ubuntu:checked ~ .os-ubuntu > .content { display: flex; }
#os-ubuntu:checked ~ .os-ubuntu > label { background: #222222; color: white; }
#os-void:checked ~ .os-void > .content { display: flex; }
#os-void:checked ~ .os-void > label { background: #222222; color: white; }
#os-windows:checked ~ .os-windows > .content { display: flex; }
#os-windows:checked ~ .os-windows > label { background: #222222; color: white; }

#mailer-gmail:checked ~ .mailer-gmail > .content { display: flex; }
#mailer-gmail:checked ~ .mailer-gmail > label { background: #222222; color: white; }
#mailer-oauth:checked ~ .mailer-oauth > .content { display: flex; }
#mailer-oauth:checked ~ .mailer-oauth > label { background: #222222; color: white; }
#mailer-protonmail:checked ~ .mailer-protonmail > .content { display: flex; }
#mailer-protonmail:checked ~ .mailer-protonmail > label { background: #222222; color: white; }
#mailer-fastmail:checked ~ .mailer-fastmail > .content { display: flex; }
#mailer-fastmail:checked ~ .mailer-fastmail > label { background: #222222; color: white; }
#mailer-local:checked ~ .mailer-local > .content { display: flex; }
#mailer-local:checked ~ .mailer-local > label { background: #222222; color: white; }
#mailer-generic:checked ~ .mailer-generic > .content { display: flex; }
#mailer-generic:checked ~ .mailer-generic > label { background: #222222; color: white; }

@media (max-width: 700px) {
  .container {
    min-width: unset;
  }
  .step {
    padding-top: 180px;
  }
  pre {
    max-width: 100%;
  }
}
