/* ---------GENERAL--------- */
* {
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

html, body {
  height: 98%;
}

body {
	font-family: "Lato", sans-serif;
	position: relative;
	overflow-x: hidden;
}

body,
html {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

/* ---------COOKIE BANNER--------- */
.hidden {
	display: none;
	overflow: hidden;
}

#cookie-banner {
	z-index: 999;
	padding: 1%;
	width: 100%;
	text-align: center;
	position: fixed;
	bottom: 0;
	left: 0;
	background-color: #374054;
}

#cookie-banner div {
	background-color: #fff;
	color: #ebf8ff;
	border-radius: 100px;
	padding: 0.6% 1.5%;
	line-height: 1;
	align-items: center;
	display: inline-flex;
}

#cookie-banner div span:first-child {
	text-align: left;
	margin-right: 2em;
	font-weight: 600;
	flex: 1 1 auto;
	color: #000;
}

#cookie-banner a {
	text-decoration: none;
	color: #007bff;
}

#cookie-banner a:hover {
	color: rgb(133, 133, 133);
}

#cookie-banner div button {
	color: rgb(85, 85, 85);
	font-size: 0.9rem;
	padding: 0;
	font-weight: 600;
	display: flex;
	cursor: pointer;
	border-radius: 50px;
	background-color: rgba(255, 255, 255, 0);
	border: none;
}

#cookie-banner div button:hover {
	color: #000;
}

/* ---------NAVBAR--------- */
.navbar {
	padding: 2% 6.2% 0% 6.2%;
	z-index: 100;
	background-color: #374054;
}

.navbar-brand {
	font-family: "Lato", sans-serif;
	color: #fff;
	font-weight: 700;
	font-size: 2em;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 100%;
}

.icon {
	font-size: 25px;
	color: #fff;
	border-radius: 20px;
}

.btn-nav {
	border: none;
}

.btn-nav:hover {
	background-color: #586580 !important;
}

.btn:focus {
	box-shadow: none;
}

/* ---------TOP--------- */
#lead {
	position: relative;
	z-index: 1;
	max-width: 100vw;
	background-color: #374054;
	height: 100vh;
	min-height: 500px;
	max-height: 1080px;
}

#lead-img {
	z-index: 101;
	position: relative;
	width: 45%;
	left: 6%;
	top: 5em;
	border-radius: 00px 30px 00px 30px;
}

#lead-content {
	position: absolute;
	z-index: 102;
	top: 50%;
	left: 75%;
	transform: translate(-50%, -50%);
	text-align: center;
}

#lead-content h1,
#lead-content h2 {
	margin: 0;
}

#lead-content h1 {
	color: #fff;
	font-weight: 900;
	font-size: 5em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 0.9em;
}

#lead-content h2 {
	margin-top: 5%;
	color: #d1eeff;
	font-weight: 500;
	font-size: 2em;
}

/*--------ABOUT SECTION----------*/
#about {
	z-index: 500;
	background-color: #fff;
	margin-bottom: 4%;
}

#about2 {
	z-index: 500;
	margin-top: -3%;
	position: relative;
	margin-left: 60%;
}

#about2 h2 {
	z-index: 500;
	text-align: left;
	margin-bottom: 4%;
	color: #fff;
}

#about2 p {
	text-align: left;
	margin-right: -10%;
	z-index: 500;
	color: #000;
	font-size: 1.1em;
	margin-right: 55%;
}

/*--------EDUCATION SECTION------*/
#education {
	padding: 2%;
	text-align: center;
	background-color: #586580;
	margin-top: -80px
}

#education h2 {
	color: #fff;
	margin-bottom: 3%;
}

.education-block {
	max-width: 700px;
	margin: 0 auto 3% auto;
	padding: 1%;
	border: 2px solid #fff;
	text-align: left;
}

.work-block {
	max-width: 700px;
	margin: 0 auto 3% auto;
	padding: 1%;
	border: none;
	background: rgb(106, 122, 155);
	text-align: left;
	border-radius: 10px;
}

.education-block h3, .work-block h3 {
	font-weight: 500;
	float: left;
	margin: 0;
	color: #ffffff;
}

.education-block span, .work-block span {
	color: #e0e0e0;
	float: right;
}

.education-block h4, .work-block h5 {
	color: #e0e0e0;
	clear: both;
	font-weight: 500;
	margin: 0 0 2% 0;
}

