* {
	box-sizing: border-box;
}

body {
	margin: 0px;
	padding: 0px;
	background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('image/bg-image.jpg');
	height: 100vh;
	font-family: system-ui;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	min-height: 100vh;
}

.clearfix {
	clear: both;
}

.main {
	height: 1050px;
	width: 800px;
	background-color: white;
	margin: 20px auto;
}

.top-section {
	background-color: #151b29;
	text-align: center;
	padding: 20px;
}

.top-section img {
	border-radius: 50%;
	border: 5px solid white;
}

.profile {
	width: 150px;
	border-radius: 50%;
}

.p1 {
	color: white;
	font-size: 40px;
	font-weight: bold;
	margin: 0px;
	margin-top: 10px;
}

.p1 span {
	font-weight: 100;
	color: #c7c7c7;
}

.p2 {
	font-size: 20px;
	color: #c7c7c7;
	margin: 0px;
	margin-top: 10px;
}

.col-div-4 {
	width: 35%;
	float: left;

}

.col-div-4 p {
	font-size: 14px;
}

.col-div-8 {
	width: 62%;
	float: left;
}

.line {
	border-left: 1px solid #c7c7c7;
	height: 650px;
	width: 2%;
	margin-top: 30px;
	float: left;
}

.content-box {
	padding: 20px;
}

.head {
	font-size: 20px;
	text-transform: uppercase;
	font-weight: 600;
}

.p3 {
	color: #7b7b7b;
	margin-bottom: -5px;
	font-size: 14px;
	text-transform: uppercase;
}

.fa {
	color: #151b29;
}

.skills {
	margin-left: -20px;
	margin-bottom: 0px;
}

.skills li {
	padding: 5px;
}

.skills li span {
	color: #7b7b7b;
}

.p-4 {
	font-size: 14px;
	color: #7b7b7b;
}

@media (max-width: 800px) {
	.main {
		width: 90%;
		height: auto;
		margin: 10px auto;
		display: flex;
		flex-direction: column;
	}

	.col-div-4,
	.col-div-8,
	.line {
		float: none;
		width: 100%;
	}
	.col-div-8 .content-box{
		padding: 0 40px ;
	}
	.head{
		font-size: 15px;
	}

	.line {
		display: none;
	}

	.top-section img {
		width: 100px;
	}

	.p1 {
		font-size: 28px;
	}

	.p2 {
		font-size: 16px;
	}

	.p3 {
		font-size: 10px;
	}

	.skills {
		padding-left: 0;
	}

	.skills li {
		padding: 4px;
		margin-left: 40px;
	}
}