/*font*/
@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap");

.almarai-light {
	font-family: "Almarai", serif;
	font-weight: 300;
	font-style: normal;
}

.almarai-regular {
	font-family: "Almarai", serif;
	font-weight: 400;
	font-style: normal;
}

.almarai-bold {
	font-family: "Almarai", serif;
	font-weight: 700;
	font-style: normal;
}

.almarai-extrabold {
	font-family: "Almarai", serif;
	font-weight: 800;
	font-style: normal;
}

/*colors and variables*/
:root {
	--back-color: #ecf0f3;
	--primary-pink: #ff014f;
	--primary-grey: #3c3e41;
	--primary-font: #3c3e41;
	--card-back: linear-gradient(145deg, #e2e8ec, #ffffff);
	--shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	--shadow-pink: rgba(255, 1, 79, 0.24) 0px 5px 20px;
}

html {
	scroll-behavior: smooth;
	position: relative;
}

/* main css */
body {
	font-family: Almarai;
	font-weight: 400;
	background-color: var(--back-color);
	direction: rtl;
	text-align: right;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

h1 {
	color: var(--primary-font);
	font-size: 50px;
	font-weight: 800;
	margin-bottom: 50px;
}

h2 {
	color: var(--primary-font);
	font-size: 30px;
	font-weight: bold;
}

h6 {
	font-size: 20px;
	color: var(--primary-pink);
}

a {
	text-decoration: none;
	color: var(--primary-font);
}

/*--menu-button--*/
.hamberger {
	display: none;
	background: none;
	border: none;
	color: var(--primary-pink);
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
}

.hamberger>i,
.hamberger:active>i,
.hamberger:focus>i {
	font-size: 32pt;
	color: var(--primary-pink);
}

/*----Entire page---*/
.main-container {
	display: grid;
	grid-template-columns: 290px repeat(3, 1fr);
}

/*---header area---*/
#header {
	grid-column: 1/2;
	background: var(--back-color);
	border-left: 5px solid #dfe3e4;
	text-align: center;
	position: fixed;
	overflow-y: auto;
	height: 100%;
	min-height: 100vh;
	padding: 30px;
	top: 0;
	right: 0;
	z-index: 2;
}

.profile-pic {
	width: 80%;
	border: 8px solid #fff;
	border-radius: 50%;
	box-shadow: var(--shadow);
}

header>menu>a {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	color: var(--primary-grey);
	padding: 10px 0;
	gap: 10px;
	font-weight: bold;
}

header>menu>a>i {
	font-size: 14pt;
}

header>menu>a:hover,
i:hover {
	color: #000;
	transition: color 0.4s ease-in-out;
}

header>menu>a:hover {
	color: var(--primary-pink);
}

header p {
	margin: 30px 0;
}

header>.social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 170px;
	padding-bottom: 80px;
	gap: 10px;
}

header>.social>a {
	color: var(--primary-grey);
	background-color: var(--btn-back);
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	font-size: 18pt;
	text-align: center;
	border-radius: 5px;
}

header>.social>a:hover {
	transform: scale(1.2);
	transition: transform 0.2s ease-in;
}

.linkedin:hover {
	color: #0077b5;
	transition: color 0.2s ease-in-out;
}

.instagram:hover {
	color: #e84393;
	transition: color 0.2s ease-in-out;
}

.x:hover {
	color: #000;
	transition: color 0.2s ease-in-out;
}

.telegram:hover {
	color: #24a1de;
	transition: color 0.2s ease-in-out;
}

.whatsapp:hover {
	color: #25d366;
	transition: color 0.2s ease-in-out;
}

/*--chaning the default browser scrollbar--*/
::-webkit-scrollbar {
	width: 5px;
	background-color: #dfe3e4;
}

::-webkit-scrollbar-thumb {
	background-color: #2d3436;
	border-radius: 3px;
}

/*---mian page section---*/
.introduction,
.skills,
.portfolio,
.resume,
.mycv,
.contact {
	grid-column: 2 / 5;
	position: relative;
	text-align: center;
	padding: 100px 0;
}

