@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap"); /*For LOGO*/

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap"); /*CONTACT PAGE*/
@import url("https://fonts.googleapis.com/css2?family=Raleway&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Public+Sans&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	background-color: #fff;
	font-family: "Public Sans", sans-serif;
}
#preloader {
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, 1);
	transition: 1s 0.4s;
}
#progress {
	height: 1px;
	background: #fff;
	position: absolute;
	width: 0; /* will be increased by JS */
	top: 50%;
}
#progstat {
	font-size: 0.7em;
	letter-spacing: 3px;
	position: absolute;
	top: 50%;
	margin-top: -40px;
	width: 100%;
	text-align: center;
	color: #fff;
}
/* NAVBAR */

nav {
	width: 100%;
}

.nav-logo {
	display: flex;
	font-size: 3rem;
	font-family: "Kaushan Script", cursive;
	justify-content: space-around;
	align-items: center;
}
nav li {
	font-family: "Bebas Neue", cursive;
}
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.menu-icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem;
	position: fixed;
	z-index: 999;
	cursor: pointer;
	border-radius: 0 0 10% 0;
}
.social-media {
	display: flex;
	flex-direction: row;
	right: 0;
	align-items: center;
	padding: 1rem;
	position: fixed;
	z-index: 999;
	cursor: pointer;
	border-radius: 0 0 0 10%;
}
@media only screen and (max-width: 576px) {
	.social-media {
		backdrop-filter: blur(35px);
		background-color: rgba(255, 255, 255, 0.5);
		box-shadow: -2px 2px 2px #ccc;
	}
}
.social-media a {
	text-decoration: none;
	font-size: 2rem;
	margin: 0 0.5rem;
	color: #d61f5d;
}
.menu-icon__line {
	height: 3px;
	width: 34px;
	display: block;
	background-color: #d61f5d;
	color: white;
	mix-blend-mode: difference;
	margin: 2.5px;
	transition: transform 0.2s ease, background-color 0.5s ease;
}
.menu-icon__line-left {
	width: 24px;
}
.menu-icon__line-right {
	width: 24px;
}
.nav {
	position: fixed;
	z-index: 1;
}
.nav:before,
.nav:after {
	content: "";
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: rgba(234, 234, 234, 0.2);
	z-index: -1;
	transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.8s;
	transform: translateX(0%) translateY(-100%);
}
.nav:after {
	background: white;
	transition-delay: 0s;
}
.nav:before {
	transition-delay: 0.1s;
}
.nav__content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: fit-content;
	text-align: center;
	font-size: calc(5vw + 10px);
	font-weight: 200;
	transition: visibility 0.3s;
}
@media only screen and (max-width: 576px) {
	.nav__content {
		cursor: none;
		font-size: calc(15vw + 10px);
	}
}
.nav__list-item {
	display: flex;
	list-style: none;
	justify-content: center;
	transition-delay: 0.8s;
	opacity: 0;
	cursor: pointer;
	transform: translate(0%, 100%);
	transition: opacity 0.2s ease, transform 0.3s ease;
}
.nav__list-item:before {
	content: "";
	position: absolute;
	background: #d61f5d;
	width: 0px;
	height: 1rem;
	top: 50%;
	transform: translate(0%, -50%);
	transition: all 0.3s ease;
}
.nav__list-item:hover:before {
	width: 100%;
}

