/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
:root {
  --ratio: 1.6;
  --baseline: calc(var(--ratio) * 1rem);
  --negative-gap: calc((var(--baseline) * -1) + .25rem);
  --baselinex2: calc(var(--baseline) * 2);
  --baselinex3: calc(var(--baseline) * 3);
  --grid: calc(var(--baseline) / 2);
  --grid-quarter: calc(var(--baseline) / 4);
  --grid-eighth: calc(var(--baseline) / 8);
  --padding: 4vw;
  --half-padding: 2vw;
  --radius: var(--grid-quarter);

  --bg-color-clair: #eee;
  --bg-color-mid: #ddd;
  --bg-color-dark: #333;
  --main-txt-color: #666;
  --bg-link-color: #f3d6c0;
  --link-color-hover: #de6712;
  --link-color: #a41900;

  --font-body:"Literata", "Cambria", Georgia, "New Century Schoolbook", "Century Schoolbook L", "Times New Roman", serif;
  --font-headline:'Fredericka the Great', "Didot", "Bodoni MT", "Century Schoolbook", "Niagara Solid", Utopia, Georgia, "Times New Roman", Times, serif;
  --font-headline2:"Arima", "Estonia", Georgia, "Times New Roman", Times, serif;
  --font-hand:"Arima", "Estonia", Georgia, "Times New Roman", Times, serif;
}
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    height: 100%;
  }
  body {
    margin: 0;
	  padding: 0;
	  box-sizing: border-box;
  }
  article,
  aside,
  details,
  figcaption,
  figure,
  footer,
  header,
  hgroup,
  main,
  menu,
  nav,
  section,
  summary {
    display: block;
  }
  audio,
  canvas,
  progress,
  video {
    display: inline-block;
    vertical-align: baseline;
  }
  audio:not([controls]) {
    display: none;
    height: 0;
  }
  [hidden],
  template {
    display: none;
  }
  a {
    background-color: transparent;
  }
  a:active,
  a:hover {
    outline: 0;
  }
  abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
  }
  b,
  strong {
    font-weight: bold;
  }
  dfn {
    font-style: italic;
  }
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  mark {
    background: #ff0;
    color: #000;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sup {
    top: -0.5em;
  }
  sub {
    bottom: -0.25em;
  }
  img {
    border: 0;
  }
  svg:not(:root) {
    overflow: hidden;
  }
  figure {
    margin: 1em 40px;
  }
  hr {
    box-sizing: content-box;
    height: 0;
  }
  pre {
    overflow: auto;
  }
  code,
  kbd,
  pre,
  samp {
    font-family: monospace, monospace;
    font-size: 1em;
  }
  button,
  input,
  optgroup,
  select,
  textarea {
    color: inherit;
    font: inherit;
    margin: 0;
  }
  button {
    overflow: visible;
  }
  button,
  select {
    text-transform: none;
  }
  button,
  html input[type="button"],
  input[type="reset"],
  input[type="submit"] {
    appearance: button;
    -webkit-appearance: button;
    cursor: pointer;
  }
  button[disabled],
  html input[disabled] {
    cursor: default;
  }
  button::-moz-focus-inner,
  input::-moz-focus-inner {
    border: 0;
    padding: 0;
  }
  input {
    line-height: normal;
  }
  input[type="checkbox"],
  input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
  }
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  input[type="search"] {
    appearance: textfield;
    -webkit-appearance: textfield;
    box-sizing: content-box;
  }
  input[type="search"]::-webkit-search-cancel-button,
  input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
  }
  legend {
    border: 0;
    padding: 0;
  }
  textarea {
    overflow: auto;
  }
  optgroup {
    font-weight: bold;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  td,
  th {
    padding: 0;
  }
/*! fin normalize.css */


html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  body {
    font-family:var(--font-body);
    font-size: 1rem;
    line-height: var(--ratio);
    color: var(--main-txt-color);
    background:var(--bg-color-clair) url(/images/logo-fondu-bg.jpg);
    background-position:right -150px top 150px;
    background-repeat:no-repeat;
    background-attachment:fixed;
  }
  input,
  button,
  select,
  textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
  }
  a {
    color: var(--link-color);
    text-decoration:underline dotted;
  }
  a:hover,
  a:focus {
    color: var(--link-color-hover);
    text-decoration:underline dotted;
  }
  a:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }
  figure {
    margin: 0;
  }
  img {
    vertical-align: middle;
  }
  .img-responsive,
  .thumbnail > img,
  .thumbnail a > img,
  .carousel-inner > .item > img,
  .carousel-inner > .item > a > img,
  .thumbnail > img,
  .thumbnail a > img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  .img-rounded {
    border-radius: 0.42em;
  }
  .img-thumbnail {
    padding: 4px;
    line-height: 1.25;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.28em;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    height: auto;
  }
  .img-circle {
    border-radius: 50%;
  }
  hr {
    margin-top: 1em;
    margin-bottom: 1em;
    border: 0;
    border-top: 1px solid #eeeeee;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  .sr-only-focusable:active,
  .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }
  [role="button"] {
    cursor: pointer;
  }
  h1 {
    font-family:var(--font-headline);
  }
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family:var(--font-headline2);
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 500;
    line-height: 1.2;
    color:var(--bg-color-dark);
    margin:0;
  }
  h1 small,
  h2 small,
  h3 small,
  h4 small,
  h5 small,
  h6 small {
    font-weight: 400;
    line-height: 1;
    color: #777777;
  }
  h1,
  h2,
  h3 {
    padding-top: 1em;
    padding-bottom: 0.5em;
  }
  h1 small,
  h2 small,
  h3 small {
    font-size: 65%;
  }
  h4,
  h5,
  h6 {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  h4 small,
  h5 small,
  h6 small {
    font-size: 75%;
  }
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.625em;
  }
  h3 {
    font-size: 1.375em;
  }
  h4 {
    font-size: 1.125em;
  }
  h5 {
    font-size: 1em;
  }
  h6 {
    font-size: 0.85em;
  }
  #portfolio h1, #apropos h1, .intro h1, .intro h2 {
    background: linear-gradient(to left, var(--link-color-hover), var(--link-color), var(--bg-color-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width:fit-content;
  }
  .intro h1 {
    font-family:var(--font-headline2);
  }
  .intro h2 {
    padding-bottom:0;
  }
  p {
    margin: 0 0 0.5em;
  }
  ul, li{
    list-style-type: none;
    font-weight:normal;
  }
  hr{
    border:0;
    height:3px;
    background:url("../images/hr.png") no-repeat center;
    background-size:contain;
  }
  #apropos hr{
    flex-basis:100%;
  }
  

