/* Reset Styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

a {
	text-decoration: none;
	color: #272f38;
}

body {
	line-height: 1.5;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	background-color: #FEFEFE;
	color: #04143A;
	font-size: 19px;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

p {
	color: #15171a;
	font-size: 18px;
	line-height: 31px;
}

strong {
	font-weight: 700;
}

div, footer {
	box-sizing: border-box;
}

/* Hero section */
.container {
	max-width: 1100px;
	height: auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* Profile Photo */
.profile-photo {
    width: 150px; 
    height: 150px;
    border-radius: 50%; 
    object-fit: cover;
    display: block;
    margin: 0 auto 20px auto; 
}

/* Adjust other sections as needed */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1.name {
    font-size: 60px;
    font-weight: 300;
    color: #04143A;
    overflow: hidden;
    white-space: nowrap; 
    border-right: .15em solid #04143A; 
    animation: typing 3.5s steps(40, end) 1s 1 normal both, blink-caret 0s step-end 3.5s 1 normal both;
    display: inline-block; 
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #04143A; }
}

h1.name::after {
    content: '';
    display: inline-block;
    width: 0;
    animation: none; 
}

.job-title {
	vertical-align: top;
	background-color: #000000;
	color: #ecf3fa;
	font-weight: 700;
	margin-top: 5px;
	margin-left: 20px;
	border-radius: 5px;
	display: inline-block;
	padding: 10px 20px;
}

.email {
	display: block;
	font-size: 24px;
	font-weight: 300;
	color: #81899C;
	margin-top: 10px;
}

.lead {
	font-size: 24px;
	font-weight: 300;
	margin-top: 30px;
	line-height: 32px;
	color: #555;
}

.location {
	display: flex;
	align-items: center;
	justify-content: center; 
	margin-top: 20px;
	color: #04143A;
	font-size: 16px;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
  }
  
  .house-icon {
	width: 26px;
	height: 26px;
	margin-right: 10px; /* Space between icon and text */
  }
  
  .container {
	text-align: center; 
  }


.social-links {
	margin-top: 30px;
}

.social-icon {
	width: 40px;
	height: 40px;
	margin: 0 10px;
	transition: transform 0.3s ease;
}

.social-icon:hover {
	transform: scale(1.1);
}

/* Footer */
footer {
	margin-top: 80px;
	font-size: 12px;
	color: #888;
	text-align: center;
}

/* Responsive design */
@media(max-width: 768px) {
	h1.name {
		font-size: 40px;
	}

	.job-title {
		font-size: 14px;
		padding: 8px 15px;
	}

	.lead {
		font-size: 18px;
		line-height: 24px;
	}

	.social-icon {
		width: 30px;
		height: 30px;
	}
}

.bottom-links {
    position: fixed;
    bottom: 40px; 
    left: 50%;
    transform: translateX(-50%); 
    z-index: 1; 
    background: #fff; 
    padding: 5px 10px; 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
}

.bottom-links a {
    color: #333; 
    text-decoration: none;
    padding: 0 10px;
    font-family: 'Helvetica Neue', Arial, sans-serif; 
}

.bottom-links a:hover {
    text-decoration: underline;
}

.visitor-count {
    text-align: center;
    margin-top: 20px;
}