/*--introduction section--*/
.mah-top {
	width: 25%;
	border-radius: 50%;
	margin-bottom: 50px;
	animation: me 5s ease-in-out infinite;
}

@keyframes me {
	0% {
		border: 10px solid #e84393;
	}

	25% {
		border: 10px solid #00cec9;
	}

	50% {
		border: 10px solid #00cec9;
	}

	75% {
		border: 10px solid #fd79a8;
	}

	100% {
		border: 10px solid #8d0b41;
	}
}

/*---skills section---*/
.skill-boxes {
	display: flex;
}

.card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: relative;
	background: var(--card-back);
	box-shadow: var(--shadow);
	margin: 20px;
	padding: 30px;
	border-radius: 10px;
	text-align: justify;
	z-index: 1;
	cursor: pointer;
}

.card:hover * {
	color: #fff;
	transform: translateY(-15px);
	transition: color 0.4s ease-in-out;
	transition: transform 0.4s ease-in-out;
}

.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	background: linear-gradient(145deg, #e84393, #6c5ce7);
	transition: 0.4s ease-in-out;
	opacity: 0;
	z-index: -1;
}

.card:hover::before {
	opacity: 1;
}

.card>i {
	font-size: 50px;
	color: var(--primary-pink);
}

.card>h2 {
	color: var(--primary-font);
	font-size: 25px;
}

.card>p {
	color: var(--primary-grey);
	line-height: 30px;
}

/*--portfolio section--*/
.portfolio-container {
	position: relative;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	overflow: hidden;
}

.box-container {
	display: flex;
	scroll-snap-type: x mandatory;
	overflow-x: scroll;
	scroll-behavior: smooth;
	gap: 16px;
	padding: 16px;
}

.box-container::-webkit-scrollbar {
	display: none;
}

.box-container {
	scrollbar-width: none;
	/*fireFox*/
	-ms-overflow-style: none;
	/*IE/Edge*/
}

.box {
	position: relative;
	flex: 0 0 calc(33.33% - 11px);
	flex-direction: column;
	scroll-snap-align: start;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--card-back);
	box-shadow: var(--shadow);
	border-radius: 10px;
	padding: 20px 0;
}

.box>img {
	width: 340px;
	height: 250px;
	border-radius: 20px;
	box-shadow: var(--shadow);
}

.box>i {
	position: absolute;
	top: 30px;
	right: 40px;
	color: var(--primary-pink);
	font-size: 18px;
}

.box>.tag-fav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin: 20px 0;
	width: 100%;
}

.box>.tag-fav>.tag {
	font-weight: bold;
}

.fa-heart:before {
	color: var(--primary-pink);
}

.box>p.description {
	font-weight: bold;
}

.arrow {
	display: flex;
	position: absolute;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.8);
	box-shadow: var(--shadow);
	color: var(--primary-grey);
	border: none;
	border-radius: 50%;
	top: 50%;
	padding: 16px;
	cursor: pointer;
	font-size: 24px;
	z-index: 1;
}

.arrow.left {
	left: 10px;
	align-items: center;
	justify-content: center;
}

.arrow.left:hover,
.arrow.left>i:hover {
	color: var(--primary-pink);
}

.arrow.right {
	right: 10px;
	align-items: center;
	justify-content: center;
}

.arrow.right:hover,
.arrow.right>i:hover {
	color: var(--primary-pink);
}

/*---resume section---*/
.resume>nav {
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--back-color);
	box-shadow: var(--shadow);
	width: 90%;
	border-radius: 10px;
	margin: 0 auto;
}

.resume-btn {
	display: block;
	background: var(--card-back);
	color: var(--primary-font);
	width: 50%;
	height: 80px;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	font-family: inherit;
	font-size: 24px;
	font-weight: bold;
}

.resume-btn:hover {
	color: var(--primary-pink);
	transform: scale(1.05);
	transition: transform 0.2s ease-in;
}

