@font-face{
	font-family: FRANKLIN GOTHIC MEDIUM; 
    src: url(framd.ttf);
}

@font-face{
	font-family: FRANKLIN GOTHIC MEDIUM2; 
    src: url(framdit.ttf);
}

body{
	background: black;
	padding: 0;
	margin: 0;
}

.hscroller{
	position:relative;
	display:flex;
	justify-content: space-between;
	align-items: center;
}


.hscroller:before{
	position: absolute;

	top: 0;
	left: 60px;
	content: "";
	height: 100%;
	width: 30px;
	backdrop-filter:blur(3px);
	-webkit-mask:linear-gradient(90deg, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0.5) 80%, rgba(255,255,255,0.3) 100%);
	z-index: 10;

}
.hscroller:after{
	position: absolute;

	top: 0;
	right: 60px;
	content: "";
	height: 100%;
	width: 30px;
	backdrop-filter:blur(3px);
	-webkit-mask:linear-gradient(-90deg, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0.5) 80%, rgba(255,255,255,0.3) 100%);
	z-index: 10;
}


#main{
	position: relative;
	display: flex;
	align-items: center;
	height: 500px;
	width: 100%;

		overflow-x: auto;

}



.midleLine{
	position: absolute;
	top: calc(50% - 0.5px);
	right: 0;
	left: 75px;

	width: calc(100% - 150px);
	height: 1px;

	background-color: #797979E5;


}




#main::-webkit-scrollbar {
  width: 1em;
  height: 0;
}
 

#main::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
 

#main::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}


.scrollButton{
	display: flex;
	align-items: center;


	height: 100px;
	width: 75px;

	
}


.scrollR{
	right: 20px;
}

.scrollL{
	transform: rotate(180deg);
	left: 20px;
}

.switches{
	display: flex; 
	flex-direction: column;

	position: relative;
	width: auto;
}

.swArrow{
	position: absolute;

	height: 50px;
	width: 100px;
}

.arrowRect p{
		
		transition: opacity 0.5s 0.5s, min-width 0.1s 0.5s;
		opacity: 1;
		visibility: visible;
		min-width: 180px;
	} 





.whiteAdd{
	min-width: 6%;
	height: 60px;
}


.popupBack{

	visibility: hidden;


	position: fixed;


	width: 100vw;
	height: 100vh;

	background: rgba(0,0,0,0.7);

	z-index: 100;
	top: 0;
	left: 0;
}
.popup{
	position: fixed;

	top: calc(50% - 269px);

	width: 600px;
	left: calc(50% - 300px);

	/*min-height: 538px;*/

	visibility: hidden;
	
	background: white;

	/*max-height: 300px;*/

	box-shadow: 0 0 10px rgba(0,0,0, 0.2);



	z-index: 101;
}

.popup .titleTimeLine{
	position: relative!important;
	font-size: 25pt;
	color: black!important;
}

.popup svg{
	position: absolute;
	top: -40px;
	right : 0;

	height: 40px;
	width: 40px;

	cursor: pointer;

}

.popup div{
	display: flex;
	flex-direction: column;

	overflow-y: auto;
	margin: 15px;

	max-height: calc(100% - 30px);
}

.popup .popupText{
	
	font-family: FRANKLIN GOTHIC MEDIUM;
}



 .showPop {
    visibility: visible!important;
    -webkit-animation: fadeIn 0.6s;
    animation: fadeIn 0.6s
}




/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}

.fillR{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 100;
}

.titleTimeLine{
	position: absolute;
		

	margin: 0;
	
	font-family: FRANKLIN GOTHIC MEDIUM;
	font-size:20pt;
	color: white;

	user-select: none;
}

.arrow{
	display: flex;
	justify-content: center;
	align-items: center;

	position: relative;

	height: 60px;
	width: 60px;
	min-width: 60px;

	border: 2px #797979E5 solid;
	border-radius: 50%;
		

	margin-left: 7%;
	margin-right: 7%;


}


.arrowRect{
	transition: height 0.5s;

	position: absolute;
	left: auto;
	right: auto;
	bottom: 0;
	

	height: 0;
	width:2px;

	margin-left: auto;
	margin-right: auto;

}

.arrowRect p{
	position: absolute;

	
	left: -90px;

	text-align: center;

	min-width: 180px;

	opacity: 0;

	font-family: FRANKLIN GOTHIC MEDIUM2;
	font-size: 15px;
	color: white;

	visibility: hidden;

	transition: opacity 0.2s, visibility 0.2s 0.2s;
}

.outerCircle{
	display: flex;
	justify-content: center;
	align-items: center;

	top: 16%;


	border:3px white solid;
	border-radius: 50%;
	width: 65%;
	height: 65%;
}

