* {
	padding: 0;
	margin: 0;
	font-family: 'Josefin Sans', sans-serif;
	box-sizing: border-box;
}

html,
body {
	scroll-behavior: smooth;
}

.hero {
	height: 100vh;
	width: 100%;
	background-image: url("./bannerportfolioweb.jpg");
	background-size: contain;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

body {
	background-color: #011C40;
}

.content {
	width: 80%;
	margin: 160px auto;
}

nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 45px;
	padding-left: 8%;
	padding-right: 8%;
}

.logo {
	color: white;
	font-size: 35px;
	letter-spacing: 1px;
	cursor: pointer;
}

nav ul li {
	list-style-type: none;
	display: inline-block;
	padding: 10px 25px;
}

nav ul li a {
	color: white;
	text-decoration: none;
	font-weight: bold;
	text-transform: capitalize;
}

nav ul li a:hover {
	color: #2573D9;
	transition: .4s;
}

.btn-download {
	background-color: #2573D9;
	color: white;
	text-decoration: none;
	border: 2px solid transparent;
	font-weight: bold;
	padding: 10px 25px;
	border-radius: 30px;
	transition: transform .4s;
}

.btn-download:hover {
	transform: scale(1.2);
}

.content {
	position: absolute;
	top: 50%;
	left: 8%;
	transform: translateY(-50%);
}

h1 {
	color: white;
	margin: 20px 0px 20px;
	font-size: 75px;
}

h3 {
	color: white;
	font-size: 25px;
	margin-bottom: 50px;
}

h4 {
	color: #2573D9;
	letter-spacing: 2px;
	font-size: 20px;
}

.newslatter form {
	width: 380px;
	max-width: 100%;
	position: relative;
}

.newslatter form input:first-child {
	display: inline-block;
	width: 100%;
	padding: 14px 130px 14px 15px;
	border: 2px solid #2573D9;
	outline: none;
	border-radius: 30px;
}

.newslatter form input:last-child {
	position: absolute;
	display: inline-block;
	outline: none;
	border: none;
	padding: 10px 30px;
	border-radius: 30px;
	background-color: #2573D9;
	color: white;
	box-shadow: 0px 0px 5px #000, 0px 0px 15px #858585;
	top: 6px;
	right: 6px;
}

.about {
	width: 50%;
	padding: 150px 0px;
}

.about-text {
	width: 550px;
}

.main {
	width: 1130px;
	max-width: 95%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.about-text h2 {
	color: white;
	font-size: 75px;
	text-transform: capitalize;
	margin-bottom: 20px;
}

.about-text h5 {
	color: white;
	letter-spacing: 2px;
	font-size: 22px;
	margin-bottom: 25px;
	text-transform: capitalize;
}

span {
	color: #D8D321;
}

.about-text p {
	color: #D8D321;
	letter-spacing: 1px;
	line-height: 28px;
	font-size: 18px;
	margin-bottom: 45px;
}

button {
	background-color: #2573D9;
	color: #fff;
	text-decoration: none;
	border: 2px solid transparent;
	font-weight: bold;
	padding: 13px 30px;
	border-radius: 30px;
	transition: .4s;
}

button:hover {
	background-color: transparent;
	border: 2px solid #2573D9;
	cursor: pointer;
	color: white !important;
	text-decoration: none !important;
}

button a:link {
	color: white !important;
	text-decoration: none !important;
}

.skills {
	padding-top: 75px;
}

.header {
	text-align: center;
	color: #D8D321;
	padding: 1rem;
	position: relative;
}

.header:after {
	content: '';
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	height: 4px;
	width: 150px;
	background-color: #D8D321;
}

.container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-content: center;
	align-items: center;
	text-align: center;
	grid-gap: 1rem;
	padding: 1rem 80px;
	font-size: 1.2rem;
}

.skill-box {
	padding: 1rem;
	color: white;
	cursor: pointer;
}

.skill-box:hover>.skill-title:after,
.skill-box:hover>.skill-title:before {
	width: 35px;
}

.skill-box:hover .img {
	transform: translateY(-10px);
}

.skill-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.5rem;
	margin-bottom: 0.5rem;
	position: relative;
}

.skill-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 50%;
	width: 0;
	height: 4px;
	border-radius: 2px 0 0 2px;
	background-color: #D8D321;
	transition: .5s;
}

.skill-title:before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 4px;
	border-radius: 0px 2px 2px 0px;
	background-color: #D8D321;
	transition: .5s;
}

.img {
	width: 90px;
	height: 90px;
	position: relative;
	border-radius: 45px;
	background-color: #2573D9;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .5s;
}

.skill-title h7 {
	color: white;
	margin-top: 0.5rem;
}

.skill-icon {
	width: 50px;
	z-index: 2;
}

.projects {
	width: 100%;
	padding: 150px 0px;
}

.title h2 {
	color: white;
	font-size: 75px;
	width: 100%;
	margin: 30px auto;
	text-align: center;
}

.box {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 400px;
}

.card {
	height: 365px;
	width: 335px;
	padding: 20px 35px;
	background: #011126;
	border-radius: 20px;
	margin: 15px;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.card i {
	font-size: 50px;
	display: block;
	text-align: center;
	margin: 25px 0px;
	color: #2573D9;
}

h5 {
	color: white;
	font-size: 23px;
	margin-bottom: 15px;
}

.pra p {
	color: #D8D321;
	font-size: 16px;
	min-height: 27px;
	margin-bottom: 25px;
}

.card .button {
	background-color: #2573D9;
	color: white;
	text-decoration: none;
	border: 2px solid transparent;
	font-weight: bold;
	padding: 9px 22px;
	border-radius: 30px;
	transition: .4s;
}

.card .button:hover {
	background-color: transparent;
	border: 2px solid #2573D9;
	cursor: pointer;
}

footer {
	position: relative;
	width: 100%;
	height: 400px;
	background: #011126;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

footer p:nth-child(1) {
	font-size: 30px;
	color: white;
	margin-bottom: 20px;
	font-weight: bold;
}

footer p:nth-child(2) {
	color: white;
	font-size: 17px;
	width: 430px;
	text-align: center;
	line-height: 26px;
}
footer p:nth-child(3) {
	color: white;
	font-size: 17px;
	width: 430px;
	text-align: center;
	line-height: 26px;
}

.social {
	display: flex;
}

.social a {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #2573D9;
	border-radius: 50%;
	margin: 22px 10px;
	color: white;
	text-decoration: none;
}

.social a:hover {
	transform: scale(1.3);
	transition: .3s;
}

.end {
	position: absolute;
	color: #D8D321;
	bottom: 35px;
	font-size: 14px;
}

#back-to-top {
	position: fixed;
	right: 25px;
	bottom: 25px;
	background-color: #2573D9;
	color: white;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.5s;
}

#back-to-top:hover {
	background-color: #011C40;
	opacity: 5;
}