/* ----------------------------- */
/* 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, menu {
  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;
}

/* ----------------------------- */
/* TYPOS
/* ----------------------------- */

@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
/* ----------------------------- */

body{
	font-family: 'Apfel Grotezk', Arial, sans-serif;
	font-size: 2rem; /* 1.6rem = 16px dans notre cas */
	line-height: 1;
  font-weight: normal;
  background-color: #f1f1f1;
}

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

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

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

.active:hover, .non-active:hover, menu a:hover{
  color: #d8d8d8;
}

.langue:focus{
  color: #d8d8d8;
}

.active:after{
  content: "/";
}


.searchbar input{
  border-radius: 1.25em;
  border: none;
}

.ouverture{
  color: #00CC66;
  padding: 0.2em 0 0.3em 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 7rem;
}

.date, .statut, .date-ouverture{
   padding: 0 0.5em;
   margin: 0.125em 0.5em;
  border: 0.0666em solid;
  border-radius: 1.25em;
}

main{
  margin: 0 1em;
}

main .messages p{
  width: 100%;
  display: block;
  flex-flow: column wrap;
  font-weight: bold;
  font-size: 6.5rem;
  border: 0.15em solid;
  padding: 0.3em;
  margin-bottom: 0.3em;
}

.le-matin{
  color: #9933FF;
}

.inscriptions, .entree-libre{
  color: #0066FF;
}

.messages a{
  text-decoration: underline;
}

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