/*CORPS DE TEXTE*/
body {
    color: #000000;
    background: #C7DDB5;
    font-family: 'Times New Roman';
}

.content-header {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.content-header h2 {
    color: #06402B;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.content-header::after {
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: #C7DDB5;
}

/*MA BARRE DE NAVIGATION*/
.wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1140px;
}

.wrapper .sidebar {
    position: relative;
    width: 100%;
    float: left;
    background: #000000;
}

.wrapper .content {
    position: relative;
    width: 100%;
    padding: 15px;
    float: left;
    background: #C7DDB5;
}

.wrapper .sidebar-header,
.wrapper .sidebar-footer {
    display: none;
}

.navbar {
    padding: 15px;
    background: #000000;
}

.navbar-expand-md .navbar-nav .nav-item {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.navbar-expand-md .navbar-nav .nav-link i {
    color: #C7DDB5;
    float: right;
    padding-top: 5px;
    transition: all .3s;
}

.navbar-expand-md .navbar-nav .nav-link:hover,
.navbar-expand-md .navbar-nav .nav-link.active {
    color: #FFFFFF;
}

@media (min-width: 768px) {
    
    .wrapper .content::before,
    .wrapper .content::after {
        position: fixed;
        content: "";
        width: 100%;
        height: 30px;
        background: #C7DDB5;
        z-index: 1;
    }

    .wrapper .content::before {
        top: 0;
    }
    
    .wrapper .content::after {
        bottom: 0;
    }
    
    .wrapper .sidebar {
        position: fixed;
        width: 300px;
        height: 100%;
        margin-left: -250px;
        float: left;
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: black;
        z-index: 2;
    }

    .wrapper .sidebar .sidebar-header img {
        width: 100%;
        height: auto;
    }
    
    .navbar-brand {
        display: none;
    }
}

@media (min-width: 992px) {
    .wrapper .sidebar {
        margin: 0;
    }

    .wrapper .content {
        width: calc(100% - 300px);
        margin-left: 300px;
    }

    .sidebar .sidebar-header {
        position: relative;
        display: block;
        width: 100%;
    }
}

@media (max-width: 1140px) {
    .wrapper .content {
        padding: 30px;
    }
}

/*PRÉSENTATION*/
.header {
    position: relative;
    background: #06402B;
}

.header .content-inner {
    padding: 100px 30px;
    background-size: contain;
    border-bottom: 30px solid #C7DDB5;
}

.header h1 {
    color: #FFFFFF;
    font-size: 50px;
    font-weight: 700;
}

.header p {
    color: #C7DDB5;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

/*À PROPOS*/
.about {
    position: relative;
    padding: 60px 30px;
    background: #ffffff;
    border-bottom: 30px solid #C7DDB5;
}

.about .skill-name {
    margin-top: 15px;
}

.about .skill-name p {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 400;
}

.about .skill-name p:last-child {
    float: right;
}

.about .progress {
    height: 5px;
    border: 1px solid #C7DDB5;
    border-radius: 0;
    background: #ffffff;
}

.about .progress .progress-bar {
    width: 1px;
    background: #06402B;
    border-radius: 0;
    transition: 1s;
}

.interet {
    position: relative;
    padding: 60px 30px;
    background: #ffffff;
    border-bottom: 30px solid #06402B;
}

.interet .edu-col {
    position: relative;
    width: 100%;
    padding: 20px 0 20px 20px;
    border-left: 1px solid #06402B;
    border-bottom: 1px solid #06402B;
}

.interet .col-md-6:first-child .edu-col {
    padding-top: 0;
}

@media (min-width: 768px) {
    .interet .col-md-6:nth-child(-n+2) .edu-col {
        padding-top: 0;
    }

    .interet .col-md-6:last-child .edu-col,
    .interet .col-md-6:nth-last-child(2) .edu-col {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.interet .edu-col h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/*FORMATION*/
.formation {
    position: relative;
    padding: 60px 30px;
    background: #ffffff;
    border-bottom: 30px solid #C7DDB5;
}

.formation .edu-col {
    position: relative;
    width: 100%;
    padding: 20px 0 20px 20px;
    border-left: 1px solid #06402B;
    border-bottom: 1px solid #06402B;
}

.formation .col-md-6:first-child .edu-col {
    padding-top: 0;
}

@media (min-width: 768px) {
    .formation .col-md-6:nth-child(-n+2) .edu-col {
        padding-top: 0;
    }

    .formation .col-md-6:last-child .edu-col,
    .formation .col-md-6:nth-last-child(2) .edu-col {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.formation .edu-col span {
    position: relative;
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.formation .edu-col span::before {
    position: absolute;
    content: "";
    width: 11px;
    height: 11px;
    background: #C7DDB5;
    top: 5px;
    left: -26px;
    border-radius: 5px;
}

.formation .edu-col span i {
    color: #C7DDB5;
}

.formation .edu-col h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/*EXPÉRIENCES*/
.experience {
    position: relative;
    padding: 60px 30px;
    background: #ffffff;
    border-bottom: 30px solid #C7DDB5;
}

.experience .exp-col {
    position: relative;
    width: 100%;
    padding: 20px 0 20px 20px;
    border-left: 1px solid #06402B;
    border-bottom: 1px solid #06402B;
}

.experience .col-md-6:first-child .exp-col {
    padding-top: 0;
}

@media (min-width: 768px) {
    .experience .col-md-6:nth-child(-n+2) .exp-col {
        padding-top: 0;
    }

    .experience .col-md-6:last-child .exp-col,
    .experience .col-md-6:nth-last-child(2) .exp-col {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.experience .exp-col span {
    position: relative;
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.experience .exp-col span::before {
    position: absolute;
    content: "";
    width: 11px;
    height: 11px;
    background: #C7DDB5;
    top: 5px;
    left: -26px;
    border-radius: 5px;
}

.experience .exp-col span i {
    color: #C7DDB5;
}

.experience .exp-col h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.experience .exp-col h4 {
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 5px;
}

.experience .exp-col h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

/*COMPÉTENCES*/
.competences {
    position: relative;
    padding: 60px 30px;
    background: #ffffff;
    border-bottom: 30px solid #C7DDB5;
}

.competences .edu-col {
    position: relative;
    width: 100%;
    padding: 20px 0 20px 20px;
    border-left: 1px solid #06402B;
    border-bottom: 1px solid #06402B;
}

.competences .col-md-6:first-child .edu-col {
    padding-top: 0;
}

@media (min-width: 768px) {
    .competences .col-md-6:nth-child(-n+2) .edu-col {
        padding-top: 0;
    }

    .competences .col-md-6:last-child .edu-col,
    .competences .col-md-6:nth-last-child(2) .edu-col {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.competences .edu-col h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/*PORTFOLIO*/
.portfolio {
    position: relative;
    padding: 60px 30px 30px 30px;
    background: #ffffff;
    border-bottom: 30px solid #C7DDB5;
}

.portfolio .portfolio-item {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio .portfolio-item figure {
    background: #ffffff;
    overflow: hidden;
    height: 220px;
    position: relative;
    border-radius: 0;
    margin: 0; 
}

.portfolio .portfolio-item figure img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.portfolio .portfolio-item figure .link-preview,
.portfolio .portfolio-item figure .link-details,
.portfolio .portfolio-item figure .portfolio-title {
    position: absolute;
    display: inline-block;
    opacity: 0;
    line-height: 1;
    text-align: center;
    width: 45px;
    height: 35px;
    background: #C7DDB5;
    transition: 0.2s linear;
}

.portfolio .portfolio-item figure .link-preview i,
.portfolio .portfolio-item figure .link-details i {
    color: #222222;
    padding-top: 10px;
    font-size: 16px;
}

.portfolio .portfolio-item figure .link-preview:hover,
.portfolio .portfolio-item figure .link-details:hover {
    background: #222222;
}

.portfolio .portfolio-item figure .link-preview:hover i,
.portfolio .portfolio-item figure .link-details:hover i {
    color: #C7DDB5;
}

.portfolio .portfolio-item figure .link-preview {
    left: 50%;
    top: calc(25% - 18px);
}

.portfolio .portfolio-item figure .link-details {
    right: 50%;
    top: calc(25% - 18px);
}

.portfolio .portfolio-item figure .portfolio-title {
    margin: 0;
    width: 100%;
    height: 50%;
    left: 0;
    right: 0;
    top: 100%;
    padding: 30px 10px;
    color: #222222;
    font-size: 16px;
    font-weight: 600;
    background: #C7DDB5;
    border-radius: 0;
}

.portfolio .portfolio-item figure .portfolio-title:hover {
    text-decoration: none;
}

.portfolio .portfolio-item figure .portfolio-title span {
    display: block;
    margin-top: 10px;
    font-family: 'Times New Roman', sans-serif;
    font-size: 13px;
    font-weight: 300;
}

.portfolio .portfolio-item figure:hover .link-preview {
    opacity: 1;
    left: calc(50% - 61px);
}

.portfolio .portfolio-item figure:hover .link-details {
    opacity: 1;
    right: calc(50% - 61px);
}

.portfolio .portfolio-item figure:hover .portfolio-title {
    opacity: 1;
    top: 50%;
}

/*CONTACT*/
.contact {
    position: relative;
    padding: 60px 30px 30px 30px;
    background: #ffffff;
}

.contact .contact-info p {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact .contact-info p i {
    width: 25px;
    color: #06402B;
}

.contact .social a {
    width: 35px;
    height: 35px;
    padding: 5px 0;
    color: #222222;
    background: #C7DDB5;
    border-radius: 0;
    margin-top: 15px;
    margin-right: 15px;
    transition: all .3s;
}

.contact .social a:hover {
    color: #C7DDB5;
    background: #222222;
}

/*FOOTER*/
.footer {
    position: relative;
    width: 100%;
    padding: 30px 30px 0 30px;
    background: #C7DDB5;
}

.footer .col-md-6:last-child {
    text-align: right;
}

@media(max-width: 767.98px) {
    .footer .col-md-6,
    .footer .col-md-6:last-child{
        text-align: center;
    }
}

.footer p {
    color: #000000;
    margin: 0;
}

/*BACK TO TOP*/
.back-to-top {
    position: fixed;
    display: none;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 1;
    font-size: 30px;
    right: 30px;
    bottom: 30px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top i {
    color: #222222;
}

.back-to-top i:hover {
    color: #FFFFFF;
}