@charset "utf-8";
/* CSS Document */

html {
    height:100%;
}

html::-webkit-scrollbar {
	width:12px;
	height:12px;
}

html::-webkit-scrollbar-track {
    background:#1A1A1A;
} 

html::-webkit-scrollbar-thumb {
    background:#393939;
	border-radius:5px;
}

html::-webkit-scrollbar-thumb:hover {
    background:#555;
}

html {
    scrollbar-color: #393939 #1A1A1A;
    scrollbar-width: auto;
}

body {
	height:100%;
	background-color: #242424;
	background-image:url(../images/main-bg.png);
}

a {
	outline: none; 
}

a img {
    border: 0;
}

header {
	width: 100%;
	max-width:1340px;
	height: auto;
	position:fixed;
	top:0;
	left:0;
	right: 0;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	backdrop-filter: blur(6px);
	z-index:10;
	transition: top 0.3s;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header::before {
	content: "";
	position:absolute;
	inset:0;
	z-index:-1;
	pointer-events:none;
	background-image:url(../images/main-bg.png);
	opacity:0.9;
}

#main-logo-box {
	padding:12px 20px;
}

#main-logo-box a img {
	height:36px;
	width:auto;
	vertical-align:bottom;
}

#navbar {
	flex:1;
	display:flex;
	justify-content: space-evenly;
	align-items: center;
}

#navbar > a {
	font-family: "Inter Variable", sans-serif;
	font-weight: 500;
    font-style: normal;
	font-size:16px;
	color:#EEE;
	text-decoration:none;
	display:inline-flex;
	align-items:center;
	gap:4px;
}

#navbar > a::before {
	content:"";
	background-image: url("../images/blue-arrow.png");
	background-size: 15px 15px;
	background-repeat:no-repeat;
	width:15px;
	height:15px;
	flex-shrink:0;
    opacity:0;
	transition:opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
#navbar > a:hover::before {
	opacity:1;
}
}

#sidenav-btn {
	all: unset;
	align-self:center;
	margin-right:20px;
	cursor:pointer;
	display:none;
}

#sidenav-btn img {
	height:16px;
	width:auto;
	padding:5px 7px;
	border:2px solid #FFF;
	border-radius: 7px;
	vertical-align:bottom;
	opacity:0.8;
	transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
#sidenav-btn img:hover {
	opacity:0.9;
}
}

#sidenav-overlay {
	position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#sidenav-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#sidenav {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
	overflow-y: auto;
    width: 90vw;               
    max-width: 300px;
    background-color: #333;
    padding-bottom: 20px;
	box-sizing:border-box;
	border-radius:14px 0 0 14px;
    z-index: 95;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

#sidenav-overlay.open #sidenav {
    transform: translateX(0);
}

#sidenav > img {
	height:28px;
	width:auto;
	filter: grayscale(1);
	padding:20px ;
}

#sidenav-close {
	all: unset;
    position: absolute;
    top: 20px;
    right: 28px;
	font-family: "Inter Variable", sans-serif;
    font-size: 36px;
	font-weight: 500;
    font-style: normal;
    color: #888;
    cursor: pointer;
    line-height: 0.5;
	transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
#sidenav-close:hover {
    color: #EEE;
}
}

#sidenav > a {
	font-family: "Inter Variable", sans-serif;
    font-size: 16px;
	font-weight: 500;
    font-style: normal;
    display: block;
    padding: 14px 0 14px 20px;
    color: #DDD;
    text-decoration: none;
    background-color:transparent;
}

@media (hover: hover) and (pointer: fine) {
#sidenav > a:hover {
	background-color:#222;
}
}