/* TOP NAVIGATION */
shy-header {
	flex-direction: column;
}

.header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	padding: 0.25rem 0.75rem;
	background-color: var(--color-header-background);
	z-index: 9999;
	
	&.mobile {
		flex: 1;
	}
	
	&.desktop {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		box-sizing: border-box;
	}
	
	.ticon-wrapper {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 0;
		position: absolute;
		bottom: 0;
		left: 1.25rem;
	}
	
	.buttons-left {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 0.25rem;
		margin-left: 6.5rem;
	}
	
	.buttons-right {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 0.25rem;
	}

	.welcome-msg {
		flex: 1;
		text-align: left;
	}

	.header-button {
		margin: 0.25rem;

		&.button {
			color: var(--color-header-button);
			background-color: var(--color-header-button-background);
			border: none;

			&:hover,
			&:active {
			color: var(--color-header-button--hover);
			background-color: var(--color-header-button-background--hover);
			}
		}

		&.icon-button {
			color: var(--color-header-button);

			&:hover,
			&:active {
				color: var(--color-header-button--hover);
			}
		}
	}
	
	.header-menu {
		position: absolute;
		top: 100%;
		right: 0;
		transform: translateX(100%);
		transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out;
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		padding: 0.5rem;
		min-width: 10rem;
		max-width: 100%;
		background-color: var(--color-header-background);
		border-radius: 1rem 0 0 1rem;
		box-shadow: 0 0 0 0 transparent;
		box-sizing: border-box;

		&.show {
			transform: translateX(0);
			box-shadow: var(--box-shadow-medium);
		}
	}
}

/* prevents ticon from sticking out when shy header is closed */
.header-mobile-spacer {
	/* calculates half of tiny ticon height (= its diagonal) + some extra pixels*/
	height: calc((sqrt(48 * 48 * 2) * 0.5px) + 3px );
}


/* FORUM TITLE */
.forum-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 14rem;
	padding-bottom: 10rem;
	width: 75rem;
	max-width: 100%;
	
	
	.content {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
		box-sizing: border-box;
		padding: 1rem;
	
		.forum-name {
			font-family: var(--font-secondary);
			color: var(--color-forum-title-name);
			font-size: 5rem;
			line-height: 0.9;
			letter-spacing: 1.5rem;
			text-shadow: 1px 1px 0px currentColor;
		}

		.forum-shortfacts {
			font-family: var(--font-primary);
			color: var(--color-forum-title-shortfacts);
			font-size: 0.875rem;
			letter-spacing: 0.5rem;
		}
	}
	
	@media (width >= 1920px) {
		width: 90rem;
	}
	
	@media (width <= 991px) {
		padding-top: 4rem;
		padding-bottom: 5rem;
		
		.content {
			background-color: var(--color-forum-title-mobile-background);
		}
	}
	
	@media (width <= 576px) {
		.content {
			.forum-name {
				font-size: 3rem;
				letter-spacing: 1rem;
			}
			
			.forum-shortfacts {
				letter-spacing: 0.25rem;
			}
		}
	}
}

.forum-info {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	
	.info-box {
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		padding: 1rem 0 1rem 1rem;
		background: var(--color-forum-info-box-background);
		border: 1px solid var(--color-forum-info-box-border);
		font-size: 0.875rem;
		box-sizing: border-box;
		height: 15rem;
		min-width: min(22rem, 100%);
		overflow: auto;
		
		.title-select {
			display: flex;
			justify-content: space-between;
			gap: 1rem;
			padding-right: 1rem;
		}
		
		.title {
			font-weight: 600;
			text-transform: uppercase;
			
			&.button {
				border: none;
				flex: 1;
				justify-content: center;
				
				&:first-child {
					justify-content: flex-start;
				}
				
				&:last-child {
					justify-content: flex-end;
				}
			}
		}
		
		.content {
			overflow: auto;
			padding-right: 1rem;
			
			&.team {
				display: flex;
				gap: 1rem;
				height: 100%;
				
				.team-member {
					height: 100%;
					flex: 1;
					display: flex;
					align-items: center;
					justify-content: center;
					background: var(--forum-background-image) bottom -3rem right / 45rem;
					border: 1px solid var(--color-forum-info-box-border);
					box-sizing: border-box;
					cursor: pointer;
					
					.username {
						font-family: var(--font-secondary);
						color: var(--color-secondary);
						font-size: 2rem;
						transform: rotate(-45deg);
						text-shadow: 0.5px 0.5px 0px currentColor;
					}
				}
			}
		}
	}
}