/* Importing Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    background-image: url("images/hero-bg.jpg");
    background-position: center;
    background-size: cover;
}
.sidebar .logo {
	color: #000;
	display: flex;
	align-items: center;
	padding: 5px 10px 5px;
}
.logo img {
	width: 43px;
	border-radius: 50%;
}
.sidebar:hover .logo h2 {
	display: block;
}
.logo h2 {
	font-size: 1.15rem;
	font-weight: 600;
	margin-left: 15px;
}
.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(17px);
	--webkit-backdrop-filter: blur(17px);
}
.sidebar .links::-webkit-scrollbar {
	display: none;
}
.links li:hover {
	cursor: pointer;
	background: #fff;
}
.links h4 {
	display: none;
	color: #222;
	font-weight: 600;
	margin-bottom: 10px;
}



.photo-grid-container {
  margin-right: 10px;
  padding-left: 150px;
  display: flex;
  justify-content: right;
}
.photo-grid {
  width: 100%; 
  display: flex;
  justify-content: right;
  text-align:center;
  flex-wrap: wrap;
  background: #ffffff
}
.photo-grid-item {
  border: 1px solid #fff;
  width: 90px;
  height: 104px;
}
.db-head {
	font-size: 0.8rem;
	font-weight: 600;
}

.charts-container {
	display: flex;
	flex-direction: column;
}
.chart-item {
	border: 2px solid rgba(128, 128, 128, 0.2);
	border-radius: 7px;
	margin: 2px 0;
	font-weight: 600;	
	background: #f4f5f5
}
.db-charts {
}



@media only screen
  and (min-width: 500px) {
	  
	.logo h2 {
		display: none;
	}
	.sidebar {
		width: 100px;
		height: 100%;
		display: flex;
		align-items: center;
		flex-direction: column;
		border-right: 1px solid rgba(255, 255, 255, 0.7);
		transition: width 0.3s ease;
	}
	.sidebar:hover {
		width: 260px;
	}
	.sidebar .links {
		list-style: none;
		margin-top: 20px;
		overflow-y: auto;
		scrollbar-width: none;
		height: calc(100% - 140px);
	}
	.links li {
		display: flex;
		border-radius: 4px;
		align-items: center;
	}
	.links li:hover {
		cursor: pointer;
		background: #fff;
	}
	.links hr {
		margin: 10px 8px;
		border: 1px solid #4c4c4c;
	}
	.sidebar:hover .links hr {
		border-color: transparent;
	}
	.links li span {
		padding: 12px 10px;
	}
	.links li a {
		padding: 10px;
		color: #000;
		display: none;
		font-weight: 600;
		white-space: nowrap;
		text-decoration: none;
	}
	.sidebar:hover .links li a {
		display: block;
	}
	.links .logout-link {
		margin-top: 20px;
	}

	.charts-container {
		margin: 0 10px 0 100px;
		font-size: 0.8rem;
	}
}
 
/* Smartphone and  Tablets Hochformat (Portrait) */
@media only screen
  and (max-width: 500px) {
	  
	.logo h2 {
		display: block;
	}
	.sidebar {
		width: 140px;
		height: 55px;
		display: inline;
		align-items: left;
		border-bottom: 1px solid rgba(255, 255, 255, 0.7);
		transition: 0.2s ease;
	}
	.sidebar:hover {
		width: 100%;
		height:265px;
	}
	.sidebar .links hr {
		border-color: transparent;
	}
	.sidebar .links {
		list-style: none;
		overflow-y: auto;
		scrollbar-width: none;
		height: calc(100% - 55px);
	}
	.links li {
		display: inline-block;
		border-radius: 4px;
		padding: 10px 0px 8px 0px;
	}
	.links li a {
		padding: 0px 10px 0px 0px;
		color: #000;
		display: inline;
		font-weight: 600;
		white-space: nowrap;
		text-decoration: none;
	}
	
	.charts-container {
		margin: 0 5px 0 5px;
		font-size: 0.8rem;
	}
}