.resume>ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.resume>ul>li {
	background: var(--card-back);
	width: 33%;
	border-radius: 15px;
	list-style: none;
}

.inner>.head {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.inner>.head>span {
	display: flex;
	flex-direction: column;
}

.inner>.head>span>h2 {
	font-size: 18pt;
}

.inner>p {
	line-height: 2;
}

.inner>.head>.badge {
	background: var(--card-back);
	color: var(--primary-pink);
	box-shadow: var(--shadow);
	padding: 10px;
	border-radius: 15px;
	font-weight: bold;
}

.inner>hr {
	margin: 30px;
}

.inner:last-child {
	color: var(--primary-font);
	font-weight: bold;
	margin: 30px 0;
}

/*progress-bar-styles*/
.progress-container {
	display: none;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	text-align: right;
	margin: 50px auto;
}

.design-slills>h2,
.editing-skills>h2 {
	margin-bottom: 50px;
}

.progress-header {
	display: flex;
	width: 90%;
	justify-content: space-between;
	align-items: center;
	font-weight: bold;
	margin: 0 auto;
}

.progress-bar {
	display: flex;
	align-items: center;
	width: 90%;
	height: 15px;
	border-radius: 15px;
	background-color: #dfe6e9;
	margin: 20px auto;
}

.progress-bar>.progress100 {
	width: 99%;
	margin: 0 5px;
	background: linear-gradient(-145deg, #fff 0%, var(--primary-pink) 100%);
	height: 8px;
	border-radius: 8px;
	animation: progress-bar100 1s linear 0.2s;
}

.progress-bar>.progress85 {
	width: 85%;
	margin: 0 5px;
	background: linear-gradient(-145deg, #fff 0%, var(--primary-pink) 100%);
	height: 8px;
	border-radius: 8px;
	animation: progress-bar85 1s linear 0.2s;
}

.progress-bar>.progress60 {
	width: 60%;
	margin: 0 5px;
	background: linear-gradient(-145deg, #fff 0%, var(--primary-pink) 100%);
	height: 8px;
	border-radius: 8px;
	animation: progress-bar60 1s linear 0.2s;
}

.progress-bar>.progress50 {
	width: 50%;
	margin: 0 5px;
	background: linear-gradient(-145deg, #fff 0%, var(--primary-pink) 100%);
	height: 8px;
	border-radius: 8px;
	animation: progress-bar50 1s linear 0.2s;
}

@keyframes progress-bar100 {
	0% {
		width: 10%;
	}

	25% {
		width: 25%;
	}

	50% {
		width: 50%;
	}

	75% {
		width: 75%;
	}

	100% {
		width: 100%;
	}
}

@keyframes progress-bar85 {
	0% {
		width: 10%;
	}

	25% {
		width: 25%;
	}

	50% {
		width: 50%;
	}

	85% {
		width: 85%;
	}
}

@keyframes progress-bar60 {
	0% {
		width: 10%;
	}

	25% {
		width: 25%;
	}

	50% {
		width: 50%;
	}

	60% {
		width: 60%;
	}
}

@keyframes progress-bar50 {
	0% {
		width: 10%;
	}

	25% {
		width: 25%;
	}

	50% {
		width: 50%;
	}
}

/*---cv-section---*/
.cv-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	justify-content: center;
	align-items: center;
	gap: 20px;
	position: relative;
}

.cv-btn {
	background-color: var(--card-back);
	box-shadow: var(--shadow);
	border: none;
	border-radius: 5px;
	display: block;
	font-family: Almarai, sans-serif;
	color: var(--primary-font);
	font-weight: bold;
	font-size: 16pt;
	text-align: center;
	width: 80%;
	padding: 40px 0;
	margin: 0 auto;
	cursor: pointer;
}

.cv-btn:hover,
.cv-btn:active {
	background: var(--card-back);
	box-shadow: var(--shadow);
	color: var(--primary-pink);
	transform: scale(1.02);
	transition: transform 0.2s ease-in;
}

.cv-logos {
	position: absolute;
	top: 10px;
	right: 50%;
}

.cv-logos>.cv-content2,
.cv-content3,
.cv-content4,
.cv-content5 {
	display: none;
}

.cv-logos>.cv-content1>p,
.cv-logos>.cv-content2>p,
.cv-logos>.cv-content3>p,
.cv-logos>.cv-content4>p,
.cv-logos>.cv-content5>p {
	color: var(--primary-font);
	font-size: 12pt;
	font-weight: bold;
	text-align: justify;
	padding: 0 80px;
}

.cv-download {
	margin-top: 100px;
}

.cv-download>button {
	color: var(--primary-font);
	text-decoration: none;
	font-family: Almarai, sans-serif;
	font-weight: bold;
	background-color: var(--btn-back);
	box-shadow: var(--shadow);
	padding: 20px 30px;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0px 3px 8px var(--primary-pink, 0.24);
	transition: box-shadow 0.2s ease-in;
}

.cv-download>button:hover {
	box-shadow: 0px 7px 29px 0px var(--primary-pink);
	transition: box-shadow 0.2s ease-out;
}

/*---pricing section---*/
.pricing {
	grid-column: 2/5;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	padding: 30px;
	text-align: center;
	align-items: center;
	justify-content: center;
	margin: 100px auto;
}

.pricing-container {
	background: var(--card-back);
	box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 24px;
	border-radius: 10px;
	padding: 50px;
}

.pricing-nav {
	display: flex;
}

.pricing-nav>button {
	background: var(--back-color);
	text-decoration: none;
	color: var(--primary-font);
	border: none;
	border-radius: 10px;
	width: 100%;
	padding: 30px;
	margin: 0 0 20px 0;
	font-family: Almarai, sans-serif;
	font-weight: bold;
	box-shadow: var(--shadow);
	transform: scale(1);
	transition: transform 0.3s ease-in-out;
	position: relative;
}

.pricing-nav>button:hover {
	color: var(--primary-pink);
	background: var(--card-back);
	box-shadow: var(--shadow-pink);
	transform: scale(1.02);
	transition: transform 0.3s ease-in-out;
	z-index: 1;
	cursor: pointer;
}

.pricing-nav>button:nth-child(2)::before {
	content: "پیشنهادی";
	position: absolute;
	background: #dfe6e9;
	color: var(--primary-pink);
	font-size: 10pt;
	top: -43px;
	left: 150px;
	padding: 8px;
	border-radius: 40%;
}

.pricing-nav>button:nth-child(2)::after {
	content: "";
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 15px solid #dfe6e9;
	position: absolute;
	top: -10px;
	left: 190px;
}

.pricing-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--primary-font);
	margin: 20px auto;
}

.pricing-info {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 20px;
}

.pricing-info>span {
	margin: 5px 20px;
	font-weight: bold;
}

.pricing-header>.price {
	background: var(--back-color);
	box-shadow: var(--shadow);
	color: var(--primary-pink);
	padding: 30px 50px;
	border-radius: 10px;
	font-size: 40px;
	font-weight: bold;
}

.pricing-description {
	text-align: right;
	color: var(--primary-grey);
	font-size: 12pt;
	font-weight: bold;
	margin: 40px auto;
}

.pricing-content2,
.pricing-content3 {
	display: none;
	transition: display 0.2s ease-in-out;
}

.right-left {
	display: flex;
	justify-content: space-between;
}

.right>div,
.left>div {
	display: flex;
	margin-bottom: 30px;
}

.right>div>i,
.left>div>i {
	color: var(--primary-pink);
	margin-left: 5px;
}

.right>div>p,
.left>div>p {
	color: var(--primary-font);
	font-weight: bold;
}

.order-now {
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--btn-back);
	box-shadow: var(--shadow);
	color: var(--primary-pink);
	text-decoration: none;
	text-align: center;
	font-weight: bold;
	padding: 30px;
	border-radius: 5px;
	position: relative;
	z-index: 1;
}

.order-now:hover {
	color: #fff;
}

.order-now::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	background: linear-gradient(145deg, #e84393, #6c5ce7);
	transition: 0.4s ease-in-out;
	opacity: 0;
	z-index: -1;
}

.order-now:hover::before {
	opacity: 1;
}

.order-now::after {
	font-family: "Material Icons";
	content: "\e5c4";
	color: var(--primary-pink);
}

.order-now:hover::after {
	color: #fff;
}

.pricing-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
	font-size: 9pt;
	font-weight: bold;
}

