/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* GLOBAL */
@font-face {
  font-family: "haptik";
  src: url("font/GT-Haptik-Regular.woff") format("woff"),
  url("font/GT-Haptik-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "haptik";
  src: url("font/GT-Haptik-Regular-Oblique.woff") format("woff"),
  url("font/GT-Haptik-Regular-Oblique.woff2") format("woff2");
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: "super";
  src: url("font/GT-Super-Display-Bold.woff") format("woff"),
  url("font/GT-Super-Display-Bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
}

  *{
    font-family: 'haptik';
  }

  body, html{
    width: 100vw;
    overflow-x: hidden;
  }

  a, a:visited, a:active, a:focus{
    color: #fff;
    text-decoration: none;
    font-style: italic;
    transition: all .3s ease-out;
  }

  a:hover{
    color: #618962;
    transition: all .3s ease-out;
  }

  a:hover svg path{
    fill: #618962; 
    transition: all .3s ease-out;
  }
  svg path{
    transition: all .3s ease-out;
  }

  .youtube-link{
    transition: all .3s ease-out;
  }
  .youtube-link:hover{
    color: #618962;
    transition: all .3s ease-out;
  }
  .youtube-link p{
    transition: all .3s ease-out;
  }
  .youtube-link:hover p{
    color: #618962;
    transition: all .3s ease-out;
  }

  h3 p{
    font-family: 'super';
    font-size: 40px;
    line-height: 48px;
  }

  p, li{
    font-size: 18px;
    line-height: 24px;
    color: #fff;
  }

  body{
    background: #96C997;
  }

  #home header{
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .containernav{
    padding-top: 50px;
  }
  .containerheadertxt{
    padding-bottom: 200px;
  }
  .headerbottom{
    padding-bottom: 40px;
  }

  .grid-x{
    margin: 0 10vw;
  }

  header nav ul{
    display: flex;
    justify-content: right;
  }

  header nav ul li{
    list-style-type: none;
    display: inline-block;
    text-align: right;
    margin-left: 35px;
    position: relative;
  }

  header nav ul li img{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -7px;
  }
  header nav ul li:first-child img{
    width: 80%;
    left: 10%;
  }

  header nav ul li:nth-child(2) img {
    width: 40%;
    left: 74%;
}

  #home header #illu{
    position: absolute;
    width: 110%;
    bottom: 85px;
    left: -10%;
    z-index: -1;
  }

  #home header #soleil{
    top: 10%;
    left: 25%;
    position: absolute;
    width: 460px;
    height: 460px;
    background: radial-gradient(#fff589c6 5%, #fff58900 70%);
    z-index: -2;
  }

  #home header #ecoutez{
    position: relative;
    cursor: pointer;
  }
  #home header #ecoutez p{
    transition: all .3s ease-out;
  }
  #home header #ecoutez:hover p{
    color: #618962;
    transition: all .3s ease-out;
  }

  #face{
    display: flex;
    justify-content: right;
  }

  #home header #ecoutez img{
    width: 65px;
    position: absolute;
    bottom: 5px;
  }

  #home header .headerbottom{
    bottom: 70px;
  }

  #home #intro{
    margin-bottom: 120px;
  }

  #home #intro .grid-x{
    margin: 0 10vw;
  }

  #home #intro .introtitle{
    margin-top: 100px;
  }

  #home #intro .introtitle p, #philosophie .containerheadertxt .introtitle p{
    font-size: 108px;
    line-height: 120px;
    font-family: 'super';
  }

  #home #intro .introtxt{
    margin-top: 90px;
    margin-bottom: 90px;
  }

  #home #intro .lieninterview{
    display: flex;
    justify-content: right;
    margin-top: 95px;
  }

  #home #intro .lieninterview p{
    transform: rotate(-90deg);
    transform-origin: right top;
    margin-right: 20px;
    font-style: italic;
    cursor: pointer;
  }

  #home #intro #clement{
    height: fit-content;
  }

  #home .liens{
    position: relative;
  }
  #home .liens .lien img{
    position: absolute;
    z-index: -1;
  }
  #home .liens .lien{
    height: fit-content;
  }
  #home .liens div{
    position: relative;
  }
  #home .lien2{
    margin-top: 20%;
    cursor: pointer;
  }
  #home .lien2 img{
    width: 100px;
    top: -10px;
    left: -15px;
  }
  #home .lien3{
    margin-top: 10%;
  }
  #home .lien3 img{
    width: 80px;
    top: 25px;
    left: -5px;
  }
  #home .lien4{
    margin-top: 5%;
    display: flex;
    justify-content: right;
  }
  #home .lien4 img{
    width: 80px;
    top: 25px;
    right: 10px;
  }
  #home .lien5{
    margin-top: 25%;
    display: flex;
    justify-content: right;
  }
  #home .lien5 img{
    width: 40px;
    top: 25px;
    right: -10px;
  }
  #home .lien6{
    position: absolute !important;
    bottom: 10px;
    left: 10%;
  }
  #home .lien6 img {
    width: 80px;
    top: 20px;
    left: -5px;
}
  
  #home #clement img{
    padding: 0 12%;
  }

  #home #quote{
    margin: 120px 0;
  }

  #home #quote .grid-x{
    margin: 0 10vw;
    justify-content: center;
  }

  #home #quote h2{
    font-size: 80px;
    line-height: 110px;
    font-family: 'super';
    color: #fff;
  }
  #home #quote h2 span{
    font-family: 'super';
    position: relative;
    justify-content: center;
    align-items: center;
  }

  #home #quote h2 span img{
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
    transform: scale(1.2);
  }
  #home #quote h2 .simple img{
    bottom: -9px;
    left:4px;
  }
  #home #quote h2 .bien img{
    position: absolute;
    width: 25%;
    bottom: -20px;
    left: 85%;
  }
  #home #quote h2 .empath img{
    position: absolute;
    width: 80%;
    bottom: -20px;
    left: 0;
  }

  #home #bgimage1{
    height: 500px;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 120px;
  }

  #home #bgimage1 img{
    width: 100%;
  }

  #home #events{
    margin-bottom: 200px;
  }

  #home #events .grid-x{
    margin: 0 10vw;
  }

  #home #events .sectiontitle{
    margin-bottom: 80px;
  }

  #home #events .eventinfo{
    border-left: 1px solid #fff;
    padding: 25px 50px 50px 25px;
  }

  #home #injustice{
    margin-bottom: 200px;
  }

  #home #injustice .grid-x{
    margin: 0 10vw;
  }

  #home #injustice .injusticetitle{
    margin-bottom: 50px;
  }

  #home #injustice .injusticetext{
    padding-right: 50px;
  }

  #call{
    padding: 80px 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  #call .grid-x{
    margin: 0 10vw;
  }

  #call .mot{
    height: fit-content;
  }

  #call .mot p{
    background: #96C997;
    border-radius: 50px;
    display: inline;
    padding: 5px 7px;
    font-style: italic;
    cursor: pointer;
    letter-spacing: -0.5px;
  }

  #call .motprecision p{
    background: #96C997;
    border-radius: 20px;
    padding: 15px 20px;
  }

  #mainsensemble{
    margin-top: 100px;
  } 

  #call .mottexte{
    margin-top: 150px;
  }

  #call h3 a{
    font-family: 'super';
    font-style: normal;
    text-decoration: underline;
  }

  footer{
    padding: 100px 0;
  }

  footer .grid-x{
    margin: 0 10vw;
  }

  footer .bottomfooter{
    margin-top: 100px;
  }

  #philosophie .containerheadertxt .introtitle{
    margin-top: 90px;
    margin-bottom: 50px;
  }

  #philosophie .containerheadertxt {
    padding-bottom: 100px;
  }

  #philosophie #idee{
    margin-top: 100px;
    margin-bottom: 100px;
  }

  #philosophie #idee h3{
    margin-bottom: 50px;
  }

  /* ==========================================================================
    Queries
   ========================================================================== */

  /* IPAD Portrait and Landscape */
  @media screen and (min-device-width: 2000px), (min-width: 2000px) {
    body{
      margin: 0 20vw;
    }
  }

  /* IPAD Portrait and Landscape */
