
:root{
	--h2_bg:linear-gradient(#4169e1, #001230); /*Blue BG for H2*/
	--span_bg:linear-gradient(#003366, #4169e1); /*Blue BG for H2*/
	--h2_bg_hl:linear-gradient(#809D3C,#123524); /*Green BG for H2*/
	--span_bg_hl:linear-gradient(#123524,#809D3C); /*Green BG for span | week dates*/
}
*{
    box-sizing: border-box;
}
html{
	display: flex;
	justify-content: flex-start;
	align-content: center;
	flex-direction: column;
	margin: 0;
	padding: 0px 10px;
	height: auto;
	font-family: "Roboto Condensed", serif;
  	font-optical-sizing: auto;
	font-style: normal;
	src: local(''),
    url('fonts/RobotoCondensed-Regular.ttf') format('truetype'),
    url('fonts/RobotoCondensed-Bold.ttf') format('truetype'),
    url('fonts/RobotoCondensed-BoldItalic.ttf') format('truetype'),
    url('fonts/RobotoCondensed-Light.ttf') format('truetype'),
    url('fonts/RobotoCondensed-LightItalic.ttf') format('truetype'),
    url('fonts/RobotoCondensed-Italic.ttf') format('truetype');
}
body{
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	padding: 0px;
	width: 100%;
	text-align: center;
	color: black;
}

#count_down{
	display: block;
	position: relative;
	left: 50%;
    transform: translateX(-50%);
	text-align: center;
    font-size: 3rem;
	padding: 20px 0px;
	margin:auto;
    color:#000;
    line-height: 3rem;
    width: 100%;
}
#count_down h3{
	padding: 0px 0px;
	margin:0;
    font-size: 1rem;
}
.page_title{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-direction: column;
	text-transform: capitalize;
	margin:  50px auto 10px auto;
}
.page_title div{
	display: flex;
	justify-content: center;
	align-items: center;
	margin: auto;
	flex-direction: column;
	height: 100%;
}
.page_title img{
	/*width: 75px;*/
	height: 100px;
	margin: auto auto -30px auto;
	pointer-events: none;
}
.page_title h1{
	width: fit-content;
	margin: auto;
	padding-top: 10px;
}
.page_title h2{
	width: fit-content;
	margin-top:-5px;
}
.page_title .club{
	color: #4169e1;
	font-size: 3rem;
}
.page_title .tourny{
	color: yellowgreen;
	font-size: 1rem;
}
.week_title{
	width: fit-content;
	margin: auto;
	margin-bottom: -10px;
	/*background-color: #4169e1;*/
	background:var(--h2_bg);
	text-shadow: 1px 1px #ccc,  -1px -1px #000;
	color: #fff;
	padding: 10px 20px;
	border-radius: 20px 20px 0 0;
}
.match_week{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-content: center;
	flex-flow: wrap;
	gap:10px;
}
.match_day{
	display: block;
}
.week_date{
	width: fit-content;
	position:relative;
	display: inline-flex;
	margin: auto;
	/*background-color: #4169e1;*/
	background:linear-gradient( #000,#666);
	color: white;
	padding: 5px 20px;
	text-shadow: 1px 1px 2px #000;
/*	border-radius: 0 0 20px 20px;*/
	border-radius: 20px;
}
.week_title h2{
	padding: 0px;
	margin: 0 auto;
}
.match{
	display: flex;
	justify-content: center;
	align-content: center;
	flex-direction: row;

	margin: 10px auto;
	width: 360px;
	height: fit-content;

	overflow: hidden;
	/*border: 3px solid #4169e1;*/
	box-shadow: 3px 5px 8px grey;
	border-radius: 20px;
	/*background-color:rgba(0, 0, 0, 0.05);*/
	background: linear-gradient(#fff, #ccc);
	transition: 0.35s;
}
.scores{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;

	width: 100%;
	margin: auto;
	padding: 0px;
}
.scores div span:nth-of-type(2){
	/*border: 2px solid black;*/
	width:20px;
	padding: 6.5px 10px;
	/*background-color: rgba(200, 200, 200, 0.75);*/
	border-radius: 20px 0px 0px 20px;
	text-align: center;

}
.scores hr{
	width: 80%;
	margin: auto;
}

.team_details{
	display: inline-flex;
	flex-direction: row;
	width: 100%;
	height: fit-content;
	margin: auto;
	padding: auto;
}

.team_details span{
	padding: 7.5px 10px;
	font-size:18px;
}
.team_details span:nth-of-type(1n){
	display: inline-flex;
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
	text-align: left;
}
.team_details span:nth-of-type(2n){
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 100%;
	margin: auto;
	text-align: center;
}
.rink{
	position: relative;
	display: flex;
	display:block;
	flex-direction: column;
	z-index: 1;

	height: 100%;
	width: 50px;
	padding: 20px 10px;
	font-size:2.5rem;
	text-align: center;
	margin: auto;
	color:transparent;
	background: linear-gradient(#aaa, #333);
	line-height: 0.85rem;
	/*text-shadow: -1px -1px 2px #fff;*/
	text-shadow: 1px 1px #fff, -1px -1px #444;
	box-shadow: 2px 0px 8px #000;

	-moz-transition: all 0.35s ease-in;
    -webkit-transition: all 0.35s ease-in;
    -o-transition: all 0.35s ease-in;
    transition: all 0.25s ease-in;
}
.rink::before{
	position: relative;
	display: inline-flex;
	content:"Rink";
	font-size: 14px;
	padding: 5px;
	margin:auto 0px;
	top:-10px;
	left:0px;
	text-shadow: 0.5px 0.5px white, -0.5px -0.5px #444;

	-moz-transition: all 0.35s ease-in;
    -webkit-transition: all 0.35s ease-in;
    -o-transition: all 0.35s ease-in;
    transition: all 0.25s ease-in;

	transform: rotateZ(0deg);
}

.match:hover .rink{
	background: linear-gradient(#0f0, #060);
	color: #fff;
	text-shadow: 2px 2px 3px #000;
	box-shadow: 5px 0px 20px #0f0;
	padding: 20px 8px;
	/*flex-direction:row;
	padding-left:15px;
	margin-top:0px;*/
}
.match .rink span{
	display:block;
	position: relative;
	top:0px;
	left:0px;
	padding: 0px 0px;
	-moz-transition: all 0.35s ease-in;
    -webkit-transition: all 0.35s ease-in;
    -o-transition: all 0.35s ease-in;
    transition: all 0.25s ease-in;
	text-align: center;
}
.match:hover .rink span{
	font-size:4.2rem;
	top:-15px;
	left:8px;
}
.match:hover .rink::before{
	top:5px;
	left:-20px;
	transform: rotateZ(-90deg);
	letter-spacing: 0.2rem;
	font-weight: bolder;
}
.match:hover{
	box-shadow: 7px 7px 15px black;
	transform: translateX(-3px) translateY(-2px);
}
nav{
	display: flex;
	justify-content: center;
	align-content: center;
	flex-wrap:wrap;
	gap: 10px;
	position: fixed;
	top:0;
	left: 0;
	z-index: 10000;
	padding: 20px 0px;

	margin: 0 auto;
	width:100%;

	background: #333;
	/*background: linear-gradient(#666, #222);*/
	box-shadow: 0px 3px 10px #000;
}
nav a{
	padding: 0px 5px 5px;
	margin:auto 3px;
	/*border-radius:5px;
	border-left:1px solid #fff;
	border-right:1px solid #fff;
	text-shadow: 0.5px 0.5px #ccc, -0.5px -0.5px #222;*/
	white-space: nowrap;
	font-size:1rem;
	/*border: black 1px solid;
	box-shadow: 2px 2px 3px black;
	background-image: linear-gradient(180deg, white, grey);*/
}
a{
	text-decoration: none;
	/*text-shadow: 1px #000;*/
}
a:link, a:visited{
	color: #fff;
}
a:hover{
	color: yellowgreen;
	/*color: #4169E1;
	text-shadow: 1px 1px 2px #000;*/
}
nav .active{
	color: yellowgreen;
	border-bottom: 2px solid #4169E1;
}
.nav_spacer{
	min-height:60px;
}

.footer_links a:link, .footer_links a:visited{
	color:#4169e1;
}
.footer_links a:hover, .footer_links a:active{
	color: #f00;
}
.footer_links i{
	font-size: 2rem;
}


/*nav{
	display: flex;
	justify-content: center;
	align-content: center;
	gap: 5px;
	padding: 5px;
	width: 90%;
	margin: auto;
}*/

.day{
	font-size: 40px;
}
.month{
	font-size: 18px;
}
.year{
	font-size: 12px;
}


@media only screen  and (max-width:768px){
	.match_week{
		flex-direction: column;
		gap:50px;
	}
	.log{
		margin:2px auto;
	}
	.logWrapper{
		display: flex;
		justify-content: center;
		align-items: center;
		padding:auto 0px;
		flex-direction: column;
		gap: 10px;
	}
	.logWrapper h2{
		margin-bottom: -5px;
	}
	.team_details span{
		font-size: 16px;
	}
	.nav_spacer{
		min-height:60px;
	}

}