@charset "UTF-8";

/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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.
 */

html {
  color: #222;
  font-size: 1em; /* 16px */
  height: 100%;
  line-height: 1.375rem /* 1.375rem = 22px */;
}


::-moz-selection { /* Code for Firefox */
  color: white;
  background-color: #FFC46D;
}

::selection {
  color: white;
  background-color: #FFC46D;
}

/* Make selected text gold on a red background */
::selection {
  color: white;
  background-color: #FFC46D;
}

/* Make selected text in a paragraph white on a blue background */
p::selection {
  color: white;
  background-color: #FFC46D;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

.circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #FFC46D;
  opacity: 1;
  pointer-events: none;
  z-index: 99999;
  transition: all 0.2s ease;
}

@media screen and (max-width: 1000px) {

  .circle{
    display: none;
  }

  .row2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 30px;
    width: 82vw;
  }
}

a{
  cursor: url("https://1.bp.blogspot.com/-NmbnDADABUE/XSfhUk_X2yI/AAAAAAAAFFw/5Tp7zt_8erg2AJ-aQ1VhYdH_l4nTReY7wCLcBGAs/s1600/cursor.png"), auto;
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
}


a:hover{
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  cursor: url("https://1.bp.blogspot.com/-NmbnDADABUE/XSfhUk_X2yI/AAAAAAAAFFw/5Tp7zt_8erg2AJ-aQ1VhYdH_l4nTReY7wCLcBGAs/s1600/cursor.png"), auto;
}

a:visited{
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  cursor: url("https://1.bp.blogspot.com/-NmbnDADABUE/XSfhUk_X2yI/AAAAAAAAFFw/5Tp7zt_8erg2AJ-aQ1VhYdH_l4nTReY7wCLcBGAs/s1600/cursor.png"), auto;
}

button{
  cursor: url("https://1.bp.blogspot.com/-NmbnDADABUE/XSfhUk_X2yI/AAAAAAAAFFw/5Tp7zt_8erg2AJ-aQ1VhYdH_l4nTReY7wCLcBGAs/s1600/cursor.png"), auto;

}
button:hover{
  cursor: url("https://1.bp.blogspot.com/-NmbnDADABUE/XSfhUk_X2yI/AAAAAAAAFFw/5Tp7zt_8erg2AJ-aQ1VhYdH_l4nTReY7wCLcBGAs/s1600/cursor.png"), auto;

}

body {
  max-width: 100vw;
  overflow-x : hidden;
  cursor: url("https://1.bp.blogspot.com/-NmbnDADABUE/XSfhUk_X2yI/AAAAAAAAFFw/5Tp7zt_8erg2AJ-aQ1VhYdH_l4nTReY7wCLcBGAs/s1600/cursor.png"), auto;
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  min-height: 100vh; /* la hauteur de body est forcée au minimum à celle du viewport, corrige les problèmes d'affichage de background si appliqué à body */
  
  /**
    * Gestion de l'optimisation des polices par le moteur de rendu
    *  auto : laisse le moteur de rendu déterminer la meilleure méthode
    *  optimizeLegibility : activation du crénage et des ligatures - affecte les performances d'affichage de la page et accentue l'effet FOUT, à n'utiliser que pour les textes courts < 1000 mots
    *  optimizeSpeed : désactivation du crénage et des ligatures - accélère la vitesse de rendu de la page au détriment de la lisibilité
    *  geometricPrecision : 
    * https://developer.mozilla.org/fr/docs/Web/CSS/text-rendering
    * https://css-tricks.com/almanac/properties/t/text-rendering/
    */
  
  text-rendering: optimizeSpeed;
  
  /**
    * Lissage des fonts (antialiasing) et hinting
    * https://szafranek.net/blog/2009/02/22/font-smoothing-explained/
    * https://developer.mozilla.org/fr/docs/Web/CSS/font-smooth
    */
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* adaptation automatique des images à leurs conteneurs */

img {
  height: auto;
  width: 100%;
}

/*
 * 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
   ========================================================================== */

/* variables CSS */


/* Tools */


/* Custom styles */




/* ==========================================================================
   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
 */

 .sr-only {
  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 .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.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;
}


/* NAVIGATION */

.header-size{
  width: 40px;
}

.Header-logo{
  margin-left: 30px;
  margin-top: 30px;
  width: 40px;
}

#menu__toggle {
  opacity: 0;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  right: 0;
}

.menu__btn {
  display: flex;
  align-items: center;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 35px;
  height: 35px;
  cursor: url("https://1.bp.blogspot.com/-NmbnDADABUE/XSfhUk_X2yI/AAAAAAAAFFw/5Tp7zt_8erg2AJ-aQ1VhYdH_l4nTReY7wCLcBGAs/s1600/cursor.png"), auto;
  z-index: 100;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  z-index: 100;
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #616161;
  transition-duration: .25s;
}

