/* CSS V3.0
 * Copyright 2025 Nicolas von Auw, all rights reserved
 * Edition Flex-box
 * Conteneur: body
 * Eléments: nav, main, footer, div
 */
 
@media screen {
		body {
			height: 100%;
			width: 100%;
			margin: auto;
			background-color: rgba(255,255,255,1);
		}
		
		/* HEADER --------------------------- */	
	header {
			height: 10%;
			width: 100%;
			background-color: rgba(0,0,0,1);
			display: inline-block;
			justify-content: flex-start; /* Centre horizontalement */
			align-items: center; /* Centre verticalement */
			position: fixed;
			top: 0;
			left: 0;
			color: rgba(255,255,255,1);
			text-align: left;
			padding-left: 2.5%;
		}
		

		/* NAV --------------------------- */	
	nav {
			font-size: 100%;
			height: auto;
			width: 100%;
			background-color: rgba(0,0,0,1);
			display: inline-block;
			justify-content: flex-start; /* Centre horizontalement */
			align-items: center; /* Centre verticalement */
			position: fixed;
			top: 10%;
			left: 0;
		}
	
		nav li {
			color: rgba(255,255,255,1);
			display: inline-block;
			padding-left: 5%;
		}

		nav a, nav a:visited {
			color: rgba(255,255,255,1);
			text-decoration: none;
		}

		nav a:hover {
			color: rgba(255,0,0,1);
			text-decoration: none;
			font-weight: bold;
		}

		/* MAIN --------------------------- */	
		main {
			min-height: 100vh;
			width: 100%;
			background-color: rgba(255,255,255,1);
			display: flex;
	    	flex-direction: column;
			margin-top: 7%;
			padding-top: 2.5%;
			padding-bottom: 5%;
		}

		table {
			border-collapse: collapse;
			margin-left: 2.5%;
			margin-right: 2.5%;

		}
		
		td {
			border: solid 1px rgba(200,200,200,1);
		}

		th {
			border: solid 1px rgba(200,200,200,1);
			background-color: rgba(0,0,0,0.1);
		}

		main ul, ol {
			text-align: left;
			margin-left: 2%;
		}
		
		main li {
			padding-bottom: 0.5%;
		}
		
		main a, main a:visited {
			color: rgba(255,255,255,1);
			text-decoration: none;
			background-color: rgba(0,0,0,1);
			border-radius: 10px 10px 10px 10px;
			padding-left: 0.4%;
			padding-right: 0.4%;
		}

		main a:hover, button:hover {
			color: rgba(255,255,255,1);
			font-weight: bold;
			background-color: rgba(0,0,0,1);
		}


		/* FOOTER --------------------------- */
		footer {
			color: rgba(0,0,96,1);
			height: 2.5%;
			width: 100%;
			background-color: rgba(0,0,0,1);
			display: flex;
			justify-content: start; /* Centre horizontalement */
			align-items: center; /* Centre verticalement */
			position: fixed;
			bottom: 0px;
			left: 0px;
			text-align: left;
			padding-left: 2.5%;
			font-size: 80%;
			font-style: italic;
		}
		
		/* TEXTUALS --------------------------- */
		h1, h2, h3, h4, h5, h6, p, main ul, main ol, address, legend, dl {
			color: rgba(0,0,96,1);
		}

		h1 {
			font-size: 160%;
			padding-left: 2.5%;
			text-align: left;
			font-style: normal;
			font-weight: bold;
			text-decoration: none;	
		}

		.iFrame {
			width: 550px;
			height: auto;
		}

		h2 {
			font-size: 130%;
			padding-left: 2.5%;
			text-align: left;
			font-style: normal;
			font-weight: bold;
			text-decoration: none;	
		}

		h3 {
			font-size: 110%;
			padding-left: 2.5%;
			text-align: left;
			font-style: normal;
			font-weight: bold;
			text-decoration: none;	
		}
		dt {
			font-size: 100%;
			padding-left: 2.5%;
			text-align: left;
			font-style: normal;
			font-weight: bold;
			text-decoration: none;	
		}
		dd {
			font-size: 100%;
			padding-left: 3%;
			text-align: left;
			font-style: normal;
			font-weight: normal;
			text-decoration: none;	
		}
		p {
			font-size: 100%;
			padding-left: 2.5%;
			padding-right: 2.5%;
			text-align: left;
			font-style: normal;
			font-weight: normal;
			text-decoration: none;	
		}
		
		figcaption {
			font-size: 100%;
			text-align: center;
			font-style: italic;
			font-weight: normal;
			text-decoration: none;	
		}
		
		figure a, figure a:visited, figure a:hover {
			text-decoration: none;	
		}
		
		address {
			font-size: 100%;
			margin-left: 2.2%;
			text-align: left;
			font-style: italic;
			font-weight: normal;
			text-decoration: none;			
		}
		
		button {
			font-size: 100%;
			text-align: left;
			font-style: italic;
			font-weight: normal;
			text-decoration: none;
			color: rgba(128,0,0,1);
			background-color: rgba(255,255,255,1);
			border: none;
		}
		button:hover, button:after {
			border: none;
			text-decoration: underline;
		}
		
		div {
			display: flex;
			justify-content: left;
			align-items: start;
		}

		footer a, footer a:visited {
			color: rgba(200,200,200,1);
			text-decoration: none;
		}
		footer a:hover {
			color: rgba(200,200,200,0.4);
			text-decoration: none;
		}
			
}
