:root {
	/*declaration des variables de couleur*/
	--rouge-maj : #850606;
	--rouge-sec : #EB0C0C; 
	--blanc : white;
	--noir : black;
	--fond : #fdf1b8;
	--bleu : #0E056B;
	--bleu-fonce : #060139;
	--bleu-trans : #06013980;
	--bleu-clair : #0053cf;
	--bleu-tres-clair : #00aeff;
	--or : #FFD700;
	--ombre : #11010a;
}

html,body{ /*Supprimer la bande blanche à gauche*/
	width:100%;
	overflow-x:hidden;
	margin: 0;
}

html{
    font-family: Open Sans, Tahoma, Verdana, sans-serif;
	font-style: normal;
    scroll-behavior: smooth;
	font-size: medium;
}

p,a,button,li {
	font-size: 1rem;
	font-weight: normal;
}

h1,h2,h3,h4 {
	font-weight: bold;
	font-family: Manuale, serif;
}
.citation {
	font-style: italic;
	align-self: center;
	padding: 0 2rem;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: var(--bleu);
  	background-image: url(../IMG/fond_bleu.png);
	background-position: center;
	background-attachment:fixed;
	background-size: cover;
}

@media screen and not (orientation: landscape) {
}

nav {
    display: flex;
    flex-direction: row;
    position: sticky;
    top: 0;
    justify-content: center;
	align-items: center;
    width: 100%;
	background-color: var(--bleu-fonce);
	transition: all 0.1s;
	
}

.pre_menu {
	display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    justify-content: center;
	align-items: center;
    width: 100%;
	background-color: var(--bleu-fonce);
	transition: all 0.1s;
}

/*
#menu_deroulant {
	display: flex;
    flex-direction: row;
    position: sticky;
    top: 0;
    justify-content: center;
	align-items: center;
    width: 100vw;
	transition: all 0.3s;
}
*/
#barre_menu {
	display: none;
}

@media screen and not (orientation: landscape) {
    nav {
        flex-direction: column;
		position: static;
		display: none;
    }
	#barre_menu {
		display: block;
		width: 2rem;
		height: 2rem;
		cursor: pointer;
		padding: 0.6rem;
	}
	/*
	#menu_deroulant {
		flex-direction: column;
		display: none;
	}*/
}

.externe a {
	text-align: center;
	margin: 0.5rem auto;
	padding: 0.5rem;
    text-decoration: none;
    color: var(--blanc);
	background-color: none;
	border-radius: 0.5rem;
	transition: all 0.3s;
}

nav:hover {
	background-color: var(--bleu-fonce);
}

nav a {
    margin: 0.5rem auto;
	padding: 0.5rem;
    text-decoration: none;
    color: var(--blanc);
	background-color: none;
	border-radius: 0.5rem;
	transition: all 0.3s;
}

nav a:hover {
	background-color: var(--bleu-clair);
}

#discord {
	border: 0.1rem solid var(--or);
}

#discord:hover {
	background-color: var(--or);
	color: var(--noir);
}

#lien_ndd {
	border: solid 0.1rem var(--rouge-maj);
}

#lien_ndd::before {
	content: url(../IMG/logo_clair.svg);
	display: inline-block;
	width: 0.5rem;
	margin-right: 0.5rem;
}

#lien_ndd:hover {
	background-color: var(--rouge-maj);
}
#lien_ndd:hover::before {
	content: url(../IMG/logo_noir.svg);
	display: inline-block;
	width: 0.5rem;
	margin-right: 0.5rem;
}

header {
    height:auto;
	width: 100vw;
	display: flex;
	justify-content: center;
	justify-items: center;
}

header h1 {
	margin: 1vh 0;
	padding: 0;
}

header h1 img {
	width: 40rem;
	max-width: 100vw;
}

main {
	width: 100%;
	max-width: 1112PX;
	margin: 0;
	min-width: 400px;
	margin-bottom: 10rem;
}

#bandeau_event {
	width: 100%;
	margin: 0;
	padding: 2rem;
	box-sizing: border-box;
	background-image:url(../IMG/anim.gif); 
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transition: background-color 0.3s;
}

#bandeau_event p {
	color: var(--blanc);
	font-size: 3rem;
	margin: 0 1em;
	font-weight:bold;
}

section {
	width: 100%;
	background: var(--fond);
	box-sizing: border-box;
	border-bottom: solid 20px transparent;
	border-image: url(../IMG/bordure2.png) 50 round;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 5rem;
}
/*
#introduction {
	border-top: solid 20px transparent;
	border-image: url(../IMG/bordure2.png) 50 round;
}
*/

/*section event*/
#section_event {
	display: none;
}

h2 {
	color: var(--blanc);
	font-size: 4rem;
	/*border-left: 1rem solid var(--bleu);*/
	margin: 0 1em;
	/*padding-left: 1rem;*/
	/*text-shadow: 0 0.1rem 0.5rem var(--fond), 0 0 0.1rem var(--noir);*/
}

