/* Reset des valeurs par défaut*/
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: Montserrat;
	letter-spacing: 2px;
	color: grey;
}
	body {
		background-color: #262626 /* Gris */;
	}
		a {
			text-decoration: none;
			color: grey;
		}
		h1 {
			font-size: 50px;
			font-family: Abril Fatface;
		}
		h2 {
			font-size: 16px;
			font-weight: 500;
			color: white;
		}
		h3 {
			font-size: 12px;
			font-weight: 200;
		}
		h4 {
			font-size: 14px;
			font-weight: 400;
		}
		p {
			font-size: 13px;
			font-weight: 100;
		}
		button {
			background-color: transparent;
			border: none;
			outline: none;
		}
		button:hover {
			cursor: pointer;
		}
		button:focus {
			outline: none;
		}

/* Header */
header {
	text-align: center;
	margin: 0 30px;
}
	/* Logo */
	h1 a {
		font-family: Abril Fatface;
	}
	header h3 {
		display: inline-block;
		margin: 0px 20px;
		font-size: 12px;
		letter-spacing: 10px;

	}
	.skills {
		display: flex;
		flex-flow: row wrap;
		justify-content: center;
		padding: 10px;
	}
	/* Adapation téléphone */
	@media (max-width: 767px) {
		h1 a {
			font-size: 35px;
		}
		header h3 {
			font-size: 10px;
			letter-spacing: 8px;
		}		
		.skills {
			flex-flow: column wrap;
		}
	}
/* Liens de traduction */
.translate {
	display: flex;
	flex-flow: column wrap;
	text-align: right;
	position: fixed;
	top: 0;
	right: 0;
	margin: 10px 20px;
	font-size: 12px;
}
	.translate div {
		padding: 2px 0;
	}
		.translate a {
			padding: 0px 20px;
			transition: 0.3s;
		}
		.translate a:hover {
			text-decoration: underline;
			letter-spacing: 12px;
		}
		@media (max-width: 767px) {
			.translate {
				top: 70px;
			}
		}
/* Contenu vidéo */
.contentrow {
	display: flex;
	flex-wrap: wrap;
	max-width: 82%;
	margin: 2% auto;
	padding: 1% 1%;
	border-top: 1px solid grey;
	border-bottom: 1px solid grey;
	max-height: 78vh;
	background-color: rgba(0,0,0,0.3);
	overflow-x: auto;

	/* Hide scrollbar for IE, Edge and Firefox */
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */	
}

	/* Hide scrollbar for Chrome, Safari and Opera */
.contentrow::-webkit-scrollbar {
    display: none;
}
	.contentcolumn {
		flex: 50%;
		max-width: 50%;
		padding: 0 1%;
	}

		.videocontainer {
			position: relative;
			padding: 2% 0;
			cursor: pointer;
		}

		video {
			width: 100%;
			height: auto;
			vertical-align: middle;
		}
		@media (max-width: 767px) {
      	.contentrow {
			   max-height: 60vh;
			}
		}	

		/* Article */
		.text {
			position: absolute;
			left: 2.5%;
			bottom: 6.5%;
			display: none;
			background-color: rgba(0,0,0,0.2);
			width: 95%;
			padding: 15px;
			text-align: left;
			scroll-snap-align: start;
		}
			.text h4 {
				padding: 5px 0 0 0;
			}
			.text p {
				padding: 20px 0 0 0;
			}	
			.videocontainer:hover .text {
				display: block;
			}
			.text:hover {
				background-color: rgba(0,0,0,0.7);
			}
			.text a:hover {
				font-weight: 400;
			}
			.text p a:hover {
				font-weight: 900;
			}		
		@media (max-width: 767px) {
			.contentcolumn {
				max-width: 100%;
				flex: 100%;
			}
			.text {
				display: block;
				left: 10px;
				bottom: 20px;
			}
					.text h2 {
						font-size: 8px;
				}
					.text h4 {
						display: none;
				}
					.text p {
						display: none;
				}
		}
/* Vidéo plein-écran */
.fullscreen {
	display: none;
	background-color: rgba(0,0,0,0.8);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	justify-content: center;
	align-items: center;
	align-content: center;
}
		.yt {
		  position: relative;
		  display: block;
		  width: 100%; /* width of iframe wrapper */
		  height: 0;
		  margin: auto;
		  padding: 0% 0% 56.25%; /* 16:9 ratio */
		  overflow: hidden;
		}
		.yt iframe {
		  position: absolute;
			top: 0; bottom: 0; left: 0; right: 0;
			margin: auto;
		  width: 80%;
		  height: 80%;
		  border: 0;
		}
  	.fullvideo {
		background-color: rgb(0,0,0);
	}
		.fullvideo h2 {
			display: block;
			z-index: 100;
		}
	/* Bouton de fermeture */
	.closevideo {
		display: block;
		position: fixed;
		top: 2%;
		right: 2%;
	}
		.closevideo img {
			width: 40px;
			opacity: 0.5;
		}
	@media (min-aspect-ratio: 16/9) {
			.fullvideo {
				width: auto;
				height: 90%;
			}
		}
	@media (max-aspect-ratio: 16/9) {
			.fullvideo {
				width: 90%;
				height: auto;
			}
		}
/* Menu */
.menu {
	 	position: fixed;
	 	top: 40px;
	 	left: 15%;
	}
/*@media (max-width: 767px) {
	.menu {
		position: fixed;
		top: initial;
		left: initial;
		bottom: 7%;
		width: 100%;
	}*/
@media (max-width : 767px) {
	.menu {
		position: fixed;
		top: initial;
		left: initial;
		bottom: 5%;
		width: 100%;
	}	
}
	.menu button {
		display: block;
		margin: 0 auto;
	}
	.menu img {
		width: 40px;
	}

/* Footer */
footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	padding: 10px 0;
}
	footer p {
		font-size: 10px;
	}