@charset "UTF-8";

* {
	padding: 0px;
	margin: 0px;
	font-family: arial;
	box-sizing: border-box;
}

html, body {
	width: 100%;
	height: auto;
	background-color: #FFFFFF;
	margin: 0;
	padding: 0;
}

#containerframe {
	width: 100%;
	padding-bottom: 30px;
	margin: 0 auto;
}

article#main, article#economics, article#services {
	width: 100%;
}

/* 850px Centered Container for Portfolio Content - Border Removed */
#content.centered-container {
	width: 850px;
	max-width: 100%;
	margin: 40px auto;
	overflow: hidden;
	background-color: #ffffff;
	border: none;
	border-radius: 0px;
	padding: 35px;
	box-shadow: none;
	text-align: left;
}

#content.centered-container h2 {
	font-size: 24px;
	margin-bottom: 10px;
	color: #222222;
}

#content.centered-container p {
	font-size: 14px;
	color: #555555;
	margin-bottom: 20px;
}

/* Table Styling for Portfolio */
#content.centered-container table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

#content.centered-container th, 
#content.centered-container td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
	font-size: 14px;
	color: #333333;
}

#content.centered-container th {
	background-color: #f2f2f2;
	font-weight: bold;
	color: #222222;
	border-bottom: 2px solid #ddd;
}

#content.centered-container tr:hover {
	background-color: #f5f5f5;
}

/* Tag Styles */
.tag {
	display: inline-block;
	background-color: #e1ecf4;
	color: #39739d;
	padding: 2px 6px;
	border-radius: 0px;
	font-size: 0.85em;
	margin-right: 4px;
	border: 1px solid #cedae4;
}

/* Main Page Sections with 0.8s Delayed Fade-In Animation and Relative Context */
#aboutsection {
    background-image: url('/res/mainbackground.png');
    background-position: center 20px;
    background-repeat: no-repeat;
    background-size: auto;
    background-color: transparent;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    height: 300px;
    padding-top: 100px;
    padding-bottom: 0px;
    display: block;
    opacity: 0;
    position: relative;
    animation: fadeInBackground 1.5s ease-in-out 0.8s forwards;
}

@keyframes fadeInBackground {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

#aboutsection1 {
    height: 130px;
    width: 800px;
    margin: 0 auto;
}

#aboutsection1 a {
    border: none;
    padding: 0;
    margin: 0;
}

/* Horizontal scrolling bar container matched to 800px content boundaries */
.animated-line {
	width: 800px;
	max-width: 100%;
	height: 10px;
	margin: -10px auto 0 auto;
	position: relative;
	overflow: hidden;
}

.animated-line::before {
	content: '';
	position: absolute;
	top: 0;
	left: -30%;
	width: 30%;
	height: 10px;
	background-color: #dcdcdc;
	animation: lineMove 10s linear infinite;
}

@keyframes lineMove {
	0% {
		transform: translateX(0%);
	}
	100% {
		transform: translateX(433.33%);
	}
}

/* 3-Column Profile Row Container (Original position preserved) */
.centered-profile-box {
	width: 800px;
	max-width: 100%;
	margin: 0 auto 40px auto;
	background-color: transparent;
	border: none;
	border-radius: 0px;
	padding: 0;
	box-shadow: none;
	text-align: left;
}

.profile-header {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin-bottom: 10px;
}

/* 3 Columns with Square Edges, Custom Backgrounds, and Shorter Padding */
.profile-column {
	flex: 1;
	background-color: #1a1a1a;
	color: #ffffff;
	padding: 10px 10px;
	border-radius: 0px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.profile-column:nth-child(1) {
	background-image: url('/res/profilephoto.png');
	background-position: center 25px;
	background-repeat: no-repeat;
	position: relative;
	justify-content: center;
}

.profile-column:nth-child(2) {
	background-color: #DDDDDD;
}

.profile-column:nth-child(2) p:first-child {
	margin-top: 20px;
}

.profile-column:nth-child(3) {
	background-color: #CCCCCC;
}

#aboutsection2 {
    background-color: #ffffff;
    padding-top: 0px;
    overflow: hidden;
    padding-bottom: 50px;
    height: auto;
    color: #333333;
    border-radius: 0px;
    margin-top: 0;
}

#bordercontainer {
    width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

