*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html{
	scroll-behavior: smooth;
}
/*Navigation Bar*/
.navbar{
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.5);
	position: sticky;
	top: 0;
}

.navbar ul{
	display: flex;
	list-style: none;
	margin: 20px 0px;
}

.navbar ul li{
	font-family: century;
	font-size: 1.1rem;
	font-weight: bold;
}

.navbar ul li a{
	text-decoration: none;
	color: white;
	padding: 0.7rem 1.6rem;
	transition: all .5s ease;
}

.navbar ul li a:hover{
	background-color: white;
	color: black;
	box-shadow: 0 0 10px white;
}

/********************* Home Page ***********************/

#home{
	display: flex;
	flex-direction: column;
	background-color: rgba(0, 0, 0, 0.5);
	height: 840px;
	justify-content: center;
	align-items: center;
	color: white;
}

#home::before{
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	background: url('profile.jpg') no-repeat center center/cover;
	height: 900px;
	width: 100%;
	z-index: -1;
	opacity: .6;
}
.main{
	display: flex;
	flex-direction: column;
	/*border: 1px solid white;*/
	align-items: center;
	position: absolute;
	top: 30%;
	right: 10%;
}

.heading{
	font-family: century;
	font-size: 2.5rem;
	text-align-last: center;
	margin: 40px 0px;
}

.button{
	padding: 10px 35px;
	background-color: transparent;
	border: 1px solid white;
	color: white;
	outline: none;
	transition: .6s ease;
}

.button:hover{
	cursor: pointer;
	background-color: white;
	color: black;
	box-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;
	font-weight: bold;
}

/* ********************About Page *****************/

#about{
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 20px;
	margin-bottom: 50px;
	background-color: rgba(0, 0, 0, 0.9);
	color: white;
}

#pic{
	display: flex;
}
#pic img{
	width: 470px;
	height: 470px;
}
#intro{
	display: flex;
	flex-direction: column;
	text-align: justify;
	padding: 10px;
}

#intro h2{
	font-size: 2rem;
	margin-bottom: 20px;
}

/* ******************Resume Section*********** */


.row{
	display: flex;
	flex-direction: row;
}
.study .resume-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 40px;
  color: #050d18;
}

.study .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #1f5297;
  position: relative;
  margin-left: 10px;
}


.study .resume-item h4 {
  line-height: 20px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #050d18;
  margin-bottom: 20px;
  margin-left: 10px;
}

.study .resume-item h5 {
  font-size: 16px;
  background: #e4edf9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 20px;
  margin-left: 10px;
}
.study .resume-item p {
  margin-left: 10px;
}
.study .resume-item h6 {
	margin-left: 10px;
	font-size: 1rem;
}

.skills{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	box-sizing: border-box;
}

.skills-box{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 150px;
	height: 150px;
	border: 1px solid black;
	margin: 10px;
	align-items: center;
	border-radius: 15px;
	transition: all .8s;
	background: linear-gradient(to top,rgb(45,45,45) 50%, white 50%);
	background-size: 100% 200%;
	
}
.skills-box:hover{
	background-position: left bottom;
	color: white;
	border: none;
	box-shadow: 0 0 20px rgb(255, 45, 45);
}
#button1{
	text-align:center;
}
.button1{
	align-items: center;
	padding: 10px 35px;
	background-color: black;
	border: 1px solid white;
	color: white;
	outline: none;
	transition: .6s ease;
	margin-bottom: 20px;
	width: 200px;
}

.button1:hover{
	cursor: pointer;
	background-color: white;
	color: black;
	box-shadow: 0 0 5px black, 0 0 10px black, 0 0 15px black;
	font-weight: bold;
}
/* ******************Portfolio Section*********** */

#portfolio{
	display: flex;
	flex-direction: column;
	background-color: rgba(0, 0, 0, 0.9);
	color: white;
	align-items: center;
	padding: 20px;
}
.gallery{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	box-sizing: border-box;
}
.gallery img{
	width: 360px;
	height: 240px;
	margin: 10px;
}

/* ************Services Section********** */

#services{
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.row{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	box-sizing: border-box;
}
.box{
	display: flex;
	flex-direction: column;
	width: 350px;
	height: 400px;
	border: 1px solid black;
	padding: 5px;
	margin: 10px;
	align-items: center;
	text-align: justify;
	border-radius: 15px;
	background: linear-gradient(to top,rgb(255,45,45) 50%, white 50%);
	background-size: 100% 200%;
	transition: all .8s;
}

.box:hover{
	background-position: left bottom;
	color: white;
	border: none;
	box-shadow: 0 0 20px rgb(255, 45, 45);
}

.box img{
	width: 80px;
	height: 80px;
	background-color: white;
	padding: 10px;
}

/* ****************Contact Me******************* */

#contact{
	box-sizing: border-box;
	background-color: rgba(0, 0, 0, 0.9);
	color: white;
	padding: 20px;

}

#contact .contact-para{
	font-size: 1.5rem;
	margin-bottom: 30px;
	text-decoration: underline;
}
.contact-row{
	display: flex;
	flex-direction: row;
}
#form-div{
	width: 50%;
}
.form{
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	align-items: center;
	margin: 20px 0px;
}
.input{
	padding: 12px;
	margin: 15px;
	width: 50%;
	border: none;
	outline: none;
}

#msg{
	width: 40%;
	padding: 10px;
	margin: 15px;
	border: none;
	outline: none;
}

#send{
	padding: 10px;
	width: 10%;
	margin: 40px;
	border: none;
	outline: none;
}
#send:hover{
	cursor: pointer;
	box-shadow: 0 0 10px white;
}
.address h4, .email h4, .phone h4{
	font-size: 2rem;
	padding-bottom: 20px;
	color: rgb(245, 105, 85);
}
.address p, .email p, .phone p{
	font-size: 1.5rem;
	padding-bottom: 20px;
}