@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');

html {
  scroll-behavior: smooth;
}

body{
  background-color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
}
p{
  font-size: 18px;
}

/*      NAVBAR JUMBOTRON    */
.navbar{
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #222222;
  border-color: transparent;
  z-index: 2;
}

.container{
  padding-top: 5%;
  padding-bottom: 5%;
}

.container-fluid {
  padding-top: 5%;
  padding-bottom: 5%;
  background-color: #222222;
  color: white;
}

.logo{
  width: 4%;
}

li a{
  color: white;
}

.navbar-toggle .icon-bar {
  background-color: white;
}

.jumbotron {
  text-align: center;
	color: white;
  background: url("images/background_jumbotron.jpg");
  background-size: cover;
  margin-bottom: 0 !important;
}
.jumbotron p {
  margin-bottom: 30px;
  font-size: 18px;
}

.j_container {
	padding: 10%;
}


.float-right{
  color: #5499C7;
  font-size: 30px;
  margin: 10% 0;
}

.fade{
    opacity:0;
}

h2 {
   text-align: center;
   font-weight: 700;
   color: #5499C7;
}

h1 span {
   font-weight: 600;
}
/*******************      FORMATIONS    ********************/

.container-timeline {
   width: 80%;
   padding: 50px 0;
   margin: 50px auto;
   position: relative;
   overflow: hidden;
}

.container-timeline:before {
height: 100%; 
position:absolute; 
border-left: 2px solid #5499C7; 
left: 50%; 
}

.timeline-block {
   width: -webkit-calc(50% + 8px);
   width: -moz-calc(50% + 8px);
   width: calc(50% + 8px);
   display: -webkit-box;
   display: -webkit-flex;
   display: -moz-box;
   display: flex;
   -webkit-box-pack: justify;
   -webkit-justify-content: space-between;
   -moz-box-pack: justify;
   justify-content: space-between;
   clear: both;
}

.timeline-block-right {
   float: right;
}

.timeline-block-left {
   float: left;
   direction: rtl
}

.marker {
   width: 16px;
   height: 16px;
   border-radius: 50%;
   background: #5499C7;
   margin-top: 10px;
   z-index: 1;
}

.timeline-content {
   width: 95%;
   padding: 0 15px;
   color: #ffffff;
}

.timeline-content h3 {
   margin-top: 5px;
   margin-bottom: 5px;
   font-size: 30px;
   font-weight: 500;
}

.timeline-content span {
   font-size: 30px;
   color: #5499C7;
}

.timeline-content p {
   line-height: 1.5em;
   word-spacing: 1px;
   color: white;
}

textarea.form-control{
  max-width: 100%;
}

@media screen and (max-width: 768px) {
   .container:before {
      left: 8px;
      width: 2px;
   }
   .timeline-block {
      width: 100%;
      margin-bottom: 30px;
   }
   .timeline-block-right {
      float: none;
   }

   .timeline-block-left {
      float: none;
      direction: ltr;
   }
}

/*      COMPETENCES TECHNIQUES    */
#compétences{
  width: 100%;
  height: auto;
  background-size: 600% 100%;
  background-image: linear-gradient( 96.2deg,  rgba(255,230,112,1) 10.4%, rgba(255,100,100,1) 43.8%, rgba(0,93,219,1) 105.8% );
  animation: changeGradient 10s linear infinite;
  animation-direction: alternate;
}

#compétences h2{
  color: black;
}

@keyframes changeGradient{
  from{
    background-position: 0%;
  }
  to{
    background-position: 100%;
  }
}

.haut{
  margin-top: 5%;
}
.move{
  text-align: center;
  font-weight: 900;
  font-size: 16px;
}

.space{
  margin: 5% 0;
}

/*      PROJETS    */
#Projets img{
  margin-top: 5%;
  margin-bottom: 5%;
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 2px 2px 6px #00000025;
}
.img-thumbnail{
  background-color: transparent;
  border: transparent;
  padding: 0;
}

.containerM {
  position: relative;
  width: 50%;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  color: #000000;
  font-weight: bold;
  width: 250px;
}

.col-md-4:hover .image {
  opacity: 0.3;
}

.col-md-4:hover .middle {
  opacity: 1;
}

.modal-body img{
  width: 100%;
  height: auto;
}

.btn-primary{
  border: transparent;
}

.icon_github{
  margin: 2%;
  text-align: center;
}

/*      HOBBIES    */
.hobbies{
  text-align: center;
  border-top: 2px solid black;
}

.ho{
  margin-top: 5%;
}

/*      CONTACT    */
.text {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

.mb-20{margin-bottom: 20px;}
.mb-25{margin-bottom: 25px;}
.mb-40{margin-bottom: 40px;}
.required{font-size: 14px;}

.error{
  color: red;
}

.success{
  color: palegreen;
}