@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300&display=swap');

:root{
	--navheight: 44px;
}

html, body{
	padding: 0;
	margin: 0;
	font-family: 'Rubik', sans-serif;
	background-color: #444;
	background-image: url('/assets/img/bg.png');
	background-repeat:no-repeat;
	background-size: cover;
	color: white;
	height: 100%;
}

.navbar{
	position: sticky;
	top:0;
	width:calc(100% - 20px);
	display: flex;
	justify-content: space-between;
	padding: 10px;
	background: #444;
	align-items: center;
	height: var(--navheight);
	z-index: 1;
}

.navbar > .nav-left{
	display: flex;
}

.navbar > .nav-left > .nav-responsive{
	display: none;
}

.navbar > .nav-left > .nav-responsive > button{
	transition: .3s background-color;
	border-radius: 3px;
	width: 40px;
	height: 40px;
	background-color: #777;
	outline: none;
	border: none;
	cursor: pointer;
	color: #fff;
}

.navbar > .nav-left > .nav-responsive > button:hover{
	background-color: #222;
}

.navbar > .nav-left > .nav-link{
	margin-right: 15px;
}

.nav-link > a{
	transition: .2s border-bottom;
	color: white;
	text-decoration: none;
	padding: 5px;
	border-bottom: 1px solid transparent;
}

.nav-link > a:hover{
	border-bottom: 1px solid white;
}

.nav-right > a > img{
	border-radius: 5px;
}

/*
Content
*/

.page-title{
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 30px;
	height: calc(100% - var(--navheight) - 80px);
	justify-content: center;
	align-items: center;
	background-color: #222;
	color: white;
	opacity: .95;
}

.content{
	display: flex;
	flex-direction: column;
	background: #222;
	opacity: .95;
	color: white;
	justify-content: center;
	height: calc(100vh - var(--navheight) - 80px);
	padding: 30px;
	text-align: center;
}

/* forms */

input, select{
	width: 300px;
	margin: 10px;
	background: #111;
	color: white;
	outline: none;
	border: none;
	padding: 5px;
	border-radius: 3px;
}

input:focus, select:focus{
	box-shadow: 0px 0px 5px 5px lightskyblue;
}

input[type="submit"]{
	transition: .3s background;
	cursor: pointer;
	background: #444;
}

input[type="submit"]:hover{
	background: #111!important;
}

/* login back button */

.back{
	transition: .3s background, .3s color;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	position: absolute;
	top: 15px;
	left: -50px;
	height: 50px;
	width: 50px;
	background: #777;
	border-radius: 3px;
	cursor: pointer;
	z-index: 1;
	-webkit-animation: slide 0.5s forwards;
    -webkit-animation-delay: 2s;
    animation: slide 0.5s forwards;
    animation-delay: .5s;
	text-decoration: none;
	color: #333;
}

@-webkit-keyframes slide {
    100% { left: 15px; }
}

@keyframes slide {
    100% { left: 15px; }
}

.back:hover{
	background: #222;
	color: #fff;
}

/* logout */

.logout{
	display: flex;
	align-items: center;
	justify-content: center;
	transition: .4s background;
	width: 30px;
	height: 30px;
	background: #777;
	color:#fff;
	cursor: pointer;
	border-radius: 3px;
}

.logout > label{
	display:flex;
	justify-content: center;
	align-items: center;
	cursor: inherit;
	width: 100%;
	height: 100%;
}

.logout:hover{
	background:#111;
}

/* team profiles */


.profile{
	width: 180px;
	height: 120px;
	display: grid;
	grid-template-rows: 1fr;
	justify-content: center;
	text-align: center;
	background: #666;
	margin: 0 5px;
}

.profile-alt{
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	align-items: center;
	padding: 0 10px;
}

.break{
	flex-basis: 100%;
	height:0;
	margin: 5px;
}

/* cards */

.card{
	width: 400px;
	padding: 5px;
	background: #666;
	align-items: center;
	text-align: center;
}

.card > div{
	display:grid;
	grid-template-columns: 1fr 1fr;
	text-align: center;
	align-items: center;
	justify-content: center;
	padding: 3px;
}

.card > div > div:first-child{
	font-weight: 600;
	text-transform: uppercase;
}

.card > div > div{
	text-align: center;
}

.card > .title{
	width: 200%;
	text-align: center;
	font-weight: 600;
	color: lime;
}


/* responsive layout */

@media (max-width:600px){
	
	.navbar > .nav-left{
		display: flex;
		flex-direction: column;
	}
	
	.navbar > .visible{
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		text-align: center;
		background-color: #444;
		outline: 5px red;
	}
	
	.navbar > .nav-left > .nav-link{
		display: none;
	}
	
	.navbar > .visible > .nav-link{
		display: flex;
	}
	
	.navbar > .nav-left > .nav-responsive{
		display: flex;
	}
	
}