/* Bootstrapp css modifié */
body {
    color : #484848;
    background : #FCFCFC;
}
ul {
    list-style: none;
}
/*button:focus {
    border: 2px solid #2fa0fc!important;
    box-shadow: inset 0 0 0 2px #fff!important;
}*/

/*
.scroll-effet {
    position: absolute;
    right: 0;
    width: 11px;
    opacity: 0;
    transition: opacity 0.3s;

}*/



.authll {
    position: absolute!important;
    top: 50px!important;
    left: auto!important;
    right: 0px!important;
    background-color: #fff;
    min-width: 160px;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 3px;
    z-index: 50;
    border: 1px solid lightgrey;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    overflow: hidden;
    padding: 0;
}
.content-steps {
    padding: 50px 150px;
}
.title-steps {
    font-size: 42px;
    line-height: 63px;
    font-weight: 500;
    font-family: BuenosAires-bold, Arial, Helvetica, sans-serif;
    text-align: start;
    margin-bottom: 50px;
}
/* Maintenir l'alignement des liens sur grand écran */
@media (max-width: 768px) {
    h1 {
        margin: 0 0 35px; 
        font-size: 36px!important;
    }
    .title-steps {
        font-size: 28px;
        font-weight: 600;
        line-height: 33px;
        margin-bottom: 50px;
    }
    .content-steps {
        padding: 50px 50px;
    }
}
.banner-search {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 54px 40px;
    height: 100vh;
    max-height: 600px;
    color: #fff;
}
.banner-title-page {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 34px 40px;
    height: 54vh;
    max-height: 600px;
    color: #fff;
}
figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
figure::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .1;
}
figure img {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1920px;
    opacity: 1;
    position: absolute;
    max-width: none;
}
.link-metier:hover {
    text-decoration: underline!important;
}
.disponibility::before {
    content: "";
    width: 15px;
    height: 15px;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    margin-right: 5px;
    border-color: #12cfc9;
    background-color: #12cfc9;
}

.profile-wrapper__photo-without-avatar:after {
    content: "";
    border-radius: 100%;
    width: 100%;
    position: absolute;
    height: 100%;
    pointer-events: none;
    opacity: .1;
    background-color: #03526680;
}

.portfolio {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 20px;
    grid-auto-flow: row dense;

    counter-reset: portfolio; /* Système de counter pour verifier que les elements sont a leur place */
}
.project {
    counter-increment: portfolio;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background : #fff;
}
.project__image {
    width: 100%;
    height: 220px;
}
.project:hover {
    box-shadow: 0px 8px 30px rgba(34, 34, 34, 0.07);
}
h2 {
    padding: 0;
    color: #000;
    margin: 0 0 5px;
}
.project__name::after {
    content: counter(portfolio) /* Incrementer un counteur a niveau des titres */
}
.project__name, .project__name_2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.25rem 0;
    font-family: 'Inter', sans-serif;
    text-align: start;
    text-transform: uppercase;
}
.project__description{
    padding-left: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
    text-align: start;
    display: flex; 
    flex-direction: column;
    justify-content: flex-start;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333330;
}
.project__description span{
       /* Troncature avec ellipsis */
       white-space: nowrap;
       overflow: hidden;
       text-overflow: ellipsis;
       width: 300px; /* Ajuste la largeur selon ton besoin */
       display: block;
}
.project__body {
    overflow: hidden;
}
.project .project__body {
    display: none;
}
@media screen and (min-width: 640px) {
    .portfolio {
        grid-template-columns: repeat(4, 1fr);
    }
    .project__body {
        grid-column: span 4;
    }
}
