@font-face {
    font-family: 'AdobeGaramondProBold';
    src: url('fonts/AGaramondPro-Bold.eot');
    src: url('fonts/AGaramondPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/AGaramondPro-Bold.woff2') format('woff2'),
        url('fonts/AGaramondPro-Bold.woff') format('woff'),
        url('fonts/AGaramondPro-Bold.ttf') format('truetype'),
        url('fonts/AGaramondPro-Bold.svg#AGaramondPro-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arial Narrow';
    src: url('fonts/arial_narrow-webfont.woff2') format('woff2'),
         url('fonts/arial_narrow-webfont.woff') format('woff'),
		 url('fonts/arial_narrow-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
  margin : 0px;
  padding : 0px;
}

header {
  height: 95px;
  color: white;
  background-color: #1d3c34;
  font: 3em 'AdobeGaramondProBold', sans-serif;
  text-align: left;
  padding-top: 6px;
  padding-left : 10%;
}

footer{
	height: 50px;
}

#logo {
	height: 85px;
}

#fullwidth, #entete {
	width: 100%;
	display: flex;
	text-align: center;
}

#entete {
	margin : 30px 0px;
	color: #1d3c34;
	font: 1.5em 'AdobeGaramondProBold', sans-serif;
	justify-content: center;
}

p {
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
}

#fullwidth {
	justify-content: space-evenly;
	font-size: 1.2em;
}

.half {
	width: 40%;
	text-align: center;
	margin-top: 5px;
	color: #ef6079;
	font: 1.3em 'AdobeGaramondProBold', sans-serif; /*  */ 
}

.buttoncontainer {
	width : 100%;
	display : flex;
	justify-content : space-evenly;
	flex-wrap: wrap;
	font : 1em 'Arial Narrow', sans-serif;
}

div {
	width : 40%;
	min-height : 280px;
}

.boutonmodule, .boutonmodule2 {
	width : 100%;
	margin-top: 8px;
	min-height: 40px;
	-webkit-transition: all 0.2s ease; /* Safari et Chrome */
	-moz-transition: all 0.2s ease; /* Firefox */
	-ms-transition: all 0.2s ease; /* Internet Explorer 9 */
	-o-transition: all 0.2s ease; /* Opera */
	transition: all 0.2s ease;
}

div a:hover > .boutonmodule { /* L'image se transforme au survol du lien) */
	outline: 5px solid #ef6079;
	outline-offset: -5px;
	opacity:0.8;
    -webkit-transform: scale(0.95);
	-moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
	-o-transform: scale(0.95);
    transform: scale(0.95);
}

div a:hover > .boutonmodule2 { /* L'image se transforme au survol du lien) */
	outline: 5px solid #1d3c34;
	outline-offset: -5px;
	opacity:0.8;
    -webkit-transform: scale(0.95);
	-moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
	-o-transform: scale(0.95);
    transform: scale(0.95);
}

a {
	color: #1d3c34;
	font-size: 0.7em;
	line-height: 0.95;
	text-decoration: none;
	vertical-align: top;
}

a:hover {
	color: #ef6079;
	text-decoration: underline;
}

/* Séparation des 2 groupes de modules si orientation portrait */
@media (orientation: portrait) {
  #entete{
	margin: 30px 0px 0px 0px;
  }
  
  .half{
	  padding-top: 30px;
  }
  
}


/* Medium devices (tablets, 1024px and less) */
@media screen and (max-width: 1024px) {
	header {
  height: 80px;
  color: white;
  background-color: #1d3c34;
  text-align: center;
  padding-left : 0px;
}
#fullwidth, #entete {
	font-size : 1.3em;
	flex-direction: column;
	align-items: center;
}

.half {
	width: 80%;
}

#entete {
	margin : 10px 0px;
}

div {
	min-height: 50px;
}

.boutonmodule, .boutonmodule2 {
	margin-top: 6px;
	min-height: 30px;
	width: 90%;
}

a {
	font-size: 0.7em;
}

} 

/* Small devices (phones, 480px and less) */
@media screen and (max-width: 480px) {
header {
  height: 80px;
  color: white;
  background-color: #1d3c34;
  text-align: center;
}

#entete {
	font-size : 1.3em;
	margin: 30px 0px 0px 0px;
}

#fullwidth {
	font-size : 1.1em;
}

.half{
	padding-top: 30px;
  }

div {
	width: 100%;
}

.boutonmodule, .boutonmodule2 {
	width: 68%;
}

a {
	font-size: 0.7em;
}

} 