/* Reset and base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
}

body {
	background-color: black;
	color: white;
	font-family: 'Helvetica Neue', sans-serif;
	background-image: url("media/.png");
	width: 100%;
	min-height: 100vh;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	overflow-x: hidden;
	line-height: 1.6;
}

/* Navbar */
.navbar {
	padding: 20px 40px;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 1000;
	background: rgba(14, 14, 14, 0.95);
	backdrop-filter: blur(6px);
}

.navdiv {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.navdiv .logo a {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

li {
	list-style: none;
	display: inline-block;
}

li a {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	margin-right: 20px;
	text-transform: uppercase;
}

.navbar a:hover {
	color: #fa1e4e;
	transition-duration: 0.5s;
}

/* Hamburger */
.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background-color: white;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Buttons */
.btn {
	display: inline-block;
	background: #fa1e4e;
	color: #fff;
	padding: 12px 25px;
	border-radius: 8px;
	font-weight: 600;
	margin-right: 10px;
	transition: 0.3s;
}

.btn:hover {
	background: #fff;
	color: #0e0e0e;
}

.btn.secondary {
	background: transparent;
	border: 2px solid #fa1e4e;
}

.btn.secondary:hover {
	background: #fa1e4e;
	color: #fff;
}

.btn.small {
	padding: 8px 16px;
	font-size: 0.9rem;
}

/* Hero */
.hero {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0px 50px;
	gap: 30px;
	flex-wrap: wrap;

}

.text-content {
	flex: 1;

}

.text-content h2 {
	font-size: 2.8rem;
	line-height: 1.3;
	margin-bottom: 20px;
}

.highlight {
	color: #fa1e4e;
}


.text-content p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	max-width: 600px;
	z-index: 10;
}

.image-content {
	flex: 1;
	display: flex;
	justify-content: center;
}

.bf {
	width: 150px;
	height: 150px;
	margin-left: 40%;
}


.main-pic {
	width: 700px;
	height: 800px;
	object-fit: cover;
}

/* Portfolio */
.portfolio {
	padding: 80px 20px;
	text-align: center;
}

.portfolio h2 {
	font-size: 2.5rem;
	margin-bottom: 40px;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.project {
	background: #111;
	padding: 20px;
	text-align: left;
	transition: transform 0.3s;
}

.project:hover {
	transform: translateY(-8px);
}

.project img {
	width: 100%;
	margin-bottom: 15px;
}

.project h3 {
	margin-bottom: 10px;
}

/* About */
.about {
	padding: 100px 20px;
	text-align: center;
	display: flex;
	justify-content: center;
}

.about h2 {
	font-size: 3rem;
	margin-bottom: 25px;
	color: white;
}

.about .highlight {
	color: #fa1e4e;
}

.about .text {
	margin-bottom: 20px;
	font-size: 1.15rem;
	line-height: 1.8;
	color: #ddd;
	max-width: 1300px;
}

.wy {
	position: relative;
	margin-left: 35%;
	max-width: 400px;
	margin-bottom: -50px;
}

.Sirv {
	position: relative;
	margin-left: 35%;
	max-width: 400px;
	margin-bottom: -50px;
}

.wy img.Sirv.image-hover {
	object-fit: contain;
	opacity: 0;
	transition: opacity .2s;
}

.wy:hover img.Sirv.image-hover {
	opacity: 1;
}


/* Contact */
.contact {
	padding: 80px 20px;
	text-align: center;
}

.contact h2 {
	font-size: 4rem;
	margin-bottom: 20px;
}

.contact form {
	max-width: 500px;
	margin: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact button {
	align-self: center;
	margin-top: 20px;
	padding: 15px 35px;
	font-size: 1.2rem;
	border: none;
	background-color: #fa1e4e;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
}

.contact button:hover {
	transform: scale(1.05);
}

/* Footer */
.footer {
	background: #fa1e4e;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.footer ul {
	display: flex;
	gap: 20px;
}

.footer i {
	color: white;
	font-size: 28px;
	transition: color 0.3s;
}

.footer i:hover {
	color: #0e0e0e;
}

/* Responsive */
@media (max-width: 768px) {
	#nav-links {
		display: none;
		flex-direction: column;
		width: 100%;
		background-color: rgba(14, 14, 14, 0.95);
		position: absolute;
		top: 70px;
		left: 0;
		text-align: center;
		padding: 10px 0;
		z-index: 999;
	}

	#nav-links li {
		margin: 15px 0;
	}

	.hamburger {
		display: flex;
	}

	#nav-links.active {
		display: flex;
	}

	body {
		background-image: none;
	}
}

