body{
    margin: 0;
    overflow: hidden;
}

#main {
  width: 100%;
  height: 100vh;
  background:black;
  background-size: cover;   
  background-position: center;
  overflow: hidden;   
  z-index: 1;
  position: relative;
  flex-direction: column;
  background-position: 10% center;
}

#black{
    background: black;
    width: 100%;
    height: 100vh;
    background-size: cover;
    z-index: 2;
    opacity: 1;
    transition: opacity 5s ease-out;
    position: absolute;
    pointer-events: none;
}

.drop-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
}

#welcome{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: white;
    font-size: 1.5em;
    transition: opacity 0.3s ease-out;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.fa-brands, .fa-solid{
    color: black;
    z-index: 100;
    font-size: 40px;
    border-radius: 50%;
}


.icn {
    border-radius: 50%;
    background: white;
    height: 100px;
    width: 100px;
    margin: 0px auto;
    transform: scale(0);
    opacity: 0;      
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease, 
    width 0.4s ease,
    height 0.4s ease;
    transform-origin: center center;
    
}


.icn.visible {
    transform: scale(1);
    opacity: 0.5; 
    height: 110px;
    width: 110px;
}

.icn.visible.hovered{
    cursor: pointer;
    opacity: 1;
    height: 115px;
    width: 115px;
}

.nom-wrapper{
    display: flex;
    margin-left: 20px;
    column-gap: 10px;
}

.nom-el {
    display: flex;
    color: rgba(255, 255, 255, 0.6);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    column-gap: 3px;
}

#back-icn{
    color: rgba(255, 255, 255, 0.6);
    margin-right: 20px;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#back-icn:hover{
    color: rgba(255, 255, 255, 1);
    font-size: 24px;

}

.bottom-title{
    padding-top: 10px;
    border-top: 1px solid white;
    width: 30%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    height: 50px;
}

.bottom-title.visible{
    opacity: 1;
}

/*Sections general*/
#home, #projects, #section-details, #section-resume, #section-contact{
    display: flex;
    opacity: 0;
    transition: opacity ease 0.5s;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;

}

#home.visible, #projects.visible, #section-details.visible, #section-resume.visible, #section-contact.visible{
    opacity: 1;
    pointer-events: all;
    display: flex;
}   


/*Section Projects*/
#projects {
    align-items: flex-start;
    justify-content: space-between;
    z-index: 100;
    margin-top: 40px;
    position: relative;
    flex-direction: row;
}

#sidebar-left{
    height: 100%;
    width: 300px;
    transition: opacity 0.8s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#sidebar-right{
    height: 100%;
    width: 300px;
    transition: opacity 0.8s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#sidebar-left.visible, #sidebar-right.visible{
    opacity: 1;
}

.sidebar-left-content-wrapper{
   border-right: 1px solid rgba(255, 255, 255, 0.4);
   width: 100%;
   height: 500px;
   display:flex;
   flex-direction: column;
   justify-content: center;
   align-items: flex-end;
   padding: 20px;
   row-gap: 10px;
}

.sidebar-right-content-wrapper{
   border-left: 1px solid rgba(255, 255, 255, 0.4);
   width: 100%;
   height: 500px;
   display:flex;
   flex-direction: column;
   justify-content: center;
   padding: 20px;
   row-gap: 10px;
}

#left-infos-strengh{
    text-align: right;
    word-break: break-word;
}


/*
.grid-wrapper{
    width: 100%;
    border: 1px solid white;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
}*/

.section-grid{
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
    width: 60%;
    max-width: 400px;
    height: 400px;
    flex-direction: unset;
    justify-content: start;
    align-items: start;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    transition: opacity ease 0.5s;
    opacity: 0;
    padding-bottom: 20px;
    align-self: center;
}

.grid-wrapper{
    display: flex;
    flex-direction: column;
    width: 60%;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.filter-container{
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    margin-top: 40px;
    height: 100px;
    align-items: center;

}

.filter-element{
    border: 1px solid white;
    padding: 3px 10px;
    border-radius: 5px;
    height: 20px;
    opacity: 0.6;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0s ease-in-out;
    cursor: pointer;
}

.filter-element:hover{
    opacity: 0.6;
    padding: 5px 12px;
}

.filter-element.active{
    opacity: 1;

}

.card.hidden{
    display: none;
}

.test{
    color: white;
}

.section-grid.visible{
    display: grid;
    opacity: 1;
}

.section-grid::-webkit-scrollbar{
    display: none;
}

.card{
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    height: 140px;
    min-width: 50px;
    border-radius: 10px;
    padding: 0px 10px;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid transparent;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0) 100%
    );
    transition: 
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.5s ease,
    background-color 0.8s ease;
}

.card:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.604);

}

.card-image{
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.7s ease;
    border-radius: 10px;
    opacity: 0;
    
}

.card:hover .card-image{
    opacity: 0.4;
}

.card:hover .card-title{
    color: rgba(255, 255, 255, 0.9);
}

.card:hover .card-sub{
    color: rgba(255, 255, 255, 0.6);
}

.card-bottom{
    padding-bottom: 5px;
}

.card-title{
    color: rgba(255, 255, 255, 0.61);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
    z-index: 3;
}

.card-sub{
    color: rgba(255, 255, 255, 0.335);
    letter-spacing: 2px;
    z-index: 2;
}

.erp{
    background-color: #5c3d08;
    border: 1px solid rgba(180, 140, 40, 0.4);
}

#erp-filter{
    background-color: #5c3d08;
    border: 1px solid #ddbe8a;
}

