@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Racing+Sans+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans&display=swap');
@font-face {
    font-family: 'Menlo Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Menlo Regular'), url('../fonts/Menlo-Regular.woff') format('woff');
    }

:root {
    --border-color: 255, 255, 255, 0.18;
}

body {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

main {
    overflow: auto;
    scroll-behavior: smooth;
    background: linear-gradient(rgb(32, 32, 32), rgb(34, 0, 58), rgb(51, 0, 0), rgb(34, 0, 58), rgb(32, 32, 32));
    background-attachment: local;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #fff;
}

.underline {
    text-decoration: underline;
}

/* DEVOILEMENT DES ELEMENTS LORS DU SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(50px);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: 1.5s;
}

/* ENTETE - MENU */
.menu {
    color: white;
    background-color: rgb(32, 32, 32);
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
    min-width: 16rem;
    max-width: 16rem;
    align-items: center;
    overflow-x: hidden;
}

.menu__navbar {
    display: flex;
    flex-direction: column;    
}

.menu__image {
    height: 70%;
    width: 70%;
    border-radius: 50%;
    margin: 1rem auto;
    border: 0.5px solid rgba(var(--border-color));
}

.menu__resume,
.modal-link {
    color: #becbff;
}

.menu__resume {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    align-items: center;
}

.menu__resume-detail-container {
    display: flex;
    align-items: center;
}

.menu__resume-detail {
    margin: 2px;
    text-align: center;    
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    padding: 5px 0 0 2px;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: rotate(0deg);
    backface-visibility: hidden;
    perspective: 1000px;
  }
  
@keyframes shake {
    10%, 90% {
        transform: rotate(-10deg);
    }

    20%, 80% {
        transform: rotate(10deg);
    }

    30%, 50%, 70% {
        transform: rotate(-20deg);
    }

    40%, 60% {
        transform: rotate(20deg);
    }
}

.menu__resume-detail a {
    text-decoration: none;
    color: #becbff;
}

.menu__resume-detail::before {
    content: "";
    bottom: 0;
    left: 15%;
    position: absolute;
    width: 70%; 
    height: 100%;
    z-index: -1;
    border-bottom: 1px solid rgba(var(--border-color));   
}

.menu__list {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
}

.menu__list-item {
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 5rem;
    width: 100%;
    border: 0.5px solid rgba(var(--border-color));
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.4rem;
    margin: 0.3rem 0;
}

.menu__list-item a {
    padding: 2rem 2rem;
    text-decoration: none;
    color: white;
}

.menu__list-item::after {
    content: '';
    position: absolute;
    z-index: -1;
    height: 5rem;
    width: 100%;
    top: 170%;
    transform: translate(0, -67%);
    transition: transform 0.3s, height 0.6s;
}

.menu__list-item:first-child::after {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/dev-web.jpg');
    background-position: center;
    background-size: cover;
}

.menu__list-item:nth-child(2)::after {
    background: url('../images/skills.jpg');
    background-position: center;
    background-size: cover;
}

.menu__list-item:nth-child(3)::after {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/steps.jpeg');
    background-position: center;
    background-size: cover;
}

.menu__list-item:nth-child(4)::after {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/portfolio.jpg');
    background-position: center;
    background-size: cover;
}

.menu__list-item:nth-child(5)::after {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/contact.jpg');
    background-position: center;
    background-size: cover;
}

.menu__list-item:hover {
    box-shadow: 0 0 10px rgb(131, 131, 131);
}

.menu__list-item:hover::after,
.active::after {
    transform: translate(0, -170%);
}

.menu__footer {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-height: 800px) {
    .menu {
        min-width: 15rem;
        max-width: 15rem;
    }

    .menu__image {
        height: 50%;
        width: 50%;
    }

    .menu__list-item {
        height: 4rem;
    }

    .menu__list-item::after {
        height: 4rem;
    }
}

/* STYLE GENERAL DES SECTIONS */
.home__title,
.skills__title,
.parcours__title,
.portfolio__title,
.contact__title {        
    text-align: center;
    margin-bottom: 2rem;
}

.section__container {
    margin: 0 20%;
    padding: 1rem 0;
}

@media (max-width: 1500px) {
    .section__container {
        margin: 0 10%;
    }
}

@media (max-width: 1050px) {
    .section__container {
        margin: 0 5%;
    }
}

/* SECTION HOME */
.main__home {
    /* background: linear-gradient(rgb(32, 32, 32), rgb(34, 0, 58)); */
    color: white;
}

.home__title {
    margin-top: 2rem;
    font-size: 5rem;
    font-family: 'Pacifico', 'Poppins', sans-serif;
}

.home__card {
    display: flex;
    justify-content: space-between;
    padding: 3rem 1rem; 
    position: relative;
    z-index: 1;
}

.home__border-left {
    border-left: 1px solid rgba(var(--border-color));
    border-radius: 0 0 0 20px;    
}

.home__border-left::before,
.home__border-right::before,
.home__border-top::before {
    content: "";
    position: absolute;
    width: 50%; 
    z-index: -1;   
}

.home__border-left::before,
.home__border-top::before {
    height: 100%;
    left: 0;
    bottom: 0;
}

.home__border-left::before {
    border-bottom: 1px solid rgba(var(--border-color));
    border-radius: 0 0 0 20px;
}

.home__border-right {
    border-right: 1px solid rgba(var(--border-color));
    border-radius: 0 20px 20px 0;    
}

.home__border-right::before {
    height: calc(100% + 2px);
    right: -1px;
    top: -1px;
    border-top: 1px solid rgba(var(--border-color));
    border-bottom: 1px solid rgba(var(--border-color));
    border-radius: 0 20px 20px 0;
}

.home__border-top {
    border-radius: 20px 0 0 20px;  
}

.home__border-top::before {
    border-top: 1px solid rgba(var(--border-color));
    border-radius: 20px 0 0 20px;
}

.home__text {
    text-align: justify;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    line-height: 30px;
    width: 50%;
}

.home__important {
    font-family: 'Archivo Black', sans-serif;
    color: #ACBCF9;
}

.home__link {
    color: white;
    text-decoration: underline;
    cursor: pointer;
    z-index: 10;
}

.home__link:hover {
    color: white;
}

.home__animation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
}

