@import url('../fonts/stylesheet.css');

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: 100%;
	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;
}


/*----------------------------------------*/

:root{
	--color1: #d61d44; /*rouge*/
	--color2: #33e765; /*vert*/
	--color3: #86cfeb; /*bleu*/
	--color4: #f9d626; /*jaune*/
	--color5: #AF3DA4; /*violet*/
	--main-color: #c9c5c6; /*gris*/
	--primary-color: #181c30; /*#492a0a; marron*/
}

body{
	background-color: var(--primary-color);
	margin: 0;
	height: 100vh;
	overflow: none;
	position: fixed;
	top: 0;
	left: 0;
	touch-action: manipulation;
}

#indexBody{
	/*background-color: var(--main-color);*/
}

.indexContent{
	background-color: var(--main-color);
	height: auto;
}

::selection{
	background-color: none;
	color: white;
}

#container{
	padding: 0vh;
	width: 100vw;
	height: 100vh;
	display: flex;
	margin: auto;
	overflow: auto;
}

#sketchContainer{
	position: absolute;
	top: 30px;
	z-index: 2;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

nav{
	width: 60px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.bulletnav{
	width: 20px;
	height: 20px;
	border-radius: 10px;
	margin-top: 20px;
	margin-left: 20px;
	background-color: white;
}

nav a{
	display: block;
	width: 100%;
	height: 20%;
	margin: 0;
	padding: 0;
}

.navbtn{
	width: 100%;
	height: 100%;
	border-radius: 5px 0 0 5px;
}

.navbtn:hover{
	cursor: pointer;
}

.navbtn:hover .bulletnav{
	background-color: var(--primary-color);
}

.one{
	background-color: var(--color1);
	box-shadow: inset -10px 0 30px rgba(50,50,50,0.2);
}

.two{
	background-color: var(--color2);
	box-shadow: inset -10px 0 30px rgba(50,50,50,0.2);
}

.three{
	background-color: var(--color3);
	box-shadow: inset -10px 0 30px rgba(50,50,50,0.2);
}

.four{
	background-color: var(--color4);
	box-shadow: inset -10px 0 30px rgba(50,50,50,0.2);
}

.home{
	background-color: var(--main-color);
	box-shadow: inset -10px 0 30px rgba(50,50,50,0.2);
}

.info{
	background-color: var(--color5);
	box-shadow: inset -10px 0 30px rgba(50,50,50,0.2);
}

.active{
	box-shadow: none;
}

article{
	width: 100%;
	height: 100%;
	border-radius: 0px 0px 0px 0px;
}

#content{
	padding: 30px;
	overflow: auto;
}

#home{
	background-color: var(--main-color);
}

#info{
	background-color: var(--color5);
}

#page-one{
	background-color: var(--color1);
}

#page-two{
	background-color: var(--color2);
}

#page-three{
	background-color: var(--color3);
}

#page-four{
	background-color: var(--color4);
}

h1{
	font-size: 5rem;
	font-family: "compagnon";
	font-style: italic;
	position: fixed;
	bottom: 30px;
	left: 90px;
	z-index: 999;
}

p{
	font-size: 1.3rem;
	line-height: 1.15em;
	font-family: Arial, sans-serif;
	font-weight: 400;
	max-width: 600px;
}

p .tabwidth{
	margin-left: calc(40px + 1.2rem);
}

.pres{
	grid-column: 1/3;
	margin-bottom: 40px;
}

.pres p{
	font-size: 2rem;
	max-width: none;
	padding-right: 100px;
}

/*.notes{
	position: fixed;
	bottom: 0;
	left: 60px;
	padding: 5px;
	padding-bottom: 10px;
	background-color: white;
	font-size: 1.3rem;
	line-height: 1.15em;
	margin-top: 60px;
	max-width: 100%;
}*/

.notes{
	font-size: 1.3rem;
	line-height: 1.15em;
	padding-top: 60px;
	max-width: 100%;
}

.underline{
	text-decoration: underline;
}

a{
	color: black;
}

a:hover{
	font-style: italic;
}

.textGrid{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 20px;
	grid-auto-rows: minmax(100px, auto);
}

#smileyAnimation{
	width: 150px;
	height: 150px;
	position: fixed;
	right: 3px;
	bottom: 3px;
	z-index: 999;
}

#smiley svg{
	width: 100%;
	height: 100%;
}

#smiley svg g{
	stroke-width: 20;
}


#arrowAnimation{
	width: 90vw;
	height: 90vh;
	z-index: 99;
	position: fixed;
	top: 0;
	left:60px;
	pointer-events: none;
}

#arrow svg{
	width: 100%;
	height: 100%;
}

h2{
	font-family: Arial, sans-serif;
	font-size: 1.3rem;
	margin-bottom: 2px;
}

h2::before { /* add the new bullet point */
  display: inline-block;
    content: '';
    -webkit-border-radius: 0.375rem;
    border-radius: 50%;
    height: 0.7rem;
    width: 0.7rem;
    margin-right: 0.5rem;
    background-color: white;
    position: relative;
    bottom: 0.05rem;
}

.color1::before{
	background-color: var(--color1);
}

.color2::before{
	background-color: var(--color2);
}

.color3::before{
	background-color: var(--color3);
}

.color4::before{
	background-color: var(--color4);
}


.tabwidth{
	margin-left: 40px;
}

em{
	font-family: "compagnon";
	font-size: 1.15em;
	line-height: 0px;
	margin-right: 4px;
}

h3{
	font-family: "compagnon";
	font-size: 5em;
	position: relative;
	bottom: 0.5em;
}











@media screen and (max-width: 850px){

.pres p{
	font-size: 1.5rem;
	max-width: none;
	padding-right: 100px;
}

h1{
	font-size: 4rem;
	color: var(--primary-color);
	margin-bottom: 5px;
}

p{
	font-size: 1rem;
	line-height: 1.15em;
	font-weight: 400;
	max-width: 400px;
	margin-bottom: 20px;
}

h3{
	font-family: "compagnon";
	font-size: 4em;
}

}