#navbar{
  background:url("../images/bg-navbar-h.png") repeat-x center bottom;
  padding-bottom:36px;
}
.navbar{
  padding: var(--padding) var(--padding) calc(var(--padding) + 25px);
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background: white;
}

.logo{
  display:block;
  width:50%;
  max-height:80%;
  z-index:2;
}
.logo img{
  width:100%;
}
.icon{
  fill: var(--main-txt-color);
  cursor: pointer;
  z-index:3;
  position: absolute;
  right:20px;
}
.icon:hover{
  fill: var(--link-color-hover);
}
#mentions{
  font-size: 80%;
  margin-top:var(--padding);
  margin-bottom:-2em;
}
#mentions hgroup label{
  display:flex;
  justify-content:flex-start;
  align-items: center;
}
#mentions hgroup h3{
  padding:.5em .5em .5em 0;
}
#chevron-clic{
  color: var(--link-color);
  cursor: pointer;
}
#chevron-clic:hover, #chevron-clic:focus, #chevron-clic:active{
  color: var(--link-color-hover);
}
.chevron-down, .chevron-up{
  width:26px;
  height:13px;
}
.chevron-down{
  background:url("../images/chevron-down.png") no-repeat center;
}
.chevron-down:hover, .chevron-down:focus, .chevron-down:active{
  background:url("../images/chevron-down-hover.png") no-repeat center;
}
.chevron-up{
  background:url("../images/chevron-up.png") no-repeat center;
}
.chevron-up:hover, .chevron-up:focus, .chevron-up:active{
  background:url("../images/chevron-up-hover.png") no-repeat center;
}
.navbar input, .nav-menu, .dropdown, #mentions input, #deroul-mentions{
  display: none;
}
[id^=btn]:checked + ul, [id^=btn-mentions]:checked + #deroul-mentions{
  display: block;
  margin-top:1em;
}
.cross rect {
  transition: all .2s ease-in-out;
}

