/*

Stimulus Template

http://www.templatemo.com/tm-498-stimulus

*/

:root{
--pr_bleu_clair: #89c8ff;
--pr_oragne_clair: #e7ba80;
--whiter_text: #424242;
--black_text: #030303;
--white_text: #e3e3e3;
--purple_active: #8f238b;
--purple_active_hover: #cd47c9;
}

body {
	background: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
	font-weight: 300;
    overflow-x: hidden;
}

html,body {
  width: 100%;
  height: 100%;
}


/*---------------------------------------
    Typorgraphy              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-style: normal;
  font-weight: 375;
}

h1,h2,h3 {
  font-weight: 350;
}

h1 {
  font-size: 42px;
  padding-bottom: 14px;
  margin-bottom: 0px;
}

h2 {
  font-size: 42px;
  line-height: 52px;
  margin-top: 0px;
}

h3 {
  font-size: 26px;
  line-height: 32px;
  padding-bottom: 6px;
}

h4 {
  color: #999;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-top: 6px;
}

h5 {
  color: #666666;
}

strong {
  color: #232B2B;
  font-weight: normal;
}

p {
    color: var(--black_text);
    font-size: 16px;
    font-weight: 350;
    line-height: 28px;
    letter-spacing: 0.2px;
}

.section-btn {
  background-color: transparent;
  border: 3px solid #232B2B;
  border-radius: 100px;
  color: #232B2B;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.6px;
  padding: 12px 36px;
  margin-top: 42px;
  transition: all 0.4s ease-in-out;
  text-transform: uppercase;
}

.section-btn:hover {
  background: var(--purple_active);
  border-color: transparent;
  color: var(--white_text);
}

.btn-success:focus {
  background-color: #000;
  border-color: transparent;
}

.parallax-section {
  background-attachment: fixed !important;
  background-size: cover !important;
}

.section-title {
  position: relative;
  padding-bottom: 22px;
}

#about,
#service,
#experience,
#education,
#contact {
  position: relative;
}

#home .container,
#about .container, 
#experience .container,
#service .container,
#education .container,
#contact .container {
  width: 100%;
  padding: 0;
  margin: 0;
}

#experience .experience-thumb,
#education .education-thumb  {
  padding: 22px 42px 42px 42px;
}

#service,
#quotes,
footer {
  text-align: center;
}

#experience,
#education {
  background: #E9724C;
}

.background-image {
    background-position: 50% 50% !important;
    background-size: cover !important;
    width: 100%;
    height: 100%;
    min-height: 75vh;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.color-white {
  color: var(--white_text);
}


.color-orange{
  color: var(--pr_oragne_clair);
}


.color-whiter{
  color: var(--whiter_text)
}

.bg-yellow {
  background: #7c6b17;
}

.bg-white {
  background: #ffffff;
}

.bg-dark {
  background: #161616;
}



/*---------------------------------------
    General               
-----------------------------------------*/

html{
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--purple_active);
  -webkit-transition: 0.75s;
  -o-transition: 0.75s;
  transition: 0.75s;
  text-decoration: none !important;
}
a:hover, a:active, a:focus {
  color: var(--purple_active_hover);
  outline: none;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

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



/*---------------------------------------
    Preloader section              
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid #E3AE57;
  border-top-color: #f9f9f9;
  animation: spinner .6s linear infinite;
}

@-webkit-@keyframes spinner {
  to {transform: rotate(360deg);}
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}



/*---------------------------------------
    Navigation section              
-----------------------------------------*/

.custom-navbar {
    margin-bottom: 0;
    background-color: #ffffff;
}

.custom-navbar .navbar-brand {
    color: #333;
	/*text-shadow: 1px 1px #fff;*/
    font-weight: bold;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: 1px;
}

.custom-navbar .nav li a {
    color: #191919;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 40px;
    transition: all 0.4s ease-in-out;
}

.custom-navbar .nav li a:hover {
    background: transparent;
    color: var(--purple_active_hover)
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
  background-color: transparent;
}

.custom-navbar .nav li.active > a {
    background-color: transparent;
    color: var(--purple_active)
}

.custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
}