@media (max-width: 1000px) {
	body {
		background-image: none;
	}
}

a {
	color: inherit;
	/* blue colors for links too */
	text-decoration: inherit;
	/* no underline */
}


.glitch {
	position: relative;
	width: 700px;
	height: 800px;
	object-fit: cover;
	background: url(media/glass.png);
}

.glitch:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 700px;
	height: 800px;
	object-fit: cover;
	background: url(media/glass.png);
	opacity: .5;
	mix-blend-mode: hard-light;
	animation: glitch2 10s linear infinite;
}

.glitch:hover:before {
	animation: glitch1 1s linear infinite;
}

@keyframes glitch1 {
	0% {
		background-position: 0 0;
		filter: hue-rotate(0deg);
	}

	10% {
		background-position: 5px 0;
	}

	20% {
		background-position: -5px 0;
	}

	30% {
		background-position: 15px 0;
	}

	40% {
		background-position: -5px 0;
	}

	50% {
		background-position: -25px 0;
	}

	60% {
		background-position: -50px 0;
	}

	70% {
		background-position: 0 -20px;
	}

	80% {
		background-position: -60px -20px;
	}

	81% {
		background-position: 0 0;
	}

	100% {
		background-position: 0 0;
		filter: hue-rotate(360deg);
	}
}

@keyframes glitch2 {
	0% {
		background-position: 0 0;
		filter: hue-rotate(0deg);
	}

	10% {
		background-position: 15px 0;
	}

	15% {
		background-position: -15px 0;
	}

	20% {
		filter: hue-rotate(360deg);
	}

	25% {
		background-position: 0 0;
		filter: hue-rotate(0deg);
	}

	100% {
		background-position: 0 0;
		filter: hue-rotate(0deg);
	}
}


@-webkit-keyframes wiggle {
	0% {
		-webkit-transform: skewX(24deg);
	}

	10% {
		-webkit-transform: skewX(-8deg);
	}

	20% {
		-webkit-transform: skewX(55deg);
	}

	30% {
		-webkit-transform: skewX(-90deg);
	}

	40% {
		-webkit-transform: skewX(29deg);
	}

	50% {
		-webkit-transform: skewX(-90deg);
	}

	60% {
		-webkit-transform: skewX(3deg);
	}

	70% {
		-webkit-transform: skewX(-2deg);
	}

	80% {
		-webkit-transform: skewX(1deg);
	}

	90% {
		-webkit-transform: skewX(10deg);
	}

	100% {
		-webkit-transform: skewX(0deg);
	}
}



header {
	display: flex;
	margin-left: 47%;
	margin-bottom: -100PX;
}

header:hover {
	-webkit-animation: wiggle 0.4s;
}

h1 {
	position: relative;
	font-family: 'Abril Fatface';
	font-weight: normal;
	font-size: 8em;
	text-align: center;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 1px 1px rgba(246, 0, 153, 0.8),
		-1px -1px rgba(15, 210, 255, 0.8),
		-1px 0px rgba(255, 210, 0, 1);
}

h1:hover {
	-webkit-animation: wiggle 0.2s 2;
	/*transition:all ease-out 0.1s;*/
	text-shadow: 30px 13px rgba(246, 0, 153, 0.8),
		-38px -4px rgba(15, 210, 255, 0.8),
		-2px -4px rgba(255, 210, 0, 1);

}

.figure {
	position: relative;

}

.figure img.Sirv.image-hover {
	position: absolute;

	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	object-fit: contain;
	opacity: 0;
	transition: opacity .2s;
}

.figure:hover img.Sirv.image-hover {
	opacity: 1;
}