html {
	scroll-behavior: smooth;
  }

  h1, h1 * {
	font-weight: bold;
	margin-bottom: 20px;
	font-size: 100px;
	line-height: 90%;
	text-align:center;
	margin:150px;
	margin-bottom:65px;
}

main {

	background: rgba(255, 255, 255, 1);
	border-radius: 10px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);

	max-width:1200px;
	margin:auto;

	display:flex;
	flex-direction:row;
	justify-self: center;
	margin:0 20px;
	transition:opacity 0.3s ease-in-out;
	opacity:1;

}
main.searching {
	opacity:0.3;
}

p.subtext {
	font-size:12px;
	text-align:center;
	margin-top: -40px;
    margin-bottom: 30px;
}

input[type="search"] {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 10px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	max-width:1200px;
	border-radius:10px;
	padding:20px;
	font-size:16px;
	width:100%;
}
input[type="search"]::placeholder {
	opacity:1;
}

.left {
	min-width:300px;
	border-right: 1px solid #00000014;
}

.right {
	min-width:calc(100% - 300px);
	padding:40px;
}

.left>ul {
	margin:30px 0;
	margin-bottom:45px;
}
.left li {
	list-style-type: none;
}
.left ul>li>p {
	font-weight:600;
}
.left a {
	text-decoration: none;
	color: #4e4e4e;
	padding:10px 30px;
	display:block;
	transition:all 0.3s ease-in-out;
}
.left a:hover {
	background: #f5f5f5;
}
.left a.active {
	border-right: 2px solid #da3c96;
	background: #f5f5f5;
}
.left>ul>li>p {
	padding:10px 20px 10px 30px;
}
.left>ul>li>ul>li>a {
	padding:10px 20px 10px 45px;
}
.left>ul>li>ul>li>ul>li>a {
	padding:10px 20px 10px 60px;
}
.left>ul>li>a {
	font-weight:600;
}

.left::-webkit-scrollbar {
	width: 4px
}

.left::-webkit-scrollbar-thumb {
	background: transparent;
	border-radius: 4px
}

.left:hover::-webkit-scrollbar-thumb {
	background: hsla(0,0%,53.3%,.4)
}

.left:hover::-webkit-scrollbar-track {
	background: hsla(0,0%,53.3%,.1)
}


.right h1, .right h2, .right h3, .right p, .right ul, .right ol {
	margin:15px 0;
	font-weight:400;
	line-height: 1.5;
}
.right h2, .right h2 * {
	font-size:27px;
	text-align:left;
	margin:0;
	font-weight:600;
	text-shadow:none;
}
.right h3, .right h3 * {
	font-size:22px;
	margin-top: 50px;
}
.right h2 {
	margin-top:50px;
	padding-top:50px;
	border-top:1px dashed #e1e1e1;
}
.right article>h2:first-child {
    margin-top: 0;
	padding-top:0;
	border-top:0;
}
.right ul, .right ol {
	margin-left: 30px;
}
.right ul li, .right ol li {
	margin: 5px 0;
}


.right code {
	background-color: #23241f !important;
	color: #f8f8f2;
	overflow: visible;
	margin-bottom: 5px;
	margin-top: 5px;
	padding: 20px ;
	border-radius: 10px;
	font-family: monospace;
	overflow-wrap: break-word;
	display: inline-block;
	font-size: 12px;
	display:block;
	margin:15px 0;
}
.right p>code, .right li>code {
	display: inline-block;
	margin: 0 3px;
	padding: 1px 10px;
	background: #6a6a6a !important;
	border-radius: 5px;
}
.right strong {
	font-weight:600;
}
.right img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	border: 2px solid #e3e3e3;
}

.right::-webkit-scrollbar {
	width: 4px
}

.right::-webkit-scrollbar-thumb {
	border-radius: 4px
}

.right::-webkit-scrollbar-thumb {
	background: hsla(0,0%,53.3%,.4)
}

.right::-webkit-scrollbar-track {
	background: hsla(0,0%,53.3%,.1)
}

tip, info, warning, danger {
	margin: 20px 0;
	padding: 20px;
	background: #e0f1ff;
	border-radius: 5px;
	display: block;
	position:relative;
	color: #366a96;
}
tip:before, warning:before, danger:before, info:before {
	display:block;
	content:'SUGGESTION';
	font-weight:600;
	font-size:12px;
	letter-spacing: 1px;
}
tip:after, warning:after, danger:after, info:after {
	content: '';
	width: 5px;
	background: #74c0ff;
	height: 100%;
	position: absolute;
	top: 0;
	left: -3px;
	border-bottom-left-radius: 5px;
	border-top-left-radius: 5px;
}

warning {
	background:#fffde0;
	color:#a6a224;
}
warning:before {
	content:'WARNING';
}
warning:after {
	background:#e5df39;
}

info {
	background: #ace5c1;
    color: #1c5f36;
}
info:before {
	content:'INFORMATION';
}
info:after {
	background:#2bb65e;
}

danger {
	background:#ffe2dd;
	color:#a94533;
}
danger:before {
	content:'DANGER';
}
danger:after {
	background:tomato;
}

.lightbox-dialog {
	margin: auto;
	border-radius: 10px;
	border:0;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-dialog::backdrop {
	background: rgba(0, 0, 0, 0.8);
	animation: glowing 20s linear infinite;
	background:linear-gradient(45deg, #ff00006f, #ff73006f, #fffb006f, #48ff006f, #00ffd56f, #002bff6f, #7a00ff6f, #ff00c86f, #ff00006f);
	backdrop-filter: blur(15px);
	background-size: 400%;
}

.lightbox-dialog img {
	border-radius: 10px;
	max-width: 90vw;
	max-height: 90vh;
}

@keyframes glowing {
	0% { background-position: 0 0; }
	50% { background-position: 400% 0; }
	100% { background-position: 0 0; }
}


.right article {
  display: none;
}

.right article.active {
  display: block;
}






.search-wrapper {
	position: relative;
	margin:0 20px;
	justify-self: center;
	width:calc(100% - 40px);
	margin-bottom: 15px;
	max-width:1200px;
  }
  
  #search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: white;
	max-height: 300px;
	overflow-y: auto;
	z-index: 999;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	box-shadow:0 4px 30px rgba(0, 0, 0, 0.1);
  }
  #search-results.min {
	height:0;
  }
  
  .result {
	padding: 10px;
	border-bottom: 1px solid #eee;
	cursor: pointer;
  }
  
  .result:last-child {
	border-bottom: none;
  }
  
  .result:hover {
	background: #f9f9f9;
  }
  
  .trail {
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 4px;
	color: #4e4e4e;
	font-weight: 600;
  }
  
  .excerpt {
	font-size: 14px;
	color: #4e4e4e;
  }
  
  .excerpt strong {
	background: yellow;
  }
  

  #search.searching {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
  }
  
  .highlighted {
	background-color: yellow;
	font-weight: 600;
  }

@media screen and (max-width:1300px) {

    h1, h1>span {
        font-size:80px;
    }

}
  
@media screen and (max-width:768px) {

	h1 {
		font-size:35px;
		margin:130px 20px 50px 20px;
	}
	main {
		flex-wrap:wrap;
		margin-left:20px;
		margin-right:20px;
		max-height:initial;
		width: calc(100% - 40px);
	}
	.left {
		width:100%;
		border:0;
	}
	.right {
		min-width:100%;
	}

}