@media screen and (min-device-width: 640px) and (max-device-width: 1023px),
(min-width: 640px) and (max-width: 1023px) {
  p, li{
    font-size: 16px;
    line-height: 22px;
  }
  #home header #illu {
    width: 140%;
    bottom: 25%;
    left: -40%;
  }
  #home #clement img {
    padding: 0;
  }
  #home #quote h2 {
    font-size: 50px;
    line-height: 70px;
  }
  #home #injustice .injusticequote{
    margin-top: 50px;
  }
}

 /* Iphone Portrait and Landscape */
 @media screen and (max-device-width: 640px), (max-width: 640px) {
  p, li{
    font-size: 16px;
    line-height: 22px;
  }
  header .containernav {
    padding-top: 25px;
  }
  #home header #illu {
    width: 140%;
    bottom: 15%;
    left: -40%;
  }
  #home #clement img {
    padding: 0;
  }
  #home #quote h2 {
    font-size: 25px;
    line-height: 40px;
  }
  #home #injustice .injusticequote{
    margin-top: 50px;
  }
  header nav ul {
    justify-content: left;
    margin-top:25px;
    margin-left: 0;
  }
  header nav ul li {
    text-align: left;
    margin-right: 19px;
    margin-left: 0;
  }
  #home #intro .introtitle p {
  font-size: 70px;
  line-height: 80px;
}
#home #intro .introtxt {
  margin-top: 50px;
  margin-bottom: 20px;
}
#home #intro .lieninterview {
  margin-top: 15px;
  margin-bottom: 50px;
}
#home #intro .lieninterview p {
  transform: rotate(0);
}
#home .lien2{
  margin-bottom: 20px;
}
#home #quote h2 span img {
  bottom: -6px;
}
#home #quote h2 .bien img {
  bottom: -10px;
}
#home #quote h2 .empath img {
  bottom: -8px;
}
#home #quote h2 .simple img {
  bottom: -2px;
}
#home #quote {
  margin: 15px 0;
}
#home #bgimage1 {
  margin-bottom: 0;
}
#home #events .sectiontitle {
  margin-bottom: 50px;
}
#home #events {
  margin-bottom: 100px;
}
#home #injustice {
  margin-bottom: 150px;
}
#mainsensemble {
  margin: 80px 0;
}
h3 p {
  font-size: 23px;
  line-height: 33px;
}
footer #logo{
  margin-bottom: 50px;
}
footer .bottomfooter {
  margin-top: 50px;
}
footer {
  padding: 80px 0;
}
#philosophie .containerheadertxt .introtitle p {
  font-size: 50px;
  line-height: 70px;
}
#philosophie .containerheadertxt .introtitle {
  margin-top: 70px;
  margin-bottom: 0px;
}
 }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

