/*Google Font*/
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/*-animation header-*/
@keyframes puff-in-center {
  0% {
    transform: scale(2);
    filter: blur(4px);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    filter: blur(0px);
    opacity: 1;
  }
}

/*-animation icones font-*/
@keyframes text-shadow-pop-bottom {
  0% {
    text-shadow: 0 0 #A5D1F3, 0 0 #A5D1F3, 0 0 #A5D1F3, 0 0 #A5D1F3, 0 0 #A5D1F3, 0 0 #A5D1F3, 0 0 #A5D1F3, 0 0 #A5D1F3;
    transform: translateY(0);
  }
  100% {
    text-shadow: 0 1px #A5D1F3, 0 2px #A5D1F3, 0 3px #A5D1F3, 0 4px #A5D1F3, 0 5px #A5D1F3;
    transform: translateY(-5px);
  }
}

/*----- HTML -----*/
html
{
	scroll-behavior: smooth;
}

/*----- BODY -----*/
body
{
	font-family: "Quicksand", sans-serif;
	margin:auto;
	font-size:98%;
	line-height:25px;
	background-color:white;
}


/*--------HEADER--------*/
header
{
	background-image: url("../img/11.jpg");
	background-position: center top;
    background-repeat: no-repeat;
	background-size:cover;
	padding-bottom:100px;
	
}

/*-navigation-*/
ul
{
	list-style:none;
	background-color: #19323C;
	padding:1em;
	margin:0;
	z-index:100;
		
	display:flex;
	flex-direction:column;
	text-align:center;
	justify-content:flex-end;
	position:fixed;
	top:0;
	width:100%;
}

li
{
	margin:0.5em;
}

a
{
	text-decoration:none;
	color:white;
	font-size:1.5em;
	padding-right:0.5em;
}

/*-texte header-*/
header h2
{
	text-align:center;
	padding-bottom:50px;
	padding-top:400px;
	font-size:1.5em;
	color:white;
	font-weight:bold;
	animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}

/*-bouton header-*/
header div.bouton
{
	color: white;
    font-size: 1em;
    padding: 15px;
	border-radius:20px;
	background-color:#19323C;
	width:200px;
	margin:auto;
	text-align:center;
	animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) 1s both;
}

header div.bouton:hover, header div.bouton:focus
{
	background-color:#244C56 ;
}

/*--------MAIN--------*/
main 
{
    margin: auto;
}

/*-artciles-*/
main article
{
	
}

main article:nth-of-type(even)
{
	background-color:#F1F4F9;
}

/*-sections dans articles-*/
main section
{
	margin:auto;
	max-width:500px;
	text-align:center;
	padding:25px;
}

/*Icones font*/
main section i.fa
{
	color:#19323C;
}

main section i.fa:hover, main section i.fa:focus
{
	animation: text-shadow-pop-bottom 0.6s both;
}

/*Textes et titres des sections*/
main h1
{
	color:;
	font-size:2em;
	margin:10px;
	font-weight:bold;
	color:#19323C;
}
main .titre
{
	display:flex;
	margin:10px;
}

main p
{
	text-align:left;
}

/*-Images dans articles-*/
figure
{
	position: relative;
}

main img
{
    width: 100%;
    height: auto;
	display: block;
}

.texte-image {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1em;
    background-color: rgba(0, 0, 0, 0.5);  
    padding: 10px;
    border-radius: 5px;
    text-align: left;
}

/*--------FOOTER--------*/
footer
{
	background-color:#19323C;
	color:white;
	padding:4em;
	margin-top:20px;
	text-align:center;
	line-height:25px;
	
}


/*-----RESPONSIVE-----*/

/*-Ecran moyen-*/
@media screen and (min-width:760px){
	
	body
	{
		font-size:100%;
		
	}
	
	/*navigation*/
	ul
	{
		display:flex;
		flex-direction:row;
		justify-content:flex-end;
		align-items:center;
		
	}
	
	/*-footer-*/
	footer
	{
		
		display:grid;
		grid-template-columns: repeat(3,1fr);
	}
	/*contact dans footer*/
	footer div
	{
		text-align:left;
	}
	
}

/*-Ecran large-*/
@media screen and (min-width:1024px){
	
	body
	{
		font-size:100%;
		
	}
	
	main article
	{
		display:grid;
		grid-template-columns: 1fr 2fr;
	}
	
	main .titre
	{
	display:flex;
	flex-direction:column;
	margin:0px;
	}
}


/*-----PRINT-----*/

@media print {
  
  footer, header, nav, .texte-image  {
    display: none;
  }

 
  
  *,
	*:before,
	*:after,
	*:first-letter,
	p:first-line,
	div:first-line,
	blockquote:first-line,
	li:first-line {
		background: transparent !important;
		color: #000 !important; /* Black prints faster:
								   http://www.sanbeiji.com/archives/953 */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited { text-decoration: underline; }

	a[href]:after { content: " (" attr(href) ")"; }

	abbr[title]:after { content: " (" attr(title) ")"; }

	/*
	 * Don't show links that are fragment identifiers,
	 * or use the `javascript:` pseudo protocol
	 */

	a[href^="#"]:after,
	a[href^="javascript:"]:after { content: ""; }

	pre { white-space: pre-wrap !important; }

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	/*
	 * Printing Tables:
	 * http://css-discuss.incutio.com/wiki/Printing_Tables
	 */

	thead { display: table-header-group; }

	tr,
	img { page-break-inside: avoid; }

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 { page-break-after: avoid; }

	/**
	 * HIDE certain elements completely
	 */
	.site-navigation {
		display: none;
	}
	
}