@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;400;700;900&display=swap');
html,body {
	height: 100vh;
	width: 100vw;
	margin: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: black;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	user-select:none;
	font-family: 'Tajawal', sans-serif;
	/* make it responsiv */
	@media (max-width: 768px) {
		font-size: 14px;
	}
}

[data-tooltip]::before {
	content: attr(data-tooltip);
  }
  
  /* (B) POSITION TOOLTIP */
  [data-tooltip] {
	position: relative;
	display: inline-block;
  }
  [data-tooltip]::before {
	position: absolute;
	z-index: 999;
  }
  [data-tooltip].top::before {
	bottom: 100%;
	margin-bottom: 10px;
  }
  [data-tooltip].bottom::before {
	top: 100%;
	margin-top: 10px;
  }
  [data-tooltip].left::before {
	right: 100%;
	margin-right: 10px;
  }
  [data-tooltip].right::before {
	left: 100%;
	margin-left: 10px;
  }
  
  /* (C) SHOW TOOLTIP ONLY ON HOVER */
  [data-tooltip]::before {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s;
  }
  [data-tooltip]:hover::before {
	visibility: visible;
	opacity: 1;
  }
  
  /* (D) STYLE THE TOOLTIP */
  [data-tooltip] { background: #fea; }
  [data-tooltip]::before {
	background: #000;
	color: #fff;
	padding: 5px;
	min-width: 100px;
	text-align: center;
  }

#background {
	background-size:cover;
	background-repeat: no-repeat;
	background-position: center center;
	transform: scale(1.1); 
	width: 100%;
	height: 100%;
	position: fixed;
	filter:blur(5px);
}

#profile {
	background-color:#151515;
	width:900px;
	height: 600px;
	border: 3px solid #252525;
	outline: 10px solid #151515;
	border-radius: 25px;
	z-index: 2;
	display: flex;
	align-items: center;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 7px 12.5px #212121;
}

#header {
	margin-top:20px;
	width:96%;
	height: 30%;
	background-image: url("public/header.gif");
	background-size:cover;
	background-repeat: no-repeat;
	background-position: bottom;
	border-radius: 25px 25px 0 0;
}

#profileinfo {
	display:flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	color:white;
	position: absolute;
	top:140px;
	left:60px;
	z-index:30;
}

#profileavatar {
	width: 125px;
	height: 125px;
	border-radius: 50%;
	outline: 12px solid #151515;
	z-index: 3;
	background-image: url("public/avatar.jpg");
	background-size:cover;
	background-repeat: no-repeat;
	background-position: center center;
}

#profileusername {
	font-size: 32px;
	font-weight: 700;
	background-color: #151515;
	margin-left:-20px;
	padding:10px;
	width: 170px;
	border-radius: 40px;
	display: flex;	
	align-items: flex-start;
	justify-content: center;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}



#badgesContaienr {
	/* background-color:red; */
	width: 100%;
	height: 15%;
	position: relative;
	z-index: 4;
	overflow: hidden;
}
.icon {
	font-size: 20px;
	color:white;
	transition: .3s;
}

.icon[lua] > img {
	margin-bottom: -5px;
	transform: scale(0.8);
	padding:0;
}

/* #socialMediaContaienr {
	width: 160px;
	height: 30px;
	position: absolute;
	top:35px;
	left:180px;
	display:flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	background-color:#252525;
	border-radius: 15px;
	border-bottom-right-radius: 0;
} */

#otherBadges::before {
	content:"Skills";
	font-size: 20px;
	position: absolute;
	color:White;
	left: 0px;
	bottom:40px;
}

#otherBadges {
	position: absolute;
	right:30px;
	top:35px;
	/* background-color: 252525; */
	border:1px solid #252525;
	padding:7px;
	border-radius: 15px;
	border-top-left-radius: 0;
	width: 500px;
	height: 30px;
	display:flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
}

#content {
	position: relative;
	width: 100%;
	height: 55%;
}

#content > #bio::before {
	content:"Bio";
	font-size: 16px;
	position: absolute;
	color:White;
	left: 0px;
	top:-20px;
}

#content > #bio {
	position: absolute;
	width:300px;
	height: 130px;
	top:30px;
	left:40px;
	padding:10px;
	border:1px solid #252525;
	border-radius: 15px;
	border-top-left-radius: 0;
	color:white;
}