#servicesinfo {
    margin: 0 auto;
    overflow: hidden;
    width: 800px;
    padding-top: 10px;
}

#viewAppsButton {
    background-image: url(/res/style/viewappsbutton.png);
    width: 125px;
    height: 30px;
    border: none;
    display: block;
    margin-top: 25px;
    text-decoration: none;
}

#viewAppsButton:hover {
    background-image: url(/res/style/viewappsbutton2.png);
}

/* Square profile photo resized to 75px as background image */
.profile-photo {
	width: 75px;
	height: 75px;
	border-radius: 0px;
	border: none;
	margin-bottom: 10px;
}

.profile-column p {
	font-size: 13px;
	color: #000000;
	margin-bottom: 10px;
}

.profile-column a {
	color: #000000;
	text-decoration: none;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 6px;
	background-color: #DDDDDD;
	padding-right:10px;
}

.profile-column a:hover {
	text-decoration: underline;
}

.linkedin-img {
	height: 20px;
	width: auto;
}

.skills-container {
	margin-top: 0;
}

.skills-container h3 {
	font-size: 18px;
	padding-top: 40px;
	margin-bottom: 12px;
	color: #222222;
	text-align: center;
}

/* Main Page Skills: 3-Column Grid Layout */
.skills-list {
	list-style-type: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.skills-list li {
	background-color: #f8f9fa;
	padding: 18px 15px;
	border-left: 4px solid #cccccc;
	border-radius: 0px;
	font-size: 14px;
	color: #333333;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Services Page List: Stacked Layout */
.services-list {
	list-style-type: none;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.services-list li {
	background-color: #f8f9fa;
	padding: 16px 20px;
	border-left: 4px solid #333333;
	border-radius: 0px;
	font-size: 14px;
	color: #333333;
	text-align: left;
	display: block;
}

/* Project Container Centered - Border Removed */
#content.centered-container.project-container {
	width: 850px;
	max-width: 100%;
	margin: 0 auto 40px auto;
	padding: 0;
	overflow: hidden;
	background-color: #ffffff;
	border: none;
	border-radius: 0px;
	box-shadow: none;
	text-align: left;
}

#content.centered-container.project-container.first-project {
	margin-top: 40px;
}

#content.centered-container h2.project-heading {
	background-color: #e0e0e0;
	color: #222222 !important;
	padding: 0;
	font-size: 20px;
	margin: 0;
	display: flex;
	align-items: stretch;
}

.heading-prefix {
	background-color: #000000;
	color: #ffffff;
	width: 300px;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.heading-title {
	padding: 12px 20px;
	display: flex;
	align-items: center;
}

.project-body {
	padding: 25px 35px 35px 35px;
}

.project-block-dark {
	background-color: #e9ecef;
	padding: 15px 35px 7.5px 35px;
	margin: 0;
}

.project-block-light {
	background-color: #f8f9fa;
	padding: 15px 35px 7.5px 35px;
	margin: 0;
}

.project-block-dark p,
.project-block-light p {
	font-size: 14px;
	color: #555555;
	margin-bottom: 0;
}

.project-image {
	display: block;
	margin: 0 auto;
}

.project-image-flush {
	display: block;
	margin: 0 auto;
}

/* Footer Styling */
#footer {
	background-color: #000000;
	color: #ffffff;
	text-align: center;
	padding: 20px 0;
	width: 100%;
}

#footerContent p {
	color: #ffffff;
	font-size: 13px;
	margin-bottom: 5px;
}

.profile-column h2 {
    font-size: 16px;
    color: #ffffff;
    background-color: #555555;
    width: 100%;
    padding: 6px 0;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
}

/* Vertical lines with 0.8s delay before running once */
.scrolling-vertical-line {
	position: absolute;
	width: 2px;
	height: 30px;
	background-color: #BBBBBB;
	top: 0;
	opacity: 0;
	animation: slideDownOnce 8s ease-out 0.8s forwards;
	z-index: 10;
}

/* Positioned on the left edge of your 800px content */
.scrolling-vertical-line.left-line {
	left: calc(50% - 400px);
}

/* Positioned on the right edge of your 800px content */
.scrolling-vertical-line.right-line {
	right: calc(50% - 400px);
}

@keyframes slideDownOnce {
	0% {
		top: 80px;
		opacity: 1;
	}
	12.5% {
		top: 320px;
		opacity: 0;
	}
	100% {
		top: 320px;
		opacity: 0;
	}
}