/* SECTION SKILLS */
.main__skills {
    /* background: linear-gradient(rgb(34, 0, 58), rgb(51, 0, 0)); */
    color: white;
}

.skills__title,
.parcours__title,
.portfolio__title,
.contact__title {
    font-size: 4rem;
    font-family: 'Poppins', sans-serif;
}

.skills__corps {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
}

.skills__corps-progress:first-child {
    margin-bottom: 1.5rem;
}

.skills__corps-progress {
    display: flex;
    justify-content: center;
    margin: 0 0 0.5rem 0;
    padding: 1rem 2rem 1rem 2rem;
    border-radius: 10px;
    background-color: rgb(30 30 30);
    font-size: 0.9rem;
    color: #fff;
    font-family: 'Menlo Regular', sans-serif;
    transition: transform 0.2s ease !important;
    z-index: 1;
}

.skills__corps-container-lang {
    font-size: 1.3rem;
}

.skills__corps-libs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 2rem 0 2rem;
    border-radius: 10px;
    background-color: rgb(70, 70, 70);
    color: #fff;
    z-index: 0;
    height: 2rem;
    font-size: 1.3rem;
    transform: translateY(-1.5rem);
    transition: height 0.5s ease-in-out;
}

.skills__corps-libs-container:hover {
    height: 5rem;
}

.skills__corps-libs {
    color: rgb(255, 255, 255);
    padding: 0.5rem 0 0 0.5rem;
    margin-bottom: 0;
}

.bi-caret-down-fill {
    align-self: center;
    font-size: 1.1rem;
    transform: translateY(5px);
    color: #ACBCF9;
}

.skills__important {
    font-family: 'Merriweather Sans', sans-serif;
    color: #ACBCF9;
}

