/* Feuille de style */

/* RESET RESET RESET RESET RESET RESET RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a, a:hover, a:active, a:visited {
	color: inherit;
	text-decoration: none;
}

[role="button"],
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

/* Reset `button` and button-style `input` default styles */
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    background: none;
    border: 0;
    color: inherit;
    /* cursor: default; */
    font: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0;
    -webkit-appearance: button; /* for input */
    -webkit-user-select: none; /* for button */
       -moz-user-select: none;
        -ms-user-select: none;
}
input::-moz-focus-inner,
button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Enable hardware acceleration to fix laggy transitions */


/* GENERAL ---------------------------------------- */

#bloc-page
{
	background-color: rgb(231,231,245);
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.v-align, .v-aligned
{
	display: inline-block;
	vertical-align: middle;
}

.b-align, .b-aligned
{
	display: inline-block;
	vertical-align: bottom;
}

.v-align, .b-align
{
	height: 100%;
}

html
{
	width: 100%;
	height: 100%;
	background-color: rgb(231,231,245);

}

body
{
	position: relative;
	text-align: center;
	font-family: 'Ubuntu', sans-serif;
	height: 100%;
}

.wrap
{
	width: 100%;
	max-width: 1150px;
	display: inline-block;
}

.section-title
{
	font-family: 'chonburi';
	font-size: 36px;
}

.white-text
{
	color: white;
}

.blue-text
{
	color: rgb(71,83,173);
}

.full-height
{
	height: 100%;
}

.full-width
{
	width: 100%;
}

.content-block h2
{
	font-size: 35px;
	font-weight: bold;
	font-family: 'montserrat';
}

.content-in > p 
{
	font-size: 22px;
	font-weight: 500;
	line-height: 1.4;
	margin: 50px 0;
}

.content-block
{
	margin: 120px 0;
}

.content-in
{
	padding: 0 20px;
}

.text-full-width, .title-full-width
{
	display: inline-block;
	width: 100%;
	max-width: 900px;
}

.side-text
{
	display: inline-block;
	width: 100%;
	max-width: 550px;
}

.block-text.lonely-text
{
	margin-bottom: 0px;
}

.text-left
{
	text-align: left;
}

.text-right
{
	text-align: right
}

.text-justify
{
	text-align: justify;
}

/* HEADER --------------------------------- */

header
{
    padding: 20px 0;
}

#header-content
{
	background-color: rgb(71,83,173);
	height: 180px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-right: 20px;
}

#header-text-content h1
{
    font-size: 34px;
    font-family: 'Bowlby One SC', cursive;
    line-height: 1.2;
}

#header-text-content h2
{
    font-size: 20px;
	margin-top: 10px;
	font-weight: 300;
}

#milles-bornes-logo
{
    position: absolute;
    top: 0px;
    left: 0px;
    background-image: url('/img/logo.png');
    background-size: cover;
    height: 280px;
    width: auto;
}

/* WELCOME PAGE ---------------------------- */

#accueil-content
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accueil-container-item
{
    width: 45%;
}

#intro-text h1
{
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 25px;
    color: rgb(71,83,173);
}

#intro-text p
{
    font-size: 20px;
	color: rgb(71,83,173);
	text-align: justify;
	line-height: 1.1;
}

.content-box
{
    position: relative;
    font-family: 'Bowlby One SC', cursive;
    font-size: 28px;
    cursor: pointer; 
}

.content-box h1
{
    padding: 60px 20px 60px 0px;
}

#author-box
{
    margin-bottom: 20px;
    background-image: url('/img/photos/cote_jacques.jpeg');
    background-position: center;
    background-size: cover;
	box-shadow: inset 0 0 0 100px rgba(71,83,173,0.6);
	-webkit-transition: box-shadow 1s; /* Safari */
	transition: box-shadow 1s;
}

#author-box:hover, #characters-box:hover
{
	box-shadow: inset 0 0 0 100px rgba(71,83,173,1);
}

#characters-box
{
    background-image: url('/img/photos/sq-bw.jpg');
    background-size: cover;
	box-shadow: inset 0 0 0 100px rgba(71,83,173,0.6);
	-webkit-transition: box-shadow 1s; /* Safari */
	transition: box-shadow 1s;
}

/* PERSONNAGES --------------------------- */

.pop-container
{
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.8);
	justify-content: center;
	align-items: center;
	display: none;
}

.pop-block
{
	position: relative;
	top: 1000px;
	width: 80%;
	background-color: rgb(71,83,173);
	color: white;
	height: 400px;
}

.pop-content
{
	height: 100%;
	display: flex;
	align-items: center;
}

