/* GENERAL */

body{
    font-family: 'Lato', sans-serif;
}
h1,h2,h3,h4,h5,h6{
    font-weight: bold;
}
ul,ol{
    list-style: none;
}
img{
    max-width: 100%;
    height: auto;
}
section{
    padding: 65px 0 80px 0;
}
section .heading{
    text-align: center;
    padding-bottom: 40px;
}
section .heading h2{
    text-transform: uppercase;
}
.red-divider{
    width: 100px;
    height: 2px;
    background: #d82c2e;
    margin: 0 auto 20px;
}
.white-divider{
    width: 100px;
    height: 2px;
    background: #fff;
    margin: 0 auto 20px;
}
.button1{
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid white;
    display: inline-block;
    margin-top: 20px;
    padding: 18px 50px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 1s ease-in 0s;
    background: transparent;
}
.button1:hover{
    background: white;
    color: #d82c2e;
    text-decoration: none;
}


/* MENU */

.navbar {
    background-color: #d82c2e;
    font-size: 12px;
    border-bottom: 1px solid #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: bold;
}
.nav-pills .nav-link{
    color: #fff !important;
    text-align: center;
}
.nav-pills .nav-link.active,  .nav-pills .nav-link:hover{
    color: #d82c2e !important;
    background-color: #fff !important;
}
.navbar-toggler{
    color: #fff !important;
    border-style: none;
}
.navbar .navbar-brand{
    margin-left:15px;
}

/* ABOUT */

#about{
    padding-top: 100px;
    background: #d82c2e;
}
.profile-picture{
    text-align: center;
    margin: 0 auto 30px;
    float: none;
}
#about .heading h1{
    color: #fff;
    text-transform: uppercase;
}
#about .heading h3{
    color: #000;
}

/* Card to contain about text and make it readable on red background */
.about-card{
    background: #ffffff;
    padding: 22px 26px;
    border-radius: 10px;
    max-width: 900px;
    margin: 20px auto 0 auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    color: #222;
}
.about-card .aboutme{
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 16px;
}
.about-card .lang{
    font-weight: 700;
    color: #d82c2e;
}



/* SKILLS */

#skills{
    background: white;
}
#skills .heading h2{
    color: #d82c2e;
}
/* neutraliser styles progress (plus utilisées) */
#skills .progress,
#skills .progress-bar{
    display: none;
}

/* Grandes cartes de compétences */
.skill-card{
    background: #f5f5f5;
    border: 2px solid #e6e6e6;
    border-left: 6px solid #d82c2e;
    padding: 24px;
    margin: 18px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.skill-card h3{
    margin: 0 0 8px 0;
    color: #d82c2e;
}
.skill-card p{
    margin: 0;
    color: #333;
    font-weight: 600;
}

@media (max-width: 767px){
    .skill-card{ min-height: 100px; padding: 18px; }
}

/* Skill category wrapper */
.skill-category{
    margin: 10px 0 30px 0;
}
.skill-category h4{
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin: 0 20px 12px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.skill-category .skill-card{
    margin: 10px 20px;
}

/* Category block: large red background for each category */
.category-block{
    background: #d82c2e; /* same red as navbar */
    padding: 18px 12px;
    margin: 18px 0;
    border-radius: 8px;
}
.category-block .skill-category{
    background: transparent;
}
.category-block .skill-card{
    background: #fff;
    border: 1px solid #e6e6e6;
    border-left: 6px solid #d82c2e;
    color: #222;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.category-block .skill-card h3{
    color: #d82c2e;
}

/* Highlight programming language terms */
.lang{
    color: #d82c2e;
    font-weight: 700;
    font-style: italic;
}


/* EXPERIENCE */

#experience{
    background: #d82c2e;
}
#experience .heading h2{
    color: #fff;
}
.timeline{
    padding: 30px 10px;
    position: relative;
}
.timeline:before{
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 5px;
    background: #333;
    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: #d82c2e;
    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;
    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: #d82c2e;
}


/* EDUCATION */

#education{
    background: #fff;
}
#education .heading h2{
    color: #d82c2e;
}
.education-block{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: #ddd;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
}
.education-block h5{
    color: #888;
    font-size: 15px;
    margin-bottom: 15px;
}
.education-block i{
    font-size: 40px;
}
.education-block h3{
    color: #d82c2e;
}
.education-block h4{
    margin-bottom: 20px
}
.education-block p{
    font-weight: bold;
}
.education-block .red-divider{
    margin-bottom: 20px;
}


/* PORTFOLIO */

#portfolio{
    background: #d82c2e;
}
#portfolio .heading h2{
    color: #fff;
}
#portfolio .col-md-4{
    margin-bottom: 20px;
}
#portfolio .img-thumbnail{
    width: 100%;
    height: 100%;
    max-height: 200px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}
#portfolio .img-thumbnail:hover{
    filter: none;
    -webkit-filter: none;
}


/* LOISIRS */
#loisirs{
    background: #fff;
}
#loisirs .heading h2{
    color: #d82c2e;
}
.hobby-card{
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
}
.hobby-card h3{ color: #d82c2e; margin-bottom: 8px; }
.hobby-card p{ margin: 0; font-weight: 600; }


/* Recommandation */
#recommandations{
    display:none;
    background: #fff;
}
#recommandations .heading h2{
    color: #d82c2e;
}
.carousel-control-prev,.carousel-control-next{
    background-image: none;
    color: #d82c2e;
}
.carousel-indicators{
    bottom: 0px;
}
.carousel-indicators li{
    border-color: #d82c2e;
}
.carousel-indicators li.active{
    background-color: #d82c2e;
}
#myCarousel .carousel-item{
    padding: 40px 30px;
}
#myCarousel .carousel-item h3{
    color: #d82c2e;
    font-style: italic;
}


/* FOOTER */

footer{
    background: #333;
    padding: 20px 0 40px;
}
footer .bi{
    font-size: 25px;
    margin: 20px;
    color: #d82c2e;
    height: 30px;
    line-height: 45px;
}
footer .bi:hover{
    font-size: 35px;
    font-weight: bold;
}
footer h5{
    color: #fff;
    font-weight: normal;
}



/* CONTACT */

#contact{
    background: #d82c2e;
}
#contact .heading h2{
    color: #fff;
}
#contact-form{
    font-size: 20px;
    color: #fff;
}
.form-control{
    height: 50px;
    font-size: 18px;
}
.comments{
    font-style: italic;
    font-size: 18px;
    color: #fff;
    height: 25px;
}

.contact-form input[type-submit]{
    margin: 40px auto 0px;
    display: block;
}
.thank-you{
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    font-size: 22px;
}














































