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


body{
  font-family: 'Apfel Grotezk', 'Helvetica', Arial, sans-serif;
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: normal;
}

.ouverture,
.messages,
.evenement h2,
.evenement h3{
  font-size: 5.5rem;
  line-height: 1;
}

.searchbar input{
  font-size: 1.6rem;
}

.logo,
.ouverture,
.messages a{
  font-weight: bold;
}


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

body{
  background-color: #f9f8f6;
  color: #020202;
}

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

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

.logo{
  text-transform: uppercase;
}

header a:hover,
header a.active,
footer a:hover{
  color: #C6C6C6;
}

.searchbar form{
  display: flex;
  align-items: center;
}

.searchbar form::before{
  content: url('../images/loupe.svg');
  width: 0.8em;
  height: 0.8em;
  min-width: 0.8em;
  min-height: 0.8em;
  margin-right: 0.7em;
}

.searchbar input[type='search']{
  border: none;
  border-radius: 1em;
  padding: 0.3em 1em;
  max-width: 80%;
}

.searchbar input[type='search']::placeholder{
  font-family: 'Apfel Grotezk', 'Helvetica', Arial, sans-serif;
  color: #C6C6C6;
}

.langue a:first-child::after{
  content: ' / ';
  color: initial;
}

.ouverture{
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.pastille{
  border: 3px solid;
  color: #ff0067;
  padding: 0.05em 0.6em;
  border-radius: 1em;
  margin: 1rem;
}

.pastille.open{
  color: #00CC66;
}

.horloge{
  margin: 1rem;
  max-height: 66px;
  animation: tourner 3s linear infinite;
}

.horloge:hover{
  animation: tourner-agrandir 0.5s linear infinite;
}

@keyframes tourner{
  0%{ 
    transform: rotate(0);
  }
  100%{
    transform: rotate(360deg); 
  }
}

@keyframes tourner-agrandir{
  0%{ 
    transform: rotate(0);
  }
  50%{
    transform: rotate(180deg) scale(1.2) skew(10deg);
    filter: blur(5px);
  }
  100%{ 
    transform: rotate(360deg); 
  }
}

.messages{
  padding: 2rem;
  color: #9933FF;
}

.messages article{
  border: 0.8rem solid;
  padding: 1.4rem 2.2rem;
}

.messages article + article{
  margin-top: 2rem;
}

.messages article.visite{
  color: #0066FF;
}

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

.agenda{
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
}

.evenement{
  border-top: 1px solid;
  padding: 1.5rem 1rem 2rem 1rem;
  width: 50%;
}

.evenement .infos-pratiques{
  display: flex;
  margin-bottom: 1rem;
}

.evenement .infos-pratiques .tag{
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 1em;
}
.evenement .infos-pratiques .tag a{
  display: block;
  padding: 0.1em 0.5em 0 0.5em;
}

.evenement .infos-pratiques .dates{
  flex: 1;
  padding-top: 0.15em;
  margin: 0 2rem;
}

.evenement .infos-pratiques .dates::before{
  content: '✧ ';
}

.evenement h2{
  text-transform: uppercase;
}

.evenement figure{
  width: 80%;
  margin: 2rem auto 0 auto;
}

.evenement figure.portrait{
  width: 50%;
}

.evenement figure img{
  filter: grayscale(100%);
  border-radius: 4rem;
}

.evenement:hover,
.evenement:hover .tag:hover{
  color: #9933FF;
}

.evenement:hover .tag{
  color: initial;
}

.evenement:hover h2{
  font-weight: bold;
}

.evenement:hover img{
  filter: grayscale(0%);
}

footer{
  padding-top: 6rem;
  background-image: url('../images/etoiles.svg');
  background-repeat: repeat-x;
  background-size: 1.6rem;
}

.coordonnees{
  padding: 1em;
  display: flex;
}

.coordonnees > *{
  padding: 0.5em;
}

.coordonnees menu{
  min-width: 13em;
}

.logo-large{
  padding: 2rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18.5vw;
  display: flex;
  justify-content: space-between;
}


.cookies{
  position: fixed;
  bottom: 0;
  display: flex;
  padding: 1em 1.5em;
  border-top: 1px solid;
  background-color: inherit ;

}

.accept-cookies{
  border: 3px solid;
  color: #00CC66;
  border-radius: 2em;
   font-size: 0.7em;
   text-transform: uppercase;
}

.info-cookies{
  border: 3px solid;
  border-radius: 2em;
  font-size: 0.7em;
  text-transform: uppercase;
 
}

.boutons-cookies{
  display: flex;
  white-space: nowrap;
  align-items: baseline;

  }

.button{
  padding: 0.2rem 0.5rem ;
  margin: left;
  
  }

.article-expo .infos-pratiques .tag, 
.article-expo .infos-pratiques .bouton-retour{

 border: 3px solid;
 border-radius: 2em;
 margin: 2em;
 padding: 0.2em;
 text-transform: uppercase;
}

.infos-pratiques{

  padding: 0.05em 0.6em;
  
  margin: 1rem;
  display: flex;
  align-items: baseline;


}
 
 .dates {
  margin: 2em;
}

.article-expo h1, h2{
 
 font-size: 6em;
 text-transform: uppercase;
 text-align: center;
 width: 100%;
 font-weight: bold;
}

.chapeau{

  padding: 1.4rem 2.2rem;
  font-size: 3em;
   padding-bottom: 0.5em;
}

.commissariat{
 padding-bottom: 0.5em;
 } 

 .texte-principal{

  padding: 1.4rem 2.2rem;
  font-size: 1.5em;
 
}

.diaporama, figcaption{

 display: block;
 padding: 0 4em 2em;
 display: block;
} 

.diaporama figcaption{

font-size: 1em;
padding-top: 0.5em;
} 


.notes li{
display: inline-block;
padding: 1.4rem 2.2rem;
} 

.notes li::before{
content: "1";
margin-right: 7rem;
} 

.notes::after{
content:"↩" ;
} 



