:root {
    --primary-color: #0f4c81;
    --secondary-color: #FDEA00;
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300&display=swap');
* {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
}

header {
    width: 100%;
    height: 100vh;
    background-image: url("pic/min-ilus.jpg");
    background-size: cover;
    background-position: center center;
}

.hdr-content {
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 76, 129, .5);
}

nav {
    width: 100%;
    background-color: var(--primary-color);
}

nav ul {
    width: 80%;
    margin: 0 auto;
    padding: 0;
}

nav ul li {
    display: block;
    text-align: center;
    padding: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5em;
    font-weight: lighter;
}

.toggle {
    width: 100%;
    padding: 10px 20px;
    background: var(--primary-color);
    text-align: right;
    box-sizing: border-box;
    display: block;
}

.btn-toggle {
    background-color: var(--primary-color);
    text-decoration: none;
    border: 0px solid;
    outline: 0;
}

.ico-toggle {
    width: 30px;
    height: 30px;
}

.hdr-nav-header {
    display: none;
    position: relative;
    width: 100%;
    background-color: var(--primary-color);
    
}

.active {
    display: block;
}

.hdr-body {
    position: absolute;
    top: 60%;
    left: 2.5%;
    
}

.hdr-body h1 {
    font-family: 'Heebo', 'Open Sans', sans-serif;
    font-size: 11vw;
    line-height: 1.4rem;
    color: white;
}

.hdr-body h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 6vw;
    color: var(--secondary-color);
    line-height: 0.8rem;
}


/*                   Fin Header                      */

.about {
    background-color: #ededed;
    padding: 1px;
}

.abt-content {
    margin: 30px;
}

.abt-content h1 {
    color: var(--primary-color);
    text-align: center;
    font-family: 'Heebo', 'Open Sans', sans-serif;
    font-size: 2.5rem;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    line-height: 1rem;
}

.abt-content p {
    color: var(--primary-color);
    font-family: 'Heebo', 'Open Sans', sans-serif;
    font-size: 1em;
    text-align: center;
    margin-left: 0%;
    margin-right: 0%;
    line-height: 1.5rem;
}

.btn {
    display: block;
    width: 180px;
    height: 30px;
    margin: 0 auto;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    font-family: 'Heebo', 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid;
    border-color: var(--primary-color);
}


/*                 Fin About                             */


/*             Slider compétences                         */

.slider {
    position: relative;
    overflow: hidden;
}

.sld-content {
    background-color: #fff;
    padding: 1px;
}

.sld-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.sld-body-flex-text {
    width: 65%;
}

.sld-content h1 {
    color: var(--primary-color);
    text-align: center;
    font-family: 'Heebo', 'Open Sans', sans-serif;
    font-size: 2.5rem;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    line-height: 1rem;
}

.sld-content p {
    color: var(--primary-color);
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    text-align: center;
    margin-left: 0%;
    margin-right: 0%;
    line-height: 1.5rem;
}

.sld-body-flex-progress ul {
    list-style: none;
    font-family: 'Open Sans', sans-serif;
    color: var(--primary-color);
    width: 200px;
    position: relative;
    line-height: 2em;
    padding: 0px;
}

.sld-body-flex-progress ul li {
    margin-bottom: 50px;
    background: #e9e5e2;
    background-image: linear-gradient(top, #e1ddd9, #e9e5e2);
    height: 10px;
    border-radius: 10px;
    box-shadow: 0 1px 0px #bebbb9 inset, 0 1px 0 #fcfcfc;
}

.sld-body-flex-progress ul li h3 {
    position: relative;
    top: -30px;
    font-size: 1.1em;
}

.bar {
    height: 10px;
    margin: 1px 2px;
    position: absolute;
    border-radius: 10px;
    background: linear-gradient(#347F8E, var(--primary-color));
}

#slide1 {
    display: block;
}

.cisco {
    width: 50%;
    animation: progress50 1.5s ease-out;
}

.vmware {
    width: 60%;
    animation: progress60 1.5s ease-out;
}

.windows {
    width: 85%;
    animation: progress85 1.5s ease-out;
}

.linux {
    width: 45%;
    animation: progress45 1.5s ease-out;
}

#slide2 {
    display: none;
}

.html {
    width: 85%;
    animation: progress85 1.5s ease-out;
}

.js {
    width: 50%;
    animation: progress50 1.5s ease-out;
}

.php {
    width: 45%;
    animation: progress45 1.5s ease-out;
}

.xd {
    width: 50%;
    animation: progress50 1.5s ease-out;
}

#slide3 {
    display: none;
}

.photo {
    width: 75%;
    animation: progress75 1.5s ease-out;
}

.video {
    width: 45%;
    animation: progress45 1.5s ease-out;
}

.light {
    width: 50%;
    animation: progress50 1.5s ease-out;
}

.photoshop {
    width: 70%;
    animation: progress70 1.5s ease-out;
}

@keyframes progress95 {
    0% {
        width: 0px;
    }
    100% {
        width: 95%;
    }
}