.menu__btn > span::before {
  z-index: 100;
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  z-index: 100;
  content: '';
  top: 8px;
}

.menu__box {
  z-index: 99;
  display: block;
  position: fixed;
  visibility: hidden;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #F5F5F5;
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  transition-duration: .25s;
}

.menu__item {
  z-index: 99;
  display: block;
  padding: 12px 24px;
  color: #333;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #FFC46D;
  color: white;
}

/* TITLE CONTAINER */

.Title-container{
  display: flex;
  align-items: center;
  justify-content: space-around;
}

h1{
  font-size: 65px;
  line-height: 60px;
  font-weight: 500;
}

h1 > span {
  font-size: 50px;
  line-height: 30px;
}

.Title-text{
  width: calc(100%/2);
  font-size: 25px;
  font-weight: 200;
}

.buttons-display{
  display: flex;
  width: 90vw;
  margin: 0 auto;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}

button{
  margin-top: 0px;
  margin-bottom: 20px;
  width: 150px;
  height: 50px; 
  border-radius: 50px;
  border: 1px solid black;
  background-color: white;
  transition-duration: 0.5s;
  color: black;
}

button:hover{
  margin-top: 0px;
  margin-bottom: 20px;
  width: 150px;
  height: 50px; 
  border-radius: 50px;
  color: white;
  border: 1px solid white;
  background-color: #FFC46D;
}

/* HEADER IMAGES DISPLAY */

