/* GENERAL */
*{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

body{
    font-family: "Lato", sans-serif;
   
    width:100%;
}

h1,h2,h3,h4,h5,h6{
    font-weight: bold;
    margin-top: 10px;
}

img{
    max-width: 100%;
    height:auto;
}

section{
    padding: 45px 0 80px 0;
}

@media screen and (min-width: 976px) {
  #specialrezki2 {
    padding-right:20px;
  }
}

@media screen and (min-width: 764px) and (max-width: 970px) {
  #specialrezki2 {
    padding-right:10px;
  }
}

@media screen and (min-width: 764px) {
  #specialrezki {
    padding-top:80px;
  }
}

section .heading{
  text-transform: uppercase;
 text-align: center;
 padding-bottom: 40px;
}

.red-divider{
    width:100px;
    height:2px;
    background: #DB3A34;
    margin:0 auto;
}

.white-divider{
    width:100px;
    height:2px;
    background: #fff;
    margin:0 auto;
}

.full-height{
    height:100vh;
}

p{
    font-size: 1.8rem;;
}


/** NAVBAR **/
.navbar
{
    background: rgb(2, 2, 2);
    font-size:12px;
    text-transform:uppercase;
    font-weight:bold;
}

.navbar .navbar-nav{
    display:inline-block;
    float:none;
    vertical-align: top;
}

.navbar .navbar-collapse
{
    text-align: center;
}

.navbar li a
{
    color:#fff !important;
}

.navbar-nav li a:hover,.navbar-nav li.active a
{
    color: #FF6F59 !important;
    border-bottom: 2px solid #FF6F59;
    background-color:rgba(73, 73, 73, 0.603) !important;
}

.navbar-default 
{
    border-style:none;
}

.icon-bar
{
    background-color:#fff !important;
}


/** home-page **/ 
#home-page{
    background: -webkit-gradient(linear,left bottom, left top,from(rgba(110, 110, 110, 0.397)),to(rgba(2, 2, 2,I 0.397))),url('img/alberto-juarez-1390506-unsplash.jpg')center center / cover no-repeat;
    background: -webkit-linear-gradient(bottom,rgba(110, 110, 110, 0.397),rgba(2, 2, 2, 0.397)),url('img/AIGenrative.jpg')center center / cover no-repeat;
    background: -o-linear-gradient(bottom,rgba(110, 110, 110, 0.397),rgba(2, 2, 2, 0.397)),url('img/AIGenrative.jpg')center center / cover no-repeat;
    background: linear-gradient(to top,rgba(110, 110, 110, 0.397),rgba(2, 2, 2, 0.397)),url('img/AIGenrative.jpg')center center / cover no-repeat;
}

#home-page .heading{
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top:50%;
    right: 50%;
    -webkit-transform:translateX(50%) translateY(-50%);
        -ms-transform:translateX(50%) translateY(-50%);
            transform:translateX(50%) translateY(-50%);
    border:1px solid rgb(255, 255, 255);
    padding: 5px 30px;
    background: rgba(22, 22, 22, 0.507);
   
}


#home-page .heading h1{
    color:rgba(255, 255, 255, 0.918);
    white-space:nowrap;
    font-size: 6em;
    font-weight: 700;
}

#home-page .heading h3
{
    color:rgb(255, 255, 255);
    font-size: 3em;
    font-weight: 300;
    text-transform: initial;
}


/** About **/
#about{
    font-family: 'Montserrat', sans-serif;
    background:#084C61;
}

#about .heading{
    padding-bottom: 20px;;
}

#about h2{
    color:#fff;
}


#about h3{
    color:#DB3A34;
    margin-bottom: 20px;
    font-size: 2.1em;
}


#about p{
    color:rgba(253, 253, 253, 0.89);
    font-size: 1.5em;
    line-height: 1.4em;
}



#about a{
    
    padding: 2px 5px;
    text-decoration: none;
    color:#fff;
    font-size: 1em;
    font-weight: bold;
    
}

#about a:hover{
    text-decoration: underline;
}

/* #about .img-circle{
    min-width:200px;
    min-height:200px;
    margin: 20px 0 30px 0;
} */