.nav-menu{
  z-index:1;
  left: 0;
  right: 0;
  box-sizing: border-box;
  width:100%;
  padding:var(--padding) var(--padding) 0;
  margin:0;
  text-align: center;
}
.nav-item{
  font-size: 1.5em;
  margin:.5em auto;
}
.nav-item a:nth-of-type(1){
  padding-right:5%;
}
.nav-item a:only-of-type{
  padding:0;
}
.nav-item a:nth-of-type(2){
  padding-left:5%;
}
.nav-item .fa-brands{
  font-size:1.25rem;
}

#contenu{
  padding:var(--half-padding);
}
article{
  padding:var(--padding) var(--padding) 0;
  clear:both;
}
.intro{
  max-width:75ch;
  margin:0 auto;
}
.intro p{
  font-family:var(--font-headline2);
  text-align: center;
  margin:0 auto .5em;
  background: linear-gradient(to left, var(--link-color-hover), var(--link-color), var(--bg-color-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro h1, .intro h2{
  padding-bottom:1em;
  text-align:center;
  width:auto;
}
.intro h1{
  padding-top:0;
}
.intro h2{
  font-family:var(--font-headline);
  padding-top:1em;
}
article blockquote{
  font-family:var(--font-hand);
  background-color: white;
  padding:var(--grid);
}
article figcaption{
  text-align:right;
  margin-bottom:var(--half-padding);
  font-weight:lighter;
}
article figcaption::first-line{
  font-weight:normal;
}

#gallery, #portfolio, #apropos{
  display:flex;
  flex-flow:row wrap;
  align-items:stretch;
  max-width:1200px;
  margin:0 auto;
}

#portfolio{
  justify-content:right;
  width:100%;
}
#portfolio article, #apropos{
  position:relative;
  display: flex;
  flex-wrap:wrap;
  width:100%;
}
#apropos{
  justify-content:space-between;
}
#apropos article#contact{
  display:flex;
  flex-wrap:wrap;
}
#portfolio h1{
  padding-top:0;
}
#portfolio article .left-text{
  width:auto;
  margin-bottom:1em;
}
hgroup{
  width:100%;
}
hgroup + *{
  margin-top:1em;
}
.left-text h1{
  padding-bottom:.25em;
}
.left-text h3{
  padding-top:0;
}
#apropos article#contact .flex {
  display:flex;
  flex-wrap: wrap;
  gap:var(--half-padding);
  justify-content:flex-start;
}
.encart-coord{
  background-color:white;
  display:flex;
  text-align: center;
  justify-content: space-evenly;
  align-items:center;
  color:var(--main-txt-color);
  padding:var(--grid-quarter);
  flex-basis:100%;
}
.encart{
  background-color: white;
  display: block;
  width: 100%;
  color: var(--main-txt-color);
  padding: var(--grid-quarter);
  font-size: 80%;
}
.encart-coord img{
  display:none;
}

.left-text ul, .left-text li{
  list-style-type:disc;
}
.img-marge{
  float:left !important;
  max-width:50%;
  height: auto;
  max-height: 100%;
}
.right-images{
  display: flex;
  flex-wrap:wrap;
  gap: var(--padding);
}
.right-images img{
  max-width:100%;
}
.right-images img.img-web{
  max-height:none;
}

#gallery{
  justify-content:center;
  gap: var(--padding);
  padding:var(--half-padding);
}
#gallery article{
  padding:0;
}
#gallery .active{
  width: 100%;
  display: flex;
  flex-wrap:wrap;
  justify-content: center;
  align-items: center;
  transition: width .3s;
}

#gallery .inactive{
  display:none;
  width: 0;
  padding: 0;
  transition: width .3s;
}

#gallery article .boite{
  position:relative;
  box-sizing: border-box;
  padding:0;
  top:0;
  left:0;
  width:100%;
  height:100%;
  text-align:center;
  overflow: hidden;
  background-color:white;
}