.pricing-footer>.time {
	margin-left: 15px;
}

/*---contact section---*/
.contact {
	grid-column: 2/5;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	padding: 100px 50px;
}

.contact div:nth-child(1) {
	grid-column: 1/3;
}

.contact-right {
	color: var(--primary-font);
	background-color: var(--back-color);
	box-shadow: var(--shadow);
	width: 100%;
	padding: 30px;
	border-radius: 20px;
	margin: 0;
	box-sizing: border-box;
	font-weight: bold;
}

.contact-right>img {
	width: 90%;
	height: 300px;
	border-radius: 5px;
}

.contact-right>h3 {
	font-size: 16pt;
	text-align: right;
}

.contact-right>p {
	font-weight: bold;
	padding: 10px 0;
	text-align: right;
	font-size: 10pt;
}

.email-container {
	display: flex;
	justify-content: flex-start;
	margin: 10px 0;
}

.email-text {
	font-size: 10pt;
}

.email {
	position: relative;
	border-bottom: 0.3s ease;
}

.email:hover {
	color: var(--primary-pink);
}

.email::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -2px;
	width: 0;
	height: 1px;
	background-color: var(--primary-pink);
	transition: width 0.3s ease;
}

.email:hover::after {
	width: 100%;
}

.contact-me {
	display: flex;
	justify-content: flex-start;
	margin: 30px 0;
}