#about .button_cv{
    width:100%;
    text-align: center;
    margin: 40px auto;
}

#about .button1{
    
    width:100px;
    padding: 10px 30px;
    border: #DB3A34 1px solid;
    font-weight: bold;
    font-size: 1.3em;
    color: #fff;    
    
}

#about .button1:hover{
    
    background: #DB3A34; 
    text-decoration: none;
}

#about  .about_left-block{
    width:100%;
    height:100%;
    text-align: center;
}



/** EDUCATION **/

#education
{
    background:rgba(99, 99, 99, 0.308);
}

#education .heading h2{
    color:rgb(0, 0, 0);
}

.education-block 
{
    width:80%;
    margin: 0 auto;
    text-align: center;
    padding:30px;
    background:rgb(255, 255, 255);
    border-radius: 10px;
   z-index: 3;
    margin-bottom:20px;
    -webkit-box-shadow: -1px 2px 3px 3px  rgb(163, 162, 162);
            box-shadow: -1px 2px 3px 3px  rgb(163, 162, 162);
}

.education-block h5{
    color:rgb(105, 105, 105);
    font-size: 15px;
    margin-bottom:15px;
}

.education-block .glyphicon{
    font-size:40px;
}

.education-block h3{
 color:#DB3A34;
}

.education-block h4
{
    margin-bottom:20px
}

.education-block p
{
    font-weight:bold;
}

.education-block .red-divider{
    margin-bottom:20px;
}


/** EXPERIENCE **/

.experience{
    background: #084C61;
}

.experience .heading h2{
    color:#fff;
}

.timeline{
    padding: 30px 10px;
    position:relative;
}

/*ligne vertical*/
.timeline:before{
    top:0;
    bottom:0;
    position:absolute;
    content:"";
    width:5px;
    background:rgb(255, 255, 255);
    left:50%;
    margin-left:-2.5px;
}

.timeline > li{
    margin-bottom:20px;
    position:relative;
}

.timeline > li:after{
    clear:both;
}

.timeline>li::before, .timeline > li:after{
    content:"";
    display:table;
}

.timeline li .timeline-badge{
    color: rgb(0, 0, 0);
    width: 50px;
    line-height: 50px;
    font-size:20px;
    text-align: center;
    position:absolute;
    top:16px;
    left:50%;
    margin-left:-25px;
    background-color: #ddd;
    border-radius:50%;
}

.timeline-panel-container{
    width:50%;
    float:left;
}

.timeline-panel-container-inverted{
    width:50%;
    float:right;
}

.timeline-panel{
    width:90%;
    float:right;
    margin-right:40px;
    border:1px solid #d4d4d4;
    border-radius: 7px;
    padding : 20px 25px;
    position:relative;
    -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.175);
            box-shadow: 0 1px 6px rgba(0,0,0,0.175);
    background:#fff;
}
.timeline-panel-container-inverted .timeline-panel{
    float: left;
    margin-left:40px;
}

.timeline-panel:after{
    position: absolute;
    top:27px;
    right:-14px;
    display: inline-block;
    border-top:14px solid transparent;
    border-left:14px solid #fff;
    border-right:0 solid #fff;
    border-bottom:14px solid transparent;
    content:"";
}

.timeline-panel-container-inverted .timeline-panel::after
{
    border-left-width: 0;
    border-right-width:14px;
    left:-14px;
    right:auto;
}

.timeline-heading h3{
    margin-top: 5px;
    font-size:20px;
}

.timeline-heading h4
{
    color:#DB3A34;
}


/**Compétences**/
#competences
{
    font-size: 1.2rem;
    background: rgba(99, 99, 99, 0.308);
}

#competences .heading h2{
    color:rgb(0, 0, 0);
    padding-bottom: 0;
    margin-bottom: 10px;
}


#competences  h3{
    margin:10px 0 30px 0;
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    color:rgb(94, 93, 93);
    }

/*Compétences aside-block**/