#gallery article img{
  display:block;
  width:100%;
  height:100%;
  margin:auto;
  aspect-ratio:1 / 1;
  object-fit:cover;
}

#gallery article img.aligntop{
  object-position:center top;
}
#gallery article img.alignbottom{
  object-position:center bottom;
}

#gallery article:focus img, #gallery article:hover img{
  opacity:.3;
  transform: scale(1.8);
  filter: grayscale(100%);
  transition: all 1s ease-in-out;
  margin:auto;
  object-fit:cover;
}

#gallery article .tag{
  display:block;
  padding:var(--half-padding);
  box-sizing: border-box;
  position:absolute;
  width:100%;
  bottom:-200px;
}
#gallery article:focus .tag, #gallery article:hover .tag{
  display:block;
  padding:var(--half-padding);
  box-sizing: border-box;
  position:absolute;
  bottom:0;
  background-color:white;
  transition: all 1s ease-in-out;
}
#gallery article .filtre{
  display: block;
  transition: all 1s ease-in-out;
  box-sizing: border-box;
  position:absolute;
  width:100%;
  height:100%;
  margin:0;
  bottom:0;
  left:0;
  right:0;
}

#gallery article:focus .filtre, #gallery article:hover .filtre{
  padding:15px;
  border:12px white solid;
  box-shadow: 1px 1px white inset, -1px -1px white inset;
}
#gallery article[data-print]:focus .filtre, #gallery article[data-print]:hover .filtre{
  background-color:rgba(200, 80, 150, 0.5);
  border-color:rgba(200, 80, 150, 0.1);
}
#gallery article[data-mep]:focus .filtre, #gallery article[data-mep]:hover .filtre{
  background-color:rgba(80, 200, 80, 0.5);
  border-color:rgba(80, 200, 80, 0.1);
}
#gallery article[data-logo]:focus .filtre, #gallery article[data-logo]:hover .filtre{
  background-color:rgba(220, 110, 50, 0.5);
  border-color:rgba(220, 110, 50, 0.1);
}
#gallery article[data-illus]:focus .filtre, #gallery article[data-illus]:hover .filtre{
  background-color:rgba(220, 200, 30, 0.5);
  border-color:rgba(220, 200, 30, 0.1);
}
#gallery article[data-web]:focus .filtre, #gallery article[data-web]:hover .filtre{
  background-color:rgba(50, 160, 200, 0.5);
  border-color:rgba(50, 160, 200, 0.1);
}

#gallery article h4{
  text-align: left;
  opacity:1;
  margin:0;
  border-bottom: none;
  padding:0;
  margin-left:-100%;
}
#gallery article:focus h4, #gallery article:hover h4{
  margin-left:0;
  transition: all .5s ease-in-out;
  transition-delay: .5s;
}

#gallery article a{
  display:block;
  position:absolute;
  width:100%;
  height:100%;
  z-index: 200;
}

#filters{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: var(--half-padding) auto;
  font-family:var(--font-headline2);
}

.intro-gallery{
  display:none;
  transition: width .3s;
  font-family:var(--font-body);
  font-size: 80%;
  flex-basis:100%;
}
#intro-all, #logo.triactif ~ #intro-logo, #illus.triactif ~ #intro-illus, #mep.triactif ~ #intro-mep, #print.triactif ~ #intro-print, #web.triactif ~ #intro-web{
  display:flex;
  flex-flow: column nowrap;
  max-width:1200px;
  margin:var(--half-padding) auto 0;
  padding:0 var(--half-padding);
  transition: width .3s;
}
#logo.triactif ~ #intro-all, #illus.triactif ~ #intro-all, #mep.triactif ~ #intro-all, #print.triactif ~ #intro-all, #web.triactif ~ #intro-all{
  display:none;
  transition: width .3s;
}

.retour{
  text-align:left;
  position:relative;
  bottom:0;
  z-index:500;
}