.follow-me {
	display: flex;
	gap: 30px;
}

.follow-me>a {
	background-color: var(--btn-back);
	box-shadow: var(--shadow);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	font-size: 18pt;
	text-align: center;
	border-radius: 5px;
	z-index: 1;
}

.follow-me>a:hover {
	color: #fff;
	transform: translateY(-10px);
	transition: color 0.4s ease-in-out;
	transition: transform 0.4s ease-in-out;
}

.follow-me>a>i:hover {
	color: #fff;
}

.follow-me>a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	background: linear-gradient(145deg, #e84393, #6c5ce7);
	transition: 0.4s ease-in-out;
	opacity: 0;
	z-index: -1;
}

.follow-me>a:hover::before {
	opacity: 1;
}

.contact-left {
	color: var(--primary-font);
	background-color: var(--back-color);
	box-shadow: var(--shadow);
	width: 100%;
	padding: 30px;
	border-radius: 20px;
	margin: 0;
	box-sizing: border-box;
	font-weight: bold;
	font-size: 8pt;
}

.contact-left>form {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.name-phone {
	display: flex;
	justify-content: center;
	align-items: center;
}

.form-group {
	width: 50%;
}

.form-group>input[type="text"] {
	width: 100%;
}

label {
	display: flex;
	margin: 15px 0 8px 0;
	font-size: 10pt;
}

.form-group:nth-child(1) {
	margin-left: 15px;
}

.form-group {
	margin-bottom: 0;
}

.required {
	margin-left: 5px;
	font-size: 9pt;
	color: var(--primary-pink);
}

input,
textarea {
	border: 2px solid #dce1e4;
	border-radius: 5px;
	height: 35px;
	font-family: Almarai, sans-serif;
	font-size: 12px;
	padding: 6px 10px;
	color: var(--primary-font);
	background-color: #fff;
	transition: border-color 0.2s ease-in, box-shadow 0.2s ease-in;
	box-sizing: border-box;
}

input:focus,
textarea:focus {
	color: var(--primary-font);
	outline: none;
	border-color: var(--primary-pink);
	box-shadow: var(--shadow-pink);
	transition: border-color 0.2s ease-in, box-shadow 0.2s ease-in;
}

input.error-field,
textarea.error-field {
	border-color: #f5c6cb;
	box-shadow: 0 0 0 3px rgba(245, 198, 203, 0.3);
}

.contact-left>form>input,
.contact-left>form>textarea {
	width: 100%;
	box-sizing: border-box;
}

textarea {
	height: 150px;
	resize: vertical;
	font-family: Almarai, sans-serif;
	font-size: 12px;
	padding: 6px 10px;
	color: var(--primary-font);
	line-height: 1.6;
	box-sizing: border-box;
}

button[type="submit"] {
	background: var(--btn-back);
	box-shadow: var(--shadow);
	color: var(--primary-pink);
	font-weight: bold;
	width: 100%;
	padding: 12px 20px;
	border: none;
	cursor: pointer;
	border-radius: 10px;
	position: relative;
	margin-top: auto;
	font-family: Almarai, sans-serif;
	font-size: 12px;
	z-index: 1;
	box-sizing: border-box;
}

button[type="submit"]:hover {
	color: #fff;
}

button[type="submit"]::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	background: linear-gradient(145deg, #e84393, #6c5ce7);
	transition: 0.4s ease-in-out;
	opacity: 0;
	z-index: -1;
}

button[type="submit"]:hover::before {
	opacity: 1;
}

/*---footer section---*/
footer {
	grid-column: 2 / 5;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 50px;
}

footer::before {
	content: "";
	display: block;
	background-color: #dce1e4;
	height: 3px;
	margin-bottom: 50px;
}

.fpic {
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

.cvlink {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 20px auto;
}

.jobinja {
	font-size: 18px;
	font-weight: 600;
	text-decoration: underline;
}

.footer-pic {
	width: 28px;
	height: 28px;
}

.copyright {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-size: 10pt;
	font-weight: bold;
}

.afgm:hover {
	color: var(--primary-pink);
	transition: color 0.2s ease-in;
}

.back-to-top {
	position: fixed;
	left: 50px;
	bottom: 50px;
	padding: 15px;
	border-radius: 50%;
	box-shadow: var(--shadow);
	z-index: 2;
}

.back-to-top:hover {
	box-shadow: var(--shadow-pink);
}

.recaptcha-wrapper{
    margin: 5px 0;
}

/* Different screen sizes fix ( up to 1600px) */
@media only screen and (max-width: 1600px) {
	.pricing-nav>button {
		padding: 20px 30px;
	}

	.pricing-nav>button:nth-child(2)::before {
		top: -43px;
		left: 100px;
	}

	.pricing-nav>button:nth-child(2)::after {
		top: -10px;
		left: 140px;
	}

	.pricing-info {
		padding: 10px;
	}

	.pricing-header>.price {
		padding: 30px 40px;
		font-size: 25px;
	}
}

/* Different screen sizes fix ( up to 1200px) */
@media only screen and (max-width: 1200px) {
	.hamberger {
		display: block;
	}

	.main-container {
		grid-template-columns: repeat(2, 1fr);
	}

	#header {
		display: none;
		opacity: 0;
		transition: opacity 0.5s ease-in;
	}

	#header.active {
		display: block;
		opacity: 1;
		transition: opacity 1s ease-in;
	}

	.introduction,
	.skills,
	.portfolio,
	.resume,
	.mycv,
	.contact {
		grid-column: 1/3;
	}

	.resume>ul>li {
		width: 33%;
		height: auto;
		margin: 30px;
	}

	.progress-container {
		margin: auto 20px;
	}

	.pricing {
		grid-column: 1/3;
		grid-template-columns: 1fr;
	}

	.contact {
		display: flex;
		flex-direction: column;
		gap: 50px;
	}

	.back-to-top {
		left: 20px;
		bottom: 20px;
		padding: 15px;
	}
}