@media screen and not (orientation: landscape) {
	h2 {
		font-size: 3rem;
	}
}

.entreSection {
	width: 100%;
	height: auto;
	background-attachment:scroll;
	background-position:center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-bottom: solid 0.8rem var(--bleu);
}

.titreSection {
	text-align: center;
	margin-top: 2em;
	margin-bottom: 2em;
}


#entre_livre {
	background-image: url(../IMG/table_duel.jpg);
}

#entre_regle {
	background-image: url(../IMG/table_fond.jpg);
}

#entre_armee {
	background-image: url(../IMG/table_ogre.jpg);
}

#entre_event {
	background-image: url(../IMG/anim.gif);
}

article {
	padding: 2rem;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
/*
@media (orientation: landscape) {
	article, .titreSection {
		width: 60vw;
		min-width: 30rem;
		max-width: 100vw;
	}
}

@media not (orientation: landscape) {
	article, .titreSection {
		width: 90vw;
	}
}
*/
.article2Col {
	flex-wrap: nowrap;
}

@media screen and (orientation: landscape) {
	.article2Col {
		flex-direction: row;
	}
	#sousSectionA, #sousSectionB {
		width: 50%;
	}
	
}

@media screen and not (orientation: landscape) {
	.article2Col {
		flex-direction: column-reverse;
	}
	#sousSectionA, #sousSectionB {
		width: 100%;
	}
	
}
#sousSectionA {
	margin: 0 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#sousSectionB p {
	margin: 0;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#pres_livre {
	width: 100%;
	background-color: var(--noir);
}
.lfw_boite {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.boiteImg {
	margin: 0.5%;
	width: 13rem;
	cursor: pointer;
}

@media screen and not (orientation: landscape) {
	.boiteImg {
	width: 7rem;
}
}


/*-- Footer --*/
footer{
	width: 100%;
	min-height: 4vw;
	color:var(--blanc);
	margin: 0;
	bottom:0;
	background-color: var(--bleu-fonce);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.in_footer {
	width: 100%;
	max-width: 1112px;
}

@media screen and (orientation: landscape) {
	.in_footer {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		font-size: 1rem;
	}
	.foot_left, .foot_right {
		width: 50%;
	}
}

@media screen and not (orientation: landscape) {
	.in_footer {
		flex-direction: column;
		font-size: 1rem;
	}
	.foot_left, .foot_right {
		width: 100%;
	}
}

.foot_left {
	padding: 10px 0 10px 30px;
	display: block;
	float: left;
}

.foot_right {
	padding: 10px 30px 10px 0;
	display: block;
	float: right;
}

.foot_right a {
	float: right;
	/*background-color: var(--blanc);*/
	margin: 1rem;
	transition: 0.3s;
}

.foot_right a:hover, .foot_right img:hover {
	background-color: var(--or);
	border-radius: 1vw;
}

.foot_right img {
	/*background-color: var(--blanc);*/
	transition: 0.3s;
	width: 6rem;
	height: 6rem;
}

footer p {
	text-align: left;
}


/*-- Bouton cliquable --*/
.bouton {
    /*display: block;*/
	color: var(--blanc);
    text-align: center;
    cursor: pointer;
    border: none;
    width: 100%;
	height: 100%;
    padding: 0.5rem;
	background-color: var(--bleu);
	box-sizing: border-box;
	border-radius: 0.5rem;
    transition: all 0.3s;
}

.bouton p {
    text-decoration: none;
	margin: 0;
	/*padding: 0.2rem;*/
}

.bouton_lien {
	margin: 1rem;
	width: auto;
    min-width: 200px;
	box-sizing: border-box;
    text-decoration: none;
}

.bouton:hover {
    background-color: var(--bleu-clair);
	border-radius: 1.5rem;
}

/*-- Aside des règles --*/
aside {
	position: fixed;
	background-color: var(--fond);
	border: solid 20px transparent;
	border-image: url(../IMG/bordure1.png) 100 round;
	box-sizing: border-box;
	padding: 1rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

aside h2 {
	color: var(--noir);
	font-size: 2rem;
	width: 100%;
	border-left: none;
	border-bottom: 0.1rem solid var(--bleu);
	margin: 0;
	padding-left: 0;
	text-shadow: none;
}

aside p {
	width: 100%;
	margin-bottom: 0;
}

.fermer {
	font-size: 1rem;
	cursor: pointer;
	background-color: transparent;
	border: none;
	border: 0.1rem solid var(--rouge-sec);
	color: var(--rouge-sec);
	padding: 0.5rem;
	border-radius: 1rem;
}

.fermer:hover {
	background-color: var(--rouge-sec);
	color: var(--blanc);
}

@media screen and (orientation: landscape) {
	aside {
		right: 2rem;
		bottom: 2rem;
		width: 40vw;
		min-width: 300px;
		/*
		height: 20vw;
		min-height: 200px;
		*/
	}
}

@media screen and not (orientation: landscape) {
	aside {
		bottom: 0;
		width: 100vw;
		/*height: 20vw;*/
		min-height: 200px;
	}
}