body.nav-active .menu-icon__line {
	background-color: gray;
}
body.nav-active .menu-icon__line-center {
	width: 24px;
	transform: translateX(0px);
}
body.nav-active .menu-icon__line-left {
	transform: translateX(0.5rem);
}
body.nav-active .menu-icon__line-right {
	transform: translateX(-0.5rem);
}
body.nav-active .nav {
	visibility: visible;
}
body.nav-active .nav:before,
body.nav-active .nav:after {
	transform: translateX(0%) translateY(0%);
}
body.nav-active .nav:after {
	transition-delay: 0.1s;
}
body.nav-active .nav:before {
	transition-delay: 0s;
}
body.nav-active .nav__list-item {
	opacity: 1;
	transform: translateX(0%);
	transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
body.nav-active .nav__list-item:nth-child(0) {
	transition-delay: 0.5s;
}
body.nav-active .nav__list-item:nth-child(1) {
	transition-delay: 0.6s;
}
body.nav-active .nav__list-item:nth-child(2) {
	transition-delay: 0.7s;
}
body.nav-active .nav__list-item:nth-child(3) {
	transition-delay: 0.8s;
}
body.nav-active .nav__list-item:nth-child(4) {
	transition-delay: 0.9s;
}
body.nav-active .nav__list-item:nth-child(5) {
	transition-delay: 1s;
}

/*Landing Section CSS*/
#Home {
	height: 100vh;
	width: 100%;
	background-image: url(../img/akshit-bg.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
#logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-block; /* change the default display type to inline-block */
	overflow: hidden;
}
#logo-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 4.5rem;
	text-shadow: white;
	font-family: "Kaushan Script", cursive;
	white-space: nowrap;
	filter: drop-shadow(0.25rem 0.25rem black);

	-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 2s; /* Firefox < 16 */
	-ms-animation: fadein 2s; /* Internet Explorer */
	-o-animation: fadein 2s; /* Opera < 12.1 */
	animation: fadein 2s;
}

@media only screen and (max-width: 768px) {
	#logo-text {
		font-size: 3.5rem;
	}
}

/* LOGO ANIMATION */
@keyframes line-anim {
	to {
		stroke-dashoffset: 0;
	}
}
@keyframes fill {
	from {
		fill: transparent;
	}
	to {
		fill: #d61f5d;
		filter: drop-shadow(0.5rem 0.5rem black);
	}
}

@keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
/* ABOUT PAGE */
.about-page {
	margin: 5rem;
	margin-bottom: 10rem;
}

#akshit-image {
	margin: 0;
	width: 100%;
}

.column-left {
	width: 33.3333333333%;
	padding: 10px;
}

.column-right {
	width: 66.6666666667%;
	padding: 10px;
}
.row {
	display: flex;
	flex-direction: row;
}
.col {
	flex-direction: column;
}
.d-flex {
	display: flex;
}

@media only screen and (max-width: 768px) {
	.row {
		text-align: justify;
		text-justify: inter-word;
		display: flex;
		flex-direction: column;
		margin-left: 1rem;
		margin-right: 1rem;
	}
	.column-left,
	.column-right {
		margin-left: 0px;
		min-width: 100%;
	}
	.column-right {
		text-align: justify;
		font-size: 0.75rem;
	}
}
@media only screen and (max-width: 768px) and (min-width: 600px) {
	#akshit-image {
		margin: 0;
		width: 60%;
		left: 50%;
	}
	.column-left {
		display: flex;
		height: 40vh;
		justify-content: center;
	}
}
.dark-heading {
	font-size: 5rem;
	text-align: center;
	color: white;
	font-family: "Kaushan Script", cursive;
}

.contact-heading {
	font-size: 5rem;
	text-align: center;
	color: white;
	font-family: "Kaushan Script", cursive;
}
.light-heading {
	margin: 5rem 0;
	font-size: 5rem;
	text-align: center;
	color: #00131c;
	font-family: "Kaushan Script", cursive;
}

.light-heading::after {
	content: ".";
	color: #0ff;
}
.dark-heading::after {
	content: ".";
	color: #d61f5d;
}

@media only screen and (max-width: 768px) {
	.about-page {
		margin-left: 0;
		margin-right: 0;
	}
	.dark-heading,
	.light-heading {
		display: flex;
		justify-content: center;
		margin: 0;
		width: 100%;
		font-size: 3.5rem;
	}
}
/* SKILLS SECTION */
.chart {
	width: 33.3333333%;
	height: 100%;
}
@media only screen and (max-width: 768px) {
	.chart canvas {
		margin-top: 2rem;
	}
}
.projects-page {
	margin: 5rem;
}
.projects-section {
	padding: 1rem;
}