.custom-navbar .navbar-toggle {
    background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
    background: var(--purple_active);
    border-color: transparent;
}

@media(min-width:768px) {
    .custom-navbar {
        padding: 12px 0;
        border-bottom: 0;
        background: 0 0; 
    }
    .custom-navbar.top-nav-collapse {
        background: #ffffff;
        box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
        padding: 0;
    }

}



/*---------------------------------------
    Home section              
-----------------------------------------*/

#home h1 {
  padding-bottom: 18px;
}

#home .col-md-6 {
  background: var(--pr_bleu_clair);
/* light blue color: #c3eafd; */
  padding-right: 0;
  padding-left: 0;
}

#home .home-img {
  background: url('../img/home.jpg') no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  width: 100%;
  height: 100vh;
}

#home .home-thumb {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100vh;
  padding: 0 45px 0 45px;
}



/*---------------------------------------
   About section              
-----------------------------------------*/


#about {
  display: -webkit-flex; /* Safari */		
	display: flex; /* Standard syntax */
  flex-direction: row;
}

@media (max-width: 860px) {
  #about {
    flex-direction: column;
  }
}

.text-about-info{
	-webkit-flex: 1.5; /* Safari */
	-ms-flex: 1.5; /* IE 10 */
	flex: 1.5; /* Standard syntax */
}

#about .about-img {
    background: url('../images/about-img.jpg') no-repeat;
}

#about .about-thumb,
#about .skill-thumb {
  padding: 22px 32px 32px 32px;
}

#about .progress {
  background: #ffffff;
  border-radius: 0px;
  box-shadow: none;
  height: 2px;
}

#about .progress-bar-primary {
  background: #232B2B;
}

#about strong,
#about span {
  font-weight: bold;
  display: inline-block;
  padding-bottom: 8px;
}



/*---------------------------------------
    Service/Skill section              
-----------------------------------------*/


#service p {
  font-size: 18px;
  line-height: 30px;
}

#service .service-thumb {
  padding: 52px 22px 52px 22px;
}

#service .service-thumb .fa {
  font-size: 42px;
  padding-bottom: 22px;
}

#service{
  background-color: var(--pr_bleu_clair);
}

.skill_square{
  border-right: 2px solid white;
}

.icon_skill{
  max-height: 48px; max-width: 48px;
}



.skill-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0px;
  padding: 0px;
}

.skill_square {
  flex: 25%;
}
  @media (max-width:992px) {
    .skill_square{
      border-bottom: 2px solid white;
      flex: 50%
    }
    
  }

  @media (max-width:700px) {
    .skill_square{
      border-right: none;
      border-bottom: 2px solid white;
      flex: 100%
    }
    
  }





/*---------------------------------------
    Experience section              
-----------------------------------------*/

#experience .experience-img {
  background: url('../images/experience-img.jpg') no-repeat;
}

#experience .media-heading {
  margin-bottom: 0px;
}

#experience .media .fa {
  font-size: 42px;
  margin-right: 14px;
}

#experience small {
  color: #633;
  font-weight: bold;
}

/*---------------------------------------
    Education section              
-----------------------------------------*/

#education {
  background: var(--pr_oragne_clair);
  color: var(--black_text);
  
  -webkit-flex: 1; /* Safari */
	-ms-flex: 1; /* IE 10 */
	flex: 1; /* Standard syntax */

}

#education .education-img {
  background: url('../images/education-img.jpg') no-repeat;
}

#education .media-heading {
  margin-bottom: 0px;
}

#education .media .fa {
  font-size: 42px;
  margin-right: 14px;
}

#education small {
  color: var(--whiter_text);
  font-weight: bold;
}



/*---------------------------------------
   Quotes section              
-----------------------------------------*/