@media (max-width: 965px) {
    .skills__corps-container-lang {
        width: 100%;
        margin-bottom: 10px;
    }

    .progress {
        width: 100%;
    }
}

.skills__corps-lang {
    margin-bottom: 0;
}

/* coloration des langages de programmation */
.html-color-chevrons {
    color: rgb(127 127 127);
}

.hml-color-balise, 
.js-color-keyword, 
.php-color-balise,
.sql-color-keyword,
.cpp-color-keyword {
    color: rgb(85 153 210);
}

.css-color-class {
    color: rgb(199 173 117);
}

.css-color-accolade, 
.js-color-accolade,
.cpp-color-accolade {
    color: rgb(251 213 51);
}

.css-color-property {
    color: rgb(147 206 237);
}

.css-color-value {
    color: rgb(206 145 120);
}

.js-color-class {
    color: rgb(59, 193, 241);
}

.js-color-variable {
    color: rgb(140, 220, 218);
}

.php-color-keyword {
    color: rgb(220, 220, 170);
}

.php-color-string {
    color: rgb(206, 145, 91);
}

.cpp-color-return {
    color: rgb(197, 134, 192);
}

/* FLECHES DE NAVIGATION */
.container-arrows, .container-arrows a {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    right: 0.5rem;
    width: 5rem;
    height: 10rem; 
    bottom: 2rem;      
}

.chevron {
    position: absolute;
    width: calc(0.6rem * 3.5);
    height: calc(0.6rem * 0.8);
    opacity: 0;
    transform: scale(0.3);
    animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
    animation: move-chevron 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
    animation: move-chevron 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: transparent;
    border-top: 1px solid rgb(var(--border-color));
    border-bottom: 1px solid rgb(var(--border-color));;
}

.chevron:before {
    left: 0;
    transform: skewY(-30deg);    
    border-left: 1px solid rgb(var(--border-color));;
}

.chevron:after {
    right: 0;
    width: 50%;
    transform: skewY(30deg);
    border-right: 1px solid rgb(var(--border-color));;
}


@keyframes move-chevron {
    25% {
        opacity: 1;
    }
    33.3% {
    opacity: 1;
    transform: translateY(calc(0.6rem * -3.8));
    }
    66.6% {
    opacity: 1;
    transform: translateY(calc(0.6rem * -5.2));
    }
    100% {
    opacity: 0;
    transform: translateY(calc(0.6rem * -8)) scale(0.5);
    }
}

.hidden {
    display: none;
}

.skills__also {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(var(--border-color));
    border-radius: 20px;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.185);
    margin: 1.5rem 0;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 1.1rem;
}

.skills__also-title {
    margin-bottom: 0.7rem;
}

.skills__also-title:last-of-type {
    margin-top: 1rem;
}

.skills__also-item {
    display: flex;
}

/* SECTION PARCOURS */
.main__parcours {
    /* background: linear-gradient(rgb(51, 0, 0), rgb(34, 0, 58)); */
    color: white;
}

.parcours__timeline,
.parcours_timeline-item {
    position: relative;
}

.parcours__timeline {
    padding-left: 0;
    font-family: 'Hanken Grotesk', sans-serif;
}

.parcours__timeline::before {
    content: "";
    top: 0;
    bottom: 0;
    position: absolute;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.445);
    left: 50%;
}

.parcours_timeline-item {
    display: flex;
}

.parcours_timeline-item,
.portfolio__container-div {
    margin-bottom: 2rem;    
}

.reverse {
    justify-content: flex-end;
}

.parcours__timeline-item-badge {    
    width: 3rem;
    line-height: 3rem;
    font-size: 2rem;
    text-align: center;
    position: absolute;
    background-color: rgba(53, 53, 53);
    border-radius: 50%;
    border: 1px solid rgba(var(--border-color));
    left: 50%;    
    margin-left: -1.5rem;
    top: 15px;
}
.study,
.study:hover {
    color: #1d9631;
}

.pro,
.pro:hover {
    color: #4f85f8;
}