.education-block p,
.education-block ul,
.work-block p,
.work-block ul {
	margin: 0;
	color: #e0e0e0;
	font-size: 1em;
}

.education-block ul, .work-block ul {
	padding: 0 0 0 2%;
}

.edu-link {
	text-decoration: none;
	color: #007bff;
}

.edu-link:hover {
	text-decoration: none;
	color: #374054;
}

/*------------SKILLS--------------*/
#skills {
	background-color: #374054;
	padding: 2%;
	text-align: center;
}

#skills-header {
	color: #fff !important;
}

#skills h2 {
	color: #374054;
	margin-bottom: 2%;
}

#skills ul {
	display: block;
	margin: 0 auto;
	padding: 0;
	max-width: 800px;
}

#skills li {
	display: inline-block;
	margin: 0.7%;
	padding: 5px 10px;
	color: #000;
	background: #e4e4ea;
	list-style: none;
	cursor: default;
	font-size: 1.2em;
	box-shadow: 5px 5px #888888;
}

/*-------PROJECTS----------*/
#projects {
	background: rgb(55,64,84);
	background: linear-gradient(180deg, rgba(55,64,84,1) 0%, rgba(88,101,128,1) 100%); 
  padding-bottom: 50px;
}

#projects-inner {
	padding: 2% 12%;
}

.heading {
	text-align: center;
	margin-top: 3%;
	margin-bottom: 1%;
	color: rgb(3, 0, 51);
}

#projects-inner h2 {
	color: #fff;
}

.card {
	text-align: center;
	padding: 2% 2% 0 2%;
	border-radius: 5px;
	background-color: #fff;
	color: #000;
}

.card p {
	margin-top: 2%;
	margin-bottom: 0;
}

#projects button.btn-check-out {
	border: none;
	margin-top: 10%;
	margin-bottom: -4%;
	font-weight: 600;
	color: #000;
	padding: 1.8% 4%;
	background: none;
	border-radius: 50px;
	transition: all 0.3s ease-in-out;
	border: 2px solid #586580;
}

#projects button.btn-check-out:hover {
	background-color: #586580;
	color: #fff;
}

#ph5 {
	color: #fff !important;
}

#projects button.btn-check-out:active {
	transform: translateY(4px);
}

.vertical-center {
	margin: 0;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

#heading5 {
	text-align: center;
	margin-top: 2%;
	padding-bottom: 2%;
	margin-bottom: 0%;
	color: #fff;
}

#git {
	text-decoration: none;
	color: #55acdf;
}

#git:hover {
	color: #397496;
}

#pro4 {
	margin-left: 2%;
}

/*----------CONTACT-------*/
#contact {
	background-color: rgb(212, 212, 255);
	padding-bottom: 0.1px;
	padding-top: 2%;
}

.headingC {
	text-align: center;
	margin-top: 1%;
	margin-bottom: -1%;
	color: rgb(3, 0, 51);
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #fff;
	font-size: 0.875em;
}

input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
	color: #fff;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
	color: #fff;
	font-size: 1.2em;
}

input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
	color: #fff;
}

input::placeholder,
textarea::placeholder {
	color: #000;
	font-size: 1em;
}

input:focus::placeholder,
textarea::focus:placeholder {
	color: #fff;
}

input::-ms-placeholder,
textarea::-ms-placeholder {
	color: #fff;
	font-size: 0.875em;
}

input:focus::-ms-placeholder,
textarea:focus::-ms-placeholder {
	color: #fff;
}

input:hover::-webkit-input-placeholder,
textarea:hover::-webkit-input-placeholder {
	color: #fff;
	font-size: 0.875em;
}

input:hover:focus::-webkit-input-placeholder,
textarea:hover:focus::-webkit-input-placeholder {
	color: #fff;
}

input:hover::-moz-placeholder,
textarea:hover::-moz-placeholder {
	color: #fff;
	font-size: 0.875em;
}

input:hover:focus::-moz-placeholder,
textarea:hover:focus::-moz-placeholder {
	color: #fff;
}

input:hover::placeholder,
textarea:hover::placeholder {
	color: #fff;
	font-size: 0.875em;
}

input:hover:focus::placeholder,
textarea:hover:focus::placeholder {
	color: #fff;
}

input:hover::placeholder,
textarea:hover::placeholder {
	color: #fff;
	font-size: 0.875em;
}

