body {
	padding: 0;
	margin: 0;
}
*, *::before, *::after {
	box-sizing: border-box;
}
body::before{
	content: '';
	display: block;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -10;
	background: linear-gradient(to right, #fdc830, #f37335);
	background-size: cover;
}
nav{
	position: absolute;
	top: 2%;
	right: 3%;
}
nav > *{
	color: black;
}
.crossword{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 99vh;
	display: inline-grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-rows: 1fr 100px auto 50px 1fr;
	grid-template-areas:
			'. . .'
			'. header .'
			'. main .'
			'. footer .'
			'. . .';
	font-family: 'Alegreya Sans', sans-serif;
}
header{
	width: 400px;
	grid-area: header;
	display: flex;
	justify-items: center;
	align-items: center;
	font-size: 3.5em;
}
#page-title{
	width: 100%;
	text-align: center;
	position: relative;
}
#page-title::before{
	bottom: 0;
	right: 50px;
	position: absolute;
	content: '';
	background: url("https://test.limera.tech/krzyzowka/img/logo-wbg.png");
	background-size: contain;
	width: 35px;
	height: 35px;
	display: block;
}


footer{
	font-size: 1em;
	text-align: right;
	grid-area: footer;
}
main{
	height: 600px;
	grid-area: main;
	display: flex;
	align-items: center;
	justify-items: center;
}
.crossword-input {
	height: 40px;
	width: 40px;
}
.DOWN{
	background-image: url('../img/clue-bg-down.png');
	background-size: cover;
}

.RIGHT{
	background-image: url('../img/clue-bg-right.png');
	background-size: cover;
}
table{
	margin: auto;
	-webkit-box-shadow: 0 2px 6px 0 rgba(0,0,0,1);
	-moz-box-shadow: 0 2px 6px 0 rgba(0,0,0,1);
	box-shadow: 0 2px 6px 0 rgba(0,0,0,1);
	border-collapse: collapse;
	border-spacing: 0;
}
td{
	width: 40px;
	height: 40px;
	padding: 0;
}
tr{
	height: 40px;
}
td > input{
	font-family: 'Raleway', sans-serif;
	text-align: center;
}
input:focus {
	background-color: gray;
}
.CHAR, .CHAR-check{
	text-transform: uppercase;
}

.remove {
	-moz-box-shadow:inset 0px 1px 0px 0px #cf866c;
	-webkit-box-shadow:inset 0px 1px 0px 0px #cf866c;
	box-shadow:inset 0px 1px 0px 0px #cf866c;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #d0451b), color-stop(1, #bc3315));
	background:-moz-linear-gradient(top, #d0451b 5%, #bc3315 100%);
	background:-webkit-linear-gradient(top, #d0451b 5%, #bc3315 100%);
	background:-o-linear-gradient(top, #d0451b 5%, #bc3315 100%);
	background:-ms-linear-gradient(top, #d0451b 5%, #bc3315 100%);
	background:linear-gradient(to bottom, #d0451b 5%, #bc3315 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d0451b', endColorstr='#bc3315',GradientType=0);
	background-color:#d0451b;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #942911;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	/*padding:6px 6px;*/
	text-decoration:none;
	text-shadow:0px 1px 0px #854629;
}
.remove:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #bc3315), color-stop(1, #d0451b));
	background:-moz-linear-gradient(top, #bc3315 5%, #d0451b 100%);
	background:-webkit-linear-gradient(top, #bc3315 5%, #d0451b 100%);
	background:-o-linear-gradient(top, #bc3315 5%, #d0451b 100%);
	background:-ms-linear-gradient(top, #bc3315 5%, #d0451b 100%);
	background:linear-gradient(to bottom, #bc3315 5%, #d0451b 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bc3315', endColorstr='#d0451b',GradientType=0);
	background-color:#bc3315;
}
.remove:active {
	position:relative;
	top:1px;
}

#admin-container{
    width: 100%;
    text-align: center;
}

.login-field{
    border:1px solid black;
    background-color: unset;
    text-align: center;
    width: 150px;
}

.login-button{
    border:1px solid black;
    background-color: unset;
    text-align: center;    
    width: 200px;
    cursor: pointer; 
    padding: 15px;
}

.admin-button{
    border:1px solid black;
    background-color: unset;
    text-align: center;    
    width: 200px;
    cursor: pointer; 
    padding: 15px;
}

#admin-buttons{
    display: flex;
    padding: 30px;
}

.crossword-status-info{
    text-align: center;
}

a, a:visited{
    color: black;
}

.add-option-button{
    border:1px solid black;
    background-color: unset;
    text-align: center;    
    cursor: pointer; 
    height: 19px;
    width: 40px;
}

#wrong-login{
    padding: 5px;
    font-weight: 800;
}
