.container {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/*--- TXT INTERACTIF ---*/
.page-content {
    width: 100%;
    height: 12em;
    background-color: #061218;
    margin: calc(var(--header-height)) 0 0 0; /* Récupére la hauteur du header + une marge */
}

.page-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catchphrase {
    text-align: center;
    color: #FFF;
    z-index: 1;
    padding: 2rem 0 0 0;
}

.video {
    width: 100%;
    height: 12rem;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: flex;
    position: absolute;
    z-index: 0;
}

.btn-interactive {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid var(--green-color);
    background-color: rgba(255, 255, 255, .0);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    animation: arrow 1s ease-in-out infinite alternate;
}

@keyframes arrow { /* Animation arrow */
    from {
        opacity: 1;
        margin-top: 0;
    }

    to {
        opacity: .2;
        margin-top: 2rem;
    }
}

.btn-interactive .bx-chevron-down {
    font-size: 1.9em;
    color: var(--green-color);
}



/*--- FILTRES - CV ---*/
.filtres-cv {
    margin: 15px 0;
    white-space: nowrap;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    overflow-x: scroll;
    white-space: nowrap;
    
    scrollbar-width: none; /* Suppression de la barre de scroll */
}

.filtres-cv::-webkit-scrollbar { /* Suppression de la barre de scroll */
    display: none;
}

.filtres-cv a {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: solid 1px var(--blue-color);
    border-radius: 10px;
    margin: 0 15px 0 0;
    padding: 5px 8px;
    display: block;
}

.filtres-cv a:hover {
    font-weight: 600;
    color: #FFF;
    border: solid 1px var(--green-color);
    background-color: var(--green-color);
}

.filtres-cv a:last-child {
    margin-right: 0;
}


/*--- A PROPOS ---*/
.section-about {
    margin: 3rem 0 0 0;
}

.section-about .list-contact {
    color: var(--blue-color)
}

.list-contact {
    margin: 2rem 0 0 0;
}

.list-contact .bold {
    font-weight: 400;
}

.list-contact a {
    text-decoration: underline;
}

.list-contact a:hover {
    color: var(--green-color);
}

.section-about .btn-cv {
    width: 12rem;
    height: 2.5rem;
    font-size: 1em;
    font-family: 'Yeseva One', serif;
    border-radius: 15px;
    color: var(--blue-color);
    background: var(--green-color);
    margin: auto;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.btn-cv .bxs-printer {
    margin: 0 0 0 .5rem;
}




/*--- COMPETENCES ---*/
.section-skills {
    background: var(--grey2-color);
    margin: 3rem 0 0 0;
    padding: 1rem 0 2rem 0;
}

.skills-bloc {
    display: flex;
    flex-wrap: wrap;
}

.skill {
    width: 100%;
    display: flex;
    align-items: center;
    margin:  0 0 1rem 0;
}

.percent {
    font-size: 2.8em;
    font-weight: 900;
    color: var(--blue-color);
    margin: 0 1rem 0 0;
}

.progress-container {
    flex-basis: 100%;
}

.progress-container .title {
    width: 6.25rem;
    font-size: .8em;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.5rem;
    color: var(--blue-color);
}

.progress {
    height: .7rem;
    background-color: var(--blue-color);
}

.progress-bar {
    height: .7rem;
    background-color: var(--green-color);
    overflow: hidden;
}

/* carousel */
.carousel-cell {
    padding: 0 3rem 0 0;
    margin: 1rem 0 0 0;
}

.carousel-cell img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.flickity-page-dots { /* points carousel */
    display: none;
}

.flickity-button { /* boutons carousel */
    display: none;
}




/* SECTION EXPERIENCES */
.section-experience {
    margin: 3rem 0 0 0;
    padding: 1rem 0 2rem 0;
}

.experience-bloc {
    margin: 1rem 0 0 0;
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    
    scrollbar-width: none; /* Suppression de la barre de scroll */
}

.experience-bloc::-webkit-scrollbar { /* Suppression de la barre de scroll */
    display: none;
}

.experience {
    min-width: 16rem;
    border: 1px solid var(--grey2-color);
    border-radius: 10px;
    background-color: white;
    padding: 1.5rem;
    margin: 0 1rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.experience .img {
    width: 200px;
    height: 4rem;
    object-fit: contain;
    display: flex;
}

.img img {
    width: 100%;
    object-fit: contain;
    display: flex;
}

.date-experience {
    width: 6rem;
    height: 1.5rem;
    font-size: .8em;
    font-weight: 600;
    color: #FFF;
    border-radius: 0;
    background-color: var(--green-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.experience .info {
    text-align: center;
    border-radius: 0;
}

.info .title-experience {
    font-family: 'Yeseva One', serif;
    font-size: 1.1em;
    font-weight: normal; /* Neutralise le gras du H1 par défaut */
    line-height: none;
    color: var(--green-color);
    display: inline-block;
}

.info .subtitle-experience {
    font-size: .75em;
    font-weight: 400;
    line-height: 1.25em;
    color: #061218;
    margin: .1rem 0 .5rem 0;
}

.info .description-experience {
    font-size: .75em;
    line-height: 1.25em;
}

.url-experience {
    color: #061218;
    font-size: 12px;
    text-align: center;
    text-decoration: underline;
    margin: .5rem 0 0 0;
}

.url-experience:hover {
    color: var(--green-color);
}




/*--- REALISATIONS ---*/
.portfolio {
    margin: 1.5em 0 0 0;
}

.filtres {
    margin: 15px 0;
    white-space: nowrap;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.filtres a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin: 0 5px;
    padding: 5px 8px;
}

.filtres a:first-child {
    margin-left: 0;
}

.filtres a.active {
    font-weight: 600;
    color: var(--green-color);
    background: var(--green2-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
}

.projet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 5px;
    display: block;
}

.projet-nom {
    display: none;
}


/* SECTION FORMATION */
.section-formation {
    background-color: var(--grey2-color);
    margin: 3rem 0 0 0;
    padding: 1rem 0 2rem 0;
}

.formation-bloc {
    margin: 1rem 0 0 0;
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    
    scrollbar-width: none; /* Suppression de la barre de scroll */
}

.formation-bloc::-webkit-scrollbar { /* Suppression de la barre de scroll */
    display: none;
}

.formation {
    min-width: 13.5rem;
    min-height: 8rem;
    border-radius: 10px;
    margin: 0 1rem 0 0;
}

.info {
    background-color: #FFF;
    border-radius: 10px 10px 0 0;
    padding: 1rem;
    position: relative;
}

.info .date-formation {
    width: 6rem;
    height: 1.5rem;
    font-size: .8em;
    font-weight: 600;
    color: #FFF;
    border-radius: 10px 0 0 0;
    background-color: var(--green-color);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    position: absolute;
}

.info .title-formation {
    font-family: 'Yeseva One', serif;
    font-weight: normal; /* Neutralise le gras du H1 par défaut */
    line-height: none;
    color: var(--green-color);
    margin: 1.5rem 0 .5rem 0;
    display: inline-block;
}

.info .description-formation {
    font-size: .75em;
    line-height: 1.25em;
}

.info .logo {
    width: 3rem;
    top: 15px;
    right: 15px;
    position: absolute;
}

.url {
    height: 1.25rem;
    font-size: .75em;
    color: #FFF;
    border-radius: 0 0 10px 10px;
    background-color: #808080;
    display: flex;
    justify-content: center;
    align-items: center;
}




/* SECTION INTEREST */
.interest-section {
    margin: 2rem 0 0 0;
}

.interest-bloc {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;

    scrollbar-width: none; /* Suppression de la barre de scroll */
}

.interest-bloc::-webkit-scrollbar { /* Suppression de la barre de scroll */
    display: none;
}

.interest {
    margin: 0 20px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.interest .cercle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid var(--blue-color);
    margin: 0 20px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cercle .bx {
    font-size: 1.6em;
    color: var(--blue-color);
}

.interest .name {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--blue-color);
}



/*--- RESPONSIVE  ---*/
@media (max-width: 767px) {
    .filtres {
        overflow-x: scroll; /* Pour le sroll du site */
        white-space: nowrap;

        scrollbar-width: none; /* Suppression de la barre de scroll */
    }

    .filtres::-webkit-scrollbar { /* Suppression de la barre de scroll */
        display: none;
    }
}

@media (min-width: 800px) {
    .page-content, .video {
        height: 14em;
    }

    .filtres-cv {
        justify-content: center;
    }

    /*** REALISATIONS ***/
    .filtres {
        justify-content: center;
    }

    /*** CENTRES d'INTERET ***/
    .interest-bloc {
        justify-content: center;
    }
}

@media (min-width: 767px) and (max-width: 1199px) {
    .skills-bloc {
        justify-content: space-between;
    }

    .skills-bloc .skill {
        width: 48%;
    }

    .grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .interest-bloc {
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .section-about p {
        width: 60%;
    }

    /*** A PROPOS ***/
    .percent {
        font-size: 3.8em;
    }
    
    /*** COMPETENCES ***/
    .skills-bloc {
        justify-content: space-between;
    }
    
    .skills-bloc .skill {
        width: 48%;
    }

    /*** EXPERIENCES PROFESSIONNELLES ***/
    .experience {
        min-width: 18rem;
    }

    .info .title-experience {
        font-size: 1.15em;
    }

    .info .subtitle-experience {
        font-size: .85em;
    }

    .info .description-experience {
        font-size: .85em;
    }
    

    /*** REALISATIONS ***/
    .grid {
        grid: auto / repeat(4, 1fr);
    }

    .projet {
        overflow: hidden;
        position: relative;
        z-index: 1;
    }

    .projet:nth-child(4n+1), .projet:nth-child(11n+1) {
        grid-column: span 2;
    } 

    .projet img {
        height: 320px;
        aspect-ratio: unset; /* suppression du ratio carré */
        transition: .5s;
    }

    .projet:hover img {
        transform: scale(1.2); /* zoom sur img */
    }

    .before {
        content:'';
        border-radius: 5px;
        background: #041821;
        opacity: 0;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        position: absolute;
    }

    .projet:hover .before {
        opacity: .7;
    }

    .projet-nom {
        font-weight: 700;
        color: #FFF;
        opacity: 0;
        transition: .3s ease-in-out;
        bottom: -20px;
        left: 20px;
        display: inline-block;
        position: absolute;
        z-index: 3;
    }

    .projet:hover > .projet-nom {
        opacity: 1;
        bottom: 20px;
        z-index: 3;
    }
    
    /*** FORMATION ***/
    .formation {
        min-width: 275px;
    }

    .info .title-formation {
        font-size: 1.15em;
    }

    .info .description-formation {
        font-size: .85em;
    }

    /*** CENTRES d'INTERET ***/
    .interest {
        margin: 0 30px 0 0;
    }

    .interest .cercle {
        width: 4.5rem;
        height: 4.5rem;
    }

    .cercle .bx {
        font-size: 1.9em;
    }
}