.nav-item a.link-brush, #filters div, .retour a.link-brush, .intro a.link-brush{
  cursor: pointer;
  display:inline-block;
  box-sizing: border-box;
  min-width:6em;
  line-height:2em;
  text-align:center;
  font-family:var(--font-hand);
  font-weight: 300;
  color: var(--link-color);
  text-decoration: none;
  background-image:url("../images/brush-hover.png");
  background-repeat: no-repeat;
}
.nav-item a.link-brush, #filters div{
  background-position:-10% 0;
  background-size:0 100%;
}
#filters div{
  margin: 0 calc(var(--half-padding) / 2);
  font-size: 1.5em;
}
.retour a.link-brush, .intro a.link-brush{
  color:white;
  background-image:url("../images/brush.png");
  background-position:center center;
  background-size:contain;
}
.retour a.link-brush{
  margin:.5em 0;
  padding:10px;
  font-size: 1.5em;
  line-height:2em;
}
.intro a.link-brush{
  font-family:var(--font-headline);
  padding:.25em;
}
a#pageactuelle, #filters div:hover, #filters div:focus, #filters div:active, a.link-brush:hover, a.link-brush:focus, a.link-brush:active{
  color:white;
  text-shadow:2px 1px 2px var(--link-color-hover);
  background-image:url("../images/brush-hover.png");
  background-position:center center;
  background-size:contain;
  transition: all .5s ease-in-out;
  transition-property: background-image, background-position, background-size;
}
#filters div.triactif{
  color:white;
  text-shadow:2px 1px 2px var(--link-color-hover);
  text-decoration: none;
  background-image:url("../images/brush-hover.png");
  background-repeat: no-repeat;
  background-position:center center;
  background-size:contain;
}

@media screen and (min-width: 450px){

  #gallery .active{
    width:47%;
    max-width:290px;
  }

}

@media screen and (min-width: 768px){
  
  body {
    background-position:right top;
    background-size:60%;
  }
  #navbar{
    background:url("../images/bg-navbar.png") repeat-y right top;
    padding-bottom:0;
    padding-right:36px;
      display: block;
      box-sizing: border-box;
      position: fixed;
      width: 20rem;
      top: 0;
      left: 0;
      height: 100%;
  }
  .navbar{
    padding:var(--half-padding) calc(var(--half-padding) + 25px) var(--half-padding) var(--half-padding);
    background: white;
    height: 100%;
  justify-content:flex-start;
  }
  .logo, .nav-menu{
    display: flex;
    width: 100%;
    margin: 0 auto;
  }
  .logo img{
    margin: 0 auto;
  }
  .icon,.vide{
    display: none;
  }
  .nav-menu{
    display: inline-block;
    position: static;
    padding:20px;
  }
  .nav-item{
    display: block;
    position: relative;
  }
  .dropdown{
    padding-right: 40px;
    width: max-content;
  }

  #contenu{
    padding-left:20rem;
  }

  article{
    padding:var(--half-padding) var(--half-padding) 0;
  }
  #gallery{
    margin: 0 auto;
    padding:0;
    gap: var(--half-padding);
  }
  #gallery article{
    padding:0;
  }
  #gallery .active{
    width:45%;
    max-width:400px;
    max-height:400px;
    box-sizing: border-box;
  }
  #portfolio article .right-images{
    padding-bottom:var(--half-padding);
    gap: var(--half-padding);
  }
  .encart-coord{
    font-size:120%;
    flex-basis:auto;
    width: fit-content;
  }
  .encart-coord img{
    display:block;
    max-width:40%;
    object-fit:contain;
  }

}

@media screen and (min-width: 1200px){
  
  .logo img{
    margin: 0 auto;
    max-width:100%;
  }

  #gallery .active{
    width:30%;
    max-width:400px;
    max-height:400px;
    box-sizing: border-box;
  }
  
  #portfolio article{
    flex-wrap:nowrap;
  }
  
  #apropos article{
    width:40%;
  }
  #apropos article#contact, #apropos article#mentions {
    width:100%;
  }
  #apropos article#contact{
    justify-content:flex-start;
  }
  #apropos article#contact hgroup {
    align-self:stretch;
  }
  #apropos article#contact .flex {
    flex-wrap:nowrap;
  }
  #apropos article#contact .flex .encart-coord{
    flex:2 1 0;
  }
  #apropos article#contact .flex p{
    flex:1 1 0;
  }

  #portfolio article .left-text{
    width:22%;
    position:fixed;
    top:var(--padding);
    background-color: transparent;
  }
  .right-images{
    width:60%;
    margin-left:40%;
  }

}