@font-face{
	font-family: "CatchyMager";
  	src: url("../font/CatchyMagerRegular/CatchyMagerRegular.ttf");
}
@font-face{
	font-family: "CocoGothic-Bold_trial";
  	src: url("../font/coco-gothic/CocoGothic-Bold.ttf");
}
@font-face{
	font-family: "CocoGothic";
  	src: url("../font/coco-gothic/CocoGothicAlternate.ttf");
}
*{
  box-sizing: border-box;
}
body{
	margin: 0;
	height: 100%;
	overflow-x: hidden;
}
.container{
	box-sizing: border-box;
}
.container:not(:last-of-type){
	min-height: 100vh;
}
.container:not(header){
	padding: 30px 50px;
}
h1, h2, #container-contact article p{ 
	font-family: "CatchyMager";
	font-weight: normal;
}
h2{
	letter-spacing: 0.05em;
}
.container:not(header) h2{
	font-size: 4em;
	margin: 0 ;
	line-height: 1em;
}
a, a:active{
	cursor: pointer;
	text-decoration: none;
}
.editor{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column; 
} 

#card-contact aside, #container-notre_paroisse p{
	font-family: "CocoGothic", sans-serif;
	line-height: 1.5em;
	font-size: 1.4em;
}
header{
	background: url("../images/Maria-cathopictest1.jpg") no-repeat fixed;
	background-position-y: 40%;
	background-size: cover;
	text-align: center;
	position: relative;
	min-height: 100vh;
}
#header-card{
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	width: 100%;
    top: 63%;
    left: 50%;
    transform: translate(-50%,-50%);
}
header p, header h1, header h2{
	color: white;
}
header p:not(p#horaire){
	margin: 0 0 120px 0;
	letter-spacing: 0.7em;
	font-size: 1.1em;
	font-family: "CocoGothic-Bold_trial", sans-serif;
}
header h1{
	margin: 0;
	font-size: 4em;
	letter-spacing: 0.05em;
}
header h2{
	font-size: 2.6em;
	margin: 0 0 65px 0;
}
#div_horaire{
	overflow: hidden;
	box-sizing: border-box;
	background-color: rgb(255, 255, 255, 0.7);
}
a#horaire, label#horaire{
	display: block;
	text-align: center;
	padding: 10px 40px;
	width:100%;
	height:auto;
	font-family: "CocoGothic-Bold_trial", sans-serif;
	line-height: 1.5em;
	letter-spacing: 0.2em;
}
a#horaire{
	transition: all 0.3s;
}
label#horaire{
	margin:0;
}
#horaire, #horaire:active{
	color: black;
	font-size: 0.9em;
}
a#horaire:hover{
	transform: scale(1.05);
	transition: all 0.3s;
}
i.la-pen{
	position: absolute;
	font-size: 1.3em;
	cursor: pointer;
	color: grey;
}
i.la-pen:hover{
	font-size: 1.5em;
}
input[type="file"] {
  padding: 0px 10px 10px 10px;
}
input[type="file"]::file-selector-button {
  background: white;
  padding: 10px;
  border-radius: 5px;
}

#lien_facebook{
	position: absolute;
	right: 5%;
	bottom: 5%;
}
#lien_facebook, #lien_facebook:active{
	color: white;
}
#lien_facebook i:hover{
	box-shadow: rgba(255, 255, 255, 0.16) 0px 1px 4px;
	background: #315995;
	transition: 0.5s;
}
#lien_facebook i{
	display: block;
	font-size: 2.9em;
	padding: 10px;
	border-radius: 100px;
	background-color: #1A4789;
	transition: 0.5s;
}

#container-notre_paroisse{
	background-color: #8CAABB;
	color: white;
	display:flex;
	justify-content: space-between;
	align-items: flex-start;
}
#container-notre_paroisse article{
	width: 48%;
}
#container-notre_paroisse em{
	display: block;
	margin-top: 30px;
	font-style: normal;
}
#container-notre_paroisse p:first-of-type{
	text-align: center;
	margin: 80px 0 40px 0;
}
#img_paroisse{
	width: 40%;
}

#container-contact{
	background-color: #F1F2F0;
	color: #506E79;
}
#container-contact article p{
	font-size: 2.6em;
	letter-spacing: 0.01em;
	margin-top: 15px;
	line-height: 1em;
}
#card-contact{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
#card-contact div aside:not(:last-of-type){
	margin-bottom: 30px;
}
#card-contact div aside a{
	text-decoration: underline;
	color: #506E79;
}
#card-contact img{
	width: 40%;
}

#container-villages{
	background-color: #8CAABB;
	color: white;
}
#container-villages ul{
	font-size: 1.2em; 
	font-family: "CocoGothic", sans-serif;
	line-height: 1.5em;
	list-style-type: none;
	padding: 0;
}
#container-villages img{
	width: 30%;
	float: inline-end; 
}
#container-villages strong{
	font-size: 1em; 
}

