@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');

* {
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}
  
body {
	background: #000000;
	color: #fff;
}

html, body {
	overflow-x: hidden;
}

#header {
	width: 100%;
	height: 100vh;
	/* background-image: url(images/background.png); */
	background-image: /* linear-gradient(to right, rgb(0, 0, 0, 1) 10%, 
					rgba(0, 0, 0, 0)), */
					  linear-gradient(to top, rgb(0, 0, 0) 1%, 
					rgba(0, 0, 0, 0)),
					  url(images/SL-043021-42650-13.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center 70px;
}

.container {
	padding: 10px 10%;
}

nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	cursor: default;
	background-color: rgba(8, 8, 8, 0.7);
	border: 1px solid #FFC900;
	border-style: hidden hidden solid hidden;
	backdrop-filter: blur(10px);
	margin: -10px -155px;
	padding: 10px 155px;
	top: -100%;
	transition: top 0.5s ease;
}

.nav-sticky {
	position: fixed;
	margin: -3px -145px;
	top: 0px;
	width: 100%;
	z-index: 3;
	transition: top 0.5s ease;
}

.logo {
	width: 140px;
	position: relative;
}

nav ul li {
	display: inline-block;
	list-style: none;
	margin: 10px 20px;
}

nav ul li a {
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	position: relative;
}

nav ul li a::after {
	content: '';
	width: 0;
	height: 3px;
	background: #FFC900;
	position: absolute;
	left: 50%;
	bottom: -6px;
	transition: 0.5s;
	border-radius: 15px;
	transform: translateX(-50%);
}

nav ul li a:hover::after {
	width: 110%;
}

.header-text {
	margin-top: 20%;
	font-size: 30px;
}

.header-text h1 {
	font-size: 60px;
	margin-top: 20px;
}

.header-text h1 span {
	color: #FFC900;
}

/* ---------- about ---------- */

#about {
	/* margin-top: 5px; */
	padding: 80px 0;
	color: #ababab;
	background:
	linear-gradient(to bottom, rgb(0, 0, 0) 40%, rgba(0, 0, 0, 0));
}

.row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.about-col-1 {
	flex-basis: 35%;
	position: relative;
	display: inline-block;
}

/* .layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
	pointer-events: none;
}   */

.about-col-1 img {
	position: relative;
	width: 100%;
	margin-top: 25px;
	cursor: zoom-in;
	/* border: #ffc200;
	border-style: solid;
	border-image-width: 200px;
	border-radius: 15px; */
	padding: 10px;
	z-index: 2;
}

figcaption {
	color: #fff;
	padding: 0 70px;
	font-size: smaller;
	text-align: center;
}

.about-col-2 {
	flex-basis: 60%;
}

.sub-title {
	font-size: 60px;
	font-weight: 600;
	color: #fff;
}

.tab-titles {
	display: flex;
	margin: 20px 0 40px;
}

.tab-links {
	margin-right: 50px;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	position: relative;
	z-index: 0;
}

.tab-links::after {
	content: '';
	width: 0;
	height: 3px;
	background: #FFC900;
	position: absolute;
	left: 50%;
	bottom: -8px;
	transition: 0.5s;
	border-radius: 15px;
	transform: translateX(-50%);
}

.tab-links.active-link::after {
	width: 100%;
}

.tab-contents ul li {
	list-style: none;
	margin: 10px 0;
}

.tab-contents ul li span {
	color: #FFC900;
	font-size: 14px;
}

.tab-contents {
	display: none;
}

.tab-contents.active-tab {
	display: block;
}

/* ---------- GitHub ---------- */

#github {
	padding: 70px 0;
}

#repos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
	grid-gap: 40px;
	margin-top: 50px;
}

#repos div {
	background: #262626;
	padding: 20px;
	font-size: 18px;
	font-weight: 300;
	border-radius: 10px;
	cursor: default;
	transition: background 0.5s, transform 0.5s;
}

#repos div h2 {
	font-size: 30px;
	font-weight: 500;
	margin-bottom: 15px;
}

#repos div a {
	text-decoration: none;
	color: #FFC900;
	display: inline-block;
}

#repos div:hover {
	background: #051d4d;
	/* background:rgb(56, 56, 56); */
	/* background: #00539CFF; */
	transform: translateY(-10px);
}

