/* ----------------------------- */
/* 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;
}

/* ----------------------------- */
/* TYPO
/* introduire le fichier typo au site
/* ----------------------------- */

@font-face {
  font-family: 'AUTHENTIC Sans';
  src: url('../fonts/AUTHENTICSans-90.woff2')format('woff2'),
      url('../fonts/AUTHENTICSans-90.woff')format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AUTHENTIC Sans';
  src: url('../fonts/AUTHENTICSans-60.woff2') format('woff2'),
      url('../fonts/AUTHENTICSans-60.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------- */
/* DESIGN GENERAL
/* ----------------------------- */

body{ /*corps de la page*/
  font-family: 'AUTHENTIC Sans', 'Bayon', Arial, sans-serif;
	font-size: 1.4rem; /* 1.6rem = 16px dans notre cas */
	line-height: 1.2;
  background: #f1f1f1;
}

header {
  padding-top: 1.6rem;

}

header menu{ /*on appelle le menu placé dans le header */
  display: flex; /* contenu du menu peut bouger*/
  justify-content: center; /* on le place au centre*/
  margin: 2rem auto;

}

header menu a{
  display: block; /* séparer en block  */
  background-color: #d6d6d6;
  text-transform: uppercase; /* capitale*/
  padding: 0.7em 1em 0.6em 1em;
  letter-spacing: 0.04em;
  margin: 0 0.15em;
  border-radius: 2em; /* bords arrondis*/
  transition: all 0.5s ease/* all=toutes les fonctions*/ /*  ou sinon en 1e place=propriété séléctionnée, ex 'color' dans le bloc hover*/ ;
}

header menu a:hover{ /* informations qui ne consernent que les données du menu*/
  background-color: #fff;
  color: #711bff;
  font-size: 30px;
}

.projets-enavant figure{ 
  margin: 0 auto;
  max-width: 90rem;
  font-size: 1rem;
  text-align: center;

}

.projets-enavant figcaption{
  margin-top: 1rem;
  max-width: 80rem;
  text-align: center;

}

.projets-enavant video{
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 0 18px -3px rgba(0, 0, 0, .42); /*ombre portée à 42% d'opacité*/
  margin: 1rem auto;
}


.dates-projet {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.7em 1em 0.6em 0em;
}


main figure .lien-projet a {
  color: blue;
  font-size: 1.5rem;
  letter-spacing: 0.rem;
}


.texte-projet {
  font-size: 2rem;
  letter-spacing: 0.1em ;
  margin: 2rem ;
  line-height: 1.7;
}


.credits-projet {
  font-size: 1.3rem;
  letter-spacing: 0.2em ;
  text-transform: uppercase ;
  margin: 1rem auto;
}


.description-projet{
  font-size: 1.6rem;
  
}


.articlesa{
  display: flex;
  align-content: center;
}


.articlesb{
  display: flex;
  align-content: center;
}


.img-projets img{
  object-fit: cover;
  max-width: 100%;
  aspect-ratio: calc(16/9);
  border-radius: 0.6rem;
  margin: 2rem 2 2 2rem;
  

}


.liste-projets{
  padding: 0.2rem;
  max-width: 100%;
  text-align: left;

}


.bloc{
  margin: 3rem;
}