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

:root {
	--font-primary: "Montserrat", Arial, sans-serif;
	--color-page: #080e1c;
	--color-section-a: #0e192f;
	--color-section-b: #11192a;
	--color-section-c: #112445;
	--color-border: #3a404c;
	--color-border-soft: #bbbbbb3d;
	--color-blue: #5483d6;
	--color-selection: #007bff;
	--gradient-bg: url('../images/gradient-bg.png');
	--transition-fast: .125s ease-in-out;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: var(--font-primary);
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 16px;
	line-height: 26px;
	background-color: var(--color-page);
}

body.previewer-standalone :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, b, em, small, label, button, input, textarea, select, .wbtn, .buybtn, .legend, .ttl, .list, .divTableCell, .divTableHead) {
	font-family: var(--font-primary) !important;
}

::selection {
	color: #fff;
	background-color: var(--color-selection);
}

img {
	max-width: 100%;
	height: auto;
}

#iwltbap {
	position: absolute;
	width: 150px;
	height: 28px;
	left: 25px;
	top: 25px;
	background-image: url('../images/iwltbap.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 888;
}

#socials {
	width: inherit;
	left: inherit;
	right: 25px;
}

body.guide #iwltbap {
	left: 50%;
	transform: translateX(-50%);
}

#welcome {
	height: 100%;
	background-image: url('../images/luts-previewer-app-bg-2.jpg');
	background-position: center top;
}

#welcome .wbtn {
	font-size: 17px;
}

#welcome .wbtn.blue,
.buybtn {
	padding: 22px 30px;
	background-color: #fff;
	background-image: var(--gradient-bg);
	background-repeat: repeat-x;
	background-size: auto 150%;
	background-position: center top;
}

#welcome .wbtn.blue:hover {
	background-color: var(--color-section-a);
	background-image: none;
}

#quick-start,
#whats-new {
	max-width: 1120px;
	margin: 0 auto;
	padding: 75px 10px;
	text-align: center;
	overflow: hidden;
	border-top: 1px dashed var(--color-border);
	border-bottom: 1px dashed var(--color-border);
}

h1,
h3,
h4 {
	font-family: inherit;
}

h1 {
	font-weight: 700;
}

h3 {
	padding: 0 0 40px;
	font-size: 28px;
}

p {
	margin: 5px auto 20px;
}

p.legend {
	font-weight: 500;
	line-height: 0;
	margin-top: 12px;
}

p.ttl {
	font-size: 18px;
}

#whatlut {
	padding: 75px 10px 25px;
}

#about {
	background-image: var(--gradient-bg);
	background-repeat: repeat-x;
	background-size: auto 150%;
	background-position: center;
}

#about .row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	column-gap: 40px;
	justify-content: center;
	max-width: 1500px;
	margin: 0 auto 50px;
	padding: 0 10px;
}

#about .column {
	width: fit-content;
	max-width: 100%;
	text-align: left;
}

#about .column.full {
	grid-column: 1 / -1;
	width: fit-content;
	max-width: 100%;
	margin: 50px auto 0;
	padding: 5px 20px 25px;
	border: 1px dashed var(--color-border);
	border-radius: 10px;
	background-color: var(--color-section-b);
}

#about .column.full img {
	display: block;
	margin: 0 auto;
	border-radius: 10px;
	box-shadow: 0 0 20px hsl(0deg 0% 0% / 37%);
}

#about .column p:not(.list) {
	margin-top: 20px;
}

#support {
	background-image: url('../images/support-bg.jpg');
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

.secta {
	background-color: var(--color-section-a) !important;
}

.sectb {
	background-color: var(--color-section-b) !important;
}

.sectc {
	background-color: var(--color-section-c) !important;
}

.buybtn {
	text-align: center;
	border: 0;
	font: inherit;
	vertical-align: baseline;
	font-weight: bold !important;
	font-size: 17px;
	border-radius: 3px;
	display: inline-block;
	min-width: 265px;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background-color var(--transition-fast), opacity var(--transition-fast);
	margin: 20px 5px;
	color: white !important;
	line-height: 0;
}

.buybtn:hover {
	background-color: var(--color-page);
	background-image: none;
}

.buybtn .fa {
	margin: 0 5px 0 0;
}

.buybtn p.legend {
	text-align: center;
	color: white !important;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
	margin: 12px auto 0 !important;
	font-size: 8px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 0;
}

#scrolldown {
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 50px;
	font-size: 22px;
	color: #fff;
	opacity: .5;
}