.web-nc{
    background-color: #093f36;
}

.web-code{
    background-color: #1a4227;
}

#web-filter{
    background-color: #1a4227;
    border: 1px solid #7abc90 
}

.cli{
    background-color: #2a1a2a;
}

#cli-filter{
    background-color: #2a1a2a;
    border: 1px solid #dd94dd;
}

.design{
    background-color: #0d1f2d;
}

#design-filter{
    background-color: #0d1f2d;
    border: 1px solid #7da8c8;
}

.music{
    background-color: #2a0d0d;
}

#other-filter{
    background-color: #2a0d0d;
    border: 1px solid #e4a4a4;
}

/* Section détails */

/* Section détail — style magazine */
#section-details {
    box-sizing: border-box;
    top: 0;
    left: 0;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 50;
    justify-content: flex-start;
    padding: 20px;
    overflow: hidden;
    margin-top: 40px;
}



#section-details::-webkit-scrollbar { display: none; }

.details-header{
    flex-direction: column;
    border-bottom:  1px solid rgb(255, 255, 255);
    padding: 20px 0px;
    margin-top: 20px;
}

.details-title{
    color: white;
    margin: 0;
}

.fa-brands.link-icn, .fa-solid.link-icn{
    color:white;
    font-size: 20px;
    transition: color 0.3s ease-in-out;
}

.project-link{
    border: 1px solid white;
    border-radius: 5px;
    padding:5px 10px;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.project-link:hover{
    border: 1px solid black;
    background-color: white;
}


.project-link:hover .link-text, .project-link:hover .fa-brands.link-icn, .project-link:hover .fa-solid.link-icn{
    color: black;
}


.project-title-left-wrapper{
    display: flex;
    row-gap: 5px;
    flex-direction: column;
}

.link-text{
    color: white;
    transition: color 0.3s ease-in-out;
}


.details-link-wrapper{
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    height: 100%;
    align-self: flex-end;
}

.details-subtitle{
    color: rgba(255, 255, 255, 0.4);
}

.details-body-left{
    width: 100%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    height: 100%;
}

.details-body-right{
    width: 100%;
    height: 100%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.details-body-scroll-container{
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    padding-top: 20px;
    scrollbar-width: none;
    height: 100vh;
}

.details-body-main-wrapper{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    column-gap: 70px;
    padding-bottom: 40px;
}

.details-body-left-section-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    row-gap: 5px;
}


.details-body-right-section-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-left: 1px solid white;
    padding-left:20px;
    
}

.details-body-right-content{
    flex-direction: column;
    display: flex;
    row-gap: 20px;
}

.details-body-title{
    margin: 0;
    color: rgba(255, 255, 255, 0.443);
    width: 400px;
    letter-spacing: 2px;
    font-size: 18px;
}

.details-body-content{
    margin: 0;
    color: white;
    white-space: pre-line;
}

.decision-wrapper{
    height: 100%;
}

.details-decision-title{
    color: white;
    font-size: 16px;
    margin: 0;
}

.details-decision-text{
    color: white;
    margin: 0;
}

.project-title-wrapper{
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    align-items: center;
    justify-content: space-between;

}

/*Tags*/

.tag{
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    height: 20px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.tag-wrapper{
    flex-direction: row;
    display: flex;
    column-gap: 10px;
    margin-top: 10px;
    column-gap: 10px;
}
.tag-text{
    color: white;
    font-size: 12px;
}

.results-img-wrapper{
    border: 1px solid white;
    height: 250px;
    width: 50%;
    border-radius: 10px;
    background-size: cover;
    min-width: 300px;
    max-width: 400px;
}

.results-img-section-container{
    display: flex;
    padding: 10px;
    flex-direction: row;
    column-gap: 20px;
    justify-content: flex-start;
    padding: 10px;
}

.results-section{
    padding-top: 10px;
    min-height: 270px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    padding-right: 10px;
}

/* Section resume */

.resume-img{
    height: 250px;
    width: 250px;
    border-radius: 50%;
    border: 1px solid white;
    background-image: url('images/me.jpg');
    background-size: cover;
}

.resume-xp{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    max-width: 60%;
    justify-content: center;
    row-gap: 20px;
}

.cv-btn{
    border: 1px solid white;
    min-width: 150px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 15px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cv-btn.dl{
    background-color: white;
    color: black;
}

.cv-btn:hover{
    background-color: #a66e0c;
}

.xp-btn-wrapper{
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    width: 100%;;
}

.fa-folder-open{
    color: white;
    font-size: 22px;
}

.fa-download{
    color: black;
    font-size: 22px;
}

.contact-wrapper{
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.contact-icn{
    color: white;
    font-size: 30px;
    transition: all 0.2s ease;
    z-index: 10;
}

.contact-icn:hover, .contact-icn.mail:hover{
    color: #a66e0c;
    transition: all 0.2s ease;
    font-size: 34px;
    margin-top: 0px;
}

.contact-icn.mail{
    color: white;
    font-size: 30px;
    justify-self: center;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.contact-title{
    border-bottom: 1px solid white;
    padding-bottom: 20px;
}

/*
.circle{
    height: 250px;
    width: 250px;
    border-radius: 50%;
    border: 1px solid white;
    transform-style: preserve-3d;
    transition: 0.6s ease-in-out;
    background-color: #93761f;
    display: flex;
    align-items: center;
    justify-content: center;
}

#email-icn{
    opacity: 0;
    transition: 0.4s opacity;
}

#coin-container{
    perspective: 300px;
    border: 1px solid white;
}
    */

