html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Roboto', sans-serif;
  line-height: 1.75;
  color: #212529;
  margin: 0;
  padding: 0;
}

#home{
  background-color: #2B2B2B;
}


.row{
  margin: 0;
}

.bouton{
  color: #FECF34;
  background: transparent;
  padding: 15px 40px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #FECF34;
  transition: all ease 0.4s;
  -webkit-transition: all ease 0.4s;
  -moz-transition: all ease 0.4s;
}

.bouton:hover{
  color: #FFF;
  border: 1px solid #FECF34;
  background-color: #FECF34;
  transition: all .2s ease-in-out;
}

.btn{
  color: #666;
  background: transparent;
  padding: 10px 20px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #666;
  transition: all ease 0.4s;
  -webkit-transition: all ease 0.4s;
  -moz-transition: all ease 0.4s;
}

.btn:hover{
  color: #fff;
  border: 1px solid #FECF34;
  background-color: #FECF34;
  transition: all .2s ease-in-out;
}

#galerie{
  background: linear-gradient(
      rgba(254, 207, 52, .9), 
      rgba(254, 207, 52, .9)
    ), url(../img/school.jpg);
  background-size: cover;
  background-attachment: fixed;
  color: #000;
}

#galerie h2{
  text-align: right;
}


#documents .btn{
  color: #fff;
  background: #FECF34;
  padding: 15px 40px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #FECF34;
  transition: all ease 0.4s;
  -webkit-transition: all ease 0.4s;
  -moz-transition: all ease 0.4s;
}

#documents .btn:hover{
  color: #FECF34;
  border: 1px solid #FECF34;
  background-color: #fff;
  transition: all .2s ease-in-out;
}


header .carousel-inner .carousel-item{
  height: 100vh;
}

.banner{
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100vh;
}

.carousel-caption{
  padding-bottom: 250px;
}

.carousel-caption h2{
  font-size: 70px;
  text-transform: uppercase;
  font-weight: 800;
}


#about .card-title{
  font-weight: 800;
}

#about h2{
  text-align: right;
}

#about .card{
  border: none; 
}

#about .card a{
  color: #B4B4B4;
  font-size: 15px;
}

#about .card a:hover{
  color: #B4B4B4;
  font-size: 16px;
  text-decoration: none;
  transition: all .3s ease-in-out;
}

#infos h2{
  text-align: right;
}

#infos{
  background: #f3130d;
  color: #000;
}

#infos .card{
  background: transparent;
  border: none; 
}


#documents h2{
  text-align: right;
}

#documents .cercle{
  text-align: center;
}


#recrutement h2{
  text-align: right;
}


footer{
  background-color: #1A1A1A;
  color: #fff;
  padding-top: 30px;
  padding-bottom: 0px;
}

footer #copyright{
  padding: 20px 0px;
}

footer h5{
  text-transform: uppercase;
  color: #999;
}

h2{
  text-transform: uppercase;
  text-align: right;
}


h1{
  font-weight: 800;
  font-size: 60px;
}

hr {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border: 0;
  border-top: 1px solid rgba(0,0,0,.1);
}

#contact .form-control {
  border: 0;
  background: none;
  border-bottom: solid 1px #fff;
  border-radius: 0px;
  width: 100%;
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 45px;
}

#contact .row .name{
  padding-left: 0px;
  padding-right: 0px;
}

#contact .row .email{
  padding-left: 0px;
  padding-right: 0px;
}


#contact h2{
  text-align: right;
}

footer a{
    display: inline-block;
    font-size: 13px;
    color: #666;
}

footer a:hover{
  color: #FFF;
  transition: all .3s ease-in-out;
}

footer ul{
  padding-left: 0px;
}

footer li{
  list-style: none;
  padding-top: 5px;
  padding-bottom: 5px;
}

footer p{
  font-size: 13px;
  color: #666;
}

footer .fas{
  padding-right: 10px; 
}

footer .infos a{
    background: rgba(255, 255, 255, 0.15);
    padding: 9px;
    border-radius: 50px;
    display: inline-block;
    width: 41px;
    margin-right: 10px;
    font-size: 14px;
    color: #fff;
}

footer .infos a:hover{
  background-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  display: inline-block;
  transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  transition: all ease 0.5s;
}

.col-lg-4{
  padding-top: 20px;
  padding-bottom: 20px;
}


.bas a{
  background-color: #9C42A4;
  padding: 5px 10px 5px 10px;
  border-radius: 10px;
  display: inline-block;
  font-size: 15px;
  color: #fff;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.bas a:hover{
  background: rgb(254, 207, 52);
  text-decoration: none;
  display: inline-block;
  transition: all ease 0.5s;
}