.circle{

	height: 20px;
	width: 20px;

	border-radius: 12px;

	margin-right: auto;
	margin-left: auto;

	background:white;

}

.subCircle{
	position: absolute;
	left:-4px;

	height: 10px;
	width: 10px;

	border-radius: 50%;

	opacity: 0;

}

.hideCircle{
	opacity: 0;
	transition: opacity 0.3s 0.5s;
	position: absolute;
	top: 6px;
	left: 6px;

	border-radius: 9px;

	height: 12px;
	width: 12px;

	margin-left: auto;
	margin-right: auto;

	


}

.fillR:hover+ .arrowRect , .titleTimeLine:hover + .fillR + .arrowRect {
	height: 70px;
}

.fillR:hover + .arrowRect .subCircle,.titleTimeLine:hover + .fillR + .arrowRect .subCircle{
	
	transition: opacity 0.2s;
	opacity: 1;
}

.fillR:hover + .arrowRect p,.titleTimeLine:hover + .fillR  + .arrowRect p{
	
	transition: opacity 0.5s 0.5s;
	opacity: 1;
	visibility: visible;
} 

.B:hover .outerCircle{
	border-color: #2A77BF;
}

.B:hover .circle{
	background: #2A77BF;
}

.Y:hover .outerCircle{
	border-color: #F9943A;
}

.Y:hover .circle{
	background: #F9943A;
}
.Y:hover .tri{
	fill: #F9943A;
} 


.B .rectangle{
	background: #4b77b9;
}
.B .tri{
	fill: #4b77b9; 
}

rect{
	fill: rgba(0,0,0,0);
}

.Y .rectangle{
	background: #e39344;
}

.Y .tri{
	fill: #e39344; 
}


.B .triangle-right{
	border-left-color: #4b77b9;
}

.Y .triangle-right{
	border-left-color: #e39344;
	
}


.B .hideCircle{
	background: #4b77b9;
}

.Y .hideCircle{
	background: #e39344;
}

.B .arrowRect p{
	top: calc(100% + 10px);
}

.Y .arrowRect p{
	bottom: calc(100% - 2px);
	
}

.B .subCircle{
	top: calc(100% - 2.5px);
	background:#4b77b9;
}

.Y .subCircle{
	bottom: calc(100% - 2.5px);
	background: #e39344;	
}




.B .titleTimeLine{
	top: calc(-50% - 10px);
}

.Y .titleTimeLine{
	top: calc(50% + 40px);
}

.B .arrowRect{
	top :calc(100% + 2px);
	background:#4b77b9;
}

.Y .arrowRect{
	bottom: calc(100% + 2px);
	background: #e39344;
	
}


.rectangle{
	display: flex;
	justify-content: center;
	flex-direction: column;



	position: absolute;

	width: calc(100% - 9.99px);
	height: 100%;

	z-index: -1;
}


.back{
	border-left-color: white!important;
}

.triangle-right {
	position: relative;
	left: -0.5px;

	width: 0;
	height: 0;


	border-top: 30px solid transparent;
	border-left: 10px solid;
	border-top-left-radius: 2px;
	border-bottom: 30px solid transparent;
	border-left-color: red;
}

@media (max-width: 768px){
	 .popup{
	 	position: fixed;

		top: 25vh;

		margin-top: 0;
		margin-left: 0;
		margin-right: 0;

		/*height: 50vh;*/

		width: 80vw;
		left: 10vw;
		min-height: 300px;
	}

	.hscroller:after{
		width: 15px;
		right: 0;
	}

	.hscroller:before{
		width: 15px;
		left: 0;
	}


	.popupBack{
		display: block;
	}

 	.arrowRect {
		height: 70px;
	}

	.hideCircle{
		
		transition: opacity 0.2s;
		opacity: 1;
	}

	.B .rectangle,.B .hideCircle, .B .arrowRect{
		background: #2A77BF;
	}
	.B .triangle-right{
		border-left
	}
	.Y .rectangle,.Y .hideCircle, .Y .arrowRect{
	background: #F9943A;
}
	.Y .triangle-right{
		border-left-color: #F9943A;
	} 

	.Y .tri{
		fill: #F9943A;
	}	
	.B .tri{
		fill: #2A77BF;
	} 

	.arrow{
		margin-left: 14%;
		margin-right: 14%;
	}
 

	.arrowRect p, .subCircle{
		opacity: 1;
		visibility: visible;
	}

	.scrollButton{
		display: none;
	}
	.midleLine{
		width: 100%;
		left: 0;
	}

	.B .outerCircle{
	border-color: #2A77BF;
	}

	.B .circle{
		background: #2A77BF;
	}

	.Y .outerCircle{
		border-color: #F9943A;
	}

	.Y .circle{
		background: #F9943A;

	}