#quotes {
    background: url('../images/quotes-bg.jpg') 50% 0 repeat-y fixed;
    background-size: cover;
    background-position: center center;
    color: #ffffff;
    position: relative;
    padding: 100px 0px;
}

#quotes .overlay {
    background: #121212;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    opacity: 0.7;
}

#quotes .fa {
  font-size: 42px;
  margin-top: 32px;
  margin-bottom: 22px;
}

#quotes p {
  padding-top: 32px;
}


/*---------------------------------------
    Contact section              
-----------------------------------------*/

#contact {
  background: #E9724C;
}

#contact .contact-form,
#contact .contact-thumb {
  padding: 22px 32px 22px 32px;
  min-height: 75vh;
}

#contact .contact-img {
  background: url('../images/contact-img.jpg') no-repeat;
  min-height: 75vh;
}

#contact .contact-info {
  padding-top: 6px;
  padding-bottom: 6px;
}

#contact .form-control::-moz-placeholder{color:#ffffff;opacity:1}
#contact .form-control:-ms-input-placeholder{color:#ffffff}
#contact .form-control::-webkit-input-placeholder{color:#ffffff}

#contact .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid #E3AE57;
  border-radius: 0px;
  box-shadow: none;
  color: #ffffff;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 25px;
  transition: all 0.4s ease-in-out;
}

#contact .form-control:focus {
  border-bottom-color: #ffffff;
}

#contact input {
  height: 45px;
}

#contact input[type="submit"] {
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 40px;
  color: #161616;
  padding-bottom: 10px;
}

#contact input[type="submit"]:hover {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

#contact .fa {
  padding-right: 10px;
}



/*---------------------------------------
   Footer section              
-----------------------------------------*/

footer {
    padding: 20px 0px;
    background: rgb(213, 213, 213);
}



/*---------------------------------------
   Social icon             
-----------------------------------------*/

.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
    text-align: center;
}

.social-icon li {
    display: inline-block;
    list-style: none;
}

.social-icon li a {
    /*border: 2px solid transparent;*/
    color: var(--whiter_text);
    border-radius: 100px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    margin: 22px 4px 10px 4px;
}

.social-icon li a:hover {
    background: var(--purple_active_hover);
    /*border-color: #ffffff;*/
    color: var(--white_text);
    transform: scale(1.1);
}



/*--------------------------------------
  Portfolio
----------------------------------------*/

#gallery-container a{
  padding: 10px;
  /*background-color: var(--pr_oragne_clair);
  border-radius: 6px;*/
}

#gallery-container div{
  background-color: var(--pr_oragne_clair);
  border-radius: 6px;
  padding: 5px;

  -webkit-transition: 0.75s;
  -o-transition: 0.75s;
  transition: 0.75s;
}

#gallery{
  text-align: center;
}

#gallery-container a img{
  border-radius: 3px;
}

#gallery h1{
  text-align: center;
  color: var(--black_text);
  font-weight: 500;
}

.img_max_size{
  max-width: 100%;
}

/*.row_img img{
  margin-bottom: 5px;
}*/

#gallery-container a p{
  color: var(--black_text);
  padding: 0px;
}
/*#gallery-container a p:hover{
  color: var(--white_text)
}*/


#gallery-container div:hover{
  /*border:  5px solid var(--purple_active_hover);*/
  border-radius: 5px;
  background-color: var(--purple_active_hover);
}

#gallery-container div:hover p{
  color: var(--white_text);
}

#gallery-container{
  margin-top: 10px;
  margin-bottom: 20px;
}


@-webkit-keyframes action {
  0% {
      transform: translateY(0);
  }

  100% {
      transform: translateY(-15px);
  }
}

@keyframes action {
  0% {
      transform: translateY(0);
  }

  100% {
      transform: translateY(-15px);
  }
}

