/* GENERAL */

body {
    font-family: 'Lato', sans-serif;
}

h1,h2,h5,h6 {
    font-weight: bold;
}

h3 {
    font-weight: 600;
}

h4 {
    font-weight: 500;
}

h5 {
    font-size: 1rem;
}

p {
    font-family: 'Montserrat', sans-serif;
}

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

section {
    padding:65px 80px 0;


}

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

}
section .heading h2 {
    text-transform: uppercase;
}

.divider {
    width: 100px;
    height: 2px;
    background-color: #c22d00;
    margin: 0 auto 20px;
}

.divider.white {
    background-color: #fff;
}

.divider.second {
    margin-top: 40px;
}

.divider.second.not-first {
    margin-top: 60px;
}

ul {
    list-style: none;
}


/* NAV*/

.navbar {
    background-color: #c22d00;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 1px solid #fff;
}

.navbar-nav {
    margin: 0 auto;
    text-align: center;
}

.nav-link {
    color:white !important;
    margin: 0 6px 0;
}

.nav-link.active,
.nav-link:hover {
    background-color: white;
    color: #c22d00 !important;
    border-radius: 3px;
}


/* ABOUT */

#about {
    background-color: #c22d00;
}




#about .heading h1:hover, #about .heading h3:hover {

    transform: scale(1.1);
    cursor:none;
}

#about .heading h1 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    transition:all 0.15s ease-in 0s;
}

#about .heading h3 {
    color:#ffffff;
    transition:all 0.15s ease-in 0s;
}

.button1 {
    font-weight: bold;
    margin-top: 20px;
    text-transform: uppercase;
    padding: 10px 40px;
    transition: all 0.3s ease-in 0s;
    border-radius: 5px;
    letter-spacing: .1rem;
}

.button1:hover {
    color: #c22d00;

}

.profil-picture {
    text-align: center;
    margin: 0px auto 30px;
}

.very-low {
    font-size: 12px;
    color: #fff;
    text-transform: none;
    font-weight: 500;
    margin-top: 10px;;
}

/* SKILLS*/

@media only screen and (max-width: 992px){
#skills{
    padding:40px 20px 0px;
}

#education{
    padding:40px 20px 0px;
}

#experience{
    padding:40px 20px 0px;
}

#recommendations{
    padding:40px 20px 0px;
}

.new-r {
    margin-bottom: 0px !important;
}
}

#skills .heading h2 {
    color: #c22d00;
}


#skills .heading h3 {
    color: #c22d00;
}

#skills .progress {
    height: 45px;
    margin: 30px 20px;
    border-radius: 3px;
}

#skills .progress:last-child {
    margin-bottom: 20px;

}

#skills .progress-bar {
    background-color: #c22d00;
    /* transition: all 0.2s ease-in 0s;
    transform: scaleX(0); */
}

/*
#skills .progress:hover .progress-bar{
    transition: all 0.2s ease-in 0s;
    transform: scaleX(1);

}
*/

#skills .progress-bar h5 {
    text-shadow: 1px 1px 1px #7e7e7e;
    text-transform: uppercase;
    margin-bottom: 3px;
}

/* EXPERIENCE*/


#experience {
    background-color: #c22d00;
    margin-top: 60px;
    /* transition: all 0.2s ease-in 0s;
    transform: scaleX(0); */
}

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

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



@media only screen and (min-width: 772px){
.timeline:before {
    content: " ";
    top: 0;
    bottom: 0;
    position: absolute;
    width: 5px;
    background-color: #4d4d4d;
    left: 50%;
    margin-left: -2.5px;
    border-radius: 2px;
}
}

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

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

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

@media only screen and (min-width: 772px){
.timeline li .timeline-badge {
    color:#c22d00;
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #ffffff;
    border-radius: 50%;
}
}
@media only screen and (max-width: 772px){
    .timeline-badge{
        display:none;
    }
    
}

@media only screen and (min-width: 772px){
.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;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    background: #fff;
}

@media only screen and (min-width: 772px){
    .timeline-panel {
    margin-right: 40px;
    width: 90%;
    }
}

@media only screen and (max-width: 772px){
    .timeline-panel {
    width: 100%;
    }
}

/* .timeline-panel-container-inverted .timeline-panel {
    float: left;
    margin-left: 40px;
} */

@media only screen and (min-width: 772px){
.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: 0px solid #fff;
    border-bottom: 14px solid transparent;
    content:" ";
}


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

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

.timeline-heading h4 {
    color: #c22d00;
    font-size: 22px;
}

/*EDUCATION*/

#education .heading h2 {
    color: #c22d00;
    margin:15px 0px;
}

.education-block {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background: #e9ecef;
    border-radius: 5px;
    /* border: 1px solid #ccc; */
    box-shadow: 0px 2px 0px #cacacacb;
    margin-bottom: 40px;
    
}

.education-block span {
    font-size: 35px;
}

.education-block h3 {
    color: #c22d00;
    margin: 15px;
    font-size: 24px;
    text-align: center;
}

