@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}


.scene
{
	min-height: 100vh;
	
	display: flex;
	justify-content: right;
	align-items: center;

	position: relative;
    height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(#a6d8ff,#fff,#fff);
}



.sun
{
    position: absolute;
    top: 100px;
    left: 15%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 50px #fff;
   
    transition: 0.2s;
}
.sun2
{
    position: absolute;
    top: -300px;
    left: 50%;
	transform: translateX(-50%);
}
.sun3
{
    position: absolute;
    top: -250px;
    left: 50%;
	transform: translateX(-50%);
}


.bg
{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 280px;
    background: url(bg.png);
    animation: animateBg 25s linear infinite;
    background-size: 1500px;
    background-repeat: repeat-x;
}
@keyframes animateBg
{
    0%
    {
        background-position-x: 0px;
    }
    100%
    {
        background-position-x: -1500px;
    }
}
.car1
{
    position: absolute;
    left: -200px;
    bottom: 20px;
    max-width: 200px;
    z-index: 10;
    animation: car1 18s linear infinite;
}
@keyframes car1
{
    0%
    {
        transform: translateX(0px);
    }
    90%,100%
    {
        transform: translateX(calc(100vw + 200px));
    }
}

.car2
{
    position: absolute;
    right: -200px;
    bottom: 50px;
    max-width: 200px;
    z-index: 9;
    animation: car2 12s linear infinite;
}
@keyframes car2
{
    0%
    {
        transform: translateX(0px) rotateY(180deg);
    }
    90%,100%
    {
        transform: translateX(calc(-100vw - 200px)) rotateY(180deg);
    }
}



body
{
	min-height: 100vh;
	
	display: flex;
	justify-content: right;
	align-items: center;

	position: relative;
    height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(#a6d8ff,#fff,#fff);
}



.navigation
{
	position: relative;
	height: 500px;
	width: 70px;
	box-sizing: initial;
	border-left: 10px solid #2b343b;
	box-shadow: 10px 0 0 #4187f6;
	background: #2b343b;
	transition: width 0.5s;
	overflow-x: hidden;
}
.navigation:hover
{
	width: 300px;
}
.navigation ul
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding-left: 5px;
	padding-top: 40px;
}
.navigation ul li
{
	position: relative;
	list-style: none;
	width: 100%;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}
.navigation ul li.active 
{
	background: #4187f6;
}
.navigation ul li a
{
	position: relative;
	display: block;
	width: 100%;
	display: flex;
	text-decoration: none;
	color: #fff;
}
.navigation ul li.active a
{
	color: #fff;
}
.navigation ul li.active a::before
{
	content: '';
	position: absolute;
	top: -30px;
	right: 0;
	width: 30px;
	height: 30px;
	background: #2b343b;
	border-radius: 50%;
	box-shadow: 15px 15px 0 #4187f6;
}
.navigation ul li.active a::after
{
	content: '';
	position: absolute;
	bottom: -30px;
	right: 0;
	width: 30px;
	height: 30px;
	background: #2b343b;
	border-radius: 50%;
	box-shadow: 15px -15px 0 #4187f6;
}
.navigation ul li a .icon
{
	position: relative;
	display: block;
	min-width: 60px;
	height: 60px;
	line-height: 70px;
	text-align: center;
}
.navigation ul li a .icon ion-icon
{
	position: relative;
	font-size: 1.5em;
	z-index: 1;
}
.navigation ul li a .title 
{
	position: relative;
	display: block;
	padding-left: 10px;
	height: 60px;
	line-height: 60px;
	white-space: nowrap;
}