#competences .aside-block .diver-block,
#competences .aside-block .langages{
    border:solid 1px grey;
    padding: 10px 10px;
    margin:9px 0 25px 0;
    border-radius: 20px;
    background:#fff;
    -webkit-box-shadow: 1px 1px 2px 2px rgb(100, 100, 100);
            box-shadow: 1px 1px 2px 2px rgb(100, 100, 100);
}

#competences .langages .progress{
    height:30px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1.5em;
}


#competences .langages h5{
    font-size: 1.2em;
}

#competences .aside-block .diver-block{
    font-weight: bold;
    color:rgb(88, 88, 88);
    font-size: 1.2em;
    white-space:nowrap;
    
}

.diver-block li img{
    margin-right: 3px;

} 


/*Compétences block-body*/
#competences .block-body{
    padding:0 20px;
}

#competences  .block-body h3{
    padding-top: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;

}

#competences .sub-block{
    position: relative;
    height:100%;
    background: rgb(255, 254, 254);
    -webkit-box-shadow: 1px 1px 2px 2px rgb(100, 100, 100);
            box-shadow: 1px 1px 2px 2px rgb(100, 100, 100);
    border-radius: 20px;
    margin-bottom: 20px;
    width:100%;
    text-align: left;
}

#competences .sub-block h4{
    padding: 10px 0 10px 0;
    font-size: 1.3em;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    color:rgb(94, 93, 93);
}


#competences .sub-block .sub-block__database,
#competences .sub-block .sub-block__front{
    margin: 0;
    width:100%;
    padding:10px 0;
}

#competences .sub-block .box{
    width:100%;
}

#competences .box .chart{
    position:relative;
   width:100px;
  height:100px;
  margin:0 auto;
  text-align: center;
  font-size: 1.8em;
  line-height: 100px;
}

#competences .box canvas{
   position: absolute;
    width:100px !important;
    height:100px !important;
    top:0;
    left: 0;
   margin:0 auto;
}


/*block back*/
#competences .sub-block__back{
    margin-bottom: 30px;
    margin-left: 5px;
}

#competences .sub-block__back .box .chart{
   width:140px;
  height:140px;
 
  line-height: 150px;
}

#competences .sub-block__back .box canvas{
    width:140px !important;
    height:130px !important;
}

.sub-block__back  .chart img{
    width:100px;
    margin-bottom:20px;
    
}

 .sub-block__back .text-body p{
     padding:0;
    margin:20px 0 0 10px;
    color:rgb(88, 88, 88);
    font-weight: 700;
}


/**Portfolio**/

#portfolio{
    background:#084C61;
    text-align: center;
    position: relative;
    height:100%;
    z-index: 2;
    
    color:#fff;
    overflow: hidden;
}


/*Carousel*/
.carousel1{
    display: inline-block;
    position: relative;
    width:30%;
    left:0;
    margin-bottom: 5em;
}
  

#portfolio img{
    width:100%;
    height:auto;
    opacity: 0.7;
    -webkit-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

#portfolio img:hover{
    opacity:1;
}

.item__title {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
  }


.item{
    margin: 10px 20px;
    border:solid 1px rgba(66, 66, 66, 0.575) ;
    position: relative;
    -webkit-box-shadow: -2px 2px 2px rgba(82, 82, 82, 0.404);
            box-shadow: -2px 2px 2px rgba(82, 82, 82, 0.404);
    background-color: rgba(153, 153, 153, 0.233);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    -webkit-transform: translate3d(0, -1px, 0);
            transform: translate3d(0, -1px, 0);
    cursor:pointer;
   
}

.item:hover  {
            -webkit-transform: translate3d(0, -10px, 0);
                    transform: translate3d(0, -10px, 0);
          
} 

.carousel {
    position:relative;
}

.carousel__container{
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);    
}
 
.carousel__container::after{
    content:'';
    clear: both;
    display: block;
}

 .carousel__item{
    float: left;
}