.education-block h4 {
    margin-bottom: 20px;
    font-weight: normal;
}

/* PORTFOLIO*/

#portfolio {
    background: #c22d00;
    margin-top: 40px;;
}

#portfolio .container {
padding-bottom: 60px;
}

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

#portfolio .pc img {
    width: 100%;
    height:100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

#portfolio .pc img:hover {
    filter: none;
    -webkit-filter: none;
}

#portfolio .img-link {
    margin-bottom: 20px;
}

/* #portfolio .second-row:last-child {
    margin-bottom: 80px;
} */

#portfolio .pc .card {
        background-color: rgb(241, 241, 241);
        padding-right: 0px;
        padding-left: 0px;
        border: none;
        color: #c22d00                                                                                                                                          ;
        text-align: center;
        padding-bottom: 20px;
        margin-bottom: 25px;
        border-radius: 5px;;
}

#portfolio .card p {
    margin-bottom: 0px;
}

.card img{
    filter: brightness(0.5);
}

#portfolio .col-md-4:hover .card img {
    filter: brightness(1);
}

#portfolio .col-md-4 {
    transition: transform 0.15s ease-in;
}

#portfolio .pc .col-md-4:hover {
    transform: scale(1.1);
}

/* #portfolio .pc .col-md-4:hover h5{
    color: #303030;
} */


    
#portfolio .pc .btn {
        background-color: #dad9d9;
        border-color: #fff;
        color:#fff;
        padding: 10px 30px;
        font-family: 'Lato', sans-serif;
        font-weight: bold;
        font-size: 14px;
        text-transform: uppercase;
        transition: transform 0.15s ease-in;
        transform: 0.5s;
}

/* #portfolio .pc .btn:hover {
    transform: scale(1.1);
    background-color: #c22d00;
} */

#portfolio h5 {
        padding-bottom: 10px;
        color: #c22d00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ;
        font-size: 20px;
}


    
    /* #portfolio-cards .second-row:last-child {
        margin-bottom: 80px;
    } */
    

    



/* RESEAU*/

#reseau {
    background: #fff;
}

#reseau .container {
padding-bottom: 60px;
}

#reseau .heading h2 {
    color: #c22d00;
}

@media only screen and (min-width:992px) {
    

#reseau img {
    width: 100%;
    height:100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

#reseau img:hover {
    filter: none;
    -webkit-filter: none;
}

#reseau img .bw {
    width: 100%;
    height:100%;
    filter: none;
    -webkit-filter: none;
}

#reseau img.bw:hover {
    filter: invert(100%);
    -webkit-filter: invert(100%);
}
}

#reseau .img-link {
    margin-bottom: 60px;
}

#reseau .second-row:last-child {
    margin-bottom: 80px;
}

/*RECOMMENDATIONS*/

#recommendations {
    background: #c22d00;
}

#recommendations .heading h2{
    color: #fff;

}

#myCarousel .carousel-item {
    padding: 30px 30px 90px;
}

#myCarousel .carousel-item h3 {
    color: #fff;
    font-style: italic;
    margin-bottom: 50px;
}

#myCarousel .carousel-item h4 {
    color: #333;
}

/*FOOTER*/

footer {
    background-color: #303030;
    padding: 20px 0 40px;
}

footer span {
    color: #c22d00;
    font-size: 25px;
    line-height: 35px;
}

footer span:hover {
    font-size: 27px;
}

footer h5 {
    color: #fff;
    font-weight: normal;
    margin-bottom: 20px;
    font-size: 18px;
}

/* CONTACT

#contact {
    background: #c22d00;
    padding-bottom: 40px;
}

#contact .heading h2 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 40px;;
}

#contact .col-lg-4 .vignette {
    background: #fff;
    text-align: center;
    padding: 20px 20px;;
    border-radius: 5px;
}

#contact .col-lg-4 {
    margin-bottom: 20px;
}

#contact .col-lg-4 h3{
    color: #c22d00;
    margin-bottom: 20px;
}

#contact .col-lg-4 p {
    color: #303030;
    font-size: 18px;
    font-weight: 600;
}

#contact .col-lg-4 a {
    text-decoration: none;
    
} */

/*CONTACT*/

#contact{
background-color: #c22d00;
padding-bottom: 65px;
}

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


#contact-form{
    font-size: 20px;
    color: #fff;
    font-weight: bold;
}

#contact-form label{
    margin-bottom: 10px;
}

.form-control{
    height: 50px;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
}


.form-control-message{
    height: 250px;
}

.comments{
    font-style: italic;
    font-size: 16px;
    color: #fff;
    height: 25px;
}

#contact-form input[type=submit]{
    margin: 40px auto 0px;
    display: block;
}

.thank-you{
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    font-size: 22px;
}



/*TESTS*/

@media only screen and (max-width: 992px) {
    #portfolio .pc {
      display: none;
    }
  }

@media only screen and (min-width: 992px) {
    #portfolio .smartphone {
      display: none;
    }
  }

  