/* #content > #discord::before {
	content:"Discord";
	font-size: 16px;
	position: absolute;
	color:White;
	left: 0px;
	bottom:70px;
} */

#content > #discord {
	width: 300px;
	height: 55px;
	position: absolute;
	bottom:40px;
	left:40px;
	padding:10px;
	border:1px solid #252525;
	border-radius: 15px;
	border-top-left-radius: 0;
}

#content > #discord > #wedget {
	background-image: url('https://discord.c99.nl/widget/theme-4/400040613367775233.png');
	background-size:cover;
	background-repeat: no-repeat;
	background-position: center center;
	width:100%;
	height: 100%;
}


#content > #projects::before {
	content:"Projects";
	font-size: 16px;
	position: absolute;
	color:White;
	left: 0px;
	top:-20px;
}


#content > #projects {
	width: 400px;
	height: 230px;
	position: absolute;
	top:30px;
	right:40px;
	padding:10px;
	border:1px solid #252525;
	border-radius: 15px;
	border-top-left-radius: 0;
	display:flex;
	flex-direction: column;
	align-items: center;
	gap:10px;
}

.project {
	background-color:#252525;
	width:100%;
	height: 50px;
	border-radius: 15px;
	display:flex;
	flex-direction: row;
	align-items: center;
	position: relative;
}

.project > .project-img {
	height: 30px;
	margin-left:10px;
	background-position: center center;
	background-size:cover;
	background-repeat: no-repeat;
}

.project > .project-title {
	color:white;
	font-size: 14px;
	position: absolute;
	left:56px;
	top:10px;
}

.project > .project-subtitle {
	color:white;
	font-size: 10px;
	position: absolute;
	left:57px;
	top:25px;
}

.project > .project-bio {
	color:white;
	font-size: 9px;
	position: absolute;
	left:130px;
}

@media (max-width: 768px) {
	body{
		overflow-y: scroll;
	}

	#profile {
		width: 100%;
		height: 100%;
		border-radius: 0;
		/* outline:none; */
		display: flex;
		align-items: center;
		flex-direction: column;
	}
	#header {
		margin-top:0;
		height: 20%;
		width:100%;
		position: relative;
		background-size:cover;
		background-repeat: no-repeat;
		background-position: bottom;
		border-radius: 0px 0px 0 0;
	}
	#profileinfo {
		top: 90px;
		left: 30px;
		/* transform: scale(0.5); */
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		/* background-color:red; */
		position: absolute;
		left:0;
		right:0;
	}
	#profileavatar {
		width: 120px;
		height: 120px;
		outline: 10px solid #151515;
	}
	#profileusername {
		font-size: 24px;
		width:fit-content;
		background-color:transparent;
		/* center it verticly */
		padding:0;
		display:flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		margin:0;
		padding:0;
		margin-top:10px;
		
	}
	#badgesContaienr {
		height: 20%;
		top:130px;
	}
	#otherBadges::before {
		content:"Skills";
		font-size: 20px;
		position: absolute;
		margin-bottom: 10px;;
		color:White;
		left: 0px;
		right:0px;
		text-align: center;
		bottom:40px;
	}
	#otherBadges {
		width: 96.3%;		
		border:none;
		border-radius: 0;
		left:0;
		right:0;
		background-color:#252525;

	}
	#content {
		margin-top:25%;
		/* height: 100%; */
		display:flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	#content > #bio::before {
		content:"Bio";
		font-size: 16px;
		position: absolute;
		color:White;
	}
	
	#content > #bio {
		width: 73%;
		height: 100px;
		margin:auto;
		margin:0;
	}
	#content > #discord {
		top:170px;
		width: 73%;
		height: 50px;
	}
	#content > #projects {
		position: relative;
		width: 73%;
		height: 200px;
		top: 220px;
		left:0px;
		display: none;
		

	}
	.project {
		height: 40px;
	}
	.project > .project-img {
		height: 20px;
	}
	.project > .project-title {
		font-size: 12px;
		top: 5px;
	}
	.project > .project-subtitle {
		font-size: 8px;
		top: 15px;
	}
	.project > .project-bio {
		font-size: 7px;
		top: 25px;
	}
	
}

