	:root {
  	   	  --bg-color: #66CCFF;
  	  --a-color: #1f6fb2;
  	  --button-color-one:#349beb;
  	  --button-color-two:#15538a;
  	  --border-bottom-color:#1f6fb2;
  	  --nav-color:#1f6fb2;
  	  --nav-border-color:#15538a;
  	  --nav-hover-color:#15538a;
  	  --sidebar-box-color:#e1effa;
	}

	body {
			background:linear-gradient(var(--bg-color) 90%,#fff);
			margin: 0;
		font-family: Arial, Helvetica, sans-serif;
		background-repeat: no-repeat;
		word-break: break-word;
	}

	input[type="text"]{
		border: 1px solid #aaa;
		border-radius: 0;
	}

	input{
		font-size: 12px;
	}

	.red{
		color: #ff0000;
	}

	.yellow{
		color: #d9bf2e;
	}

	.submit-button{
		background: linear-gradient(var(--button-color-one),var(--button-color-two));
		border: 1px solid #000;
		box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
		color: white;
		padding: 5px;
		border-radius: 10px 0px 10px 0px;
	}

	a{
		color: var(--a-color);
		font-size: inherit;
	}

	textarea{
		resize: none;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 12px;
	}

	.animation{
		border: 10px solid #222;
		border-top: none;
	}

	p,b{
		font-size: 12px;
		margin: 0;
	}

	i{
		font-size: 13px;
	}

	h3{
		font-size: 16px;
	}

	h2 {
		color: #523d00;
		border-bottom: 2px solid var(--border-bottom-color);
		padding-bottom: 5px;
		font-size: 18px;
		margin-top: 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.header {
		margin: 0 auto;
		width: 700px;
	}

	.follow-button{
		background:linear-gradient(#349beb, #66CCFF);
		margin-top: 10px;
		margin-bottom: 10px;
		width: 100%;
		color: white;
		font-size: 12px;
		font-weight: bold;
		border: 3px ridge #349beb;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.followed-button{
		background:linear-gradient(#222, #999);
		margin-top: 10px;
		margin-bottom: 10px;
		width: 100%;
		color: white;
		font-size: 12px;
		font-weight: bold;
		border: 3px ridge #222;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.nav-small {
		width: 700px;
		margin: 0 auto;
		background: var(--nav-color);
	}

	.nav-small ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
	}

	.nav-small li { text-align: center; }
	.nav-small a {display: block;padding: 2px 15px;color: white;text-decoration: none;font-weight: bold;text-shadow: 1px 1px 1px rgba(0,0,0,0.5);}
	.nav-small a:hover { background: var(--nav-hover-color); }

	.nav {
		width: 700px;
		margin: 0 auto;
		background: var(--nav-color);
		border-bottom: 3px solid var(--nav-border-color);
		border-top: 3px solid var(--nav-border-color);
	}
	.nav ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		justify-content: space-evenly;
	}
	.nav li { flex: 1; text-align: center; }
	.nav a {display: block;padding: 12px 0;color: white;text-decoration: none;font-weight: bold;text-shadow: 1px 1px 1px rgba(0,0,0,0.5);}
	.nav a:hover { background: var(--nav-hover-color); }

	.main-container{
		display: flex;
		margin: 0 auto;
		width: 700px;
		background: white;
		box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
	}

	.main {
		background: white;
		padding: 20px;
		width: 460px;
	}

	.news{
		
	}

	.star{
		 display: inline-block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
	}

	.star.full {
    background-image: url('star.png');
}

.star.blank {
    background-image: url('blankstar.png');
}

	.star:hover{
		background-image: url(hoverstar.png);
	}

	.section-grid {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
		margin-top: 20px;
	}

	.card-container {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
		margin-bottom: 30px;
	}

	.game-card {
		background: #f0f0f0;
		padding: 5px;
		border: 1px solid #ccc;
		font-size: 12px;
		text-align: center;
	}

		.error-box {
    background-color: #fff0f0;
    border: 2px solid #cc0000; 
    color: #cc0000;       
    padding: 10px 15px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
    width:100%;
    box-sizing: border-box;
}

	.portal-card {
		background: var(--nav-border-color);
		color:white;
		padding: 15px;
		display: flex;
		border-radius: 5px;
		border: 2px solid var(--button-color-one);
		font-size: 12px;
		text-align: left;
		gap: 15px;
	}

	.portal-card p{
		margin: 5px;
		margin-left: 0;
		margin-right: 0;
	}
	.portal-card strong{
		font-size: 18px;
	}

	.rating { color: #e67e22; font-weight: bold; }

	.bottom-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
		border-top: 2px solid #eee;
		padding-top: 20px;
	}

	.sidebar-box {
		background: var(--sidebar-box-color);
		border: 1px solid var(--border-bottom-color);
		padding: 10px;
	}

	.pfp{
		width: 120px;
		height: 120px;
		object-fit: cover;
	}

	.banner{
		display: block;
		width: 100%;
		height: 200px;
		position: absolute;
		top: 0px;
		left: 0px;
		object-fit: cover;
	}

	.sidebar-box3 {
		width: 210px;
		background: var(--sidebar-box-color);
		border: 1px solid var(--border-bottom-color);
		padding: 10px;
	}

	.sidebar-box3 h3{
		margin: 0 0 10px 0;
		font-size: 14px;
		color: var(--border-bottom-color);
		text-transform: uppercase;
	}

	.sidebar-box2 {
		background: var(--sidebar-box-color);
		border: 1px solid var(--border-bottom-color);
		padding: 10px;
	}

	.sidebar-box2 p{
		margin: 0;
		font-size: 13px;
	}

	.sidebar-box h3 {
		margin: 0 0 10px 0;
		font-size: 13px;
		color: var(--border-bottom-color);
		text-transform: uppercase;
	}

	.list-item {
		font-size: 11px;
		padding: 4px 0;
		border-bottom: 1px inset #fff;
		display: flex;
		justify-content: space-between;
	}

	.thumbnail{
		width: 100%;
		height: 100px;
		object-fit: cover;
		display: block;
	}

	.featured-thumbnail{
		width: 150px;
		height: 100px;
		background: #333;
		object-fit: cover;
		display: block;
	}

	.portal-controls {
		background: var(--sidebar-box-color);
		border: 1px solid var(--border-bottom-color);
		padding: 10px;
		margin-bottom: 20px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.search-bar input {
		padding: 5px;
		border: 1px solid var(--border-bottom-color);
		width: 400px;
	}

	.btn-submit {
		background: #523d00;
		color: white;
		padding: 5px 10px;
		text-decoration: none;
		font-weight: bold;
		font-size: 12px;
	}

	.btn-submit:hover { background: var(--border-bottom-color); }

	.category-bar {
		margin-bottom: 20px;
		font-size: 13px;
		font-weight: bold;
		color: var(--border-bottom-color);
		border-bottom: 1px solid #eee;
		padding-bottom: 10px;
	}

	.sidebar{
		background: #f1f1f1;
		height: auto;
		width: 180px;
		font-size: 12px;
		padding: 15px;
		border-left: 1px solid #ccc;
	}

	.category-bar a {
		text-decoration: none;
		color: var(--border-bottom-color);
		margin-right: 15px;
	}

	.category-bar a:hover { text-decoration: underline; }

	.submission-row {
		display: flex;
		border-bottom: 1px solid #eee;
		background: linear-gradient(#f9f9f9, #ddd);
		padding: 10px 5px;
		align-items: center;
	}

	.submission-row:hover { background: white; }

	.mini-thumb {
		width: 80px;
		height: 80px;
		border: 1px solid #ccc;
		background: #ccc;
		margin-right: 15px;
		object-fit: cover;
	}

	.profile-left{
		background: var(--nav-border-color);
		 padding: 20px;
		  width:150px; 
		  color: white;
		   font-size: 13px;
	}

	.sub-info { flex-grow: 1; }
	.sub-info strong { font-size: 15px; color:var(--border-bottom-color); }
	.sub-info p { margin: 3px 0; font-size: 12px; color: #666; }

	.sub-stats {
		text-align: right;
		font-size: 11px;
		color: #999;
		min-width: 100px;
	}

	.mat-small{
		width: 20px;
		height: 20px;
		vertical-align: bottom;
	}

	.mat-smaller{
		width: 15px;
		height: 15px;
		vertical-align: bottom;
	}

	.rating-small { color: #e67e22; font-weight: bold; display: block; font-size: 12px; }

	.award-icon {
		background: gold;
		padding: 2px 5px;
		border-radius: 3px;
		font-size: 10px;
		font-weight: bold;
	}

	footer {
		width: 700px;
		margin: 0 auto;
		background: #1a1a1a;
		color: #999;
		font-size: 12px;
		padding-bottom: 40px;
	}

	.footer-content {
		display: flex;
		padding: 20px;
		justify-content: space-between;
	}

	.footer-column {
		flex: 1;
	}

	.footer-column h4 {
		color: #fff;
		margin-bottom: 10px;
		font-size: 14px;
	}

	.footer-column ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.footer-column li {
		margin-bottom: 5px;
	}

	.footer-column a {
		color: #349beb;
		text-decoration: none;
	}

	.footer-column a:hover {
		text-decoration: underline;
	}

	.copyright {
		text-align: center;
		padding: 10px;
		border-top: 1px solid #333;
		margin-top: 10px;
	}