.parcours__timeline-item-panel,
.parcours__timeline-item-panel-reverse {
    width: 50%;
    position: relative;
}

.parcours__timeline-panel {
    width: 93%;
}

.parcours__timeline-panel,
.portfolio__composants,
.portfolio__integ {    
    border-radius: 5px;
    background-color: rgba(53, 53, 53, 0.6);
    padding: 1rem;
}

.parcours__timeline-item-panel-reverse {
    justify-content: flex-end;
}

.parcours__timeline-item-panel-reverse,
.portfolio__integ-container {
    display: flex;        
}

.parcours__timeline-panel-date {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.parcours__timeline-panel-poste,
.parcours__timeline-panel-entreprise,
.parcours__timeline-panel-spe,
.parcours__timeline-panel-content,
.portfolio-panel-content {
    border: 1px solid rgb(var(--border-color));
    border-radius: 5px;
    padding: 0.2rem 0.5rem;    
    background-color: rgba(27, 27, 27, 0.384);
    margin-bottom: 0.2rem;
}

.parcours__timeline-panel-poste:hover,
.parcours__timeline-panel-entreprise:hover,
.parcours__timeline-panel-spe:hover,
.parcours__timeline-panel-content:hover,
.parcours__timeline-panel-spe:hover {
    background-color: rgba(53, 53, 53, 0.384);
}

.parcours__timeline-panel-poste,
.parcours__timeline-panel-entreprise,
.parcours__timeline-panel-spe {
    text-align: center;
}

.parcours__timeline-panel-poste span,
.parcours__timeline-panel-entreprise span {
    font-size: 1rem;
}

.parcours__timeline-panel-poste,
.parcours__timeline-panel-entreprise {
    font-weight: bold;
}

.parcours__timeline-panel-spe {
    color: #becbff;
    font-weight: bold;
}

.parcours__timeline-panel-content {
    font-size: 1.1rem;
}

/* SECTION PORTFOLIO */
.main__portfolio {
    color: white;    
}

.portfolio__header {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(var(--border-color));
}

.portfolio__composants-container,
.portfolio__integ-container {
    margin-bottom: 2rem;
}

.portfolio__container-div h3 {
    text-align: center;
}

.modal-content {
    border: 1px solid rgba(var(--border-color));
}

.modal-header {
    border-bottom-color: rgba(var(--border-color));
    text-transform: uppercase;  
}

.portfolio-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.portfolio-panel,
.portfolio__integ {
    width: 100%;
}

.portfolio-img,
.portfolio-integ {
    padding: 0.5rem;
    position: relative;
    overflow: hidden; 
    z-index: 1;   
    display: flex;
    justify-content: center;
    align-items: center; 
    cursor: pointer;   
    width: 48%;
}

.img-slider::after {
    content: 'Zoom Slider';
}

.img-3dmenu::after {
    content: '3D Menu';
}

.portfolio-img::after {    
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 170%;
    transform: translate(0, -67%);
    transition: transform 0.3s, height 0.6s;
    background: rgba(0, 0, 0, 0.7);
    background-position: center;
    background-size: cover;  
    display: flex;
    justify-content: center;  
    align-items: center;
    font-size: 3rem;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.portfolio-img:hover::after {
    transform: translate(0, -170%);
}

.portfolio-img img,
.portfolio-integ img {
    width: 100%;
    height: auto;
}

.modal-img-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;    
}

.img-container {
    width: 500px;
    height: 500px;
}

.img-gabrielle {
    background: url('../images/integ-gabrielle.jpg');
    background-size: cover;
    background-position: center;
}

.img-gabrielle:hover {
    background: url('../images/integ-gabrielle-responsive.jpg') no-repeat;
    background-size: contain;
    background-position: center;    
}

.img-qrcode {
    background: url('../images/qr-code-component.jpg');
    background-size: cover;
    background-position: center;    
}

.modal-img {
    margin: 0 auto;
    width: 80%;
    height: auto;
}

.modal-link:hover {
    color: #B36DE3;
}

/* SECTION CONTACT */
.main__contact {
    color: white;    
}