@keyframes progress90 {
    0% {
        width: 0px;
    }
    100% {
        width: 90%;
    }
}

@keyframes progress85 {
    0% {
        width: 0px;
    }
    100% {
        width: 85%;
    }
}

@keyframes progress80 {
    0% {
        width: 0px;
    }
    100% {
        width: 80%;
    }
}

@keyframes progress75 {
    0% {
        width: 0px;
    }
    100% {
        width: 75%;
    }
}

@keyframes progress70 {
    0% {
        width: 0px;
    }
    100% {
        width: 70%;
    }
}

@keyframes progress65 {
    0% {
        width: 0px;
    }
    100% {
        width: 65%;
    }
}

@keyframes progress60 {
    0% {
        width: 0px;
    }
    100% {
        width: 60%;
    }
}

@keyframes progress50 {
    0% {
        width: 0px;
    }
    100% {
        width: 50%;
    }
}

@keyframes progress45 {
    0% {
        width: 0px;
    }
    100% {
        width: 45%;
    }
}


/*                        Partie btn suivant                             */

.btn-slide {
    display: flex;
    justify-content: center;
    background-color: #fff;
    margin-bottom: 30px;
}

.btn-next {
    background-color: #fff;
    text-decoration: none;
    border: 0px solid;
    outline: 0;
}

.btn-prev {
    background-color: #fff;
    text-decoration: none;
    border: 0px solid;
    outline: 0;
}

.btn-next:hover {
    transform: translateX(10px);
}

.btn-prev:hover {
    transform: translateX(-10px);
}

.prev {
    transform: rotate(180deg);
    width: 40px;
    height: 40px;
}

.next {
    width: 40px;
    height: 40px;
}

.transform-down {
    transition: all 1s ease;
    transform: translateX(-100%);
    opacity: 0%;
}

.transform-down2 {
    transition: all 1s ease;
    transform: translateX(100%);
    opacity: 0%;
}

@keyframes opaci {
    0% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}

.op {
    animation: opaci 0.5s ease-out;
}


/*              Chronologie                     */

.timeline {
    background-color: var(--primary-color);
    padding: 0.1px;
}

.timeline h1 {
    color: var(--secondary-color);
    text-align: center;
    font-family: 'Heebo', 'Open Sans', sans-serif;
    font-size: 2.5rem;
    text-decoration: underline;
    text-decoration-color: #fff;
    line-height: 1rem;
}

.timeline h2 {
    color: #fff;
    text-align: center;
    font-family: 'Heebo', 'Open Sans', sans-serif;
    font-size: 1.3rem;
    line-height: 1rem;
}

.timeline h3 {
    font-family: 'Heebo', 'Open Sans', sans-serif;
    color: #fff;
    font-size: 1.2em;
    line-height: 0rem;
}

.timeline p {
    font-family: 'Heebo', 'Open Sans', sans-serif;
    line-height: 1em;
    font-size: 1em;
    color: #fff;
}

.tl-content {
    margin: 0px;
}

.tl-body-svg {
    display: none;
}

.tl-body-svg-min {
    display: flex;
    justify-content: center;
    margin: 0px 10px 30px 10px;
}

.tl-body-svg-min svg {
    background-color: #347F8E;
    background-image: url("pic/soft-wallpaper.png");
    background-size: cover;
    background-position: center center;
    -webkit-box-shadow: 6px 11px 22px 9px rgba(0, 0, 0, 0.63);
    -moz-box-shadow: 6px 11px 22px 9px rgba(0, 0, 0, 0.63);
    box-shadow: 6px 11px 22px 9px rgba(0, 0, 0, 0.63);
}

.line {
    /*stroke-width: 1%;*/
    stroke: var(--secondary-color);
}

.rgt {
    padding: 1px;
}

.lft {
    padding: 1px;
    text-align: right;
}

.img-adii {
    width: 81px;
    height: 54px;
}

.img-rascol {
    width: 151px;
    height: 50px;
}

.img-iut {
    width: 80px;
    height: 50px;
}

.img-lux {
    width: 120px;
    height: 56px;
}

.img-cned {
    width: 98px;
    height: 54px;
}

.img-cisco {
    width: 115.4px;
    height: 52.8px;
}

.img-id {
    width: 128px;
    height: 65px;
}


/* Reduction font Iphone 4*/

@media screen and (max-width: 409px) {
    .timeline h1 {
        font-size: 2.2rem;
        line-height: 1rem;
    }
    .timeline h2 {
        font-size: 1.3rem;
        line-height: 1rem;
    }
    .timeline h3 {
        font-size: 1em;
        line-height: 0rem;
    }
    .timeline p {
        font-size: 0.9em;
        line-height: 1em;
    }
}


/* Passage slider en colonne */

@media screen and (max-width: 1440px) {
    .sld-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .sld-body-flex-text {
        width: 85%;
    }
    .sld-body-flex-progress {
        width: 60%;
    }
    .sld-body-flex-progress ul {
        margin: 50px auto 0;
    }
}