/* Navabar */

.top_header{
  padding: 10px 0px;
  font-size: 13px;
}

.top_header a{
  color: #cfcfcf;
}

.top_header ul{
  margin-bottom: 0;
}

.top_header ul li{
  display: inline-block;
  padding-left: 50px;
  color: #cfcfcf;
}

.top_header ul li .fas,.fab{
  padding: 0px 10px;
  color: #cfcfcf;
}

.navbar-brand{
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-toggler {
  padding: .25rem .75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: .25rem;
}

.navbar-toggler .fas{
  color: #000;
}

.navbar{
  padding: 10px 0px;
  background-color: #fff;
  box-shadow: 1px .5px 3px;
}

.nav-link{
  font-size: 15px; 
  color: #000;
  padding: 20px 0px 20px 0px;
}

nav li{
  padding: 0px 20px 0px 20px;
}


nav .fas{
  color: #fff;
}


nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav ul li a:hover {
  color: #9C42A4;
}

nav ul li.active > a {
    color: #9C42A4;
    content: ""; /* This is necessary for the pseudo element to work. */ 
    display: block; /* This will put the pseudo element on its own line. */
    margin: 0 auto; /* This will center the border. */
    width: 100%; /* Change this to whatever width you want. */
}

nav.stroke ul li .bar {
  position: relative;
}

nav.stroke ul li .bar:hover:after {
  width: 100%;
}


nav.stroke ul li .bar:after{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    background: #FECF34;
    height: 3px;
}

.fixed-me{
    transition: all .5s ;
}

.fixed-me a{
    color: #000;
}

.fixed-me .fas{
    padding-top: 5px;
    color: #fff;
}

.fixed-me a:hover{
    color: #9C42A4;
}


.fixed-me .dropdown-item:hover{
    color: #fff;
}


.fixed-me{
    background-color: rgba(255, 255, 255, 0.9) !important;
    padding: 10px 50px !important;
    position: fixed;
    top:0;
    width: 100%;
}

.fixed-me .navbar-toggler .fas{
  color: #000;
}

.fixed-me li.active > a {
    color: #9C42A4;
}

.navbar-me {
    transition: all .5s ;
}


.dropdown .dropdown-menu {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 1s;

    max-height: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    border-top: none;
}

.dropdown .dropdown-menu a{
  color: #9C42A4;
}

.dropdown .dropdown-menu{
  background-color: #fff;
  border-top: 1px solid #9C42A4;
  padding: 0;
  margin: 0;
}

.dropdown-item:hover {
    transition: all .3s;
    background-color: #9C42A4;
    color: #fff !important;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.dropdown:hover .dropdown-menu {
    max-height: 200px;
    opacity: 1;
}


.navbar-toggler-icon{
  color: #000;
}

/* End Navbar */



#portfolio a{
  text-decoration: none;
}

.work {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 10px;
  height: auto;
  width: 100%;
  display: table;
  overflow: hidden;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .work {
    height: 400px;
  }
}
@media screen and (max-width: 480px) {
  .work {
    height: 270px;
  }
}
.work .desc {
  display: table-cell;
  vertical-align: middle;
  height: 270px;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.work .desc h3 {
  font-size: 20px;
  color: #FECF34;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transform: translate3d(0, -15px, 0);
  transform: translate3d(0, -15px, 0);
}
.work .desc span {
  display: block;
  color: #999999;
  font-size: 14px;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transform: translate3d(0, 15px, 0);
  transform: translate3d(0, 15px, 0);
}
@media screen and (max-width: 768px) {
  .work .desc {
    opacity: 1;
    background: rgba(255, 255, 255, 0.6);
  }
  .work .desc h3 {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .work .desc span {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.work:hover .desc {
  opacity: 1;
}
.work:hover .desc h3 {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.work:hover .desc span {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.programme-cycle .card{
  height: 340px;
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: #FECF34;
    color: #FFF;
    border: none;
}

.cercle{
  text-align: center;
}

.col-lg-4{
  padding-top: 20px;
  padding-bottom: 20px;
}


.bas a{
  background-color: #9C42A4;
  padding: 5px 10px 5px 10px;
  border-radius: 10px;
  display: inline-block;
  font-size: 15px;
  color: #fff;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.bas a:hover{
  background: rgb(254, 207, 52);
  text-decoration: none;
  display: inline-block;
  transition: all ease 0.5s;
}
