/* Général */

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

h1, h2, h3, h4, h5 {
    font-family: 'Oxygen', sans-serif;
    font-weight: bold;
    padding-bottom: 10px;
}

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

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

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

.blue-divider {
    width: 100px;
    height: 2px;
    background: #04243a;
    margin: 0 auto 20px;

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

/* Menu */

.navbar {
    background-color: #04243a;
    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: #ee2938 !important;
    background-color: #fff !important;
}

.navbar-toggler {
    color: #fff !important;
    border-style: none;
}

/* menu liens */

#liens a {
    padding-bottom: 35px;
    font-size: 26px;
    color: #fff;
}

#liens a:hover {
    color: #48a1de;
}

/* paralax */

.parallax {
  
  background-image: url("img/fond.jpg");
  min-height: 600px; 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* About */

#about {
    padding-top: 100px;
    background:  #04243a;
}

.profil-picture {
    text-align: center;
    margin: 0 auto;
    padding-bottom: 20px;
}

#about .heading h1 {
    font-size: 30px;    
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 20px;
}

#about .heading h3 {
    font-size: 20px;
    color: #48a1de;
    text-transform: uppercase;
    padding-bottom: 30px;
}

/* Skills */

#skills {
    background: #fff;
}

#skills .heading h2 {
    color: #04243a;
    font-size: 25px;
    text-transform: uppercase;
}

#skills .progress {
    height: 40px;
    margin: 15px 20px;
    background: #ddd;
}

#skills .progress-bar {
    background: #ee2938;
}

#skills p {
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 1px #000;
}

/* Xp pro */

#xp-pro {
    background: #04243a;
}

#xp-pro .heading h2 {
    color: #fff;
    font-size: 25px;
    text-transform: uppercase;
}

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

.timeline:before {
    top: 0;
    bottom: 0;
    left: 13px;
    position: absolute;
    content: " ";
    width: 5px;
    background: #fff;
}

.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: #ee2938;
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 5px;
    left: 5px;
    margin-left: -25px;
    background: #fff;
    border-radius: 50%;
}

.timeline li .timeline-badge-inverted {
    color: #ee2938;
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 5px;
    left: 5px;
    margin-left: -25px;
    background: #fff;
    border-radius: 50%;
}

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

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

.timeline-panel:after {
    position:absolute;
    top:15px;
    left: -14px;
    display:inline-block;
    border-top: 14px solid transparent;
    border-left: 0 solid #fff;
    border-right: 14px solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}
/* entreprise */
.timeline-heading h3 {
    margin-top: 5px;
    font-size: 22px;
}
/* lieu */
.timeline-heading h5 {
    font-size: 15px;
    color: #48a1de;
}
/* poste */
.timeline-heading h4 {
    padding-top: 20px;
    font-size: 18px;
    color: #ee2938;
}
/* détails */
.timeline-body {
    color: #282828;
}

.marge {
    height: 100px;
    width: auto;
    background: #04243a;
}

/* Formation */
#formation {
    background: #fff;
}
/* titre section */
#formation .heading h2 {
    color: #04243a;
    font-size: 25px;
    text-transform: uppercase;
}

.formation-block {
    width:90%;
    height: 420px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: #ddd;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
}
/* année */
.formation-block h5 {
    color: #888;
    font-size: 17px;
    margin-bottom: 10px;
}
/* ico chapeau */
.formation-block .fas {
    font-size: 35px;
    padding-bottom: 15px;
}
/* titre de la formation */
.formation-block h3 {
    font-size: 20px;
    color: #ee2928;
    line-height: 20px;
}
/* lieu de la formation */
.formation-block h3 span {
    font-size: 17px;
    color: #48a1de;
}
/* détails de la formation */
.formation-block h4 {
    font-size: 15px;
    color: #3a3a3a;
    margin-top: 20px;
    margin-bottom: 20px;
}

.formation-block p {
    font-size: 15px;
    font-weight: bold;
}

.formation-block .blue-divider {
    margin-bottom: 20px;
}

/* Portfolio */

#portfolio {
    background: #04243a;
}

#portfolio .heading h2 {
    color: #fff;
    font-size: 25px;
    text-transform: uppercase;
}

#portfolio img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
    -webkit-transition: filter .6s linear;
            transition: filter .6s linear;
 
}
#portfolio img:hover {
    -webkit-filter: none; 
            filter: none;
}

#portfolio button {
    margin-bottom: 20px;
}

#image-cube {
    height: 500px;
    width: auto;
}

/* Footer */
footer {
    background: #04243a;
    padding: 20px 0 40px;
}

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

footer .fas:hover {
    font-size:  27px;
}

footer h5 {
    color: #fff;
    font-weight: normal;
}

footer a {
    color: #fff;
    font-weight: normal;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    font-weight: normal;
}

/* Tablette */

@media (min-width: 768px) {
    /* Xp pro */

    #xp-pro {
        background: #04243a;
    }

    #xp-pro .heading h2 {
        color: #fff;
        font-size: 25px;
        text-transform: uppercase;
    }

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

    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 5px;
        background: #fff;
        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: #ee2938;
        width: 50px;
        line-height: 50px;
        font-size: 20px;
        text-align: center;
        position: absolute;
        top: 5px;
        left: 50%;
        margin-left: -25px;
        background: #fff;
        border-radius: 50%;
        
    }

    .timeline li .timeline-badge-inverted {
        color: #ee2938;
        width: 50px;
        line-height: 50px;
        font-size: 20px;
        text-align: center;
        position: absolute;
        top: -95px;
        left: 50%;
        margin-left: -25px;
        background: #fff;
        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 #fff;
        border-radius: 7px;
        padding: 20px 25px;
        position: relative;
        box-shadow: 0 1px 6px rgba(0,0,0, 0.5);
        background: #fff;
    }

    .timeline-panel-container-inverted .timeline-panel {
        float: left;
        margin-left: 40px;
        position: absolute;
        top: -100px;
        left: 50%;
        width: auto;
    }

    /* Fléche */
    .timeline-panel:after {
        position:absolute;
        top:15px;
        right: -14px;
        left: auto;
        display:inline-block;
        border-top: 14px solid transparent;
        border-left: 14px solid #fff;
        border-right: 0px solid #fff;
        border-bottom: 14px solid transparent;
        content: " ";
        
    }

    /* Fléche inversé */
    .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: 22px;
    }

    .timeline-heading h4 {
        color: #ee2938;
        font-size: 18px;
    }

    .timeline-heading h5 {
         color: #48a1de;
    }

    .timeline-body {
        padding-top: 10px;
        color: #282828;
    }

    .marge {
        height: 100px;
        width: auto;
        background: #04243a;
    }
    
    #image-cube {
    height: 800px;
    width: auto;
    }

}