html {
	font-family: 'Roboto', sans-serif;
	overflow-x: hidden;
	line-height: 1;
	scroll-behavior: smooth;
}

::selection {
	background: #1468BE;
	color: white;
}

mark {
	color: white;
	background: #24292f;
	padding: 1px 4px;
	border-radius: 2px;
	font-weight: 500;
}

code {
	color: #427fbd;
    font-weight: bold;
    background: #427fbd26;
    padding: 2px 4px;
}

li {
	margin-bottom: 10px;
}

body {
	margin: 0;
}

h1 {
	font-size: 40pt;
	font-weight: 900;
	margin: 0;
    margin-bottom: 15px;
}

h2, version {
	font-size: 20pt;
	font-weight: 900;
	margin: 10px 0px;
}

version {
    display: block;
    cursor: pointer;
    position: relative;
}

version:hover::before {
    content: '# ';
    color: #a8a8a8;
    position: absolute;
    left: -20px;
}

i {
	font-weight: 100;
}

img {
	border-radius: 50px;
}

a {
	text-decoration: none;
	color: #427fbd;
	font-weight: 500;
	cursor: pointer;
}

a:hover {
	text-decoration: underline;
}

button {
	padding: 0 30px;
	height: 70px;
	border: none;
	background: none;
	
	border-radius: 50px;
	color: #FFF;
	font-weight: 900;
	font-size: 15pt;

	line-height: 1.3;
	cursor: pointer;

	transition: all 100ms ease-out;
}

button sub {
	font-weight: 500;
	font-size: 10pt;
	color: #a7cff7;

	transition: all 100ms ease-out;

	display: flex;
    gap: 3px;
    justify-content: center;
}

.button--primary {
	background: #1468BE;
}

.button--primary:hover {
	color: #1468BE;
	background-color: #c1e0ff;
}

.button--primary:hover sub {
	color: #1468BE;
}

.button--primary:active {
	background: #96c0eb;
}

.button--secondary {
	color: #1468BE;
	border: 3px solid #1468BE;
}

.button--secondary:hover {
	border-color: #c1e0ff;
	background-color: #c1e0ff;
	color: #1468BE;
}

.button--secondary:active {
	background: #96c0eb;
	border-color: #96c0eb;
}

header {
	margin: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

header .logo {
	display: flex;
	align-items: center;

	font-weight: 900;
	font-size: 18pt;
	text-transform: uppercase;
	user-select: none;
}

header .logo img {
	max-width: 75px;
}

header .navbar {
	display: flex;
	align-items: center;
	gap: 16px;
}

header .text-links a {
	transition: color 100ms;
	text-decoration: none;
}

header .text-links a:not(:hover) {
	color: black;
}

header .socials {
	display: flex;
	gap: 10px;
	align-items: center;

	font-size: 25pt;
}

header .socials a {
	color: black;
	transition: all 100ms ease-in-out;

	width: 50px;
	height: 50px;
	border-radius: 50px;

	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 5px;
	text-decoration: none;
}

header .socials #github:hover {
	color: #FFF;
	background: #24292f;
}

header .socials #telegram:hover {
	color: #FFF;
	background: #4376a6;
}

.content .features {
	margin: 20px;
	display: flex;
	gap: 50px 0;

	margin-bottom: 500px;
}

.content .features p {
	color: #2e2e2e;
	font-weight: 500;
	font-size: 15pt;
	margin: 25px 0px;
	line-height: 1.2;
}

.content .features > div {
	flex-basis: 50%;
	padding: 50px;
	position: relative;
}

.content .features div mark {
	background: none;
	color: #1468BE;
	font-weight: bolder;
	padding: 0;
}

.content .features .downloadbar {
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
}

@keyframes anim-screenshots {
	0%, 10%, 100% {
		background-image: url("../img/feature2.jpg")
	}

	16%, 26% {
		background-image: url("../img/feature1.jpg")
	}

	32%, 42% {
		background-image: url("../img/feature6.jpg")
	}

	48%, 58% {
		background-image: url("../img/feature3.jpg")
	}

	64%, 74% {
		background-image: url("../img/feature4.jpg")
	}

	80%, 90% {
		background-image: url("../img/feature5.jpg")
	}
}

