@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i&display=swap');

* {
	font-family: "Open Sans";
	font-weight: 800;
	user-select: none;
	box-sizing: border-box;
	color:#fff;
}

body {
    grid-gap: 0.5rem;
    margin: 0;
    /* padding: .5rem .5rem; */
    display: grid;
    grid-template-areas:
        "navi title"
        "navi content";
    grid-template-columns: max-content auto;
    grid-template-rows: 9vh 90vh;
    overflow: hidden;
    /* grid-auto-rows: max-content; */
    /* grid-auto-flow: dense; */
}

body:before {
    content: "";
    background: url(../../imgs/_pageBG.jpg) no-repeat center center;
    background-size: cover;
    transition: all .2s linear;
    height: 100vh;
    position: fixed;
    left: 0px;
    right: 0px;
    z-index: -1;
}

.elipsis{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.display-block{
    display:block;
}

.navi{
	background: #314ab455;
	border-right: 0.1rem solid #000;
	width: 19rem;
	position: relative;
	/* left:0; */
	/* top:0; */
	height: 100vh;
	grid-area:navi;
}

.main {
    position: relative;
    display: grid;
    grid-auto-flow: dense;
    grid-auto-rows: max-content;
    grid-gap: .5rem;
    margin: .5rem .5rem .5rem 0;
    /* top: 0; */
    /* width: calc(100% - 19rem - 1rem); */
    /* height: calc(100% - 20px); */
}


.title {
	margin-top:.5rem;
	grid-area:title;
}

.content{
	margin-bottom: 0.25rem;
	overflow:auto;
	grid-area: content;
}

.title, .content{
    position: relative;
	margin-right:.5rem;
}

.bgBox{
	background: #314ab455;
	border: 1px solid #000000;
	border-radius: .1rem;
}


h1{
	padding: 1rem;
	text-align:	center;
	margin: 0;
}

.user{
	display: grid;
	grid-template-columns: 1fr auto;
	grid-gap: .5rem;
	padding: .5rem;
}


.menu{
	padding:.5rem;
	display:grid;
	grid-gap:.5rem;
	grid-auto-rows:max-content;
}

.menu p{
	margin:0;
}

.navFooter{
    position: absolute;
    bottom: 1rem;
}

.SocialButtons{
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1rem;
	justify-content:center;
	height: 100%;
	width: 50%;
	margin: 0 auto;
}

.SocialButtons img
{
	width: 100%;
	height: auto;
	display:
	block;
	margin: 0 auto;
}

.centeredImg {
	display:
	flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	justify-content: center;
	margin: auto;
}

.centeredImg img{
	/* margin:auto; */
	/* height: 100%; */
	/* width: 100%; */
	display: block;
	margin: auto;
	/* justify-self: center; */
}

.buttonSection input:not(:checked) + label {
    background: cadetblue;
    border-color: cadetblue;
}


.btn-default {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}
	
.btn-primary {
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
}	

.btn-success {
	color: #fff;
	background-color: green;
	border-color: green;
}

.btn-danger {
	color: #fff;
	background-color: #d9534f;
	border-color: #d43f3a;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn[disabled]{
	background:#ccc;
}

.rot{
	color:#f00;
}

.gruen{
	color:#0f0;
}

.menu p{
	color:#a6a6a6;
}

/* width */
::-webkit-scrollbar {
  width: .75rem;
  height:.75rem;
  border:1px solid #000;
}

/* Track */
::-webkit-scrollbar-track {
  background: #337ab7; 
  border:1px solid #000;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: cadetblue; 
  border:1px solid #000;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: green; 
  border:1px solid #000;
}

.backgroundBlocker{
	display:none;
}

.mobileNavi{
	display:none;
}

@media (max-width:768px)
{
	.navFooter
	{
		display:none;
	}
	.mobileNavi{
		display: block;
		position: fixed;
		top: 1rem;
		left: 1rem;
		z-index: 1;
		/* height: 100%; */
		/* width: 100%; */
	}
	.menuTitle{
		font-size: .5rem;
		line-height: 0.33rem;
		margin: 0;
		margin-top: -0.2rem;
	}
	.mobileMenu
	{
		position:
		fixed;
		top: .5rem;
		left: .5rem;
		height:2rem;
		width:2rem;
		background: transparent;
		border: 1px solid #000;
		border-radius: .3rem;
		overflow: hidden;
		padding: .1rem;
		display: flex;
		flex-direction: column;
		gap: 0.25rem;
		justify-content: center;
		text-align:center;
	}
	.bar{
		width: 80%;
		height: .1rem;
		background: #fff;
		border: 1px solid #fff;
		border-radius: 1rem;
		margin: 0 auto;
	}
	
	.navi{
		position: fixed;
		left: 0;
		top: -100vh;
		height:
		fit-content;
		width:100%;
		z-index:20;
		background: #452250cc;
		transition:
		top 1s ease-in-out;
	}
	.navi.show{
		top: 0;
		transition:all 1s ease-in-out;
	}
	
	.main{
		margin: .5rem;
	}
	
	.centeredImg img{
		height: 100%;
		width: 100%;
	}
	nav 
	{
		height: fit-content;
	}
	.navi.show + .backgroundBlocker
	{
		opacity:1;
		height: 100%;
		transition: all .5s linear;
	}
	body{
		position: relative;
		grid-template-columns: auto;
	}
	.backgroundBlocker{
		display:block;
		position:absolute;
		top:0;
		left:0;
		right:0;
		bottom:0;
		height: 0;
		width: 100%;
		z-index:10;
		background:#00000099;
		opacity:0;
		transition: all .5s linear;
	}
}