* {
	padding: 0;
	margin: 0;
	scroll-behavior: smooth;
}

body {
	/* background: #252525; */
	background: transparent;
	font-family: "Poppins", sans-serif;
	color: #ffffff;
}

body::-webkit-scrollbar {
	background: #141414;
	width: 10px;
}

body::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: #fff;
}

.text-container,
.button-container,
.arrow-container {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

#particles-js-landing {
	position: absolute;
	background: #1f1f1f;
	top: 0px;
	width: 100%;
	height: 100vh;
	z-index: -1;
}

#particles-js-main {
	position: fixed;
	background: #252525;
	top: 0px;
	width: 100%;
	height: 100vh;
	z-index: -2;
}

.home {
	width: 100%;
	height: 100vh;
	background: transparent;
	display: flex;
	flex-direction: column;
	justify-items: space-around;
}

.text-container {
	flex: 3;
}

.name-container {
	margin-top: 3%;
	display: flex;
}

#name {
	font-weight: normal;
	font-size: 8rem;
}

#intro {
	font-weight: normal;
	font-size: 1.3rem;
}

.button-container {
	flex: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}

.home-button {
	transition-duration: 0.3s;
	height: 40px;
	margin-right: 5%;
	width: 150px;
	min-width: 150px;
	background: transparent;
	border: #0f6bad solid 3px;
	color: #0f6bad;
	font-weight: 550;
	font-size: 1rem;
}

.home-button:hover {
	transition-duration: 0.5s;
	background-color: #fff;
	transform: translateY(-7px);
	cursor: pointer;
}

.arrow-container {
	flex: 1;
	text-align: end;
}

#down-arrow {
	width: 60px;
	animation: bob ease 1.2s infinite alternate;
}

@keyframes bob {
	from {
		transform: translateY(10px);
	}
	to {
		transform: translateY(0);
	}
}

.home-border-end {
	background-color: #1f1f1f;
	height: 100px;
	border-bottom-left-radius: 70px;
	border-bottom-right-radius: 70px;
	/* border: black solid 1px; */
}

.main-container {
	margin-top: 50px;
	display: flex;
}

#side-progress-bar {
	position: -webkit-sticky;
	position: sticky;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	top: 3vh;
	margin-left: 2%;
	height: 94vh;
	width: 40px;
	/* border: red solid 1px; */
}

.landmark {
	width: 100%;
	cursor: pointer;
}

#fill {
	transition-duration: 0.2s;
	opacity: 0;
}

.progress {
	border: #312f2f solid 2px;
	width: 35%;
	flex: 1;
	margin: 20% 0 20% 0;
	border-radius: 1000px;
	z-index: 1;
}

#progress2 {
	flex: 2;
}

.progress-fill {
	background-color: #4caef5;
	width: 100%;
	height: 0%;
	border-radius: 1000px;
	z-index: -1;
}

#content {
	width: 100%;
	/* border: red solid 1px; */
}

main {
	margin-left: 8%;
	margin-right: 8%;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* border: blue solid 1px; */
}

.about-header,
.portfolio-header,
.contact-header {
	display: flex;
	justify-content: center;
	width: 100%;
	/* border: yellow solid 1px; */
}

.about-header p,
.portfolio-header p,
.contact-header p {
	margin-right: 30px;
	color: #cfcfcf;
	font-size: 3rem;
	align-self: center;
	/* border: green solid 1px; */
}

.svg {
	height: 100px;
	align-self: center;
	/* border: red solid 1px; */
}

.about-container,
.portfolio-container,
.contact-container {
	padding-top: 20px;
	padding-bottom: 20px;
	width: 80%;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* border: red solid 1px; */
}

.about-body {
	/* border: green solid 1px; */
	background-color: #1f1f1fd7;
	padding: 30px;
	border-radius: 5px;
	margin-top: 13px;
	width: 80%;
}

.break {
	display: block;
	content: "";
	margin-bottom: 10px;
}

.portfolio-container {
	width: 100%;
}

.cards {
	display: grid;
	width: 90%;
	grid-template-rows: 1f 1f;
	grid-template-columns: 1fr 1fr;
	/* border: green solid 1px; */
}

.card {
	--card-border-radius: 15px;
	transition-duration: 0.3s;
	background: linear-gradient(
		209.76deg,
		#f1f2b5 0%,
		#ffffff 0.01%,
		#135058 100%
	);
	justify-self: center;
	box-shadow: -10px 10px 8px rgba(0, 0, 0, 0.28);
	margin: 5%;
	width: 270px;
	height: 400px;
	border-radius: var(--card-border-radius);
	color: black;
	display: flex;
	flex-direction: column;
}

#card1 {
	background: linear-gradient(209.76deg, #135058 0%, #f1f2b5 100%);
}

#card2 {
	background: linear-gradient(209.76deg, #dc2430 0%, #7b4397 70%);
}

