/* ABSTRACTS */

/* taille des boites (empêcher l'agrandissement */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* -------------------------- */

/* == VARIABLES == */

:root {
  --purple: #642f55;
}

/* == AJOUTS À LA GRILLE == */

/* == TEXTES == */

h1 {
  font-size: 5.5rem;
  margin: 0;
  color: #fff;
  font-weight: 500;
  padding-bottom: 175px;
  text-transform: uppercase;
}

h2 {
  font-size: 3.75rem;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 40px;
  margin-top: 0;
}

h3 {
  font-size: 3rem;
  margin-bottom: 60px;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* == NAVIGATION == */

nav ul {
  margin: 0px;
  padding: 0;
  list-style: none;
}

.nav-principale {
  width: 200px;
  margin-top: 20px;
}

.nav-principale--var ul {
  justify-content: flex-end;
}

.btn-accueil {
  width: 200px;
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  align-items: flex-start;
}

.accueil-icon {
  background-image: url(../img/arrow_back_ios_white_24dp.svg);
  background-repeat: no-repeat;
  background-size: contain;
  padding-left: 25px;
}

.contact-icon {
  background-image: url(../img/call_white_24dp.svg);
  background-repeat: no-repeat;
  background-size: contain;
  padding-left: 25px;
}

.about-icon {
  background-image: url(../img/info_white_24dp.svg);
  background-repeat: no-repeat;
  background-size: contain;
  padding-left: 25px;
}

button {
  padding: O;
  margin: 0;
}

.nav-secondaire {
  width: 200px;
  margin: 0 auto 50px;
}


/* == COMPOSANT == */

/* == BOUTONS & CTA */

.btn,
.btn:visited {
  color: #fff;
  text-decoration: none;
  border: none;
  background-color: none;
  text-align: left;
}

.btn:hover,
.btn:active,
.btn:focus {
  cursor: pointer;
}

.btn-legal {
  opacity: 0.75;
  font-size: 0.75rem;
}

.btn-1 {
  background-color: var(--purple);
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 0 20px #0000007e;
  transition: .4s;
}

.btn-send {
  position: absolute;
  bottom: 20px;
  right: 8px;
  background-color: var(--purple);
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 0 20px #0000007e;
  transition: .4s;
}

.btn-send:hover,
.btn-send:focus,
.btn-send:active {
  background-color: #231f39;
}

.btn-1:hover,
.btn-1:focus,
.btn-1:active {
  padding: 15px 25px;
  background-color: #231f39;
}

/* == AUTRES == */

/* =========================== */

/* == MISE EN PAGE - BODY == */

/* ..........SLIDER............. */


.slider {
  position: fixed;
  left: 20px;
  bottom: 45vh;
  flex-direction: column;
  width: 60px;
}

.text-slider{
  transform: rotate(-90deg);
  margin: 0;
  font-size: 0;
  overflow: hidden;
}

.slider-jacc {
  transition: .3s;
}

.slider-video {
  transition: .3s;
}

.slider-image {
  transition: .3s;
}

.slider-open {
  margin: 30px 0px;
  padding: 0;
  font-size: 1rem;
}

.dot {
  width: 13px;
  margin: 5px 0;
}


/* ..........POP UP............. */

.pop-up {
  align-items: center;
  padding: 20px;
  background-color: #fff;
  position: fixed;
  height: 80vh;

  top: 10vh;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;

  transform: scale(0);
  opacity: 0;
  transition: 0.2s;

  box-shadow: 0 0px 50px rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.pop-up-sombre {
  background-color: #231f39;
  box-shadow: 0 0px 50px rgb(108, 0, 158);
}

.btn-close {
  background: none;
  border: none;
  color: inherit;
  transform: scale(2);
  position: absolute;
  top: 10px;
  right: 10px;
}

/* ........................ */

body {
  font-family: dunbar-tall, sans-serif;
  font-weight: 400;
  text-align: center;
  color: var(--purple);
  transition: 0.4s;
}

.full-page {
  height: 100vh;
  flex-direction: column;
  justify-content: space-around;
}

.jacc,
.videos {
  margin-bottom: 50px;
}

.mode-sombre {
  background-color: #231f39;
  color: #fff;
}

.parag {
  margin: 0 auto;
  margin-bottom: 65px;
}

.vid-mozaique-4 {
  align-content: space-between;
}

.media {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
  transition: 0.4s;
  object-fit: cover;
}

.media-contenu {
    object-fit: contain;
    max-height: 70vh;
    max-width: 730px;
}

.media-sombre {
  box-shadow: 0 0 20px rgb(108, 0, 158);
}

.media:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.thumbnail-xl {
  width: 692px;
  height: 388px;
}

.thumbnail-l {
  width: 540px;
  height: 304px;
}

.thumbnail-carre {
  width: 388px;
  height: 388px;
}

.margin-bottom {
  margin-bottom: 50px;
}

.custom-input {
  width: 100%;
  margin: 10px 0;
  padding: 10px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--purple);
}

.custom-textarea {
  height: 150px;
  resize: none;
}

.custom-input:focus,
.custom-textarea:focus {
  outline: none;
}

.form {
  position: relative;
}

.contact{
  justify-content: flex-end;
}


.contact-link,
.contact-link:visited {
  color: var(--purple);
  margin: 10px 0;
  text-align: right;
}

.tel{
  background-image: url(../img/phone-solid.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 15px 15px;
  padding-right: 35px;
}

.mail{
  background-image: url(../img/envelope-solid.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 15px 12px;
  padding-right: 35px;
}

.maps{
  background-image: url(../img/location-dot-solid.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 15px 20px;
  padding-right: 35px;
}

.linkedin{
  background-image: url(../img/linkedin-in-brands.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 15px 15px;
  padding-right: 35px;
}

.mouvement-js {
  transition: .3s;
  opacity: .5;
}


/* == MISE EN PAGE - HEADER == */

header {
  padding-top: 30px;
  background-image: url(../img/header.png);
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 300px;
}


/* == MISE EN PAGE - FOOTER == */

footer {
  padding-bottom: 30px;
  background-image: url(../img/footer.png);
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 250px;
  overflow: visible;
  height: 250px;
}

.footer {
  align-content: flex-end;
}

.footer-container {
  position: relative;
}

.up {
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  transition: 0.4s;
}

.up:hover {
  transform: scale(1.3);
}

.legal {
  width: 300px;
  margin: auto;
}

/* ============================ */

/* == MISE EN PAGE - INDEX == */


  .index {
    text-align: center;
  }

  .haut-de-page {
    justify-content: flex-end;
    height: 100px;
    background-size: auto 250px;
  }

  .img-fond {
    background-image: url(../img/footer.png), url(../img/header.png);
    background-position: center bottom, center top;
    background-repeat: repeat-x, repeat-x;
    background-size: auto 23vh, auto 23vh ;
    width: 100vw;
    height: 100vh;
    align-items: center;
  }

  .centrer {
    align-items: center;
    margin: auto;
  }

  .index h1 {
    color: var(--purple);
    font-size: 4rem;
    font-weight: 500;
    margin: 0;
    padding-bottom: 30px;
    line-height: 4rem;
  }


  .index h1 em {
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
  }

  .index h2 {
    font-size: 2rem;
    font-weight: 500;
  }

  .index .legal {
    position: absolute;
    bottom: 20px;
    width: 100%;
    justify-content: center;
  }

  .img-portfolio {
    max-width: 445px;
    max-height: 55vh;
    transition: 0.6s;
  }

  .img-portfolio:hover,
  .img-portfolio:focus,
  .img-portfolio:active{
    transform: scale(1.1) rotate3d(1, 0.5, 0.5, -10deg); 
    opacity: 0.9;
      
  }

  .index .haut-de-page {
    position: absolute;
    top: 3vh;
    width: 100vw;
  }

  .index .haut-de-page ul{
    width: 200px;
  } 

  .index .haut-de-page .flex-end{
    justify-content: flex-end;
  }

  .index .haut-de-page nav {
    align-items: flex-start;
  }

  .index .h1-white {
    color: #fff;
  }
