/* ----------------------------- */
/* RESET
/* ----------------------------- */

@charset "UTF-8";
html {
  /* on s'arrange pour que 1rem soit égal à 10px */
  font-size: 62.5%;
  /* IE9-IE11 */
  font-size: calc(1em * 0.625);
}

/* la suite du reset permet d'enlever les marges par défaut créées par les navigateurs */
/* et de donner un comportement plus intuitif aux principaux éléments */

html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img{
  max-width: 100%;
  height: auto;
}
a{
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, h4, h5{
  font-weight: normal;
}
*[role='button']{
	cursor: pointer;
	user-select: none;
}

/* ----------------------------- */
/* TYPO
/* ----------------------------- */

@font-face {
  font-family: "Apfel Grotezk";
  src: url("../fonts/ApfelGrotezk-Regular.woff2") format("woff2");
  font-weight:normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Apfel Grotezk";
  src: url("../fonts/ApfelGrotezk-Brukt.woff2") format("woff2");
  font-weight:bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Necto Mono";
  src: url("../fonts/NectoMono-Regular.woff2") format("woff2");
  font-weight:normal;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------- */
/* DESIGN GENERAL
/* ----------------------------- */

/* Commentaire */

body{
	font-family: 'Apfel Grotezk', 'Helvetica', Arial, sans-serif;
	font-size: 1.8rem;
	line-height: 1;
  font-weight: normal;
  background: #f9f8f6;
}

header, section{
  padding: 0;
}

header .menu-principal{
  padding: 1em;
  display: flex;
}

.menu-principal > *{
  width: calc(100% /6);
  padding: 0.5em;
}

header .logo{
  text-transform: uppercase;
  font-weight: bold;
}

h1{
  font-size: 5rem;
  font-weight: bold;
  color: #CC7231;
  /* width: 400px; */
  /* width: 40rem; */
  width: 50%;
  height: 30rem;
  border: 3px solid #ff0000;
  padding: 3rem;
  /* margin: 4rem 2rem 6rem 10rem; */
  margin-top: 4rem;
  margin-right: 2rem;
  margin-bottom: 6rem;
  margin-left: 10rem;
}

#texte-introduction{
  border-top: 3px solid;
  border-bottom: 3px solid;
}

#texte-introduction p{
  font-size: 3rem;
  text-transform: uppercase;
}

#texte-introduction p + p{
  margin-top: 0.6rem;
}

.items{
  background-color: #e9F5DD;
}

.items h2{
  font-size: 5rem;
  margin-bottom: 0.5em;
}

.item figure{
  margin-bottom: 3.5rem;
}

.item figcaption{
  font-size: 1.3rem;
  margin-top: 1em;
  text-align: center;
}

.item p + p{
  margin-top: 1em;
}

/* HEADER */

.menu-principal li a:hover,
.langue a:first-child,
.langue a:hover{
  color: #C6C6C6;
}

.menu-principal menu{
  list-style: none;
}

.menu-principal menu a{
  font-size: 1.9rem;
  line-height: 1.2;
}

.search-bar input{
  border: none;
}

.langue a:active{
  color: #C6C6C6;
}

.langue a:first-child::after{
  content: " / ";
  color: black;
}

.ouverture{
  display: flex;
  justify-content: space-between;
  color: #00CC66;
  padding-top: 2.2rem;
}

.ouverture div span{
  margin: 0.125em 0.5em;
  line-height: 1.25em;
  border: 0.0666em solid;
  padding: .0 0.5em;
  border-radius: 1.25em;
}

.ouverture div span,
.messages{
  font-weight: bold;
  font-size: 6.9rem;
}

/* MESSAGES */

.messages{
  padding: 1.8rem;
}

.messages p{
  font-size: 5.5rem;
  padding: 0.4em 0.5em;
  margin: 1.7rem auto;
}

.messages p.violet{
  border: 10px solid #9933FF;
  color: #9933FF;
}

.messages p.bleu{
  border: 10px solid #0066FF;
  color: #0066FF;
}

.messages p a{
  font-style: italic;
  text-decoration: underline;
}

.messages p a:hover{
  text-decoration: none;
}