/* Universal  */

@font-face {
	font-family: "AgencyFB";
	src: url(../Agency\ FB.ttf);
}

html {
	overflow-x: hidden;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "AgencyFB", sans-serif;
}

@media (max-width: 1025px) {
	* {
		overflow-x: hidden !important;
	}
}

::-webkit-scrollbar {
	display: none;
}

/* NAVBAR */

.navbar-nav a {
	color: black !important;
	font-size: 32px;
	margin-right: 40px;
	padding: 0 !important;
}

.navbar-nav a:hover {
	border-bottom: 2px solid black;
}

/* HEADER */

header {
	width: 100%;
	height: 100vh;
	background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)),
		url(../img/bg.jpg);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	color: white;
	font-family: "AgencyFB", sans-serif;
}

@media (max-width: 996px) {
	.typewriter h1 {
		font-size: 60px !important;
	}
}

@media (max-width: 658px) {
	.typewriter h1 {
		font-size: 40px !important;
	}

	header p {
		font-size: 18px !important;
	}
}

@media (max-width: 400px) {
	.typewriter h1 {
		font-size: 30px !important;
	}

	header p {
		font-size: 14px !important;
	}

	.button {
		font-size: 14px !important;
		padding-top: 5px !important;
		padding-bottom: 5px !important;
		padding-left: 25px !important;
		padding-right: 25px !important;
	}
}

.typewriter h1 {
	color: #fff;

	font-weight: bold;
	font-size: 85px;
	overflow: hidden; /* Ensures the content is not revealed until the animation */
	border-right: 0.1em solid orange; /* The typwriter cursor */
	white-space: nowrap; /* Keeps the content on a single line */
	margin: 0 auto; /* Gives that scrolling effect as the typing happens */
	letter-spacing: 0.15em; /* Adjust as needed */
	animation: typing 3.5s steps(30, end), blink-caret 0.5s step-end infinite;
}

