<style>
 
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
 }

.wrapper {
    border-spacing: 0; /* Remove any spacing between elements */
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    box-sizing: border-box;
    z-index: 1; /* Ensure wrapper stays on top */
}

header, nav {
    font-family: Arial, sans-serif;
    text-align: center;
    box-sizing: border-box;
    border: 0 solid white;
}

header {
    background-color: #333; /* Header background color */
    color: white;
    padding: 0.25em;
}

nav {
    background-color: #555; /* Nav bar background color */
    color: white;
    padding: 0.75em;
    border-bottom-width: 10px;
}

footer {
    background-color: #333;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 0.5em;
    width: 100%;
    left: 0;
    bottom: 0;
    position: fixed;
    box-sizing: border-box;
    border: 0 solid white;
    z-index: 1;
    border-top-width: 10px;
}

footer a {
    text-decoration: none !important;
    color: inherit !important;
}

nav a {
    color: white;
    margin: 0 1em;
    text-decoration: none;
}

.container {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.main {
	padding-top: 150px;
	padding-bottom: 6em;
}

.image-text-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5rem;
	padding-bottom: 3rem;
}

@media (min-width: 768px) {
.image-text-wrapper {
	flex-direction: row;	
	gap: 2rem;
	align-items: center;
  }
}

.profile {
	flex: 0 0 300px; /* fixed width for image block */
	text-align: center;
	margin-bottom: 0;
	padding-bottom: 0;
}

@media (max-width: 767px) {
.profile {
	flex: 0 0 200px; /*reduced width for mobile view */
	max-width: 200px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
  }
}

.intro {
	flex: 1;
	font-family: Arial, sans-serif;
	font-size: 16px;
	color: #333;
	text-align: justify;
}

@media (max-width: 767px) {
.intro {
	width: 100%;
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
	align-items: center;
  }
}

img {
	width: 100%;
	max-width: 300px;
	height: auto;
	display: block;
	margin: 15px auto;
	border-radius: 12px;
}

.badge-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.badge-image {
	width: 200px;
	height: auto;
}

/* Desktop override*/
@media (min-width: 768px) {
.badge-image {
    width: 250px;
  }
}

.formatted-text {
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: justify;
    margin: 10px;
	color: #333;
}
	
.formatted-text h2 {
    font-size: 24px;
    margin: 0;
	color: #333;
}
	
.image-container {
    text-align: center;
	margin-top: 15px;
} 

/* Define the link style */
a.linkedbutton {
    display: block;
    text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

/* Generic button style */
.genericbutton {
    background-color: #555;
    color: white;
    padding: 15px 20px;
	line-height: 1.4;
    border-radius: 12px;
    margin: 10px auto;
    display: block;
    width: calc(100% - 10px);
	max-width: 300px;
    border: none;
    cursor: pointer;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

</style>
