/* GENERAL */
body
{
    font-family: 'lato', sans-serif;
}
h1,h2,h3,h4,h5,h6
{
    font-weight: bold;
}
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;
}
.divider
{
    width: 100px;
    height: 2px;
    background-color:var(--red);
    margin: 0 auto 20px;
}
.divider.white
{
    background-color:var(--white);
}
html
{
    --black: #000;
    --white: #fff;
    --red: #d82c2e;
    --darkgray: #333;
    --gray: #bbb;
    --grayBis:#ccc;
    --almostLightGray: #d4d4d4;
    --grayLight:#e9ecef;
    --grayTer: #888;
}
ul
{
    list-style: none;
}

/* NAVBAR */
.navbar
{ 
    background-color: var(--red);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 1px solid var(--white);
}
.navbar-nav
{
    margin: 0 auto;
    text-align: center;
}
.nav-link
{
    color: var(--white) !important;
    margin: 0 6px;
}
.nav-link.active, .nav-link:hover
{
    color: var(--red) !important;
    background-color:var(--white) ;
    margin: 0 6px;
}
/* ABOUT */
#about
{
    background-color: var(--red);
}
.profile-picture
{
    text-align: center;
    margin: 0 auto 30px;
}
#about .heading h1
{
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.button1
{
    font-weight: bold;
    color: var(--white);
    text-transform: uppercase;
    border: 1px solid var(--white);
    padding: 18px 50px;
    border-radius: 3px;
    display: inline-block;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease-in 0s;
}
.button1:hover
{
	color: var(--red);
    background-color: var(--white);
}
/* SKILLS */
#skills .heading h2
{
    color: var(--red);
}
#skills .progress
{
    height: 45px;
    margin: 30px 20px;
}
#skills .progress:last-child
{
    margin-bottom: 0px;
}
#skills .progress-bar
{
    background-color: var(--red);
}
#skills .progress-bar h5
{
    text-shadow: 1px 1px 1px var(--black);
    margin-bottom: 3px;
}
#skills #zéro
{
    background-color: var(--black);
}

/* EXPERIENCE */
#experience
{
    background-color: var(--red);
}
#experience .heading h2
{
    color: var(--white);
}
.timeline
{
    padding: 30px 10px;
    position: relative;
}
.timeline:before
{
    content: " ";
    top: 0;
    bottom: 0;
    position: absolute;
    width: 5px;
    background-color:var(--darkgray);
    left: 50%;
    margin-left: -2.5px;   
}
.timeline > li
{
    margin-bottom: 20px;
    position: relative;
}
.timeline > li:before,
.timeline > li:after
{
    content: " ";
    display: table;
}
.timeline > li:after
{
    clear: both;
}
.timeline li .timeline-badge
{
    color: var(--red);
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: var(--gray);
    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 var(--almostLightGray);
    border-radius: 7px;
    padding: 20px 25px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0,0, 0, 0.175);
    background-color: var(--white);
}
.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 var(--white);
    border-right: 0px solid var(--white);
    border-bottom: 14px solid transparent;
    content:" ";
}
.timeline-panel-container-inverted .timeline-panel:after
{
    border-left-width: 0px;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}
.timeline-heading h3
{
    margin-top: 5px;
    font-size: 20px;
}
.timeline-heading h4
{
    color: var(--red);
}

/* EDUCATION */
#education .heading h2
{
    color: var(--red);
    margin: 15px 0px;
}
.education-block
{
    width: 90%;
    text-align: center;
    padding: 30px;
    background-color: var(--grayLight);
    border-radius: 5px;
    border: 1px solid var(--grayBis);
    margin-bottom: 20px;
}
.education-block h5
{
    color: var(--grayTer);
    font-size: 15px;
    margin-bottom: 15px;
}
.education-block span
{
    font-size: 35px;
}
.education-block h3
{
    color: var(--red);
    margin: 15px 0px;
}
.education-block h4
{
    margin-bottom: 20px;
    font-weight: normal;
}

/* PORTFOLIO */
#portfolio
{
    background-color: var(--red);
}
#portfolio .heading h2
{
    color: var(--white);
}

#portfolio img
{
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}
#portfolio img:hover
{
    filter: none;
    -webkit-filter: none;
}
#portfolio .col-md-4
{
    margin-bottom: 20px;
}

/* RECOMMANDATION */
#recommendations .heading h2
{
    color: var(--red);
}
#recommendations .carousel-item
{
    padding: 30px 30px 90px;
}
#recommendations .carousel-item h3
{
    color: var(--red);
    font-style: italic;
}

/* FOOTER */
footer
{
    background-color: var(--darkgray);
    padding: 20px 0px 40px;

}
footer span
{
    color: var(--red);
    font-size: 25px;
    line-height: 35px;
}
footer span:hover
{
    font-size: 27px;
}
footer h5
{
    color: var(--white);
    font-weight: normal;
    text-transform: uppercase;
}