.content .features .screenshots {
	width: 600px;
	height: 600px;
	border-radius: 50px;

	background-size: 100%;
	background-color: #f0f7ff;
	animation: 30s ease-in-out infinite normal anim-screenshots;
}

.content .features .screenshots::after {
	position: absolute;
	visibility: hidden;

	/* preloading images */
	content: 
		url(../img/feature1.jpg)
		url(../img/feature2.jpg)
		url(../img/feature3.jpg)
		url(../img/feature4.jpg)
		url(../img/feature5.jpg)
		url(../img/feature6.jpg);
}

@keyframes anim-circle {
	from {
		transform: scale(1.5);
		border-radius: 1500px;
	}

	to {
		transform: scale(1.25);
		border-radius: 1250px;
	}
}

circlebg {
	display: block;

	width: 1000px;
	height: 1000px;
	border-radius: 1000px;
	background: #1468be6e;

	z-index: -1;
	position: absolute;

	left: 200px;
	top: 200px;

	animation: 15s ease-in-out infinite alternate anim-circle;
}

updates {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

update {
	display: block;
}

added, fixed, deleted {
	display: block;
	margin: 10px 0;
	text-align: justify;
}

added:before, fixed:before, deleted:before {
	color: #FFF;
	font-weight: 500;
	border-radius: 10px;
	margin-right: 12px;
	padding: 2px 0;
	line-height: 1.5;

	background: var(--bg);
	box-shadow: 6px 0 0 var(--bg), 
				-6px 0 0 var(--bg);
}

added:before {
	content: "new";
	--bg: #00c98826;
    color: #006700;
}

fixed:before {
	content: "fix";
    --bg: #e3a80026;
    color: #d17512;
}

deleted:before {
	content: "del";
	--bg: #c9004326;
    color: #af0043;
}

time {
	color: #767676;
}

.content .changelog {
	margin: 100px 0;
	display: flex;
}

.content article h1,
.content article h2 {
	color: #222222;
	text-align: start;
}

.content .changelog article {
	line-height: 1.2;
    background: #f7f8f9;
    padding: 50px;
    border-radius: 50px;
	color: #2e2e2e;
	max-width: 700px;
	width: 100%;

	margin: auto;
}

.content .overview {
	margin: 100px;
	display: flex;
	flex-direction: column;
	gap: 100px;
	position: relative;
}

.content .overview {
	font-size: 15pt;
	line-height: 1.2;
	text-align: justify;
	color: #2e2e2e;
}

.content .overview p {
	margin: 25px 0px;
}

.overview circlebg {
	top: unset;
    left: -1100px;
    bottom: -1000px;
	filter: hue-rotate(45deg);
}

.overview article {
	max-width: 700px;
	padding: 60px 50px;
	padding-bottom: 75px;
    border-radius: 50px;
    background: #e4edf7;
	margin: auto;

	position: relative;
}

.overview article:nth-child(2n) {
	filter: hue-rotate(15deg);
}

.overview article:nth-child(3n) {
	filter: hue-rotate(30deg);
}

.overview article:nth-child(4n) {
	filter: hue-rotate(45deg);
}

.overview article:nth-child(5n) {
	filter: hue-rotate(60deg);
}

.overview article::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 120px;
	position: absolute;
	right: -60px;
	bottom: -40px;
}

.overview article.steam::after {
	font-family: "Font Awesome 5 Brands";
	font-weight: 100;
	content: "\f1b6";
    background: #FFF;
    border-radius: 100px;
	line-height: 0.9;
}

.overview article.security::after {
	content: "\f3ed";
}

.overview article.extendedInterface::after {
	content: "\f067";
	right: -50px;
}

.overview article.fastDownload::after {
	content: "\f0e7";
	right: -45px;
}

.overview article.developerApi::after {
	content: "\f121";
	right: -70px;
}

