@import url('colours/gruvbox-dark.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
	font-family: "rogerex";
	src: url(fonts/rogerex/RogerexRegular-L32KD.ttf) format('truetype');
}

@font-face {
	font-family: "hack";
	src: url(fonts/hack/Hack-Regular.ttf) format('truetype');
}


body {
	background-color: var(--background-colour);
	color: var(--text-colour);
	font-family: "hack", sans-serif;	
}

#header-container {
	min-width: 100%;
	max-width: 100%;
	display: flex;
	justify-items: center;
	align-items: center;
	justify-content: center;
	padding-bottom: 1em;
}

#header {
	min-width: 70%;
	max-width: 80%;
	min-height: 2em;
  max-height: 5vh;
	border-width: 4px;
	border-style: double;
	border-color: var(--primary-colour);

	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	
	justify-items: center;
	align-items: center;

	color: var(--text-colour);
	padding: 4px;

}

#pages {
	justify-self: start;
	grid-column: 1;
  display: flex;	
}

#pages a {
	padding: 10px;
	color: var(--text-colour);
	text-decoration: none;
	font-family: "rogerex", sans-serif;
	font-weight: medium;
	font-style: normal;
	font-size: 14px;
	text-align: center;
}

#moniker {
	position: relative;
	grid-column: 2;
	display: flex;
	min-width: 30%;
	max-width: 30%;
/*	min-height: 2em; */
	height: 100%;

	justify-content: center;	
	justify-items: center;
}

#moniker img {
  max-height: 5vh;
  color: var(--text-colour);
}

#social-bar {
	grid-column: 3;
}

.page-title {
	font-weight: bold;	
	font-size: calc(2px + 3em);
	grid-column: 2;
	justify-self: center;
}

.content-grid {
	display: grid;
	grid-template-columns: 2fr 5fr 2fr;
	grid-template-rows: 90vh;
	/*justify-content: center;*/
  align-content: center;
  min-height: 90vh;
}

selection-box {
	border-style: double;
  border-width: 4px;
	border-color: var(--primary-colour);
	padding: 2px;
}

article-frame {
	border-style: double;
	border-width: 4px;
	border-color: var(--primary-colour);
}


.selectionBoxList {
	padding: 5px;
}

.selectionBoxObject {
	border-style: double;
	border-width: 4px;
	border-color: var(--secondary-colour);	
	min-height: 2vh;
  width: 90%;
  justify-content: center;
	align-content: center;
  margin-bottom: 10px;
  font-size: 1.2vh; 
}

.selectionBoxObject:hover {
  border-color: var(--tertiary-colour);
}

.selectionBoxButton {
  display: block;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  text-align: center;
  color: var(--text-colour);
  text-decoration: none;
}

.selectionBoxControls {
  align-self: center;
  width: 100%;
  height: 15%;
  justify-self: end;
}

grid-object {
  border-style: double;
  border-width: 4px;
  border-color: #fabd2f;
  padding: 2px;
  aspect-ratio: 1 / 1;
  max-width: 20vw;
}

.gridTitle { font-size: calc(12px + 2vh); }
.gridSubtitle { font-size: calc(10px + 1vh); }

.objectGrid {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
  gap: 0.5vw; 
  padding: 0.5vw;
}

/* Generic Button Styling */
button {
  display: block;
  border-style: double;
  border-color: var(--secondary-colour);
  border-width: 4px;
  background-color: var(--background-colour);
  color: var(--text-colour);
  padding: 4px;
  font-size: calc(10px + 1vh);
}

/* Article and textbox styling */
h1 {text-align: center; margin-bottom: 2px; color: var(--primary-colour)}
h2 {text-align: center; color: var(--secondary-colour);}
h1+ h2 {margin-top: 2px;}
a {color: var(--focus-colour);}
