@media (max-width: 1200px) {
	#nav-check {
		display: none;
	}

	.nav-btn {
		display: flex !important;
		flex-direction: column;
		justify-content: space-between;
		width: 30px;
		height: 20px;
		cursor: pointer;
		z-index: 1001;
	}

	.nav-btn span {
		display: block;
		width: 100%;
		height: 3px;
		background-color: #CECECE;
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	.navbar ul {
		display: none !important;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		flex-direction: column;
		background: #181818;
	}

	#nav-check:checked ~ ul {
		display: flex !important;
	}
	.nav-item .nav-drop {
		display: block !important;
		position: static !important;
		width: 100% !important;
		padding: 0 0 0 2rem !important;
		background: #202020;
		box-shadow: none;
		border: none;
	}

	.nav-drop li {
		width: 100%;
	}

	.nav-drop li a {
		border: none !important;
		padding: 12px 20px !important;
		display: block;
		background: transparent !important;
		color: #A0A0A0;
	}
}

body {
	background: #181818;
	color: #A0A0A0;
	font-size: 120%;
}
#main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

#main2 {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 1rem;
}

#nav-check, .nav-btn {
	display: none;
}

nav {
	margin: 0 auto;
	position: sticky;
	top: 0;
	background-color: #181818;
	z-index: 1000;
	padding: 1rem 0;
	width: 100%
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	flex-wrap: wrap;
}

.nav-logo, .nav-logo:hover {
	border: none;
	background: transparent;
	padding: 0;
	display: flex;
	align-items: center;
}

.nav-logo img {
	height: 1.5em;
	width: auto;
	display: block;
}

nav ul {
	display: flex;
	justify-content: center;
	flex:1;
	gap: 2rem;
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 1200px;
	flex-wrap: wrap;
}
nav ul li {
	flex: 0 0 auto;
}

nav a {
	display: inline-block;
	padding: 8px 24px;
	border: 1px solid #CECECE;
	border-radius: 6px;
	text-decoration: none;
	color: #A0A0A0;
	font-weight: 500;
	background: #181818;
}

.nav-item {
	position: relative;
}

.nav-item:hover .nav-drop {
	display: flex;
}

.nav-drop {
	display: none;
	padding:10px;
	position: absolute;
	list-style: none;
	left:0;

	flex-direction: row; 
	width: max-content;
	gap: 1.5rem;
}

nav a:hover {
	background: #CECECE;
	color: #181818;
}

nav a::after {
	display: none !important;
}

li.active > a {
	color: #7B66FF;
	pointer-events: none;
	cursor: default;
}


#footer {
	text-align: center;
	padding: 40px 0;
	font-size: 90%;
	color: #888;
}

img {
	max-width: 100%;
	height: auto;
}
.spacer1 {
	height:50px;
}
.head1 {
	font-size:200%;
	color: #7B66FF;
}

.head2 {
	font-size: 150%;
	border-left: 4px solid #7B66FF;
	padding-left: 12px;
	letter-spacing: 0.1em;
}

.card-div {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.card {
	flex: 1;
	min-width: 200px;

	border: 1px solid #444;
	border-radius: 10px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.05);
	transition: 0.3s;

	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.card:hover {
	border-color: #7B66FF;
	box-shadow: 0 0 15px rgba(123, 102, 255, 0.2);
}
.color1 {
	color: #7B66FF;
}
.color2 {
	color: #FFEB66;
}
.color3 {
	color: #C07070;
}

.link1 {
	color: #7B66FF;
	text-decoration: none;
	font-weight: bold;
	transition: 0.2s;
}
.link1:hover {
	color: #A555EC;
	text-shadow: 0 0 8px rgba(123, 102, 255, 0.6);
}

a {
	color: #AAA47D;
	text-decoration: none;
	position: relative;
	padding-bottom: 2px;
}

a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}

a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.carousel {
	max-width: 800px;
	/*margin: 0 auto;*/
	overflow: hidden;
	position: relative;
}

.carousel-track {
	display: flex;
	gap:10px;
	width: calc(200px * 12);
	animation: slide 15s linear infinite;
}

.carousel img {
	width: 200px;
	height: 200px;
	object-fit: cover;
}

@keyframes slide {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-460px); }
}

.media1 {
	width:100%;
	aspect-ratio:16/9;
	height:auto;
}

.media2inp {
	display: flex;
	gap: 20px;
	width: 100%;
}

.media2inc {
	width: calc(50% - 10px);
	aspect-ratio:16/9;
	height: auto;
}
