:root {
	font-family: sans-serif;
	font-weight: bold;
	font-size: 2vw;
}

html,
body {
	margin: 0;
	height: 100%;
	min-height: 100%;
}

body {
	display: flex;
	flex-direction: column;
}

header,
footer {
	flex: none;
}

main {
	overflow: none;
	-webkit-overflow-scrolling: touch;
	flex: auto;
	background-color: #16812e;
	/* background-image: url("https://images.pexels.com/photos/39002/football-american-football-college-alabama-39002.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"); */
	background-image: url("./img/stadium.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	/* background-position-x: 45vw; */
	align-content: center;
}

table {
	font-family: Arial, Helvetica, sans-serif;
	border-collapse: collapse;
	width: 90%;
	margin-top: 2.5rem;
	margin-left: 3.3vw;
	box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}

td,
th {
	border: 1px solid rgb(18, 113, 18);
	padding: 8px;
	cursor: pointer;
}

tr:first-child {
	background-color: #239e27;
	color: #fff;
	font-weight: bolder;
}

tr:first-child:hover {
	background-color: #239e27 !important;
	cursor: default !important;
}

tr:nth-child(even) {
	background-color: #f2f2f2;
}

tr:hover {
	background-color: #ddd;
}

th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: left;
	background-color: #04aa6d;
	color: white;
}

tr span{
	color: #FFBB33
}

input {
	border-radius: 4px;
	color: #d7eee1;
	background-color: #555;
	padding: 5px;
}
input:-internal-autofill-selected{
	border-radius: 4px;
	color: #d7eee1;
	background-color: #555;
	padding: 5px;
}

.header-text {
	text-align: center;
	font-size: x-large;
	/* font-weight: bold; */
	font-family: "digital-dream";
	color: red;
	padding: 1rem;
	background-color: #2a2a2a;
}
.footer-text {
	position: fixed;
	bottom: 0px;
	right: 0px;
	padding: 1rem;
	background-color: white;
}

.inner-column {
	position: relative;
	margin: 0 auto;
	margin-bottom: 3.5rem;
	overflow-y: auto;
	overflow-x: hidden;
	background-color: #8a8a8a;
	width: 75%;
	height: 100%;
}

.login-form {
	position: relative;
	margin: auto;
	margin-top: 14vh;
	padding: 1.5rem;
	border-radius: 10px;
	background-color: #179f52;
	border-color: #1b4d31;
	color: #333;
	width: 75%;
	border-style: groove;
	/* border-color: #555; */
}

.rules{
	margin: auto;
	margin-top: 2rem;
	padding: 1.5rem;
	border-radius: 10px;
	background-color: #179f52;
	border-color: #1b4d31;
	color: #333;
	width: 75%;
	border-style: groove;
	box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
	/* border-color: #555; */
}

.rules ol li {
	padding: 5px;
}

.submit-button {
	border-radius: 4px;
	color: #d7eee1;
	background-color: #555;
	padding: 5px;
}

.navigation-bar {
	display: none;
	flex-direction: row;
	width: 100%;
	background-color: #444;
	justify-content: space-around;
}

.navigation-bar .navigation-item {
	cursor: pointer;
	border-radius: 8px;
	margin: 5px;
	color: #d7eee1;
	background-color: #555;
	border-color: #a4efc4;
	padding: 8px;
	border-style: groove;
	text-align: center;
}

.navigation-item-picked {
	color: #a4efc4!important;
	background-color: #555 !important;
	border-color: #60c08a !important;
	font-weight: bolder;
}

.pick-games {
	display: block;
	margin-top: 2.5rem;
}

.votes-left {
	display: none;
	background-color: #aaccff;
	width: 90%;
	margin-top: 1rem;
	margin-left: 3.3vw;
	border-radius: 6px;
	padding: 1rem;
}

.form-div {
	display: block;
	position: relative;
	margin: auto;
	margin-top: 2.5rem;
	padding: 1.5rem;
	background-color: #179f52;
	border-color: #1b4d31;
	color: #333;
	border: 2px;
	border-radius: 10px;
	width: 80%;
	border-style: groove;
	/* border-color: #555; */
}

.form-div .form-label {
	margin: 5px;
}

.form-input {
	margin-left: auto;
	margin: 5px;
	width: 30px;
}

.form-div .form-button-container {
	display: flex;
	width: 100%;
}

.form-div .form-item-container {
	display: flex;
	width: 100%;
	justify-content: space-between;
}

.form-div .form-button {
	margin-left: auto;
	border-radius: 4px;
	color: #d7eee1;
	background-color: #555;
	padding: 15px;
}

.add-padding {
	padding: 1rem;
}

.add-shadow {
	box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
	border-radius: 5px;
}

.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
  }
  
  .modal .modal-content {
	position: relative;
	background-color: #efefef;
	margin: 33% auto;
	padding: 30px;
	border: 1px solid #888;
	border-radius: 8px;
	width: 80%;
  }
  
  .modal.spinner .modal-content {
	background-color: transparent;
	border: none;
	border-radius: 50%;
	padding: 40px;
	width: 230px;
  }
  
  .modal.spinner .modal-content #modal-message {
	margin: 0 auto;
	display: block;
	width: 150px;
	height: 150px;
	background-image: url('img/spinner.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	animation: spin 1s linear infinite;
  }
  
  .modal .close {
	position: absolute;
	top: 15px;
	right: 15px;
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
  }
  
  .modal .close:hover,
  .modal .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
  }

  .scoreboards-container{
	display: flex;
	flex-wrap: wrap;
	width:85%;
	margin: auto;
	justify-content: center;
	
}
.scoreboard-container{
	width: auto;
}
.scoreboard{
	display: flex; 
	border-width: 4px;
	border-radius: 10px;
	border-style: solid solid solid solid;
	border-color: #ddccdd;
	background-color: #333;
	color:rgb(227, 228, 202);
	padding: .75rem .5rem !important;
	margin-top: .5rem !important;
	box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%) !important;
}
.column{
	display: flex;
	flex-direction: column;
	margin: 1rem;
	font-family: 'digital-dream';
}
.clock span{
	font-size: xx-large !important;
	background-color: #222;
	color:rgb(224, 226, 106) !important;
}
.column span{
	font-size:x-large;
	padding: .5rem;
	color: #ff0000;
	background-color: #222;
}
.column div{
	padding: .75rem;
}
.column-head{
	font-family: sans-serif;						
	flex-direction: column;
}
.period-container{
	display: flex;
	flex-direction: row;
}
.period-container input{
	margin: 10px !important;
	accent-color: gold !important;
	 filter: hue-rotate(180);
}
.points{
	color: #8d30ff !important;
}

@keyframes spin {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }

@font-face {
	font-family: "digital-dream";
	src: url("./fonts/digital-dream.regular.ttf");
}

@media (min-width: 800px) {
	:root {
		font-size: 1rem;
	}
}
@media (min-width: 1800px) {
	.scoreboard-container{
		padding: .75rem .5rem;
		width: 30vw !important;
	}
}