.perso-text
{
	height: 100%;
	width: 65%;
	padding: 30px;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.perso-text h3
{
	font-weight: bold;
	font-size: 38px;
	font-family: 'Bowlby One SC';
}

.perso-text p
{
	line-height: 1.1;
}

.perso-text h3 img
{
	float: right;
	cursor: pointer;
}

.perso-text p
{
	text-align: justify;
	margin-top: 20px;
	font-size: 20px;
}

.perso-img
{
	background-size: cover;
	background-position: center;
	width: 35%;
	height: 400px;
}

#daniel-pop .perso-img
{
	background-image: url('/img/photos/sq.jpg');
}

#h-pop .perso-img
{
	background-image: url('/img/photos/h.jpg');
}

#laurence-pop .perso-img
{
	background-image: url('/img/photos/hopital.jpg');
}

#louis-pop .perso-img
{
	background-image: url('/img/photos/louis.jpg');
}

#personnages-title
{
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
}

#personnages-blocks
{
    display: flex;
    justify-content: space-between;
}

#daniel
{
    background-image: url('/img/photos/sq.jpg');
    background-size: cover;
}

#h
{
    background-image: url('/img/photos/h.jpg');
    background-size: cover;
}

#laurence
{
    background-image: url('/img/photos/hopital.jpg');
    background-size: cover;
}

#louis
{
    background-image: url('/img/photos/louis.jpg');
	background-size: cover;
	background-position: center;
}

.personnage-block
{
	width: 23%;
	height: 240px;
    font-family: 'Bowlby One SC', cursive;
}

.personnage-content
{
    height: 100%;
    position: relative;
}

.blue-color-block
{
	cursor: pointer;
    position: absolute;
    height: 140px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-color: rgba(71,83,173,0.9);
    -webkit-transition: background-color 1s, height 500ms;
	transition: background-color 1s, height 500ms;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 20px;
}

.blue-color-block:hover
{
	background-color: rgba(71,83,173,0.7);
	height: 100%;
}

.blue-color-block h1
{
    font-size: 30px;
}

/* AUTEUR -------------------------------- */

#auteur-page
{
	display: flex;
	align-items: center;
}

.page-left
{
	width: 60%;
	text-align: left;
}

.page-left h2
{
	font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
}

#auteur-texte
{
	line-height: 1.1;
	font-size: 20px;
	height: 200px;
	overflow-y: scroll;
	text-align: justify;
}

#auteur-texte p
{
	margin: 20px 0;
}

#auteur-texte p:first-child
{
	margin-top: 0px;
}

.page-right
{
	width: 40%;
}

.page-right img
{
	height: 280px;
}

/* FOOTER -------------------------------- */

footer
{
    padding: 20px 0;
}

#footer-block
{
	background-color: rgb(71,83,173);
	height: 50px;
}

footer ul
{
	display: flex;
	justify-content: center;
	align-items: center;
}

footer ul li
{
	font-size: 20px;
	color: white;
	font-weight: bold;
	margin: 0 20px;
	-webkit-transition: font-size 200ms;
	transition: font-size 200ms;
	width: 190px;
}

footer ul li:hover
{
	font-size: 25px;
}

/* BUTTONS -------------------------------- */

.block-button
{
    text-transform: uppercase;
    font-weight: bold;
    width: 100%;
	max-width: 450px;
	display: inline-block;
	text-align: left;
	cursor: pointer;
}

.block-button.full-width-button
{
	max-width: none;
}

.block-button h3
{
    padding: 13px 12px 12px 12px;
	font-family: 'montserrat';
	font-weight: bold;
	position: relative;
}

.blue-button h3
{
    border: solid 2px rgb(41,110,177);
    background-color: rgb(41,110,177);
	color: white;
}

.orange-button h3
{
    border: solid 2px rgb(230,143,62);
	background-color: rgb(230,143,62);
    color: white;
}

.white-border-button h3
{
    border: solid 2px white;
	background-color: transparent;
    color: white;
}

.orange-button h3:hover
{
	opacity: 0.9;
}

.blue-button h3:hover
{
	opacity: 0.9;
}

.white-border-button h3:hover
{
	background-color: rgba(255,255,255,0.1);
}

.lonely-button
{
	margin-top: 60px;
}

.mobile-button
{
	display: none;
}

.button-arrow
{
	position: absolute;
	right: 12px;
	top: 12px;
	height: 16px;
}

.text-image-block
{
	display: flex;
	margin: 70px 0;
	justify-content: space-between;
}

.right
{
	text-align: right;
	margin-left: 40px;
}

.left
{
	text-align: left;
}

.content-title
{
    margin: 100px 0px 60px 0px;
    font-size: 32px;
    font-family: 'montserrat';
}

.container
{
    display: flex;
    flex-wrap: wrap;
}



@media screen and (max-width: 1000px)
{	
	.text-image-block
	{
		flex-direction: column;
		align-items: center;
	}
	
	.right, .left
	{
		text-align: center;
	}
	
	.right
	{
		margin: 0;
	}
}

@media screen and (max-width: 500px)
{
	.content-in > p 
	{
		text-align: justify;
		font-size: 18px;
	}
	
	.content-block
	{
		margin: 80px 0;
	}
	.content-block h2
	{
		font-size: 25px;
	}
}