.project-page-heading {
	margin: 5rem 0;
	font-size: 5rem;
	text-align: center;
	color: #00131c;
	font-family: "Kaushan Script", cursive;
}
.project-page-heading::after {
	content: ".";
	color: #0ff;
}
.skills-page-heading,
.contact-heading {
	font-size: 5rem;
	text-align: center;
	color: white;
	font-family: "Kaushan Script", cursive;
}

.skills-page-heading::after,
.contact-heading::after {
	content: "!";
	color: #d61f5d;
}
.skills-content {
	padding: 5rem;
	font-size: 1.5rem;
	font-family: "Tahoma", sans-serif;
}

@media only screen and (max-width: 768px) {
	.skills-content {
		padding: 0rem;
		font-size: 1.5rem;
		font-family: "Tahoma", sans-serif;
	}
}

.about-page-subheading {
	font-size: 1.5em;
	text-align: left;
	color: gray;
}
.social-media-handles {
	margin-top: 5rem;
	text-align: left;
	font-family: "Tahoma", sans-serif;
}

.social-media-heading {
	font-size: 4rem;
	color: red;
}

.social-media-subtitle {
	color: white;
}

.social-media-handles ul {
	list-style: none;
	color: red;
	font-size: 2rem;
	font-family: "Tahoma", sans-serif;
}

.social-media-handles li {
	font-family: "Tahoma", sans-serif;
	font-weight: bolder;
	padding: 0.5rem 0;
}

.icon-scroll,
.icon-scroll:before {
	position: absolute;
	left: 50%;
}
.icon-scroll {
	transform: translateX(-50%);
	width: 24px;
	height: 45px;
	position: absolute;
	bottom: 3rem;
	box-shadow: inset 0 0 0 1px #fff;
	border-radius: 25px;
}
.icon-scroll:before {
	content: "";
	width: 8px;
	height: 8px;
	background: #fff;
	margin-left: -4px;
	top: 8px;
	border-radius: 4px;
	-webkit-animation-duration: 1.5s;
	animation-duration: 1.5s;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-animation-name: scroll;
	animation-name: scroll;
}
@-webkit-keyframes scroll {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateY(20px);
	}
}
@keyframes scroll {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateY(20px);
	}
}

.skills {
	padding-top: 5rem;
	padding-bottom: 2.5rem;
	background: #00131c;
	color: white;
}