/* Anchor container centered at top: 200px */
.expanding-circle-cluster {
	position: absolute;
	left: 50%;
	top: 200px;
	width: 0px;
	height: 0px;
	pointer-events: none;
	z-index: 5;
}

/* Base style for each of the 3 small expanding filled black circles */
.expanding-circle {
	position: absolute;
	width: 0px;
	height: 0px;
	background-color: #000000;
	border-radius: 50%;
	pointer-events: none;
	animation-duration: 0.8s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}

/* Triangle Formation Offsets relative to central anchor point */
.circle-top {
	animation-name: expandTopCircle;
}

.circle-bottom-left {
	animation-name: expandLeftCircle;
}

.circle-bottom-right {
	animation-name: expandRightCircle;
}

/* Doubled expansion distance offsets while retaining triangle formation shape */
@keyframes expandTopCircle {
	0% {
		width: 3px;
		height: 3px;
		opacity: 1;
		transform: translate(-50%, -50%);
	}
	80% {
		width: 10.5px;
		height: 10.5px;
		opacity: 1;
		transform: translate(-50%, calc(-50% - 14px));
	}
	100% {
		width: 10.5px;
		height: 10.5px;
		opacity: 0;
		transform: translate(-50%, calc(-50% - 14px));
	}
}

@keyframes expandLeftCircle {
	0% {
		width: 3px;
		height: 3px;
		opacity: 1;
		transform: translate(-50%, -50%);
	}
	80% {
		width: 10.5px;
		height: 10.5px;
		opacity: 1;
		transform: translate(calc(-50% - 15px), calc(-50% + 11px));
	}
	100% {
		width: 10.5px;
		height: 10.5px;
		opacity: 0;
		transform: translate(calc(-50% - 15px), calc(-50% + 11px));
	}
}

@keyframes expandRightCircle {
	0% {
		width: 3px;
		height: 3px;
		opacity: 1;
		transform: translate(-50%, -50%);
	}
	80% {
		width: 10.5px;
		height: 10.5px;
		opacity: 1;
		transform: translate(calc(-50% + 15px), calc(-50% + 11px));
	}
	100% {
		width: 10.5px;
		height: 10.5px;
		opacity: 0;
		transform: translate(calc(-50% + 15px), calc(-50% + 11px));
	}
}

/* Container for the 10px animated crosses */
.moving-cross {
    position: absolute;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 2;
}

/* Creating the cross (+) shape using pseudo-elements in black */
.moving-cross::before,
.moving-cross::after {
    content: '';
    position: absolute;
    background-color: #000000;
}

/* Horizontal line of the cross */
.moving-cross::before {
    top: 4px;
    left: 0;
    width: 10px;
    height: 2px;
}

/* Vertical line of the cross */
.moving-cross::after {
    top: 0;
    left: 4px;
    width: 2px;
    height: 10px;
}

/* Smooth 90-degree axis-aligned movement */
.cross-one {
    animation: randomMoveOne 16s ease-in-out infinite alternate;
}

.cross-two {
    animation: randomMoveTwo 18s ease-in-out infinite alternate;
}

@keyframes randomMoveOne {
    0% {
        top: 40px;
        left: 50px;
        opacity: 0;
    }
    /* Move horizontally right */
    25% {
        top: 40px;
        left: 350px;
        opacity: 0.3;
    }
    /* Move vertically down */
    50% {
        top: 200px;
        left: 350px;
        opacity: 0.1;
    }
    /* Move horizontally left */
    75% {
        top: 200px;
        left: 100px;
        opacity: 0.25;
    }
    /* Move vertically up back to start */
    100% {
        top: 40px;
        left: 100px;
        opacity: 0;
    }
}

@keyframes randomMoveTwo {
    0% {
        top: 220px;
        left: 600px;
        opacity: 0.15;
    }
    /* Move vertically up */
    30% {
        top: 60px;
        left: 600px;
        opacity: 0.3;
    }
    /* Move horizontally left */
    60% {
        top: 60px;
        left: 250px;
        opacity: 0;
    }
    /* Move vertically down */
    85% {
        top: 220px;
        left: 250px;
        opacity: 0.2;
    }
    /* Move horizontally right back to start */
    100% {
        top: 220px;
        left: 600px;
        opacity: 0.15;
    }
}