/* Different screen sizes fix ( up to 768px) */
@media only screen and (max-width: 768px) {
	.mah-top {
		width: 50%;
	}

	.main-container {
		grid-template-columns: 1fr;
	}

	.card {
		margin: 0 auto;
	}

	.skill-boxes {
		flex-direction: column;
		gap: 30px;
		margin: 0 20px;
	}

	.resume>ul>li {
		width: 100%;
		height: auto;
	}

	.progress-container {
		grid-template-columns: 1fr;
		margin: auto 20px;
	}

	.cv-container {
		grid-template-columns: 1fr;
	}

	.cv-nav {
		display: flex;
		flex-wrap: wrap;
		margin: 0 auto;
		gap: 10px;
	}

	.cv-btn {
		width: 40%;
		font-size: 10pt;
		padding: 20px 10px;
	}

	.cv-logos {
		position: relative;
		top: 0;
		right: 0;
		padding: 50px;
	}

	.cv-logos>.cv-content1>p,
	.cv-logos>.cv-content2>p,
	.cv-logos>.cv-content3>p,
	.cv-logos>.cv-content4>p,
	.cv-logos>.cv-content5>p {
		padding: 0;
		line-height: 1.5;
	}

	.pricing {
		grid-column: 1/3;
		grid-template-columns: 1fr;
	}

	.pricing-nav>button:nth-child(2)::before {
		top: -43px;
		left: 130px;
	}

	.pricing-nav>button:nth-child(2)::after {
		top: -10px;
		left: 170px;
	}

	.contact {
		display: flex;
		flex-direction: column;
		gap: 50px;
	}
}

