/* KEYS */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
@keyframes discover_car {
  0%, 100%{
	transform: translatey(0px);
  }
  50% {
	transform: translatey(-40px);
  }
}
@keyframes discover_text {
  0%{
    text-shadow: 0px 0px 0px #de0505;
  }
  50% {
    text-shadow: 0px 0px 20px #de0505;
  }
  100% {
    text-shadow: 0px 0px 0px #de0505;
  }
}
@keyframes run {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(1050%);
  }
}

/* RESPONSIVE */
@media (orientation: landscape) {

}
@media (orientation: portrait) {

}
@media (max-width: 899px) {
	#third_body_text > a, #fifth_body_text > a, #seventh_body_text > a, #four_body_text > a, #sixth_body_text > a, #eight_body_text > a, #nine_body_text > a {
		font-size: 40px;
	}
	#third_body_text > p, #fifth_body_text > p, #seventh_body_text > p, #four_body_text > p, #sixth_body_text > p, #eight_body_text > p, #nine_body_text > p {
		font-size: 20px;
	}
	#arrow_scroll {
		display: none;
	}
	#scoring_points_additionnal {
		display: block;
	}
}
@media (min-width: 900px) and (max-width: 1199px) {
	#third_body_text > a, #fifth_body_text > a, #seventh_body_text > a, #four_body_text > a, #sixth_body_text > a, #eight_body_text > a, #nine_body_text > a {
		font-size: 45px;
	}
	#third_body_text > p, #fifth_body_text > p, #seventh_body_text > p, #four_body_text > p, #sixth_body_text > p, #eight_body_text > p, #nine_body_text > p {
		font-size: 22.5px;
	}
	#arrow_scroll {
		display: block;
	}
	#scoring_points_additionnal {
		display: flex;
	}
}
@media (min-width: 1200px) and (max-width: 1399px) {
	#third_body_text > a, #fifth_body_text > a, #seventh_body_text > a, #four_body_text > a, #sixth_body_text > a, #eight_body_text > a, #nine_body_text > a {
		font-size: 50px;
	}
	#third_body_text > p, #fifth_body_text > p, #seventh_body_text > p, #four_body_text > p, #sixth_body_text > p, #eight_body_text > p, #nine_body_text > p {
		font-size: 25px;
	}
	#arrow_scroll {
		display: block;
	}
	#scoring_points_additionnal {
		display: flex;
	}
}
@media(min-width: 1400px) and (max-width: 2099px) {
	#third_body_text > a, #fifth_body_text > a, #seventh_body_text > a, #four_body_text > a, #sixth_body_text > a, #eight_body_text > a, #nine_body_text > a {
		font-size: 50px;
	}
	#third_body_text > p, #fifth_body_text > p, #seventh_body_text > p, #four_body_text > p, #sixth_body_text > p, #eight_body_text > p, #nine_body_text > p {
		font-size: 25px;
	}
	#arrow_scroll {
		display: block;
	}
	#scoring_points_additionnal {
		display: flex;
	}
}
@media(min-width: 2100px) {
	#third_body_text > a, #fifth_body_text > a, #seventh_body_text > a, #four_body_text > a, #sixth_body_text > a, #eight_body_text > a, #nine_body_text > a {
		font-size: 50px;
	}
	#third_body_text > p, #fifth_body_text > p, #seventh_body_text > p, #four_body_text > p, #sixth_body_text > p, #eight_body_text > p, #nine_body_text > p {
		font-size: 25px;
	}
	#arrow_scroll {
		display: block;
	}
	#scoring_points_additionnal {
		display: flex;
	}
}

/* BODY */
#background_lines {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	margin: auto;
	background-color: #171717;
}
#background_line {
	position: absolute;
	width: 1px;
	height: 100%;
	top: 0;
	left: 50%;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}
#background_line::after {
	content: '';
	display: block;
	position: absolute;
	height: 15vh;
	width: 100%;
	top: -50%;
	left: 0;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
	animation: run 7s 0s infinite;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}
#background_line:nth-child(1) {
	margin-left: -25%;
}
#background_line:nth-child(1)::after {
	animation-delay: 2s;
}
#background_line:nth-child(3) {
	margin-left: 25%;
}
#background_line:nth-child(3)::after {
	animation-delay: 2.5s;
}
#background_shadow {

}
#arrow_scroll {
	position: absolute;
	left: 50%;
	transform: translate(-50%,0%);
	transition: 0.3s;
	bottom: 125px;
}
#arrow_scroll > img {
	width: 50px;
	animation: bounce 2s infinite;
}