/* Guide */

body.guide #welcome {
	font-family: var(--font-primary);
	height: 70%;
}

body.guide #about {
	background-image: none;
}

body.guide #welcome .container {
	transform: translate(-50%, -80%);
}

body.guide #about .row {
	margin: 0 auto;
}

body.guide .row {
	display: flex;
	justify-content: center;
	max-width: 1500px;
	margin: 0 auto 20px;
}

body.guide .column {
	width: fit-content;
	max-width: 100%;
	margin: 0 20px;
	text-align: left;
}

body.guide .column p:not(.list) {
	margin-top: 20px;
}

body.guide h3 {
	font-size: 32px;
}

body.guide h4 {
	font-size: 24px;
	text-transform: none;
	margin: 50px auto 20px;
}

body.guide div h4:first-of-type {
	margin: 10px auto 20px;
}

body.guide .list a,
body.guide #whatlut a {
	text-decoration: none;
	transition: color var(--transition-fast);
}

body.guide #whatlut > p:first-of-type {
	margin-bottom: 25px;
}

body.guide #whatlut > p:last-of-type {
	margin-top: 50px;
}

body.guide .list a:hover {
	color: #fff;
}

body.guide p.nlb {
	margin-bottom: 0 !important;
}

body.guide p,
body.guide #freeware p {
	margin: 0 auto 20px;
}

body.guide span.key {
	font-family: "Monaco", "Courrier", monospace !important;
	display: inline-block;
	font-size: 12px;
	line-height: 22px;
	padding: 0 7px;
	margin: 0 2px;
	color: #fff;
	border-radius: 3px;
	background-color: #485b80;
}

body.guide img {
	border-radius: 3px;
}

a img {
	transition: opacity var(--transition-fast);
}

a:hover img {
	opacity: .65;
}

.divTable {
	display: table;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
	border: 0.5px solid var(--color-border-soft);
	border-radius: 5px;
}

.divTableRow {
	display: table-row;
}

.divTableHeading {
	display: table-header-group;
}

.divTableCell,
.divTableHead {
	display: table-cell;
	padding: 12px 20px;
	border: 0.5px solid var(--color-border-soft);
	border-radius: 5px;
	color: #bbb;
	text-align: left;
}

.divTableFoot {
	display: table-footer-group;
}

.divTableBody {
	display: table-row-group;
}

#top-banner {
	position: absolute;
	width: 100%;
	color: #fff;
	text-align: center;
	font-weight: 700;
	padding: 25px 5px;
	text-transform: uppercase;
	background-color: var(--color-page);
}

#top-banner b {
	display: inline-block;
	padding: 2px 8px;
	margin: 0 5px;
	letter-spacing: initial;
	background-color: var(--color-blue);
}

#top-banner br {
	display: none;
}

/* Mobile */

@media (max-width: 640px) {
	#iwltbap {
		width: 100px;
		height: 19px;
		left: 50%;
		transform: translateX(-50%);
	}

	#welcome {
		background-position: 30% top;
	}

	#welcome h2 {
		font-size: 12px;
	}

	#welcome h2 strong {
		display: block;
		margin-bottom: -10px;
	}

	#welcome img.icon {
		max-width: 240px;
	}

	#welcome .wbtn:first-of-type {
		margin: 30px auto 10px;
	}

	#whatlut br,
	#freeware br,
	body.guide br {
		display: none;
	}

	#whats-new br {
		display: inherit;
	}

	body.guide #welcome br,
	body.guide #whatlut br {
		display: initial;
	}

	p.list {
		width: inherit;
	}

	body.guide .column {
		width: 80%;
		margin: 0 auto;
	}

	body.guide .row,
	#about .row {
		display: block;
		padding: 0;
	}

	#about .column,
	#about .column.full {
		width: 100%;
	}

	#about .column.full {
		margin-top: 35px;
	}

	body.guide img {
		margin-right: auto !important;
		margin-left: auto !important;
	}

	body.guide .row .column p:last-of-type,
	#about .row .column p:last-of-type {
		margin-bottom: 20px;
	}

	#footer .legend {
		line-height: 14px;
	}

	#top-banner {
		font-size: 12px;
		padding: 10px 5px;
		z-index: 889;
	}

	#top-banner b {
		padding: 0 8px;
	}

	#top-banner br {
		display: inherit;
	}

	.divTable {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.divTableBody {
		display: table;
		min-width: 100%;
	}
}
