* {
	margin: 0;
	padding: 0;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
	background: black;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	overflow: hidden;
}

#feed {
	width: 35vw;
	height: 67vh;
	position: absolute;
	left: 0;
	bottom:0;
	padding: 75px 20px;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	flex-direction: column;
	overflow: hidden;
}
.feed-line {
	margin: 5px 0;
	text-align: left;
	color: white;
	font-size: 3.3vh;
	animation-name: enter;
	animation-duration: .4s;
	animation-iteration-count: 1;
	display: grid;
	grid-template-rows: 1fr;
	grid-template-columns: 50px 1fr;
}
.feed-icon {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 50px;
}
.feed-text {
	display: inline-block;
	text-align: left;
}

@keyframes enter {
  0%   {transform: translateY(300%); max-height: 0px;}
  100% {transform: translateY(0px); max-height: 100px;}
}

.bases {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 500px;
	height: 500px;
}
.bases span {
	display: block;
	width: 100px;
	height: 100px;
	outline: white solid 7px;
	background: black;
	transform: rotate(45deg) scale(.9);
	position: relative;
	transition: .1s;
}
.bases span.full {
	transform: rotate(45deg) scale(1);
	background: white;
}
.tb {
	left: 2%;
}
.sb {
	position: relative;
	top: -18%;
}
.fb {
	right: 2%;
}

#announcement {
	color: white;
	position: absolute;
	top: 30px;
	font-size: 4vh;
}
#score {
	color: white;
	font-size: 7vh;
}
#inning {
	margin-right: 30px;
	color: white;
	font-size: 7vh;
	text-align: center;
}
div#inning-indicator.top {
	display: inline-block;
	width: 0; 
	height: 0; 
	border-left: 13px solid transparent;
	border-right: 13px solid transparent;

	border-bottom: 20px solid white;
	z-index: 4;
	transform: translate(-6px,-10px);
}
div#inning-indicator.bottom {
	display: inline-block;
	width: 0; 
	height: 0; 
	border-left: 13px solid transparent;
	border-right: 13px solid transparent;

	border-top: 20px solid white;
	z-index: 4;
	transform: translate(-6px,-5px);
}

div.out {
	display: inline-block;
	width: 25px; 
	height: 25px; 
	border: 3px solid white;
	z-index: 4;
	border-radius: 50%;
	margin: 0 3px;
	margin-bottom: 5px;
	transform: scale(.8);

	transition: transform .8s;
}
div.out.full {
	background: white;
	transform: scale(1.2);
}

.player-selection-modal {
	position: absolute;
	width: 60vw;
	height: 90vh;
	background: black;
	z-index: 2;
	outline: white solid 3px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;

	overflow: hidden;
	transition: .7s;
}
.player-selection-title {
	position: absolute;
	color: white;
	font-weight: bold;
	text-align: center;
	top: 15px;
	font-size: 6vh;
}

.win-modal {
	position: absolute;
	padding: 8px 50px;
	height: 12vh;
	background: black;
	z-index: 3;
	outline: white solid 3px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transform: translateY(0);

	overflow: hidden;
	transition: .7s;

}
.win-title {
	color: white;
	font-weight: bold;
	text-align: center;
	font-size: 8vh;
}

.players {
	bottom: 10%;
	position: absolute;
	display: grid;
	grid-template-columns: repeat(4,1fr);
	grid-template-rows: repeat(2,1fr);

}
.players div {
	display: inline-block;
	margin: 10px;
	background: #222222;
	width: 13vw;
	height: 17vw;
	z-index: 3;
	border-radius: 10px;
	text-align: left;
	padding: 2px;
	position: relative;
	transition: 0.08s;
	overflow: hidden;
}
.players .unclaimed:hover {
	cursor: grab;
	transform: scale(1.03);
}
.players .unclaimed:active {
	transform: scale(.99);
}

.player-name {
	display: block;
	font-weight: bold;
	margin: 10px 10px;
	margin-bottom: 0;
	color: white;
	width: 13vw;
	font-size: 1.2vw;
	transition: 0.2s;
}
.player-nick {
	display: block;
	font-weight: normal;
	font-style: italic;
	margin: 10px 10px;
	margin-top: 0;
	color: white;
	width: 13vw;
	font-size: .9vw;
	transition: 0.2s;
}
.players div:before {
	content:"";
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	height: 0px;
	transition: 0.2s;
}
.players div.blue:before {
	background: #3E78B2;
	height: 8px;
}
.players div.red:before {
	background: #ED6B86;
	height: 8px;
}
.players div.pitcher:before {
	text-align: center;
	content: "⚾";
	height: 20px;
	color: white;
}
.players div.pitcher .player-name {
	margin-top: 20px;
}


div.stats {
	position: absolute;
	left: 10%;
	top: 25%;
	margin: 0 auto;
	padding: 15px 0 0 0;
	grid-auto-flow: column;
	display: grid;
	grid-template-rows: repeat(5,1fr);
	grid-template-columns: repeat(2,1fr);
	font-weight: normal;
	width: 10vw;
	font-size: 1vw;
	transition: 0.2s;
	height: 60%;
}

.stat {
	display: block;
	font-weight: normal;
	margin: 0px 10px;
	margin-top: 0;
	color: white;
	font-size: .8vw;
	transition: 0.2s;
}
div.hidden {
	transform: translateY(-120vh);
}
b.blue-line {
	color: #3E78B2;
}
b.red-line {
	color: #ED6B86;
}