/* Different screen sizes fix ( up to 480px) */
@media only screen and (max-width: 480px) {
    
    .introduction {
        margin: auto 20px;
    }
    
    h1 {
        font-size: 40px;
    }

	.cv-logos>.cv-content1>img,
	.cv-logos>.cv-content2>img,
	.cv-logos>.cv-content3>img,
	.cv-logos>.cv-content4>img,
	.cv-logos>.cv-content5>img {
		width: 80%;
		display: inline-block;
		margin: 0 auto;
	}
	
	.cv-logos>.cv-content1>p,
	.cv-logos>.cv-content2>p,
	.cv-logos>.cv-content3>p,
	.cv-logos>.cv-content4>p,
	.cv-logos>.cv-content5>p {
	    line-height: 2;
	}
	
	.resume>ul {
		padding: 0;
	}

	.pricing {
		grid-template-columns: 1fr;
		padding: 0;
	}

	.pricing-container {
		background: var(--card-back);
		box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 24px;
		border-radius: 10px;
		padding: 50px 10px 30px 10px;
		margin: auto 10px;
	}

	.pricing-nav {
		display: flex;
		gap: 10px;
	}

	.pricing-nav>button {
		padding: 10px 20px;
		margin: 0 0 20px 0;
	}

	.pricing-nav>button:nth-child(2)::before {
		top: -43px;
		left: 40px;
	}

	.pricing-nav>button:nth-child(2)::after {
		top: -15px;
		left: 80px;
	}

	.pricing-header {
		display: flex;
		flex-direction: column;
		margin: 10px auto;
	}

	.pricing-info {
		padding: 10px;
	}

	.pricing-header>.price {
		padding: 20px 50px;
		font-size: 30px;
	}
	
	.pricing-description {
	    text-align: center;
	    line-height: 2;
	}
	
	.contact-right {
	    width: 100%;
	    padding: 15px;
	}
	
	.contact-right>img {
	    width: 100%;
	    height: auto;
	}
	
	.contact-right>p {
	    line-height: 2;
	}

	.contact-me , .follow-me {
		justify-content: center;
	}

	.right-left {
		display: flex;
		flex-direction: column;
	}

	.name-phone {
		display: block;
	}

	.form-group {
		width: 100%;
	}
}

/* Form message styles */
#form-message {
	padding: 15px;
	margin: 20px 0;
	border-radius: 5px;
	font-weight: bold;
	text-align: center;
	display: none;
}

#form-message.success-message {
	display: block;
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

#form-message.error-message {
	display: block;
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}