.scroll-to-bottom {
  position: fixed;
  width: 20px;
  left: calc(50% - 10px);
  bottom: 30px;
  z-index: 11;
  -webkit-animation: action 1s infinite alternate;
  animation: action 1s infinite alternate;
  color: var(--purple_active_hover)
}





/*---------------------------------------
   Mobile Responsive         
-----------------------------------------*/

@media only screen and (max-width: 580px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
    line-height: inherit;
  }

  h3 {
    font-size: 22px;
    line-height: inherit;
  }
}

@media only screen and (max-width: 767px) {
  .custom-navbar .navbar-brand {
    line-height: 18px;
  }

  #home .home-thumb {
    height: auto;
    padding-top: 32px;
    padding-bottom: 12px;
  }

  #home .container,
  #about .container, 
  #experience .container,
  #service .container,
  #education .container,
  #contact .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  #about .col-md-3,
  #experience .col-md-6,
  #education .col-md-6,
  #contact .col-md-3 {
    padding: 0;
    margin: 0;
  }

  .background-image {
    position: relative;
    min-height: 65vh;
  }
}

@media only screen and (max-width: 1024px) {
  .section-title {
    padding-bottom: 12px;
  }

  footer {
    padding: 20px 0;
  }
}


/*
----------------------------------------------------------
----------------------------------------------------------
Project Display (pour projet.html)
----------------------------------------------------------
----------------------------------------------------------
*/

.home_back{
  /*margin-top: 2px;*/
  /*margin-left: 25%;
  margin-right: 25%;*/
  margin: 2px auto;
}


#project_display{
  background-color: var(--pr_bleu_clair);
  margin: 0px;
  padding: 0px;
}

#project_display .fixed{
  position: fixed;
  width: 20%;
  float:left;
  padding-left: 20px;
  padding-right: 10px;
  /*background-color: var(--pr_bleu_clair);*/
  /*height: 80%;
  max-height: fit-content;
  overflow-y: scroll;*/
  margin: 0px;
}

#caption {
  position: relative;
  height: 45vh;
  max-height: fit-content;
  overflow-y: scroll;
}

#project_display .img_container{
  padding: 25px;
  width: 80%;
  overflow-y: scroll;
  margin: 0px;
  background-color: hsl(0, 0%, 50%);
  position: relative;
  float: right;
  text-align: center;
}

.img_container img{
  margin-bottom: 10px;
  margin-top: 10px;
}

.img_container p{
  text-align: center;
  color: var(--pr_oragne_clair);
  font-weight: bolder;
  font-size: large;
}



.icon_logi {
  margin-bottom: 10px;
  cursor: default;
  opacity: 1;
}

.nom_logi {
  visibility: hidden;
  padding: 5px;
  background-color: black;
  color: var(--pr_oragne_clair);
  text-align: center;
  border-radius: 5px;
  white-space: nowrap;

  position: absolute;
  z-index: 1;
  top: 100%;
  left: 80%;
  transition-property: visibility;
  transition-delay: 0.2s;
}

.icon_logi:hover .nom_logi {
  visibility: visible;
  transition-delay: 0.2s;
}



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

  #project_display .fixed{
    padding-left: 8px;
    padding-right: 4px;
    width: 27%;
  }

  #project_display .img_container{
    padding: 10px;
    width: 73%;
  }
}
.icon_logi{
  max-width: 60px;
}



@media only screen and (max-width: 800px) {
  .img_container p{
    font-size: medium;
  }
  .img_container img{
    margin-bottom: 6px;
    margin-top: 6px;
  }

  #project_display .fixed{
    padding-left: 10px;
    position: relative;
    width: 100%;
  }
  
  #caption{
    height: auto;
  }

  .icon_logi{
    max-width: 50px;
  }


  #project_display .img_container{
    padding: 10px;
    position: relative;
    width: 100%;
  }
}

@media only screen and (max-width: 580px) {
  .img_container p{
    font-size: small;
  }
  .img_container img{
    margin-bottom: 4px;
    margin-top: 4px;
  }
}