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

@font-face {
  font-family: 'ApfelGrotezk';
  scr: url('../typo/ApfelGrotezk-Brukt.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ApfelGrotezk';
  scr: url('../typo/ApfelGrotezk-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sprat';
  scr: url('../typo/Sprat-ExtendedLight.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



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


body{
  font-family: 'Sprat', 'Arial', sans-serif;
  font-size: 2rem; /* 1.4rem = 14px dans notre cas */
  line-height: 1;
  font-weight: normal;
  background: whitesmoke;
}

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

}

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

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

header section a{
  color: black;
}

.menu-principal a:hover{
  color: white;
}

.langue::after {
  content: "Fr";
  color: green;
}

.langue::after {
  content: "En";
  color: red;
}

.ouverture{
  display: flex;
  justify-content: center;
  width: auto;
}


.ouverture li{
  display: block;
  font-size: 4.5rem;
  color: lightgreen;
  padding: 0.1em 0.5em 0 0.5em;
  background-color: white;
  margin: 0 0.15em;
  border-radius: 2em;
  margin-top: 1rem;
  margin-bottom: 0.2rem;
  border: solid;
  border-color: lightgreen;
}

.messages{
  margin: 1rem;
}

.messages div{
  display: block;
  font-size: 4rem;
  color: mediumpurple;
  padding: 0.5em 1em 0.3em 1em;
  background-color: white;
  margin: 4em 0.15em;
  margin-top: 5rem;
  margin-bottom: 2rem;
  border: 1rem solid;
  border-color: mediumpurple;
}

.messages a{
  text-decoration: underline mediumpurple ;
  text-transform: inherit;
  transition: all 0.3s ease;
}

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