$primaryColor: #3D7EF0;
$white: #ffffff;
$black: #000000;
$lightGray: #f1f1f1;

@import 'bootstrap/bootstrap.scss';

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: #444444;
	font-size: 17px;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100vh;
}

* {
	box-sizing: border-box;
}

.hidden {
	display: none;
}

.smooth,
.icon-preview {
	transition: all ease-in-out .2s;
	-moz-transition: all ease-in-out .2s;
	-webkit-transition: all ease-in-out .2s;
}

*::selection {
	background: darken($primaryColor, 5%);
	color: $white;
}

*::-moz-selection {
	background: darken($primaryColor, 5%);
	color: $white;
}

*::-webkit-selection {
	background: darken($primaryColor, 5%);
	color: $white;
}

.particles-js-canvas-el {
	position: absolute;
	z-index: 1;
	top: 0;
	left: -20px;
}

.hljs {
	padding: 10px 30px !important;
	border-radius: 15px;
}

h1 {
	font-weight: 400;
	font-size: 42px;
	line-height: 1;
}

h1 > *,
h2 > * {
	display: block;
}

h1 > p,
h2 > p {
	margin: 0;
	padding: 0;
	line-height: 1.7;
}

h1 > small,
h2 > small {
	font-weight: 100;
	font-size: 20px;
	line-height: 1.2;
	text-shadow: none;
}

.head {
	min-height: 40vh;
	width: 100%;
	background-image: radial-gradient(at 70% 40px, #113745, #09232d, #04151c);
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: $white;
	text-align: center;
	text-shadow: 0 -1px 0 rgba($black, 0.3);
	position: relative;
	padding: 0 20px 20px 20px;
}

.head > .menu {
	clear: both;
	z-index: 9999;
}

.head > .menu > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.head > .menu > ul > li {
	display: inline-block;
	margin: 0 !important;
	padding: 0;
	float: left;
	margin: 0 10px;
}

.head > .menu > ul > li > a {
	display: block;
	margin: 0;
	padding: 40px 20px;
	text-decoration: none;
	color: rgba($white, 0.7);
	font-size: 23px;
	font-weight: 100;
	text-shadow: none;
}

.head > .menu > ul > li > a:hover,
.head > .menu > ul > li > a:active,
.head > .menu > ul > li > a:focus {
	background-color: rgba($white, 0.1);
	color: rgba($white, 1);
}

.head h1 > p {
	opacity: 0.9;
	font-size: 50px;
}

.head > div {
	display: flex;
	justify-content: center;
	align-items: center;
}

.logo > .px {
	margin-top: 20px;
	padding: 30px 30px 0 30px;
	font-size: 20vh;
	opacity: 0.8;
}

.head input {
	background-color: transparent;
	color: $white;
	border: 1px solid rgba($white, 0.3);
	border-radius: 10px;
	padding: 20px 50px 20px 20px;
	margin: 0 auto;
	width: 100%;
	outline: none;
	font-weight: 300;
}

.head input::placeholder {
	color: $white;
	opacity: 0.4;
}

.head input:hover,
.head input:active,
.head input:focus {
	border: 1px solid rgba($white, 0.4);
	background-color: rgba($white, 0.1);
	outline: none;
}

.head input:focus {
	box-shadow: 0 0 0 5px rgba($white, 0.2);
}

.head input:hover::placeholder,
.head input:active::placeholder,
.head input:focus::placeholder {
	opacity: 0.6;
}

.head .star-rating > div {
	background-color: rgba($white, 0.1);
	box-shadow: 0 0 0 5px rgba($white, 0.2);
	padding: 25px 60px;
	margin: 45px auto;
	z-index: 999;
}

#icon-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#landing,
#playground {
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
}

#landing a {
	text-decoration: none;
	color: $primaryColor;
	border-bottom: 0 solid transparent;
}

#landing a:hover {
	border-bottom: 2px solid $primaryColor;
}

.content {
	flex-grow: 1;
	padding: 70px;
}

.content table {
	text-align: left;
	border-collapse: collapse;
	width: 100%;
}

.content table th,
.content table td {
	padding: 10px;
}

.content table th {
	border: 1px solid #0f3f94;
}

.content table td {
	border: 1px solid #666666;
}

.content table > thead > tr {
	background-image: linear-gradient(177deg, $primaryColor 0%, darken($primaryColor, 22%) 100%);
	color: $white;
}

.content table > tbody > tr:nth-child(even) {
	background-color: lighten($primaryColor, 37%);
}

.content table code {
	padding: 7px 10px;
	border-radius: 10px;
	font-family: monospace, monospace;
	background-color: #444444;
	display: inline-block;
	color: $white;
	font-size: 15px;
}

.content h2 code {
	padding: 2px 5px;
	border-radius: 5px;
	font-family: monospace, monospace;
	background-color: lighten($primaryColor, 37%);
	display: inline-block;
	color: lighten($black, 37%);
}

.content .notice {
	margin-top: 40px;
	margin-bottom: 30px;
}

.content .notice > .info-icon {
	border-radius: 10px;
	background-color: $primaryColor;
	padding: 6px 9px;
	color: $white;
	font-size: 20px;
}

footer {
	position: relative;
	min-height: 150px;
	width: 100%;
	background-image: linear-gradient(177deg, $primaryColor 0%, darken($primaryColor, 22%) 100%);
}

.footer {
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	color: rgba($white, 0.9);
	text-shadow: 0 -1px 0 rgba($black, 0.4);
	padding: 70px;
}

/* Small display exclusive */
@media (max-width: 1099px) {
	//
}

/* Large display exclusive */
@media (min-width: 1100px) {
	.head > .menu {
		position: absolute;
		top: 0;
		right: 20px;
	}
}
