/*

Exercice 1
Marc-Olivier Lamothe

*/

/* CSS 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: 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;
}


/* BODY AND HTML */

body{
  background-color: #ADD8E6;
}


/* ID */
#divTitles{
  margin: 10% auto;
  text-align: center;
  animation-name: titleFloat;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

#wrapper{
  width: 100%;
}

/* TITLES */

h1, h2{
  font-family: Gill Sans, sans-serif;
  color: white;
}

h1{
  font-size: 3.2em;
}
h2{
  font-size: 2.4em;
}

/* IMG */

img{
  position: absolute;
  height: 75%;
  right: 0%;
  bottom: 0;
}

/* ANIMATION */

@keyframes titleFloat {
    from{
      margin-top: 10%; animation-timing-function: ease-in-out;
    }

    50%{
      margin-top: 12%; animation-timing-function: ease-in-out;
    }

    to{
      margin-top: 10%; animation-timing-function: ease-in-out;
    }