input:hover:focus::-ms-placeholder,
textarea:hover::focus:-ms-placeholder {
	color: #fff;
}

#form {
	position: relative;
	width: 30%;
	margin: 4% auto 5% auto;
}

input {
	font-family: "Lato", sans-serif;
	font-size: 1em;
	height: 3em;
	padding: 0 3% 0 3%;
	width: 100%;
	background: transparent;
	outline: none;
	color: #726659;

	border: solid 1px #b3aca7;
	border-bottom: none;

	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
}

input:hover {
	background-color: #a7a7b3;
	color: #fff;
}

textarea {
	width: 100%;
	height: 8em;
	max-height: 10em;
	padding: 3%;
	background: transparent;
	outline: none;
	color: #726659;
	font-family: "Lato", sans-serif;
	font-size: 1em;
	border: solid 1px #b3aca7;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
}

textarea:hover {
	background-color: #a7a7b3;
	color: #fff;
}

#submit {
	width: 100%;
	padding: 0;
	margin: -5px 0px 0px 0px;
	font-family: "Lato", sans-serif;
	font-size: 1em;
	color: #374054;
	outline: none;
	cursor: pointer;
	border: solid 1px #b3aca7;
	border-top: none;
}

#submit:hover {
	background-color: #374054;
	color: #fff;
}

/*----------FOOTER-------------*/
#footer {
	padding: 2%;
	padding-bottom: 0;
	 background-color: #374054;
	height: auto;
	margin-top: 0;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin: 1% auto 0 auto;
	width: 100%;
	max-width: 300px;
}

.social-links a {
	transition: transform 0.6s ease;
	border: 3px solid;
	border-radius: 50%;
	text-align: center;
	height: 60px;
	width: 60px;
	margin: ((60px * 1.4) - 60px) / 2;
}

.social-links a:hover {
	transform: scale(1.4);
	color: #000;
}

.social-links a > i {
	font-size: 30px;
	line-height: 60px;
	vertical-align: middle;
}

.social-links a.linkedin {
	border-color: #fff;
	color: #fff;
}

.social-links a.github {
	border-color: #fff;
	color: #fff;
}

#footer p {
	color: #fff;
	text-align: center;
	margin-top: 0em;
	margin-bottom: 0%;
	margin-top: -5%;
	padding-bottom: 5px;
}

.pc-not {
	visibility: hidden;
	display: none;
}

.cv-button {
	margin-top: 5%;
	margin-bottom: 10%;
	width: 100%;
	text-align: center;
}

.center {
	position: absolute;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.cv-button button {
	background-color: #586580;
	color: #fff;
	border: none;
}

.cv-button button:hover {
	background-color: #586580;
}

/*-------MEDIA QUERIES-------*/
@media (max-width: 1150px) {
	#about2 {
		margin-top: -5%;
	}
}

@media (max-width: 1025px) {
	#projects button.btn-check-out {
		background-color: #586580;
		color: #fff;
	}

	#form {
		width: 50%;
	}
}

@media (max-width: 1000px) {
	.pc-only {
		visibility: hidden;
		display: none;
	}

	.pc-not {
		visibility: visible;
		display: block;
	}

	#about2 {
		margin-left: 10%;
	}

	#about2 p {
		margin-right: 20%;
	}
}

@media (max-width: 770px) {
	#projects-inner {
		padding: 2em 0;
	}

	#cookie-banner {
		background-color: #fff;
	}

	#cookie-banner div button {
		margin: 0;
	}

	#form {
		width: 80%;
	}

	#lead {
		height: 85vh;
	}
}

@media (max-width: 650px) {
	#about2 {
		margin-top: -8%;
	}
}

@media (max-width: 600px) {
	#about2 {
		margin-top: -8%;
	}

	#lead {
		height: 75vh;
	}

	#lead-content h1 {
		font-size: 3.8em;
	}

	#lead-content h2 {
		font-size: 1.6em;
	}
}

@media (max-width: 500px) {
	#about2 {
		margin-top: -10%;
	}

	#lead {
		height: 70vh;
	}
}

@media (max-width: 450px) {
	.navbar-brand {
		font-size: 1.5em;
	}
}

@media (max-width: 430px) {
	#about2 {
		margin-top: -12%;
	}

	#lead {
		height: 70vh;
	}

	#lead-content {
		top: 65%;
	}
}

@media (max-width: 350px) {
	.navbar-brand {
		font-size: 1.3em;
	}
}
