@font-face { font-family: Handel; src: url('Handel Gothic D Bold.otf'); }
@font-face { font-family: Ambroise; src: url('Ambroise Firmin Bold.otf'); }

body {
	background-image: url("images/spacebackground.png");
	margin: 0px;
}

h1 {
	font-family: Ambroise;
	transform: scale(0.7, 1);
	background: -webkit-linear-gradient(#ff3912, #ff602b, #ff602b, #ffe6a6, #ffbe3b, #ffbe3b, #ffaa00);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: min(17vw, 10em);
	text-align: center;
	line-height: 1;
}

h2 {
	font-family: Handel;
	font-size: min(6vw, 2em);
	text-align: center;
	background: -webkit-linear-gradient(#ffca57, #ff3912);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

h3 {
	font-family: Handel;
	color: #ffffff;
	font-size: 40px;
}

p {
	font-family: Handel;
	color: #ffffff;
	font-size: min(4vw, 1.5em);
	text-shadow: 2px 2px 0px #666;
}


a:link {
  color: #5e97ff;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: #2ba6ff;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: #d88aff;
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: #ffef8a;
  background-color: transparent;
  text-decoration: underline;
}

img {
	align-self: center;
}

.faction {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 30px;
	width: 99%;
	min-width: 30em;
	padding-bottom: 2em;
	align-items: flex-start;
}

.factionimageflex {
	display: flex;
	flex-direction: column;
}

.factionimage {
	width: min(max(40vw, 500px), 90vw);
}

.factionimage2 {
	width: min(256px,30vw);
}

.factiontext {
	flex-grow: 3;
}

.currentsessionflex {
	display: flex;
}

.session {
	display: flex;
	padding: 1vw;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
}

@media only screen and (max-width: 1200px) {
	.currentsessionflex {
		flex-direction: column;
	}
}

.ti4nav {
	overflow: hidden;
	background-color: #000000; 
}

.ti4nav a {
	font-family: Handel;
	color: #ffffff;
	font-size: min(4vw, 1.5em);
	text-shadow: 2px 2px 0px #666;
	float: left;
	text-align: center;
	padding: 14px 16px;
}

details {
	font-family: Handel;
	color: #ffffff;
	font-size: min(4vw, 1.5em);
	width: 920px;
}

details > summary {
	padding: 2px 6px;
	background-color: #262626;
	border-radius: 10px;
}

details > p {
  border-radius: 0 0 10px 10px;
  background-color: #404040;
  padding: 2px 6px;
  margin: 0;
  box-shadow: 3px 3px 4px black;
}

details:open > summary {
  background-color: #404040;
}

.faction_page {
	display: flex;
	justify-content: space-around;
	padding: 3vw 2vw 0 2vw;
	flex-wrap: wrap;
}

.faction_selection {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.faction_grid {
	display: grid;
	grid-template-columns: auto auto auto auto auto;
	grid-template-rows: auto auto auto auto auto;
}

.faction_symbol {
	width: 3em;
}

button {
	background-color: #303030;
	color: white;
	font-family: Handel;
	font-size: min(4vw, 1.3em);
	width: min(5em, 15vw);
	height: min(5em, 15vw);
	border-radius: 2.5em;
	margin: 3px;
	padding: 4px 0 0 0;
}

.beginner {
	background-color: #214200;
}

select {
	border-radius: 10px;
	color: white;
	font-family: Handel;
	background: #070707;
	padding: 10px;
	transition: 0.4s;
}