* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

:root {
	--bg-color: #f2f2f2;
	--bg-alt-color: #262a33;
	--primary-color: #002bfe;
	--secondary-color: #8e2da1;
	--text-color: #121212;
	--img-bg-color: coral;
}

[data-theme="dark"] {
	--bg-color: #262a33;
	--primary-color: #2273ff;
	--secondary-color: #c353db;
	--text-color: #f2f2f2;
}

/* // <weight>: Use a value from 200 to 1000 */
/* // <uniquifier>: Use a unique and descriptive class name */
/* .nunito-sans-< uniquifier > {
	font-family: "Nunito Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
	font-variation-settings:
		"wdth" 100,
		"YTLC" 500;
} */

html {
	font-size: 14px;
}

body {
	font-family: "Nunito Sans", sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
}

img {
	width: 100%;
}

a {
	text-decoration: none;
	color: var(--text-color);
}

.description,
.contactItems {
	margin-top: 1rem;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.8rem;
	color: var(--text-color);
}

.title {
	font-family: roboto, sans-serif;
	color: var(--primary-color);
	font-weight: 700;
	font-size: 2rem;
	text-transform: uppercase;
}

.inline_title {
	font-family: roboto, sans-serif;
	font-weight: 500;
	color: var(--secondary-color);
}

.item_preTitle {
	font-family: roboto, sans-serif;
	font-size: 1.2rem;
	color: var(--text-color);
	font-weight: 300;
}

.item_title {
	font-family: roboto, sans-serif;
	font-size: 1.6rem;
	font-weight: 500;
	color: var(--secondary-color);
	/* margin: 0.8rem 0; */
}

.item_subtitle {
	font-family: roboto, sans-serif;
	/* font-size: 1.4rem; */
	color: var(--text-color);
	font-weight: 400;
}

/* layouts */
.container {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
	display: grid;
	/* padding: 5rem; */
	background: var(--bg-color);
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
}

.profile {
	grid-column: 1 / -1;
	margin-bottom: 2rem;
	margin-top: 3rem;
}

.left,
.right {
	display: flex;
	flex-direction: column;
	gap: 5rem;
}

.profile_container {
	display: flex;
	gap: 2rem;
}

.profileImg {
	/* max-width: 250px;
	max-height: 250px; */
	overflow: hidden;
	border: solid 10px var(--primary-color);
	/* border-radius: 50%; */
	background-color: coral;
	/* background-color: #e5e5f7; */
	opacity: 0.8;
	background:
		radial-gradient(
			circle,
			transparent 20%,
			var(--bg-color) 20%,
			var(--bg-color) 80%,
			transparent 80%,
			transparent
		),
		radial-gradient(
				circle,
				transparent 20%,
				var(--bg-color) 20%,
				var(--bg-color) 80%,
				transparent 80%,
				transparent
			)
			25px 25px,
		linear-gradient(var(--img-bg-color) 2px, transparent 2px) 0 -1px,
		linear-gradient(90deg, var(--img-bg-color) 2px, var(--bg-color) 2px) -1px 0;
	background-size:
		50px 50px,
		50px 50px,
		25px 25px,
		25px 25px;
}

.firstName {
	font-family: roboto, sans-serif;
	color: var(--text-color);
	font-weight: 700;
	font-size: clamp(2rem, 8vw, 4rem);
	text-transform: uppercase;
	display: block;
	margin-bottom: -0.8rem;
}

.lastName {
	font-family: roboto, sans-serif;
	color: var(--primary-color);
	font-weight: 500;
	font-size: clamp(2.5rem, 15vw, 7rem);
	text-transform: uppercase;
	display: block;
}

.profile_title {
	font-size: 1.5rem;
	font-weight: 400;
	text-transform: uppercase;
}

.downloadLink {
	display: block;
	text-decoration: underline;
	font-size: 1.2rem;
	margin-top: 1rem;
}

.downloadLink:hover {
	color: var(--primary-color);
}

.description_link {
	color: var(--secondary-color);
	text-decoration: none;
}

.description_link:hover {
	color: var(--primary-color);
}

.skills_list {
	margin-top: 1rem;
	margin-left: 2rem;
	line-height: 2;
}

.ref_item,
.edu_item,
.certification_item,
.exp_item,
.awards_item,
.social_items {
	margin-top: 2rem;
}

.exp_item {
	margin-bottom: 5rem;
}

.ref_name {
	font-size: 1.6rem;
	font-weight: 700;
}

.social {
	margin-bottom: 3rem;
}

.interest_items,
.social_items {
	margin-top: 2rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
}

.interest_item,
.social_item {
	font-size: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	color: var(--text-color);
}

.interest_item svg,
.social_item svg {
	width: 2rem;
}

.social_item:hover,
.contact:hover {
	color: var(--primary-color);
}

/* Media query */

@media only screen and (max-width: 860px) {
	.container {
		width: 100%;
		grid-template-columns: 1fr;
		padding: 3rem;
		gap: 7rem;
	}

	.profile {
		margin-bottom: 0;
	}

	.profile_container {
		flex-direction: column;
	}
}

/* Theme switch */

.theme-switch-wrapper {
	position: absolute;
	top: 50px;
	right: 2px;
	transform: translate(-30%, -50%);
}

.theme-switch {
	display: block;
	height: 26px;
	position: relative;
	width: 60px;
	margin: 0 auto;
}

.theme-switch input {
	display: none;
}

.slider {
	background-color: var(--bg-alt-color);
	bottom: 0;
	cursor: pointer;
	left: 0;
	right: 0;
	top: 0;
	position: absolute;
	transition: 0.3s all;
}

.slider:before {
	background-color: #f3f3f3;
	bottom: 4px;
	content: "";
	height: 18px;
	left: 4px;
	position: absolute;
	transition: 0.3s all;
	width: 26px;
}

input:checked + .slider {
	background-color: var(--primary-color);
}

input:checked + .slider:before {
	transform: translateX(26px);
}

.slider.round {
	border-radius: 0.8rem;
}

.slider.round:before {
	border-radius: 0.5rem;
}

.download {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
}

.Btn {
	width: 50px;
	height: 50px;
	border: none;
	border-radius: 50%;
	background-color: var(--bg-alt-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	transition-duration: 0.3s;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.11);
}

.svgIcon {
	fill: rgb(214, 178, 255);
}

.icon2 {
	width: 18px;
	height: 5px;
	border-bottom: 2px solid rgb(182, 143, 255);
	border-left: 2px solid rgb(182, 143, 255);
	border-right: 2px solid rgb(182, 143, 255);
}

.Btn:hover {
	background-color: var(--primary-color);
	transition-duration: 0.3s;
}

.Btn:hover .icon2 {
	border-bottom: 2px solid rgb(235, 235, 235);
	border-left: 2px solid rgb(235, 235, 235);
	border-right: 2px solid rgb(235, 235, 235);
}

.Btn:hover .svgIcon {
	fill: rgb(255, 255, 255);
	animation: slide-in-top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slide-in-top {
	0% {
		transform: translateY(-10px);
		opacity: 0;
	}

	100% {
		transform: translateY(0px);
		opacity: 1;
	}
}