/* The typing effect */
@keyframes typing {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

/* The typewriter cursor effect */
@keyframes blink-caret {
	from,
	to {
		border-color: transparent;
	}
	50% {
		border-color: orange;
	}
}

header p {
	padding-top: 20px;
	font-size: 36px;
	font-weight: normal;
	opacity: 0.8;
}

.button {
	background-color: transparent;
	border: 1px solid orange;
	border-radius: 20px;
	color: white;
	font-size: 18px;
	font-weight: 600;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 35px;
	padding-right: 35px;
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
}

.button:hover {
	background-color: orange;
	color: black;
	transform: scale(1.1);
	transition: 300ms ease;
}

header a {
	text-decoration: none;
}

/* ABOUT  */
.about {
	margin-bottom: 150px;
}

.about .row {
	margin-top: 50px;
	text-align: left;
}

.about .row .col-lg-7 h2 {
	padding-top: 50px;
	font-size: 55px;
	font-weight: normal;
	color: rgb(72, 72, 72);
}

.about .row .col-lg-7 h1 {
	font-size: 140px;
	font-weight: bold;
}

.about .row .col-lg-7 h3 {
	font-size: 24px;
	color: rgb(72, 72, 72);
}

.about .row div {
	height: 100%;
}

@media (max-width: 996px) {
	.bd {
		border-top: 2px solid black !important;
		border-left: none !important;
		margin-top: 90px !important;
		padding-top: 30px !important;
	}
}

.bd {
	border-left: 2px solid black;
}

.about .row .col-lg-5 p {
	font-size: 24px;
	padding-left: 25px;
	color: rgb(56, 56, 56);
}

/* SKILLS */
.skills {
	background-color: #ecebeb;
	padding-bottom: 100px;
}

.skills h1 {
	padding: 50px;
	font-size: 50px;
	font-weight: bold;
	color: black;
}

.skills img {
	padding: 20px;
	width: 200px;
}

.skills .row {
	padding-top: 60px;
}

/* PROJECTS */
.projects {
	margin-top: 60px;
	margin-bottom: 40px;
	height: auto;
}

.projects h1 {
	text-align: center;
	font-size: 50px;
	font-weight: bold;
	color: black;
}

@media (max-width: 992px) {
	.bbtn {
		display: none !important;
	}
}

.projects .col-xl-4 {
	padding: 50px;
}

.box {
	width: 100%;
	height: 350px;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 5px 5px 2px #888888;
	position: relative;
	transition: 400ms ease;
}

.box img {
	filter: brightness(90%);
	height: 100%;
	width: 100%;
	transition: 400ms ease;
}

.box:hover img {
	opacity: 0.1;
	transform: scale(1.05);
}

.box:hover {
	box-shadow: 0 10px 20px #888888;
	transform: translateY(-1rem);
}

.box .content {
	display: none;
	position: absolute;
	z-index: 99;
	top: 40%;
	width: 100%;
	height: 100%;
	transition: 400ms ease;
}

.box:hover .content {
	display: block;
}

.box .content h3 {
	font-size: 30px;
	font-weight: bold;
}

.button2 {
	font-size: 24px;
	margin-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: transparent;
	/* border: 1px solid #9F7F70; */
	border: 1px solid #888888;
	border-radius: 20px;
}

.button2:hover {
	/* background-color: #9F7F70; */
	background-color: #e9e9e9;
	/* color: white; */
	color: black;
	transform: scale(1.05);
	transition: 300ms ease;
}

.projects .row h2 {
	margin-left: 40px;
	font-weight: bold;
}

/* ACHIEVEMENTS */
.ach {
	background-color: #e9e9e9;
	padding-bottom: 60px;
}

.ach h1 {
	padding-top: 60px;
	padding-bottom: 60px;
	text-align: center;
	font-size: 50px;
	font-weight: bold;
	color: black;
}

@media (max-width: 700px) {
	.ach .row {
		padding-top: 20px !important;
		padding-bottom: 20px !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

.ach .row {
	padding: 20px;
}

.ach h3 {
	font-weight: bold;
	font-size: 32px;
}

.ach .col-md-6,
.col-12 {
	padding-top: 40px !important;
}

.ach p,
a {
	font-size: 18px;
}

.ach a {
	position: absolute;
	bottom: 0;
}

.ach ul {
	font-size: 20px;
	padding-bottom: 30px;
}

.ach .content {
	padding-left: 50px;
	height: 100%;
	position: relative;
}

.ach .col-md-4 {
	height: 100%;
}

/* CONTACT */
.contact {
	/* background-color: #9F7F70; */
	/* background-color: #e9e9e9; */
	padding-bottom: 50px;
}

.contact h1 {
	padding-top: 60px;
	text-align: center;
	font-size: 50px;
	font-weight: bold;
	/* color: white; */
}

.contact h2 {
	font-size: 24px;
	font-weight: bold;
	/* color: white; */
}

.contact .content {
	margin-top: 20px;
}

.contact input {
	width: 100%;
	height: 30px;
	padding: 20px;
	border-radius: 10px;
	/* border: none; */
	border: 2px solid black;
}

.long {
	height: 100px !important;
}

textarea {
	width: 100%;
	padding: 20px;
	border-radius: 10px;
	/* border: none; */
	border: 2px solid black;
}

.button3 {
	/* color: white; */
	font-size: 24px;
	margin-top: 20px;
	padding-left: 35px;
	padding-right: 35px;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: transparent;
	/* border: 1px solid white; */
	border-radius: 20px;
}

.button3:hover {
	background-color: #192841;
	color: white;
	transform: scale(1.05);
	transition: 100ms ease;
}

/* FOOTER  */
footer {
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #192841;
	border-top: 1px solid white;
}

footer h5 {
	color: white;
	font-size: 42px;
	font-weight: bold;
}

footer p {
	color: white;
	font-size: 24px;
	font-weight: bold;
}

footer a {
	text-decoration: none;
	color: white;
	font-size: 24px;
}

footer a:hover {
	color: white;
	font-weight: bold;
}
