body {
	margin:0;
}

h1, h2 {
	text-align: center;
}

/*
section {
	width: 95vw;
	margin: 0 auto;
}
*/

.stagiaire {
	width: 192px;
	border: 3px solid #000000;
	border-radius: 10px;
	background-color: lightgray;
	color: rgb(0,0,0);
	font-family: Arial, Helvetica, sans-serif;
}

.stagiaire:hover {
	background-color: lightblue;
	font-weight: bold;
}

/* Solution avec Float */
/*	
.stagiaire {
	float:left;
	margin-right: 10px;
	margin-bottom: 10px;
}
*/
/* Solution avec FlexBox */
/*
section {
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
}
*/

/* Solution avec CSS Grid */
/*
section {
	display: grid;
	grid-auto-flow: row;
	grid-template-columns: 1fr;
	justify-items: center;
	gap: 20px;
}
*/
main {
	display: grid;
	grid-auto-rows: auto;
	grid-template-columns: 200px;
	justify-items: center;
	gap: 20px;
}

.stagiaire h3 {
	text-align: center;
}

.stagiaire h4 {
	font-style: italic;
	text-align: center;
}

.ftp, .github, .blog-wp, .boutique, .ti {
	width: 96px;
	float: left;
}

.blog-wp {
	margin: 0 0 8px 0;
}

.prefo, .portfolio {
	clear: both;
}

.ftp a {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto;
	background-image: url(ftp.png);
	background-repeat: no-repeat;
}

.github a {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto;
	background-image: url(github.png);
	background-repeat: no-repeat;
}

.prefo a {
	display: block;
	width: 160px;
	height: 48px;
	margin: 0 auto 5px auto;
	
	border-radius: 16px;
	background-color: black;
	text-align: center;
	text-decoration: none;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
	line-height: 48px;
}

p.ti {
	margin:8px 0;
}

.ti a {
	display: block;
	width: 64px;
	height: 48px;
	margin: 0 auto 5px auto;
	
	border-radius: 16px;
	background-color: black;
	text-align: center;
	text-decoration: none;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
	line-height: 48px;
}

.ti.absent a, .portfolio.absent a {
	background-color: rgba(0,0,0,0.5);
	text-decoration: line-through;
	cursor: default;	
}

.manquant a {
	/*border: 2px dashed black;*/
	color: black;
	background-color: white;
	cursor: default;
}

.portfolio a {
	display: block;
	width: 160px;
	height: 48px;
	margin: 0 auto 5px auto;
	
	border-radius: 16px;
	background-color: black;
	text-align: center;
	text-decoration: none;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
	line-height: 48px;
}

.blog-wp a, .boutique a, .inconnu a {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto;
}
.blog-wp a {
/*	background-image: url("Wordpress_blog.png");*/
	background-image: url("Wordpress_Blue_logo.png");
	background-size: contain;
	background-repeat: no-repeat;	
}

.blog-wp.inconnu a {
	background-image: url("Wordpress_blog_inconnu.png");
	background-repeat: no-repeat;
}

.boutique a {
	background-image: url("wooCommerce.png");
	background-repeat: no-repeat;
}

.boutique.inconnu a {
	background-image: url("wooCommerce_inconnu.png");
	background-repeat: no-repeat;
}

footer {
	margin-top: 30px;
	border-top: 4px solid lightblue;
}

footer p {
	text-align:center;
}

footer .copy {
	padding-top: 50px;
	background-image: url("cf2m.ico");
	background-position:center top;
	background-size: 50px;
	background-repeat: no-repeat;
	font-size: 2em;
}

/* Solution avec CSS Grid */


@media screen and (min-width:480px) {
	main {
		grid-template-columns: repeat(2,1fr);
	}
}

@media screen and (min-width:720px) {
	main {
		grid-template-columns: repeat(3,1fr);
	}
}

@media screen and (min-width:960px) {
	main {
		grid-template-columns: repeat(4,1fr);
	}
}

@media screen and (min-width:1200px) {
	main {
		grid-template-columns: repeat(5,1fr);
	}
}

@media screen and (min-width:1440px) {
	main {
		grid-template-columns: repeat(6,1fr);
	}
}

@media screen and (min-width:1680px) {
	main {
		grid-template-columns: repeat(7,1fr);
	}
}

@media screen and (min-width:1920px) {
	main {
		grid-template-columns: repeat(8,1fr);
	}
}

@media screen and (min-width:2160px) {
	main {
		grid-template-columns: repeat(9,1fr);
	}
}

@media screen and (min-width:2400px) {
	main {
		grid-template-columns: repeat(10,1fr);
	}
}

