/* ----------------------------- */
/* 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','Helvetica', Arial, sans-serif;
	font-size: 1.4rem; /* 1.6rem = 16px dans notre cas */
	line-height: 1;
}

header{
  padding-top: 1rem;
}

header .menu-principal{
  padding: 1em;
  display: flex;
  font-size: 1.8rem;
  font-weight: normal;
  line-height: 2rem;
}

.searchbar input{
  border-radius: 1em;
  color: white;
  border: none;
}

.menu-principal > *{
  width: calc(100%/6);
  
}

header .logo{
  text-transform: uppercase;
  font-weight: bold;
}

body{
  background-color: #f9f8f6;
}

header a:hover{
  color: #C6C6C6;
}

.active:after{
  content: "/";
}

.ouverture{
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  padding-bottom: 2em;
  padding-top:1.5em;
}

.ouverture p{
  margin: .125em .5em;
  color: #00CC66;
  line-height: 1.25em;
  border: 0.0666em solid;
  padding: .0 0.5em;
  border-radius: 1.25em;
  font-size: 5rem;
}

.ouverture p{
  color: #00CC66;
}
main{
  margin: 0 1em;
}

.messages a{
  text-decoration: underline;
}

.messages a:hover{
  text-decoration: none;
}

.messages p{
    display: block;
    font-size: 5.5rem;
    flex-flow: column wrap;
    font-weight: bold;
    border: 0.15em solid;
    padding: 0.4em 0.5em;
    margin-bottom: 0.5em;
}


.bachmann{
  color: #9933FF;
}

.exposamedi , .expodimanche{
  color: #0066FF;
}