#card3 {
	background: linear-gradient(209.76deg, #00223e 0%, #ffa17f 100%);
}

#card4 {
	background: linear-gradient(209.76deg, #360033 0%, #0b8793 100%);
}

.card:hover {
	transition-duration: 0.5s;
	transform: translate(0px, -12px);
}

.card-img-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
}

.card-thumbnail {
	position: relative;
	top: 0px;
}

.github-svg-container {
	flex: 1;
	width: 100%;
	/* border: red solid 1px; */
}

.github-svg {
	width: 10%;
	margin: 6px;
	float: right;
	cursor: pointer;
}

.card-more {
	width: 10%;
	margin-bottom: 5px;
	animation: bob ease-in-out 1s infinite alternate;
}

.card-img-container {
	border-radius: 15px 15px 0px 0px;
	flex: 1;
	/* border: black solid 1px; */
}

.card-info {
	transition-duration: 0.2s;
	background: linear-gradient(180deg, #0f6bad 0%, #002742 100%);
	border-radius: var(--card-border-radius);
	flex: 0.4;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.card-info:hover {
	transition-duration: 0.5s;
	border-radius: var(--card-border-radius);
	flex: 2;
}

.card-info:hover .card-title {
	transition-duration: 0.5s;
	display: block;
	padding-top: 5%;
}

.card-info:hover .card-description {
	transition-duration: 0.5s;
	display: block;
	opacity: 1;
	margin-top: 5%;
	height: 60%;
}

.card-title {
	text-align: center;
	width: 80%;
	color: #cfcfcf;
	font-weight: 500;
	font-size: 1.1rem;
	text-shadow: -1px 1px rgba(0, 0, 0, 0.541);
	/* border: red solid 1px; */
}

.card-description {
	transition-duration: 0.5s;
	text-align: center;
	font-size: 100%;
	margin-top: 0%;
	width: 80%;
	opacity: 0;
	height: 0%;
	overflow: hidden;
	/* border: green solid 1px; */
}

.card-highlight {
	font-weight: bold;
	color: #4caff5ce;
	text-shadow: -2px 2px rgba(0, 0, 0, 0.459);
}

.form-container {
	width: 70%;
	margin-top: 20px;
	background-color: #1f1f1fd7;
	border-radius: 20px;
	padding: 60px;
	transition-duration: 0.3s;
	/* border: blue solid 1px; */
}

#contact-form {
	display: grid;
	grid-template-areas:
		"name email"
		"message message"
		"submit submit"
		"progress-icon progress-icon";
	grid-template-columns: 1fr 1fr;
	grid-row: 1fr 1fr 1fr;
}

.form-name-container,
.form-email-container,
.form-message-container {
	display: flex;
	flex-direction: column;
	padding: 10px;
	margin-top: 10px;
	/* border: red solid 1px; */
}

.form-name-container {
	grid-area: name;
}

.form-email-container {
	grid-area: email;
}

.form-message-container {
	grid-area: message;
}

.form-input {
	border: none;
	outline: none;
	border-radius: 5px;
	transition-duration: 0.2s;
	margin-top: 5px;
	padding: 8px;
	background-color: #252424;
	color: #cfcfcf;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 100;
}

.form-input:focus,
.form-input:hover {
	transition-duration: 0.3s;
	filter: brightness(150%);
}

#form-message::-webkit-scrollbar {
	background: transparent;
	width: 5px;
}

#form-message::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: rgb(167, 167, 167);
}

#form-message {
	height: 100px;
	resize: none;
	font-size: 1rem;
}

.form-submit {
	grid-area: submit;
	transition-duration: 0.2s;
	margin-top: 20px;
	padding: 8px;
	border: #0f6bad solid 2px;
	border-radius: 8px;
	outline: none;
	background-color: #1f1f1f;
	width: 40%;
	justify-self: center;
	font-size: 1.1rem;
	font-weight: 500;
	color: #0f6bad;
	cursor: pointer;
}

.form-submit:hover {
	transition-duration: 0.5s;
	filter: brightness(125%);
}

.form-progress-continer {
	grid-area: progress-icon;
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	/* border: red solid 1px; */
}

.loader {
	border: 5px solid #f3f3f3; /* Light grey */
	border-top: 5px solid #3398db; /* Blue */
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 1s linear infinite;
	display: none;
	transition-duration: 0.5s;
	margin-top: 10px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.success {
	color: #3398db;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	opacity: 0;
	display: none;
	transition-duration: 0.5s;
	/* border: red solid 1px; */
}

.success img {
	margin-right: 5px;
}

footer {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
	width: 100%;
	height: 130px;
	background-color: #1f1f1f;
	color: rgb(82, 82, 82);
	border-top-left-radius: 40px;
	border-top-right-radius: 40px;
}
