body{
	background-image: url(https://images.unsplash.com/photo-1511804472014-fa7b871cd6a9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1500&q=80);
background-size: 14000px;
			background-repeat: no-repeat;
}

div{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
		margin-top: 0%;
		margin-left: 0%;
	width: 1000px;
	height: 2700px;
	color: white;
	background-color: #0A122A;
	font-family: Comic Sans MS;
	font-size: 1em;
	  }

	  .index{
		position: absolute;
	top: 0px;
	right: 0px;
	background-image: url(https://media.giphy.com/media/uxbIr5yajuWti/giphy.gif);
	color: white;
	display: inline-block;
list-style-type: none;
text-decoration: none;
}

/*MEDIA Q*/


/*En dessous, on codera pour les écrans inférieurs à un pc (PARTIE QUI BUG !!!!!!) */
@media all and (max-width: 1300px) and (orientation: landscape)
{
	
div{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
		margin-top: 0%;
		margin-left: 0%;
	width: 750px;
	height: 1200px;
	color: white;
	background-color: yellow;
	font-family: Comic Sans MS;
	font-size: 0.8em;
	  }
 .index{
		position: absolute;
	top: 0px;
	right: 0px;
	background-image: url(https://media.giphy.com/media/uxbIr5yajuWti/giphy.gif);
	color: white;
	display: inline-block;
list-style-type: none;
text-decoration: none;
}

}


/*En dessous, on codera pour les écrans inférieurs à un pc (grande tablette) */
@media all and (max-width: 979px) and (orientation: landscape)
{
	div{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
		margin-top: 0%;
		margin-left: 0%;
	width: 600px;
	height: 1200px;
	color: white;
	background-color: green;
	font-family: Comic Sans MS;
	font-size: 0.85em;
	  }
	  
  .index{
		position: absolute;
	top: 0px;
	right: 0px;
	background-image: url(https://media.giphy.com/media/uxbIr5yajuWti/giphy.gif);
	color: white;
	display: inline-block;
list-style-type: none;
text-decoration: none;
}
}

/*En dessous, on codera pour les écrans inférieurs à un pc (petite tablette) */
@media all and (max-width: 767px) and (orientation: landscape)
{
	div{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
		margin-top: 0%;
		margin-left: 0%;
	width: 400px;
	height: 1200px;
	color: white;
	background-color: red;
	font-family: Comic Sans MS;
	font-size: 0.75em;
	  }
}

/*En dessous, on codera pour les écrans inférieurs à un pc (téléphone) */
@media all and (max-width: 480px) and (orientation: portrait)
{
	div{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
		margin-top: 0%;
		margin-left: 0%;
	width: 200px;
	height: 1500px;
	color: white;
	background-color: orange;
	font-family: Comic Sans MS;
	font-size: 0.7em;
	  }
}

/*INVERSE!!!!!!!*/


/*En dessous, on codera pour les écrans inférieurs à un pc (PARTIE QUI BUG !!!!!!) */
@media all and (max-width: 1300px) and (min-width: 979.1px) and (orientation: portrait)
{
		div{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
		margin-top: 0%;
		margin-left: 0%;
	width: 820px;
	height: 1500px;
	color: white;
	background-color: orange;
	font-family: Comic Sans MS;
	font-size: 0.7em;
	  }
}



/*En dessous, on codera pour les écrans inférieurs à un pc (grande tablette) */
@media all and (max-width: 979px) and (min-width: 768.1px) and (orientation: portrait)
{
		div{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
		margin-top: 0%;
		margin-left: 0%;
	width: 650px;
	height: 1500px;
	color: white;
	background-color: orange;
	font-family: Comic Sans MS;
	font-size: 0.7em;
	  }
}



/*En dessous, on codera pour les écrans inférieurs à un pc (petite tablette) */
@media all and (max-width: 768px) and (min-width: 767px) and (orientation: portrait)
{
	div{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
		margin-top: 0%;
		margin-left: 0%;
	width: 400px;
	height: 1200px;
	color: white;
	background-color: pink;
	font-family: Comic Sans MS;
	font-size: 0.75em;
	  }
}