.Header-images-display{
  margin: 0 auto;
  width: 90vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.Header-image-1{
  background-image: url('../img/Sabli-02.png');
  background-position: center;
  background-size: cover;
  height: 120px;
  width: calc(100%);
  margin-bottom: 20px;
  border-radius: 90px;
}
.Header-image-2{
  background-position: center;
  background-size: cover;
  background-image: url('../img/PoudreUCB.png');
  height: 120px;
  width: 23vw;
  margin-bottom: 20px;
  border-radius: 90px;
}

.Header-image-3{
  background-image: url('../img/Pastuli.jpg');
  background-position: center;
  background-size: cover;
  height: 120px;
  width: 65vw;
  margin-bottom: 20px;
  border-radius: 90px;
}

.Header-image-4{
  background-image: url('../img/FitnessApp.jpg');
  background-position: center;
  background-size: cover;
  height: 120px;
  width: 65vw;
  margin-bottom: 20px;
  border-radius: 90px;
}

.Header-image-5{
  background-image: url('../img/Illumals.jpg');
  background-position: center;
  background-size: cover;
  height: 120px;
  width: 23vw;
  margin-bottom: 20px;
  border-radius: 90px;
}

@media only screen and (max-width : 1024px) {

      /* TITLE CONTAINER */

    .Title-container{
      display: inherit;
      flex-wrap: nowrap;
      margin: 30px;
    }

    h1{
      font-size: 55px;
      line-height: 45px;
      font-weight: 500;
    }

    h1 > span {
      font-size: 32px;
      line-height: 30px;
    }

    .Title-text{
      width: 70vw;
      font-size: 20px;
      font-weight: 200;
    }

    .buttons-display{
      display: flex;
      width: 87vw;
      margin: 0 auto;
      align-items: flex-start;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: space-between;
    }

    button{
      margin-top: 0px;
      margin-bottom: 20px;
      width: 100px;
      height: 50px; 
      border-radius: 50px;
      border: 1px solid black;
      background-color: white;
      transition-duration: 0.5s;
      color: black;
      font-size: 13px;
    }

    button:hover{
      margin-top: 0px;
      margin-bottom: 20px;
      width: 150px;
      height: 50px; 
      border-radius: 50px;
      color: white;
      border: 1px solid white;
      background-color: #FFC46D;
    }

    /* HEADER IMAGES DISPLAY */

    .Header-images-display{
      margin: 0 auto;
      width: 90vw;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .Header-image-1{
      background-image: url('../img/Sabli-02.png');
      background-position: center;
      background-size: cover;
      height: 100px;
      width: calc(100%);
      margin-bottom: 20px;
      border-radius: 90px;
    }
    .Header-image-2{
      background-position: center;
      background-size: cover;
      background-image: url('../img/PoudreUCB.png');
      height: 100px;
      width: 23vw;
      margin-bottom: 20px;
      border-radius: 90px;
    }

    .Header-image-3{
      background-image: url('../img/Pastuli.jpg');
      background-position: center;
      background-size: cover;
      height: 100px;
      width: 65vw;
      margin-bottom: 20px;
      border-radius: 90px;
    }

    .Header-image-4{
      background-image: url('../img/FitnessApp.jpg');
      background-position: center;
      background-size: cover;
      height: 100px;
      width: 65vw;
      margin-bottom: 20px;
      border-radius: 90px;
    }

    .Header-image-5{
      background-image: url('../img/Illumals.jpg');
      background-position: center;
      background-size: cover;
      height: 100px;
      width: 23vw;
      margin-bottom: 20px;
      border-radius: 90px;
    }
  }

/* SECTION PORTFOLIO */

section{
  padding-top: 80px;
  width: 70vw;
  margin: 0 auto;
}

h4{
  color: #616161;
  font-weight: 600;
  font-size: 13px;
}
h3{
  margin-top: -15px;
  font-weight: 600;
}

.images-grid{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 70vw;
  margin: 0 auto;
}

.card{
  padding: 30px;
  width: 250px;
}

.card-image-1{
  background-image: url('../img/FitnessApp.jpg');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

.card-image-2{
  background-image: url('../img/Pastuli.jpg');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

.card-image-3{
  background-image: url('../img/PoudreUCB.png');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

.card-image-4{
  background-image: url('../img/BlueH.png');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

.card-image-5{
  background-image: url('../img/FIFF.png');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

.card-image-6{
  background-image: url('../img/Frewitt.png');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}


.card-image-7{
  background-image: url('../img/ESOSDTU.png');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}


.card-image-8{
  background-image: url('../img/Jones.jpg');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

.card-image-9{
  background-image: url('../img/Illumals.jpg');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

.card-image-10{
  background-image: url('../img/SFFPhoto.png');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

.card-image-11{
  background-image: url('../img/RemiseTitres.png');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

.card-image-12{
  background-image: url('../img/Zollinger3.png');
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 300px;
  height: 300px;
  transition: 0.5s;
    &:hover{
      border-radius: 20px;
      height: 290px;
      opacity: 0.7;
    }
}

ul{
  margin: none;
  padding: none;
}

li{
  margin: none;
  padding: none;
  list-style: none;
}


/* FOOTER*/ 

footer{
  margin-top: 50px;
  padding: 30px;
  background-color: #F5F5F5;
}

.big-footer-container{
  display: flex;
  margin: 0 auto;
  justify-content: space-around;
  width: 80vw;
}

.logos-links{
  display: flex;
  flex-wrap: nowrap;
  margin: 0 auto;
  width: 100px;
  justify-content: space-around;
}

.logo-footer{
  width: 30px;
}

.footer-logo-links-1{
  width: 20px;
  height: 20px;
}
.footer-logo-links-2{
  width: 20px;
  height: 20px;
}

@media only screen and (max-width : 1024px) {

  section{
    padding-top: 80px;
    width: 80vw;
    margin: 0 auto;
  }

  h4{
    color: #616161;
    font-weight: 600;
    font-size: 13px;
  }
  h3{
    margin-top: -15px;
    font-weight: 600;
  }

  .images-grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 70vw;
    margin: 0 auto;
  }

  .card{
    padding: 30px;
    width: 320px;
  }

  .card-image-1{
    background-image: url('../img/FitnessApp.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .card-image-2{
    background-image: url('../img/Pastuli.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .card-image-3{
    background-image: url('../img/PoudreUCB.png');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .card-image-4{
    background-image: url('../img/BlueH.png');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .card-image-5{
    background-image: url('../img/FIFF.png');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .card-image-6{
    background-image: url('../img/Frewitt.png');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }


  .card-image-7{
    background-image: url('../img/ESOSDTU.png');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }


  .card-image-8{
    background-image: url('../img/Jones.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .card-image-9{
    background-image: url('../img/Illumals.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .card-image-10{
    background-image: url('../img/SFFPhoto.png');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .card-image-11{
    background-image: url('../img/RemiseTitres.png');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .card-image-12{
    background-image: url('../img/Zollinger3.png');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    height: 300px;
    transition: 0.5s;
      &:hover{
        border-radius: 20px;
        height: 290px;
        opacity: 0.7;
      }
  }

  .logos-links {
    display: flex;
    flex-wrap: nowrap;
    width: 100px;
    margin: 0 auto;
    justify-content: space-around;
  }

  /* FOOTER*/ 

  footer{
    margin-top: 50px;
    padding: 30px;
    background-color: #F5F5F5;
  }

  .big-footer-container{
    display: inherit;
    margin: 0 auto;
    justify-content: space-around;
    width: 80vw;
  }

  .logos-links{
    display: flex;
    flex-wrap: nowrap;
    margin: 0 auto;
    width: 100px;
    justify-content: space-around;
  }

  .logo-footer{
    width: 30px;
  }

  .footer-logo-links-1{
    width: 20px;
    height: 20px;
  }
  .footer-logo-links-2{
    width: 20px;
    height: 20px;
  }

  footer > .big-footer-container > .footer-division-2 > ul {
    margin-left: -40px;
    margin-top: 30px;
  }
}