/* Importer FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* Importer les polices */
@import url('https://fonts.googleapis.com/css?family=Federo|Kanit|Open+Sans|Marcellus&display=swap');

/*
Style reset
*/;
*{
    /* Supprimer toutes les marges */
    margin: 0;
    padding: 0;

    /* Intégrer les padding et les margin dans les largeurs */
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

   -moz-user-select: none;
   -ms-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -webkit-touch-callout: none;
   user-select: none;
 }

/* Ramener la valeur de 1rem à 10px */

html{
    font-size: 62.5%;
}

/*
Style entête (header)
*/

a:hover{
    text-decoration: none;
} 

.navbar-brand{
    box-shadow: 0 .1px 10px #BA6D3D;
    padding: 0 1.5rem;
    background: #fff;
}

.navbar-brand a{
    text-align: center;
    font-family: "Federo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 5rem;
    display: block;
    background: -webkit-linear-gradient(left top, #B5553C, #FFBE6A);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
   /* color: #DC8DE0;*/
    -webkit-transition: all .5s;
    transition: all .5s;
    padding-top: 1.5rem;
}

.navbar-brand a:hover {
  background: -webkit-linear-gradient(left top, #FFBE6A, #B5553C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    -webkit-transition: all .5s;
    transition: all .5s;  
}

.navbar-brand img {
    display: block;
    margin: .5rem auto;
    width: 18rem;
    padding-bottom: 3rem;
}

.top{
    position: fixed;
    z-index: 10;
    bottom: 5rem;
    right: 1.7rem;
    font-size: 2rem;
    background: white;
    border: .1rem solid transparent;
    box-shadow: 0 1px 3px #BA6D3D;
    color: black;
    height: 4rem;
    width: 4rem;
    display: none;
    border-radius: 0;
}

.top:hover, .top:visited, .top:focus {
    background: white;
    box-shadow: 0 1px 3px #CA85DC;
    border-color: transparent;
    -webkit-transition: all 0.3s ease; 
    transition: all 0.3s linear;
    /* Animation au passage de la souris */
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);  
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
}

/*
Style body (général)
*/

body{

  font-size: 2rem; /* =>17px */
  font-family: 'Kanit', sans-serif;
  text-align: center;
  margin: auto;
  width: 100%;
  height: 100%;
  color: #000;
}

a, figcaption{
    text-decoration: none;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.img-fluid{
  opacity: 40%;
  cursor: pointer;
}

.img-fluid:hover {
  opacity: 60%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s linear;
  max-width: 103%;
}

img, video{
        max-width: 100%;
          -webkit-transition: all 0.3s ease;
  transition: all 0.3s linear;
}

nav+div, section:not(.intro)>div, aside:not(:first-of-type)>div{
    width: 50%;
    
}
h1{
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: bold;
    background: -webkit-linear-gradient(left top, #FFBE6A, #B5553C);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-transition: all .5s;
transition: all .5s;
    padding: 2rem 0;
}



strong{
    color: #000;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: .15rem;
    text-align: center;
    font-size: 3rem;
    -webkit-transition: all .5s;
    transition: all .5s;
}

b{
    font-size: 2rem;
    color: #000;
}

section{
    margin-top: 30rem;
    
}

article{
  display: none;
}

main{
    margin-top:15rem;
}

/* Accueil */

.cursor-effect {
  position: relative;
  overflow: hidden;
}

.cursor-effect::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 100%;
  background: #FFE07A;
background: linear-gradient(90deg, rgba(255, 224, 122, 0.55) 0%, rgba(240, 159, 93, 0.4) 43%, rgba(215, 156, 255, 0.5) 100%);
  top: -100%;
  left: -100%;
  transition: all 0.7s ease;
}

.cursor-effect:hover::before {
  top: 100%;
  left: 100%;
}

.home{
  margin: 5rem auto;
  padding: 5rem;
  box-shadow: 0 2px 5px #BA6D3D;
  background-color: #fff;
  -webkit-transition: all .5s;
  transition: all .5s;
  border: none;
}

.home:hover{
  box-shadow: 0 2px 5px #CA85DC;
  -webkit-transition: all .5s;
  transition: all .5s;
}

.home:hover>strong {
  font-size: 3.5rem;
  -webkit-transition: all .5s;
  transition: all .5s;
}
  
  .container p {
    color: #000;
    font-style: italic;
    font-weight: 200;
    text-align: justify;
    margin: 0 5rem;
    margin-bottom: 5rem;
  }
  
  #design {
    background: #fff;
  }
  
  #design img{
    margin-top: 1.5rem;
  }
  
  #design p + img {
    margin-top: 0;
  }
  
    #design a {
    
    background-color: #fff;
    color: #5A6F61;
    padding: 1.5rem;
    position: absolute;
    right: 3rem;
    bottom: 4rem;
  }
  
  #design a:hover {
    background-color: #5A6F61;
    color: #fff;
  }
  
  .web{
    position: relative;
    
  }
  .web img{
    margin-bottom: 1.5rem;
  }
  
  .homeArt + div{
    background-color: #fff;
  }
  
/* Galeries */
    
    .gallery figure{
      display: inline-block;
      position: relative;
      width: 70%;
      margin: 2rem auto;
    }

    
    .gallery figcaption{
      text-align:center;
      margin: .5rem 5rem 1rem;
      color: #fff;
    }

    .gallery video{
      border:.1rem solid black;
      border-radius: 3rem;
    }
    
    .modal div {
      border-radius: 0;
    }
    
    .modal-content{
      padding: 0;
      max-width: 100%;
    }
    
    .modal-header {
      background: none;
    }
    
    .btn-close{
    opacity: 1;
    }
    
    .modal-body{
      position: relative;
    }
    
    .modal-footer{
      padding: 0;
    }
    
    .carousel-caption{
      background: #fff;
      position:static;
      bottom: 0;
      left: 0;
      right: 0;
    }
    
    .carousel-caption p{
      padding-right: 1rem;
      padding-left: 1rem;
    }
    
    .carousel button:nth-last-child(-n+2){
      background: black;
      position: absolute;
      top: 50%;
      height: 5rem;
      width: 5rem;
    }

/* A PROPOS */

#about{
  background-color: #fff;
}

#about b{
  display: block;
}
#about img{
    width: 60%;
    margin-bottom : 5rem;
}

#about p{
    padding: 1rem 6rem;
    text-align: justify;
    
}

#about a{
  color: #9A56D0;
}

#about p:last-of-type{
  text-align: right;
}

/* Footer */

footer{
    bottom:-5;
    width: 100%;
    z-index: 5;
    color: black;
    padding: 2rem;
    box-shadow: 0 -4px 10px -5px #BA6D3D;
    background: white;
}

footer img{
  width: 12rem;
}

/* Affichage sur grands écrans (taille > 768px)*/

@media only screen and (min-width: 768px) { 
  
  .home, .gallery figure{
    width: 50%;
  }
  
  #design a{
    right: 6rem;
    bottom: 7rem;
  }
  
  #about p {
    padding: 1rem 12rem;
  }
}