.carousel__next, .carousel__prev {
    position: absolute; 
    width:70px;
     height:70px;
     background:rgba(0, 0, 0, 0.493) url(img/right-arrow.svg)center center no-repeat;
     background-size: 70px 70px;
     border-radius:50%;
     top:50%;
     margin-top:-20px;
     right:-30px;
     opacity: 0.5;
    -webkit-box-shadow: 0 15px 35px #3232321a, 0 5px 15px #0000001a;
            box-shadow: 0 15px 35px #3232321a, 0 5px 15px #0000001a;
     cursor:pointer;
     -webkit-transition: opacity 0.3s,-webkit-transform 0.3s;
     transition: opacity 0.3s,-webkit-transform 0.3s;
     -o-transition: transform 0.3s,opacity 0.3s;
     transition: transform 0.3s,opacity 0.3s;
     transition: transform 0.3s,opacity 0.3s,-webkit-transform 0.3s;
}
  
.carousel__next:hover, .carousel__prev:hover{
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
    opacity:0.8;
}

.carousel__prev{
    right:auto;
    left:-20px;
    background-image: url(img/left-arrow.svg);
}

/*Modal*/
.modal-content{
    background: rgb(255, 255, 255);
    border-radius:20px;
    font-size: 1.1em;
    
}

.modal-content h3{
    margin:0;
}

.modal-header{
    text-align: center;
    color: #767676;
}

.modal-content .modal_block-body{
 padding:10px 5px;
}

.modal-content .features,
.modal-content .tech{
    line-height: 1.8em;
    font-size: 1.2em;
}

.modal-body .topline{
    text-align: center;
    content:'';
    width:46px;
    height:1px;
    background: #4e4e4e;
    margin-left:0;
    font-weight: bold;
    color: #767676;
} 

.modal-body h4{
    margin-top:3px;
    color: #767676;
}

.modal-body p {
    margin-bottom: 0;
    font-size: 1.2em;
}

.features .topline{
    width:65px;

}

.tech .topline{
    width:95px;
}

.modal-footer{
    text-align: center;
}

.modal-footer a{
    text-decoration: none;
}

.modal-footer .btn-pulse{
    display: inline-block;
    width:150px;
    height:40px;
    background:#DB3A34;
    z-index: 2;
    border-radius: 50px;
    color:#fff;
    font-size: 1.5em;
    line-height: 1.6em;
    opacity: 0.7;
    -webkit-animation: pulse 3s linear infinite;
            animation: pulse 3s linear infinite;
} 


/**Loisirs**/

#loisirs{
    background: rgba(99, 99, 99, 0.308);
    text-align: center;
}

.loisirs-body{
    position: relative;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: #084C61;
    color: white;
    height:430px;
}

#loisirs img{
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    width:100%;
    height:auto;
}

#loisirs h4{
    line-height: 1.5em;
    font-weight: bold;
    font-size: 1.6em;
}


/**FOOTER**/

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

footer .glyphicon{
    font-size: 25px;
    margin:20px;
    color:#DB3A34;
    height: 30px;
}

footer .glyphicon:hover{
    font-size: 27px;
}
footer h5
{
    color:#fff;
    font-weight: normal;
}


@media (max-width: 1200px) {
        
    /**Carousel**/

    .carousel1{
        width:60%;
    }
    
    #portfolio img{
        opacity: 1;
    }
    
    .modal-content{
        font-size: 1em;
    }

    .modal-content .features,
    .modal-content .tech{
        line-height: 1.4em;
    }

    /**LOISIRS**/

    .loisirs-body{
    
        height:350px;
    }


    #loisirs h4{
        line-height: 1.2em;
        font-weight: bold;
        font-size: 1.3em;
    }


}