autoscroll {
	width: 75px;
	height: 75px;
	border-radius: 50px;

	position: fixed;
	color: #222222;
	font-size: 40pt;
	z-index: 10;

	display: flex;
	align-items: center;
	justify-content: space-around;

	right: 50px;
	bottom: 50px;

	transition: all 100ms ease-in-out;
	cursor: pointer;

	opacity: 0;
}

autoscroll:hover {
	background: #222222;
	color: #FFF;
}

autoscroll:active {
	background: #222222;
}

@keyframes appear {
	0% { transform: scale(1.0) }
	25% { transform: scale(1.01) }
	100% { transform: scale(1.0) }
}

[data-highlight] {
	transition: all 400ms;
	outline: 6px solid #24292f00;
}

[data-highlight="visible"] {
	color: black !important;
	background: #427fbd26;
	outline: 6px solid #427fbd26;
    border-radius: 2px;

	animation: appear 500ms;
	animation-delay: 700ms;
}

.formContent {
	margin: auto;
	max-width: 800px;
	width: 100%;

	position: relative;
	top: 100px;
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
}

.formContent form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	width: 100%;
}
	
.formContent > p {
	line-height: 1.1;
	font-size: 14pt;
	max-width: 550px;
	margin: auto;
}

.formContent > section {
	width: 100%;
	padding: 25px;
	box-sizing: border-box;
    border-radius: 50px;
	margin: auto;
	margin-top: 10px;
	min-height: 500px;

	text-align: left;
	color: #2e2e2e;

	display: flex;
    flex-direction: column;
    align-items: center;
}

.radioGroup {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 500px;
}

.radioButton {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 15px;
	font-size: 13pt;

	background: #eff1f5;
	border-radius: 7px;
	width: 100%;
	cursor: pointer;
	box-sizing: border-box;

	outline: 2px solid transparent;
	transition: outline-color 200ms;
	user-select: none;
}

.radioButton:has(> input[type="radio"]:hover) {
	background: #E7EFFC;
}

.radioButton:has(> input[type="radio"]:focus-visible) {
	background: #E7EFFC;
}

.radioButton:has(> input[type="radio"]:checked) {
	outline-color: #277ad8;
	color: #277ad8;
	font-weight: bold;
	background: #E7EFFC;
}

input[type="radio"] {
	appearance: none;
	margin: 0;
	width: 15px;
	height: 15px;
	border-radius: 15px;
	background-color: #c6cad5;
	transition: background-color 200ms, border-color 200ms;
	border: 4px solid transparent;
	cursor: pointer;
}

input[type="radio"]:focus-visible {
	outline: none;
}

input[type="radio"]:checked {
	background-color: white;
	border-color: #277ad8;
}

.formContent button[type="submit"] {
	border-radius: 7px;
	width: 100%;
	height: 40px;
	font-weight: 700;
	margin-top: 20px;
	font-size: 13pt;

	opacity: 0;
}

.formContent .textareaContainter {
	min-width: 500px;
}

.formContent .textareaGroup {
	opacity: 0;
	height: 0;
}

.formContent .textareaGroup:not([data-opened]) {
	width: 0;
}

.formContent .textareaGroup[data-opened] {
	opacity: 1.0;
	height: unset;
}

.textareaGroup {
	width: 500px;
	margin: auto;
}

.textareaGroup p {
	margin-top: 0.5em;
}

textarea {
	background: #eff1f5;
	border-radius: 10px;
	padding: 20px;
	width: 100%;
	max-width: 100%;
	min-height: 125px;
	min-width: 300px;
	font-size: 13pt;

	border: 2px solid transparent;
	transition: border-color 100ms;
}

textarea:focus-visible {
	outline: none;
	border-color: #277ad8;
}

input[type="text"] {
	background: #eff1f5;
	border-radius: 10px;
	padding: 10px 20px;
	font-size: 13pt;
	width: 100%;

	border: 2px solid transparent;
	transition: border-color 100ms;
}

input[type="text"]:focus-visible {
	outline: none;
	border-color: #277ad8;
}