@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@font-face{
	font-family: ka1;
	src: url(../fonts/ka1.ttf);
}
@font-face{
	font-family: ka2;
	src: url(../fonts/ka2.ttf);
}
*
{
	padding: 0;
	margin: 0;
	text-decoration: 0;
	list-style: none;
	font-family: ka2, sans-serif;

}

::-webkit-scrollbar{
	width: 10px;
}

::-webkit-scrollbar-track{
	background: #a0a0a0
}

::-webkit-scrollbar-thumb{
	background: #f0f0f0
}

a
{
	cursor: pointer;
}
.body_text
{
	position: relative;
	top: 80px;
	width: 100%;
	text-align: center;
}

body
{
	background: #27282c;
	height: 200vh;
	font-family: ka1;
}

nav
{
	position: fixed;
	background: #202020;
	height: 80px;
	width: 100%;
	z-index: 2
}

label.logo
{
	color: blue;
	font-size: 32px;
	line-height: 80px;
	padding: 0 100px;
	font-weight: bold;
	font-family: 'ka1', sans-serif
}

nav ul
{
	float: right;
	margin-right: 20px;

}

nav ul li
{
	display: inline-block;
	line-height: 80px;
	margin: 0 5px;
}

nav ul li a
{
	color: white;
	font-size: 16px;
	padding: 7px 13px;
	text-transform: uppercase;
	transition: .5s;
	font-family: 'ka1', sans-serif
}

a:hover
{
	background: #090909;
	transition: .5s;
}

.checkbtn
{
	font-size: 30px;
	color: white;
	float: right;
	line-height: 80px;
	margin-right: 40px;
	cursor: pointer;
	display: none;
}


#check
{
	display: none;
}

.button
{
	position: relative;
}
.top-img
{
	position: relative;
    left: -32px;
    opacity: 0;
    transition: .5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.top-img:hover
{
    opacity: 1;
}


#box
{
	background: #666666; 
	top: 1%;
	max-width: 720px; 
	margin: 100px auto 16px; 
	padding: 32px 24px 16px; 
	max-height: 360px;
	border:10px #000;
}
#box p {
	background: #27282c;
	color:#fff;
	padding: 10px 30px;
}
#box #title{
	position: relative;
	background: #666666;
	color: #fff;
	top: -22px;
	left: -10%;
}
#box a {
	position: relative;
	top: -22px;
	left: 88.4%;
	background: #666666;
	padding: 10px 30px;
	color: #fff;
}
#box a:hover{
	background: #b22222;
}
#box img{
	position: relative;
	top:-22px;
}

#menu
{
	top: 100px;
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 30px;
}



#menu a
{
	position: relative;
	background: var(--clr);
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 32px;
	letter-spacing: 0.25em;
	padding: 10px 30px;
	transition: 0.5s;
}
#menu a:hover
{
	letter-spacing: 0.35em;
	background: var(--clr);
	color: var(--clr);
	box-shadow: 0 0 35px var(--clr);
}
#menu a::before
{
	content: '';
	position: absolute;
	inset:2px;
	background: #27282c;

}
#menu a span
{
	position: relative;
	z-index: 1;
}
#menu a i
{
	position: absolute;
	inset: 0;
	display: block;
}
#menu a i::before
{
	content: '';
	position: absolute;
	top: -3.5px;
	left: 80%;
	width: 10px;
	height: 5px;
	border: 2px solid var(--clr);
	background: #27282c;
	transform: translateX(-50%);
	transition: 0.5s;
}
#menu a:hover i::before
{
	width: 20px;
	left: 20%;
}
#menu a i::after
{
	content: '';
	position: absolute;
	bottom: -3.5px;
	left: 20%;
	width: 10px;
	height: 5px;
	border: 2px solid var(--clr);
	background: #27282c;
	transform: translateX(-50%);
	transition: 0.5s;
}
#menu a:hover i::after
{
	width: 20px;
	left: 80%;
}

#preloader
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #000;
	background-size: 30%;
	height: 100vh;
	width: 100%;
	position: fixed;
	z-index: 100;

}

@media (max-width: 952px){
	label.logo
	{
		font-size:16px;
		padding-left: 50px;
	}
	nav ul li a{
		font-size: 16px;
	}
	#box a {
		left: 87.5%;

	}
}

@media (max-width: 858px) {
		label.logo
	{
		font-size:8px;
		padding-left: 30px;
	}

	#box a {
		left: 78%;

	}

	.checkbtn
	{
		display: block;
		z-index: 2;
	}

	ul
	{
		position:fixed;
		width: 50%;
		height: 100vh;
		background: #505050;
		top: 80px;
		left: -100%;
		text-align: center;
		transition: all .5s;
		z-index: 2;
	}
	nav ul li
	{
		display: block;
		margin: 50px 0;
		line-height: 30px;
		z-index: 2;

	}
	nav ul li a
	{
		font-size: 16px;
		z-index: 2
	}
	#check:checked ~ ul
	{
		left: 0;
		z-index: 2;
	}
	
}