/* adaptation smartphone format landscape et portait + format portrait en général*/
@media only screen and (min-device-width : 320px) and (max-device-width : 480px),(orientation: portrait) {
	.container:not(:last-of-type){
		height: auto;
	}
	.container:not(header){
		padding: 20px;
	}
	h2{
		width: 100%;
	}
	.container:not(header) h2{
		font-size: 2em;
	}
	#card-contact aside, #container-notre_paroisse p{
		line-height: 1em;
		font-size: 1em;
	}
	#header-card{
		top: 55%;
	}
	header h1{
		font-size: 1.5em;
		font-weight: bold;
	}
	header h2{
		font-size: 1.3em;
		font-weight: bold;
	}
	#horaire, #horaire:active{
		font-size: 0.8em;
	}

	#container-notre_paroisse{
		flex-direction : column;
	}
	#container-notre_paroisse article, #img_paroisse{
		width: 100%;
	}
	#container-notre_paroisse em{
		margin-bottom: 30px;
	}
	#container-notre_paroisse p:first-of-type{
		margin-top: 50px;
	}
	
	#container-contact article p{
		font-size: 1.5em;
		margin-top: 10px;
	}
	#container-contact article p br{
		display: none;
	}
	#card-contact{
		flex-direction: column;
	}
	#card-contact aside{
		line-height: 1.5em;
	}
	#card-contact img{
		margin-top : 30px;
		width: 100%;
	}

	#container-villages {
	  display: flex;
	  flex-direction: column;
	}
	#container-villages :nth-child(1) { order: 3; }
	#container-villages :nth-child(2) { order: 1; }
	#container-villages :nth-child(3) { order: 2; }
	
	#container-villages ul{
		font-size: 0.9em;
	}
	#container-villages li{
		margin-bottom: 10px;
	}
	#container-villages img{
		width: 100%;
		float: none;
	}
}

/* adaptation smartphone format portait*/
@media (orientation: portrait) {
	header{
		background: url("../images/Maria-cathopictest1.jpg") no-repeat center;
		background-size: auto 100vh;
		width : 100%:
	}
	header p{
		margin: 0 0 100px 0;
	}
	#lien_facebook{
		position: static;
		margin-top: 20px;
	}
	
}

/* adaptation smartphone format landscape*/
@media only screen and (max-device-width: 480px) and (orientation: landscape) {
    header{
		background: url("../images/Maria-cathopictest1.jpg") no-repeat center;
		background-size: 100% auto;
		width : 100%:
	}
	header p{
		margin: 0 0 50px 0;
	}
	header h2{
		margin: 0 0 40px 0;
	}
}

/* adaptation tablette format landscape */
/* @media only screen and (min-width: 768px) and (max-width: 1400px) and (orientation: landscape) { */
    /* .container:not(:last-of-type){ */
		/* height: auto; */
	/* } */
	/* .container:not(header){ */
		/* padding: 20px; */
	/* } */
	/* h2{ */
		/* width: 100%; */
	/* } */
	/* .container:not(header) h2{ */
		/* font-size: 2em; */
	/* } */
	/* #card-contact aside, #container-notre_paroisse p{ */
		/* line-height: 1em; */
		/* font-size: 1em; */
	/* } */
	/* #header-card{ */
		/* top: 55%; */
	/* } */
	/* header h1{ */
		/* font-size: 1.5em; */
		/* font-weight: bold; */
	/* } */
	/* header h2{ */
		/* font-size: 1.3em; */
		/* font-weight: bold; */
	/* } */
	/* #horaire, #horaire:active{ */
		/* font-size: 0.8em; */
	/* } */

	/* #container-notre_paroisse{ */
		/* flex-direction : column; */
	/* } */
	/* #container-notre_paroisse article, #img_paroisse{ */
		/* width: 100%; */
	/* } */
	/* #container-notre_paroisse em{ */
		/* margin-bottom: 30px; */
	/* } */
	/* #container-notre_paroisse p:first-of-type{ */
		/* margin-top: 50px; */
	/* } */
	
	/* #container-contact article p{ */
		/* font-size: 1.5em; */
		/* margin-top: 10px; */
	/* } */
	/* #container-contact article p br{ */
		/* display: none; */
	/* } */
	/* #card-contact{ */
		/* flex-direction: column; */
	/* } */
	/* #card-contact aside{ */
		/* line-height: 1.5em; */
	/* } */
	/* #card-contact img{ */
		/* margin-top : 30px; */
		/* width: 100%; */
	/* } */

	/* #container-villages { */
	  /* display: flex; */
	  /* flex-direction: column; */
	/* } */
	/* #container-villages :nth-child(1) { order: 3; } */
	/* #container-villages :nth-child(2) { order: 1; } */
	/* #container-villages :nth-child(3) { order: 2; } */
	
	/* #container-villages ul{ */
		/* font-size: 0.9em; */
	/* } */
	/* #container-villages li{ */
		/* margin-bottom: 10px; */
	/* } */
	/* #container-villages img{ */
		/* width: 100%; */
		/* float: none; */
	/* } */
/* } */

#editeur {
	width: 500px;
	height: 200px; 
	border: 1px solid black;
	padding: 5px; 
	overflow: auto; 
}