.project-template {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	width: 46%;
	height: 50%;
	border-radius: 0.5rem;
	background-color: #d61f5d;
	padding-bottom: 1rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.2rem;
}
.projects-page .row {
	width: 100%;
	margin: 1rem 0;
	justify-content: space-around;
}
.project-template-image {
	padding: 1.5rem 1.5rem 1rem 1.5rem;
	border-radius: 2rem;
	transition: margin 0.475s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: height 0.375s cubic-bezier(0.645, 0.045, 0.355, 1),
		width 0.375s cubic-bezier(0.645, 0.045, 0.355, 1),
		flex 0.375s cubic-bezier(0.645, 0.045, 0.355, 1),
		top 0.375s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.project-image img {
	border-radius: 15px;
	border: 1px dashed #d61f5d;
}
.view-project {
	width: fit-content;
	background-color: transparent;
	border: 1px solid white;
	padding: 1rem;
	text-align: center;
}
.project-template .view-project {
	display: none;
}
.project-template-image:hover + .view-project,
.view-project:hover {
	display: inline-block;
}

.contact-page {
	margin-top: -6px;
	background-color: #00131c;
	color: white;
	padding-top: 8rem;
	padding-bottom: 2rem;
}
.hire-me {
	font-family: "Bebas Neue", cursive;
	font-size: 12rem;
}
.hire-me-text {
	font-size: 2rem;
}
.input {
	padding: 0.5rem;
	display: flex;
	flex-direction: column;
}
.contact-me {
	margin-top: 5rem;
}
.footer-contact {
	width: 80%;
	border-top: 2px solid silver;
	border-bottom: 2px solid silver;
	font-size: 2.5rem;
	font-weight: bolder;
	padding: 1rem;
}
.footer-contact:nth-child(1),
.footer-contact:nth-child(2) {
	border-bottom: none;
}
.footer-contact:nth-child(1) a {
	color: white;
	text-decoration: none;
}
.footer-contact:nth-child(3) a {
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: white;
	border: 2px solid white;
	transition: background 0.375s ease-in-out;
}

.footer-contact:nth-child(3) a:hover {
	background-color: white;
	color: #00131c;
	/* border: 2px solid white; */
}
.footer {
	width: 80vw;
	text-align: center;
	margin-top: 3rem;
}

@media only screen and (max-width: 768px) {
	.chart {
		width: 100%;
		height: 100%;
	}

	.projects-page {
		margin: 5rem 1rem;
	}
	.projects-section {
		padding: 0rem;
		overflow-x: hidden;
	}
	.project-template {
		border-radius: 0.5rem;
		padding-bottom: 0.25rem;
		font-size: 1rem;
		width: 100%;
		margin-top: 1rem;
	}
	.project-template-image {
		border-radius: 0.5rem;
		padding: 1rem 1rem 0.5rem 1rem;
		height: 12rem;
	}
	.hire-me {
		white-space: nowrap;
		font-size: 6rem;
	}
	.hire-me-text {
		white-space: nowrap;
		font-size: 1rem;
	}
	.hire-me ::after {
		content: "!";
	}
	.footer-contact {
		border-top: 2px solid silver;
		border-bottom: 2px solid silver;
		font-size: 1rem;
		font-weight: bolder;
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
}
@media only screen and (max-width: 768px) and (min-width: 600px) {
	.chart {
		display: flex;
		justify-content: center;
	}
	.chart canvas {
		/* background-color: red; */
		width: 80%;
		/* height: 40vh; */
	}
}

::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}
::-webkit-scrollbar-track {
	background-color: #00131c;
}

::-webkit-scrollbar-thumb {
	background-color: lightblue;
	background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #a8bbbf;
}
.container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	width: 40vw;
	background-color: #d61f5d;
	filter: drop-shadow(5px 5px 5px #ccc);
	border-radius: 0.5rem;
	overflow: hidden;
}

.image {
	margin: 1.5rem;
	margin-bottom: 0.75rem;
	opacity: 1;
	justify-content: center;
	box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.25);
	border-radius: 0.25rem;
	height: auto;
	transition: all 0.5s ease-in-out;
}
.container:hover .image {
	margin: 0;
	width: 100%;
	transform: scale(1.4);
}
#overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	color: white;
}

.container:hover #overlay {
	display: block;
	box-shadow: inset 0px 0px 0 2000px rgba(0, 0, 0, 0.5);
}
.middle {
	transition: all 0.5s ease;
	font-family: "Bebas Neue", cursive;
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
	z-index: 99;
	cursor: pointer;
}
.project-title {
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 1rem;
	font-size: 1.5rem;
	letter-spacing: 5px;
	font-family: "Bebas Neue", cursive;
}

.container:hover .middle {
	opacity: 1;
}
.text {
	border: 2px solid #ff007f;
	color: #fff;
	transition: all 0.375s ease;
	font-size: 1.5rem;
	padding: 1rem 2rem;
	text-decoration: none;
}

.text:hover {
	border: none;
	background-color: #fff;
	color: #00131c;
}

@media only screen and (max-width: 768px) {
	.projects-page {
		margin: 0rem;
	}
	.container {
		width: 80%;
		height: 20%;
		left: 50%;
		transform: translateX(-50%);
	}
	.container:nth-child(2) {
		margin-top: 1rem;
	}
	.image {
		width: 91%;
		margin: 0.75rem;
		margin-bottom: 0.375rem;
		opacity: 1;
	}
	.project-title {
		margin-bottom: 0.375rem;
		font-size: 1rem;
		letter-spacing: 5px;
		font-family: "Bebas Neue", cursive;
	}
	.text {
		border: 2px solid #ff007f;
		color: #fff;
		transition: all 0.375s ease;
		font-size: 1rem;
		padding: 0.5rem 1rem;
	}
}
@media only screen and (max-width: 768px) and (min-width: 600px) {
	.image {
		width: 94%;
		margin: 0.75rem;
		margin-bottom: 0.375rem;
		opacity: 1;
	}
}
