src/Components/Layout.scss
/** @format */

.header-main {
	color: white;
	// background-color: RGB(51, 68, 84);
	font-size: larger;
	font-weight: bold;
	border-radius: 2px;
	height: 50px;
	text-align: left;
	position: absolute;
	top: 0rem;
	left: 2.1rem;
	line-height: 3;
	padding-right: 1rem;
	padding-left: 0rem;
	margin: 0.8rem;
	margin-left: 15px;
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
	-webkit-user-select: auto;
	user-select: none;
}

.sider-main {
	padding-top: 7rem;
	overflow: auto;
	width: 20% !important;
	height: 100vh;
	box-shadow: 6px 3px 8px 1px rgba(0, 0, 0, 0.4);
	position: fixed;
	left: 0;
	user-select: none;
}

#components-layout-demo-fixed-sider .logo {
	height: 32px;
	background: rgba(255, 255, 255, 0.2);
	margin: 16px;
}

.content-header {
	color: white;
	padding: 1rem 250px 1rem 1rem !important;
	// border-color: white;
	// border: 5px solid white;
	line-height: 2.8;
	font-weight: bold;
	position: fixed !important;
	top: 20px;
	width: 100%;
	height: 50px;
	background: rgb(0, 21, 41) !important;
	border: 0px;
	text-align: center;
	position: absolute;
	height: 80px !important;
	box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
}

.site-layout {
	box-shadow: inset 6px 5px 5px rgba(0, 0, 0, 0.25);
}

.site-layout .site-layout-background {
	background: #fff;
}

.layoutContainer {
	height: 100%;
	margin-top: 20px;
}

.scroll-wrapper {
	overflow: hidden;
	top: 100px;
	bottom: 0px;
	position: fixed;
	height: auto;
	left: 200px !important;
	right: 0 !important;
}

.scroll-content {
	overflow-y: scroll;
	height: 100% !important;
	&::-webkit-scrollbar {
		width: 12px;
		display: block;
		color: black;
		border: 1px solid #001529 !important;
	}
	&::-webkit-scrollbar-thumb {
		display: block;
	}
}

/* Box styles */
.scroll-content {
	.ant-layout-content {
		footer {
			height: 10%;
		}
	}
	box-sizing: border-box;
	border: none;
	padding: 5px;
	display: block;
	width: fit-content;
	width: 100%;
	overflow-y: scroll;
	border-radius: 5px;
	background-color: #f0f2f5;
}

/* Scrollbar styles */
::-webkit-scrollbar {
	width: 10px;
	height: 12px;
	right: 0 !important;
	position: fixed;
}

::-webkit-scrollbar-track {
	width: 10px !important;
	background-color: #00203d;
	border: 1px solid #00203d !important;
	right: 0 !important;
}

::-webkit-scrollbar-thumb {
	box-shadow: inset 1px 1px 1px rgba(18, 70, 119, 0.25);
	background: #00203d;
	border-radius: 5px;
	border: 2px solid #1890ff !important;
	right: 0 !important;
}

::-webkit-scrollbar-thumb:hover {
	background: #334454;
	right: 0 !important;
}

@keyframes rotation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(359deg);
	}
}

.g14-icon-style {
	&:hover {
		animation: rotation 3s infinite cubic-bezier(0.165, 0.82, 0.165, 1);
	}
}