/* ---------- Contact ---------- */

#contact {
	padding: 70px 0 0;
}

.contact-left {
	flex-basis: 35%;
}

.contact-right {
	flex-basis: 60%;
}

.contact-left p {
	margin-top: 30px;
}

.contact-left p i {
	color: #FFC900;
	margin-right: 15px;
	font-size: 25px;
}

.social-icons {
	margin-top: 30px;
}

.social-icons a {
	text-decoration: none;
	font-size: 30px;
	margin-right: 15px;
	color: #ababab;
	display: inline-block;
	transition: transform 0.5s, color 0.5s;
}

.social-icons a:hover {
	/* color: #FFC900; */
	color: #0091ff;
	transform: translateY(-5px);
}

.btn {
	display: inline-block;
	margin: 50px auto;
	width: fit-content;
	border: 1px solid #FFC900;
	padding: 14px 50px;
	border-radius: 6px;
	text-decoration: none;
	color: #fff;
	transition: 0.5s;
}

.btn:hover {
	background: #FFC900;
}

.btn.btn2 {
	background: #ffc200;
	cursor: pointer;
	padding: 14px 60px;
	font-size: 22px;
	margin-top: 20px;
	margin-left: 50%;
	margin-bottom: 20px;
	transform: translateX(-50%);
}

.btn.btn2:hover {
	box-shadow: 0 0 10px 5px rgba(255, 221, 0, 0.5);
}

#loadingIcon {
	display: none;
	font-size: 36px;
	padding: 14px 0;
	margin-top: 20px;
	margin-left: 48%;
	margin-bottom: 20px;
	color: #ffc200;
}

.contact-right form {
	width: 100%;
}

form input, form textarea {
	width: 100%;
	border: 0;
	outline: none;
	background: #262626;
	padding: 15px;
	margin: 15px 0;
	color: #fff;
	font-size: 18px;
	border-radius: 6px;
}

.copyright {
	width: 100%;
	text-align: center;
	padding: 25px 0;
	background: #262626;
	font-weight: 300;
	/* margin-top: 20px; */
}

/* ---------- Mobile Device Styles ---------- */

nav .fas {
	display: none;
}

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

	#header {
		background-image: 
		linear-gradient(to top, rgb(0, 0, 0, 1) 1%, rgba(0, 0, 0, 0.1)),
		url(images/mobile_wallpaper.png);
		background-position: center;
	}

	.header-text {
		margin-top: 150%;
		font-size: 16px;
	}

	.header-text h1 {
		font-size: 30px;
	}

	.logo {
		top: 5px;
		left: -130px;
	}

	nav .fas {
		display: block;
		font-size: 25px;
		margin-right: -120px;
		margin-top: 10px;
	}

	nav {
		position: fixed;
		top: 0;
		background-size: cover;
		left: 155px;
		z-index: 2;
		width: 100%;
		margin: -10px -155px;
		border: none;
	}

	nav ul {
		background: #202020;
		top: 0;
		position: fixed;
		right: -600px;
		width: 175px;
		margin-right: -25px;
		height: 110vh;
		padding-top: 50px;
		transition: right 0.5s;
	}

	nav ul li {
		display: block;
		margin: 25px;
		margin-right: 45px;
		text-align: center;
	}

	nav ul .fas {
		position: absolute;
		top: 25px;
		left: 25px;
		cursor: pointer;
	}

	.sub-title {
		font-size: 40px;
	}

	.about-col-1, .about-col-2 {
		flex-basis: 100%;
	}

	.about-col-1 {
		margin-bottom: 30px;
	}

	.about-col-2 {
		font-size: 14px;
	}

	.about-col-1 img {
		z-index: 0;
	}

	.tab-links {
		font-size: 16px;
		margin-right: 20px;
	}

	.contact-left, .contact-right {
		flex-basis: 100%;
	}

	.btn {
		margin-left: 50%;
		transform: translateX(-50%);
		padding: 14px 20px;
		font-size: 12px;
	}

	#msg {
		width: 300px;
		
	}

	.copyright {
		font-size: 14px;
	}
}

#msg {
	color: #26ff00;
	display: block;
	opacity: 0;
	transition: opacity 3s ease-in-out;
	margin-left: 53%;
	transform: translateX(-35%);
}