#second_body {
	display: block;
	position: relative;
	z-index: 2;
	margin-bottom: 1000px;
	top: 500px;
}
#second_body_presentation {
	position: relative;
	top: 100%;
	width: 50%;
	margin: auto;
	background-color: rgba(61,61,61,0.9);
}
#second_body_text {
	color: #FFFFFF;
	text-align: center;
	font-family: Prototype;
	height: 100%;
	padding: 20px;
}
#second_body_text > a {
	font-size: 50px;
}
#second_body_text > p {
	font-size: 30px;
}

#third_body {
	top: 120px;
	height: calc(100% - 120px);
	padding-top: 5%;
}
#third_body, #fifth_body, #seventh_body, #four_body, #sixth_body, #eight_body, #nine_body {
	display: flow-root;
	position: relative;
	z-index: 2;
	margin-bottom: 250px;
	text-align: center;
}
#third_body_presentation, #fifth_body_presentation, #seventh_body_presentation, #four_body_presentation, #sixth_body_presentation, #eight_body_presentation, #nine_body_presentation {
	width: 80%;
	margin: auto;
}
#third_body_image, #fifth_body_image, #seventh_body_image, #four_body_image, #sixth_body_image, #eight_body_image, #nine_body_image {
	width: 100%;
	margin-bottom: 1%;
}
#third_body_image > img, #fifth_body_image > img, #seventh_body_image > img, #four_body_image > img, #sixth_body_image > img, #eight_body_image > img, #nine_body_image > img {
	max-width: 50%;
	position: relative;
	display: block;
}
#third_body_text , #fifth_body_text, #seventh_body_text, #four_body_text , #sixth_body_text, #eight_body_text, #nine_body_text {
	position: relative;
}
#third_body_text > a, #fifth_body_text > a, #seventh_body_text > a, #four_body_text > a, #sixth_body_text > a, #eight_body_text > a, #nine_body_text > a {
	font-family: Prototype;
	color: #FFFFFF;
	text-align: center;
	display: block;
	margin-bottom: 50px;
}
#third_body_text > h2, #fifth_body_text > h2, #seventh_body_text > h2, #four_body_text > h2, #sixth_body_text > h2, #eight_body_text > h2, #nine_body_text > h2 {
	font-family: Prototype;
	color: #FFFFFF;
	text-align: center;
	display: block;
	margin-bottom: -15px;
	font-size: 25px;
	font-weight: normal;
}
#third_body_text > p, #fifth_body_text > p, #seventh_body_text > p, #four_body_text > p, #sixth_body_text > p, #eight_body_text > p, #nine_body_text > p {
	font-family: AvenirNextCyrLight;
	color: #FFFFFF;
	margin-bottom: 50px;
}
#scoring_points_presentation {
	font-size: 18px;
	color: #efeff1;
	margin-top: 10px;
}
#points_scoring {
	color: #efeff1;
}
#points_scoring_separator {
	background-color: #efeff1;
	width: 100%;
	height: 2px;
	margin-top: 20px;
	margin-bottom: 20px;
}
#rules_presentation_points {
	padding: 20px;
	background-color: #2E363B;
	text-align: left;
}
#scoring_points_additionnal_left, #scoring_points_additionnal_right {
	flex: 1 auto;
	font-size: 0;
}
.rules_link { 
	text-decoration: none; 
	color: #28c5ff;
	display: inline;
	position: relative;
}
.rules_link:hover::before {
	right: 0;
	z-index: 0;
}
.rules_link::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 100%;
	bottom: 0px;
	background: #28c5ff;
	height: 2px;
	transition-property: right;
	transition-duration: 0.3s;
	transition-timing-function: ease-out;
}
.points_scoring_title {
	font-size: 22px;
	font-family: Prototype;
	color: #efeff1;
}
.scoring_points_inline {
	display: inline-block;
	font-family: AvenirNextCyrLight;
	margin-right: 20px;
	margin-bottom: unset;
	margin-top: unset;
}
.scoring_points_inline_label {
	font-family: Prototype;
}
.pole_icon, .DNF_icon, .DSQ_icon, .FL_icon, .DNS_icon {
	padding: 3px 0px;
	font-size: 17px;
	font-family: Prototype;
	width: 50px;
	display: inline-block;
	text-align: center;
	margin-bottom: 5px;
}
.pole_description, .DNF_description, .DSQ_description, .FL_description, .DNS_description {
	color: #efeff1;
	font-size: 20px;
	font-family: AvenirNextCyrLight;
	margin-left: 10px;
	top: 1px;
	position: relative;
}
.pole_icon {
	background-color: #44bd32;
	color: #1e272e;
}
.FL_icon {
	background-color: #e84393;
	color: #1e272e;
}
.DSQ_icon, .DNF_icon, .DNS_icon {
	background-color: #efeff1;
	color: #3d3d3d;
}