@font-face {
	font-family: 'BaskervilleItal';
	src: url('/fonts/BaskervilleItalicBT.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: 'BaskervilleLight';
	src: url('/fonts/LibreBaskerville-Regular.woff2') format('woff2');
	font-display: swap;
}

body {
	height: 100%;
	margin: 0;
	background-color: #ebebeb;
}

p, a {
	font-family: 'BaskervilleLight', Arial, Serif;
	letter-spacing: 0.05em;
	color: #262626;
}

/*
 * Header
 */

header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 1050px;
	background: url("/imgs/Fond_vignoble.jpeg") no-repeat;
	background-size: cover;
}

header h1 {
	margin: 50px 50px 0;
	font-family: 'BaskervilleItal', Arial, Serif;
	font-size: 3em;
	text-align: center;
	letter-spacing: 0.07em;
	color: #FFFFFF;
}

header h1 span {
	font-family: 'Times New Roman', Times, Serif;
	font-style: italic;
}

/*
 * Corps de page
 */

main {
	display:flex;
	flex-direction:row;
	flex-wrap: wrap;
	justify-content:space-evenly;
	margin: 50px 0 100px;
}

#portrait {
	display:flex;
	flex-direction:column;
	align-items:flex-end;
}

#portrait img {
	max-width: 525px;
	margin: 0 0 10px;
}

#portrait p {
	margin: 0;
	font-size: 0.8em;
}


#presentation {
	max-width: 925px;
	text-align: justify;
}

#presentation h2 {
	margin: 0 0 30px;
	font-size: 2.5em;
	font-family: 'BaskervilleLight', Arial, Serif;
	font-weight: normal;
}

#presentation p {
	margin: 0;
	padding-right: 80px;
	font-size: 1.8em;
	line-height: 1.4em;
}

hr {
	border-top: 1px solid #c8c8c8;
}

/*
 * Footer
 */

footer {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	margin: 25px 50px 20px;
}

#contact p {
	font-size: 1.5em;
	margin: 0 0 15px;
}

#contact a, #contact a:visited {text-decoration:none;}

#contact a:hover {font-weight:bold;}

#social {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	max-width: 225px;
	width: 100%;
}

#social img {max-width: 75px;}

#social a {transition: filter 750ms;}

#social a:hover {filter: opacity(50%);}

/*
 * Mid computer
 */
@media only screen and (max-width: 1450px) {
	#portrait {margin-bottom:50px;}

	main {
		margin: 50px 50px 100px;
	}

	#presentation p {
		padding: 0;
	}
}

/*
 * Small computer
 */
@media only screen and (max-width: 1024px) {
	footer {justify-content:space-between;}
}

/*
 * Tablet
 */
@media only screen and (max-width: 768px) {
	header img, #portrait img {max-width: 100%;}

	footer {flex-direction:column;}

	#presentation p {
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}

	#contact {margin-bottom: 25px;}
}

/*
 * Mobile and less
 */
@media only screen and (max-width: 425px) {
	header h1 {font-size:2.5em;}

	#presentation h2 {font-size:2em;}

	#presentation p {font-size:1.3em;}

	footer p {font-size: 1em;}
}