@media (max-width: 983px) {

    /**home-page**/

    #home-page .heading h1 {
        font-size: 5em;
    }

    /**About**/

    #about p{
        font-size: 1.3em;
    }

    #about .button1{
        background: #DB3A34; 
    }

   /**Competences**/
    #competences .aside-block .langages{
        margin: 20px 0;
    }

    #competences{
        padding-bottom: 40px;
    }

    .carousel__next, .carousel__prev {
        width:50px;
        height:50px;
        background-size: 50px 50px;
        right:-10px;
    }

    .carousel__prev{
        right:auto;
        left:-10px;
    }

    /**Portfolio**/ 

    #portfolio img{
        opacity: 1;
    }

    .loisirs-body{
        height:280px;
    }
    
 }



 @media (max-width: 700px){

     /**HOME-PAGE**/ 

     #home-page .heading h1 {
        color: rgba(255, 255, 255, 0.918);
        font-size: 3em;
    }

    #home-page .heading h3{
        margin-top: 0;
    }

    /**Competences**/

    .timeline-panel-container{
        width:100%;
    }

    .timeline-panel-container-inverted{
        width:100%;
    }

    .timeline-panel::after{
        display:none;
    }
    .carousel1{
        width:85%;
    }

    #competences .sub-block__back {
        margin-bottom: 30px;
        margin-left: 0;
        width:100%;
    }

    /** PORTFOLIO **/

    .item{
     margin: 10px 5px; 
    }
    
    /**Loisirs**/

    .loisirs-body{
   
        height:230px;
    }

    #loisirs h4{
        line-height: 1em;
        font-weight: bold;
        font-size: 1em;
    }
     
}
    
@media (max-width:600px){
        
    /**HOME PAGE**/

    #home-page .heading h1{
        font-size: 2em;
    }
    
    #home-page .heading h3
    {
        font-size: 1em;
    }

    /**Competences**/

    .sub-block__back .text-body p{        
        margin:0 0 0 10px;  
    }

    /**Portfolio**/
    #portfolio{
        padding-bottom: 0;
        padding-top: 30px;
    }

    #portfolio .heading{
        padding-bottom: 20px;
    }
    .carousel__next, .carousel__prev {
  
        width:40px;
         height:40px;
         background-size: 40px 40px;
    }

    /**LOISIRS**/

    .loisirs-body{
        font-size: 0.8em;
        height:100%;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    #loisirs img{
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
    }

}

@-webkit-keyframes pulse{
    0%
    {
        -webkit-box-shadow: 0 0 0 0 #DB3A34, 0 0 0 0 #DB3A34;
                box-shadow: 0 0 0 0 #DB3A34, 0 0 0 0 #DB3A34;
    } 
    40%
    {
        -webkit-box-shadow: 0 0 0 15px rgba(0, 0, 0, 0),0 0 0 0 #DB3A34;
                box-shadow: 0 0 0 15px rgba(0, 0, 0, 0),0 0 0 0 #DB3A34;
    } 
    80%
    {
        -webkit-box-shadow: 0 0 0 15px rgba(0, 0, 0, 0),0 0 0 15px rgba(0, 0, 0, 0);
                box-shadow: 0 0 0 15px rgba(0, 0, 0, 0),0 0 0 15px rgba(0, 0, 0, 0);
    } 
    100%
    {
        -webkit-box-shadow: 0 0 0 0 rgba(3, 3, 3, 0),0 0 0 15px rgba(0, 0, 0, 0);
                box-shadow: 0 0 0 0 rgba(3, 3, 3, 0),0 0 0 15px rgba(0, 0, 0, 0);
    } 
 }

@keyframes pulse{
    0%
    {
        -webkit-box-shadow: 0 0 0 0 #DB3A34, 0 0 0 0 #DB3A34;
                box-shadow: 0 0 0 0 #DB3A34, 0 0 0 0 #DB3A34;
    } 
    40%
    {
        -webkit-box-shadow: 0 0 0 15px rgba(0, 0, 0, 0),0 0 0 0 #DB3A34;
                box-shadow: 0 0 0 15px rgba(0, 0, 0, 0),0 0 0 0 #DB3A34;
    } 
    80%
    {
        -webkit-box-shadow: 0 0 0 15px rgba(0, 0, 0, 0),0 0 0 15px rgba(0, 0, 0, 0);
                box-shadow: 0 0 0 15px rgba(0, 0, 0, 0),0 0 0 15px rgba(0, 0, 0, 0);
    } 
    100%
    {
        -webkit-box-shadow: 0 0 0 0 rgba(3, 3, 3, 0),0 0 0 15px rgba(0, 0, 0, 0);
                box-shadow: 0 0 0 0 rgba(3, 3, 3, 0),0 0 0 15px rgba(0, 0, 0, 0);
    } 
 }
