:root {
	--primary-color: #ff66c4;
	--secondary-color: #b1466e;
}

body {
	font-family: "Delius", cursive;
	background-image: url("../images/background.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-color: rgba(250, 250, 250, 0.7); /* change color & opacity here */
	z-index: 0;
	pointer-events: none;
}

@media (max-width: 992px) {
	body {
		background-position: bottom right;
	}
}

/* Navbar header start */
.navbar-header {
	background-color: transparent;
	border-bottom: 1px solid transparent;
	transition:
		background-color 0.3s ease,
		border-color 0.3s ease;
}
.navbar-header.scrolled {
	background-color: white;
	border-bottom: 1px solid #ddd;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-header .nav-link {
	position: relative;
	transition: color 0.2s ease;
}

.navbar-header .nav-link::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
	border-radius: 2px;
}

.navbar-header .nav-link.active,
.navbar-header .nav-link:hover {
	color: var(--primary-color) !important;
}

.navbar-header .nav-link.active::after,
.navbar-header .nav-link:hover::after {
	width: 100%;
}

.navbar-header button {
	margin: auto 0;
	border-color: var(--primary-color);
}

.navbar-header button .navbar-toggler-icon {
	color: var(--primary-color) !important;
}

.navbar-header button:focus {
	box-shadow: unset;
}

.navbar-header button::after {
	content: unset;
}
/* Navbar header end */

/* Navbar footer start */
.navbar-footer {
	background-color: transparent;
	border-top: 1px solid var(--secondary-color);
}
.navbar-footer .container {
	padding: 10px;
}
/* Navbar footer end */

#about,
#skills,
#contact {
	scroll-margin-top: 100px;
}

/* Main Hero start */
.main-hero {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 100%;
	min-height: 600px;
	z-index: 1;
}

.main-hero .row {
	width: 100%;
	max-width: 1300px;
}

.main-hero .row .info-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	line-height: 1.2;
}

.main-hero .image-section img {
	width: 450px;
	height: auto;
	border-radius: 50%;
	border: 1px solid var(--primary-color);
}

.main-hero .row .info-section div:nth-child(1) {
	font-size: 40px;
	font-family: "Playwrite IE", cursive;
	font-weight: 200;
}
.main-hero .row .info-section div:nth-child(2) {
	font-size: 70px;
}
.main-hero .row .info-section div:nth-child(3) {
	font-size: 20px;
}

.main-hero .row .info-section button {
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	margin-top: 30px;
}

@media (max-width: 992px) {
	.main-hero {
		height: auto;
		padding: 60px 20px;
	}

	.main-hero .row .info-section {
		text-align: center;
	}

	.main-hero .row .info-section div:nth-child(1) {
		font-size: 30px;
	}
	.main-hero .row .info-section div:nth-child(2) {
		font-size: 50px;
	}
	.main-hero .row .info-section div:nth-child(3) {
		font-size: 16px;
	}

	.main-hero .image-section img {
		width: 300px;
		margin-top: 30px;
	}
}
/* Main Hero end */

/* About Me start */
#about .about-info {
	font-size: 18px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
/* About Me end */

/* Skills Section start */

/* Skills Section end */

/* Contact Section start */
#contact .contact-image-section {
	display: flex;
	justify-content: center;
	align-items: center;
}
#contact .contact-image-section img {
	width: 300px;
	height: auto;
	border-radius: 50%;
	border: 1px solid var(--primary-color);
}
#contact .contact-info {
	font-size: 18px;
}
/* Contact Section end */

/* Common styles start */
.container-section {
	position: relative;
	z-index: 1;
}

.container-wrapper {
	padding: 90px;
}

.section-title {
	margin-bottom: 50px;
	padding-bottom: 10px;
}

.section-title h2 {
	font-size: 40px;
	font-weight: 200;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover,
a:active,
a:focus {
	color: var(--primary-color);
	text-decoration: underline;
}

button {
	background-color: var(--primary-color);
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	margin-top: 30px;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

button:hover,
button:active,
button:focus {
	background-color: var(--secondary-color);
}

button::after {
	content: "";
	width: 20px;
	height: 20px;
	display: inline-block;
	background-color: white;
	margin-left: 6px;
	mask-image: url("../images/icons/butterfly.svg");
	mask-size: cover;
	mask-position: center;
	mask-repeat: no-repeat;
	-webkit-mask-image: url("../images/icons/butterfly.svg");
	-webkit-mask-size: cover;
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
}

button.scroll-to-top {
	background-color: var(--primary-color);
	position: fixed;
	bottom: 50px;
	right: 50px;
	width: 45px;
	height: 45px;
	border-radius: 15px;
	z-index: 100;
	border: 0;
	padding: 0;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	box-shadow: 0px 10px 30px rgba(1, 28, 42, 0.25);
	transition:
		opacity 0.2s ease,
		transform 0.2s ease,
		visibility 0.2s ease;
}

button.scroll-to-top::after {
	content: unset;
}

button.scroll-to-top.visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

button.scroll-to-top::before {
	content: "↑";
	color: white;
	font-size: 20px;
	line-height: 1;
}

button.scroll-to-top:hover,
button.scroll-to-top:active,
button.scroll-to-top:focus {
	background-color: var(--secondary-color);
}

@media (max-width: 991.98px) {
	.container-wrapper {
		padding: 40px 20px;
	}
	button.scroll-to-top {
		bottom: 20px;
		right: 20px;
	}
}
/* Common styles end */
