body, html {
	padding-top: 50px;
	margin: 0;
	padding: 0;
	font-family: "rainyhearts", Arial, sans-serif;
	font-size: 16px;
	color: #c41478;
	background-color: #C7ABD1;
	background-image: url(Images/spacebg.gif);
	background-repeat: repeat;
	height: 100%;
}
@font-face {
    font-family: 'RainyHearts';
    src: url('Fonts/rainyhearts.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* TOP HEADER */
#top-header {
  position: relative;
  width: 100%;
  height: 146px; 
  background-color: #336699; 
  background-image: url("Images/spacebg.gif");
  background-repeat: repeat;
  background-position: top left;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
/* Position the three images */
#top-header .header-img {
  position: absolute;
  transform: translateY(-50%);
}
#top-header .left {
  left: 20px;
}
#top-header .center {
  position: relative; 
  transform: none;
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: cover;
}
#top-header .right {
  right: 20px;
}
/* navigation bar container */
#nav {
	display: flex;
	background-image: url(Images/purple1.png);
	background-repeat: repeat;
	border-bottom: 2px solid #c41478;
	top: 143px;
	left: 0;
	width: 100%;
	font-size: 16px;
	z-index: 999;
	height: 36px;
}
/* reset ul */
#nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	
}
#nav > ul {
	position: relative;
	list-style: none;
	z-index: 2000;
}
/* top level items */
#nav > ul > li {
	float: left;
	position: relative;
	font-size: 16px;
}
#nav a {
	display: block;
	padding: 10px 18px;
	color: #c41478;
	text-decoration: none;
	font-weight: bold;
	white-space: nowrap;
	text-align: center;
}
#nav a:hover {
	color: #ffffff;
	text-shadow: 
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}
#nav a:hover::after {
	opacity: 1;
}
/* dropdown menu */
#nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 160px;
	background: #d2cae8;
	border: 1px solid #d2cae8;
	z-index: 20000;
}
#nav ul ul li {
	float: none;
	border-top: 1px solid #bd9ee8;
	position: relative;
}
#nav ul ul a {
	padding: 8px 12px;
}
/* second level dropdown */
#nav ul ul ul {
	top: 0;
	left: 100%;
	border: 1px solid #d2cae8;
	display: none;
	position: absolute;
}
/* third level dropdown */
#nav ul ul ul ul {
	top: 0;
	left: 100%;
	border: 1px solid #d2cae8;
	display: none;
	position: absolute;
}
/* show submenu on hover */
#nav li:hover > ul {
	display: block;
}
#nav a {
	position: relative;
	display: block;
	color: #c41478;
	text-decoration: none;
	z-index: 1;
	transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}
#nav a::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: url('Images/rainbowaileen.gif') repeat;
	background-size: 75px 30px;
	z-index: -1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	
	mask-image: radial-gradient(circle, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: cover;
}

/* clearfix for floats */
.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
/* Centers Pixel Art */
.pixelArt {
	display: block;
	margin: auto;
	-ms-interpolation-mode: nearest-neighbor;
	max-width: 100%;
	height: auto;
}
/* Container wrapping everything */
#container {
	width: 1000px;
	margin: 0 auto;
	background-color: transparent;
	overflow: hidden;
	min-height: 100%;
	margin-top: 0;
	display: flex;
	flex-direction: row;
	gap: 10px;
	grid-template-columns: 1fr 250px;
}

.avatar {
	text-align: center;
}
.avatar img {
	border-radius: 8px;
	text-align: center;
	width: 300px;
	height: 400px;
	border: 2px solid #488ec7;
	background: #75b9f0;	
}
.need {
	margin: 4px 0;
	font-size: 12px;
}
.bar {
	background: #75b9f0;
	height: 10px;
	border-radius: 4px;
	overflow: hidden;
}
.bar-fill {
	background: #488ec7;
	height: 10px;
	width: 60%;
}
.team {
	display: block;
	flex-wrap: wrap;
	gap: 5px;
	text-align: center;
}
.team img {
	width: 48px;
	height: 48px;
	border: 1px solid #488ec7;
	border-radius: 4px;
	background: #75b9f0;
	text-align: center;	
}
.team-member {
	text-align: center;
	font-size: 12px;
	margin: 2px;
	display: inline-block;
}
.team-member img {
	display: block;
	margin: 0 auto 4px;
}
ul {
	margin: 0;
	padding-left: left;
	font-size: 12px;
}
.vibe-stats {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	margin-bottom: 2px;
}
.vibe-item {
	text-align: center;
	font-size: 14px;
	color: #488ec7;
	width: 48px;
	height: 48px;
	margin: 2px;
	border: 1px solid #488ec7;
	border-radius: 4px;
	background: #75b9f0;
	text-align: center;	
}
.vibe-icon {
	width: 24px;
	height: 24px;
	display: block;
	margin: 0 auto 2px;
	text-align: center;
}

/* Main Content */
#mainContent {
    margin: 5px; 
    padding: 8px;
    background-color: #FFE0F4;
    text-align: center;    
    width: 800px;
    min-height: 100%;
    height: auto;
    overflow: visible;
    background-image: url(Images/pink1.png);
    background-repeat: repeat;
    flex: 1;
    
    /* 9-slice border */
    border-image-source: url(Images/border.png);
    border-image-slice: 30 30 30 30 fill;
    border-image-width: 60px;
    border-image-repeat: stretch;
    border-width: 30px;
    border-style: solid;
}
/* Sample Styling for Headers and Links */
h1, h2 {
	text-align: center;	
	font-size: 24px;
	margin-top:0;
	color: #46116b;
}
#footer {
	width: 100%;
	background: #C7ABD1;
	background-image: url(Images/purple1.png);
	background-repeat: repeat;
	color: #c41478;
	padding: 15px 0 20px 0;
	text-align: center;
	border-top: 2px solid #c41478;
	position: relative;
	bottom: 0;
	left: 0;
}
#footer .footer-content {
	max-width: 1200px;
	margin: 0 auto;
}
#footer .footer-links {
	list-style: none;
	padding: 0;
	margin: 5px 0 0 0;
	display: flex;
	justify-content: center;
	gap: 15px;
}
#footer .footer-links li {
	display: inline;
}
#footer .footer-links a {
	color: #c41478;
	text-decoration: none;
}
#footer .footer-links a:hover {
	text-decoration: underline;
}