@font-face {
	font-family: 'Achemine';
	src: url('GPCKCPAchemine-Bold.woff2') format('woff2'),
		url('GPCKCPAchemine-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Achemine';
	src: url('LMJPHPAchemine-Normal.woff2') format('woff2'),
		url('LMJPHPAchemine-Normal.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Achemine';
	src: url('GPFNCMAchemine-Italic.woff2') format('woff2'),
		url('GPFNCMAchemine-Italic.woff') format('woff');
	font-weight: normal;
	font-style: italic;
}

a{
	color: white;
	text-decoration: none;
}

body{
	font-family: 'Achemine';
	color: white;
	margin: 0;
	background-color: #0c5da5;
}

#trains{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

.one_train{
	width: 100%;
	min-height: 16.66vh;
	display: flex;
}

.one_train:nth-child(even){
	background-color: #0c5da5;
}

.one_train:nth-child(odd) {
	background-color: #043a6b;
}

.one_train_time{
	width: 15%;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2.5vw;
	flex-direction: column;
	box-sizing: border-box;
	padding: 0.5vw;
}

.one_train_destination{
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 3.75vw;
	font-weight: bold;
	box-sizing: border-box;
	padding: 0.5vw;
}

.yellow{
	color: #fdbf4d;
}

.red{
	color: #D50808;
}

.annule{
	margin-left: 1vw;
}

.barre{
	text-decoration: line-through;
}

#timetag{
	position: fixed;
	right: 1vw;
	bottom: -1vw;
	background: #043a6b;
	color: white;
	font-size: 2.5vw;
	padding: 0.7vw 1vw 1vw 1vw;
	box-sizing: border-box;
	border: 3px solid white;
	border-radius: 1vw;
	z-index: 100;
	display: none;
}

#info{
	position: fixed;
	right: 1vw;
	top: -1.5vw;
	background: #0c5da5;
	color: white;
	padding: 2vw 1vw 0.3vw 1vw;
	box-sizing: border-box;
	border: 3px solid white;
	border-radius: 1vw;
	z-index: 100;
	text-align: center;
}

#gare{
	font-size: 1.2vw;
}

#direction{
	font-size: 1.7vw;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.train_voie{
	font-weight: normal;
	border: 2px solid white;
	margin-left: 1vw;
	border-radius: 1vw;
	font-size: 3vw;
	line-height: 3vw;
	box-sizing: border-box;
	padding: 0.6vw 0.4vw 0.1vw 0.4vw;
}

#nomoretrain{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	font-size: 3vw;
	font-weight: bold;
}

#direction svg{
	width: 2vw;
	height: 2vw;
}

@media screen and (max-width: 1000px) {
	
	#info{
		position: relative;
		left: 0;
		top: 0;
		right: 0;
		border: none;
		border-bottom: 3px solid white;
		border-radius: 0;
		padding: 10px 10px 5px 10px;
	}
	
	#gare{
		font-size: 20px;
		text-align: left;
	}
	
	#direction{
		font-size: 25px;
	}
	
	#timetag{
		display: none!important;
	}
	
	.one_train{
		min-height: calc((100vh - 72px) / 8);
	}
	
	.one_train_time{
		width: 25%;
		font-size: 22px;
		padding: 10px;
	}
	
	.one_train_destination{
		padding: 10px;
		font-size: 25px;
		display: flex;
		justify-content: space-between;
		width: 75%;
	}
	
	.train_voie{
		font-size: 25px;
		margin-left: 10px;
		margin-right: 10px;
		line-height: 25px;
		padding: 6px 4px 2px 4px;
		border-radius: 8px;
	}
	
	.time_left{
		font-size: 18px;
		margin-top: 2px;
	}
	
	#nomoretrain{
		font-size: 25px;
		text-align: center;
	}
	
	#direction svg{
		width: 30px;
		height: 30px;
	}

}