main a {
    text-decoration: none;
    color: #ffffff;
}

/* ----------------- Bannière ------------------ */
.banniere {
    display: flex;
    flex-direction: column;
    height:89vh;
    border-bottom: 2px solid #ffffff;
    justify-content: center;
    align-items: center;
    position: relative;
}

#forme {
    margin: auto;
    border: solid 3px #ffffff;
    border-radius: 190px;
    width: 227px;
    height: 367px;
}

#presentation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.banniere h1 {
    font-family: 'Bagel', sans-serif;
    font-size: 4rem;
    line-height: 4rem;
    background-color: #000000;
    padding: 11px 25px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.banniere h2 {
    font-family: 'GothamBold', sans-serif;
    font-size: 1.7rem;
    margin-bottom: 5px;
    height: 1px;
}

.iconOrdi {
    display: block;
    position: absolute;
    width: 140px;
}

.gauche {
    left: 5%;
}

.droite {
    right: 5%;
}

.haut {
    top: 20px;
}

.bas {
    bottom: 24px; 
}

.scroll {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

/* --- Responsive bannière --- */
    @media (min-width: 1500px) {
        .banniere h2 {
            height: 30px;
            margin-bottom: 5px;
        }
    }

    @media (max-width: 920px) {
        .banniere {
            height: 92svh;
        }
    }
    
    @media (max-width: 745px) {   
        .banniere {
            height: 88svh;
        }
    }

    @media (max-width: 610px) {
        .iconOrdi {
            display: none;
        }

        #presentation {
            width: 90%;
        }
    }
    
    @media (max-width: 450px) {
        .banniere h1 {
            font-size: 2.4rem;
            padding: 5px 6px;
        }
        
        .banniere h2 {
            height: 15px;
        }
    }


/* ------------------ Epinglés ------------------- */
.epingle {
    height: 50vh;
    width: 80vw;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.epingle h2 {
    font-family: 'Bagel', sans-serif;
    font-size: 2rem;
    margin-bottom: 45px;
}

.projetsEpi {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.projetEpi {
    cursor: pointer;
    position: relative;
}

.projetEpi h3 {
    font-family: 'Bagel', sans-serif;
    font-size: 2rem;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%);
    z-index: 1;
    width: 70%;
    text-align: center;
}

.projetEpiImg {
    border-radius: 25px;
    box-shadow: 0px 0px 28px 12px #ffffff4b;
    height: 184px;
    width: 280px;
}

.projetEpi img {
    height: 180px;
    width: 276px;
    -webkit-filter: brightness(50%);
    filter: brightness(50%);
    border-radius: 23px;
    display: none;
}

.projetEpi:hover img {
    display: block;
    transition: all 0.5s ease-out;
}
.projetEpi:hover .projetEpiImg{
    border: 2px solid #ffffff;
}

/* --- Responsive épingles  --- */
    @media (max-width: 745px) {
        .projetEpiImg {
            height: 144px;
            width: 240px;
        }
        
        .projetEpi h3 {
            top: 10%;
        }
        
        .projetEpi img {
            height: 140px;
            width: 236px;
        }
    }
    
    @media (max-width: 630px) {
        .projetEpiImg {
            height: 124px;
            width: 220px;
        }
        
        .projetEpi h3 {
            top: 5%;
        }
        
        .projetEpi img {
            height: 120px;
            width: 216px;
        }
    }
    
        
    @media (max-width: 580px) {
        .epingle {
            margin-top: 25px;
            margin-bottom: 30px;
            height: 60vh;
        }
        
        .projetsEpi {
            flex-direction: column;
            align-items: center;
        }
    }

/* ------------------ Projets ------------------- */
.projets {
    width: 80vw;
    margin: auto;
    margin-bottom: 100px;
}

.projets h2 {
    font-family: 'Bagel', sans-serif;
    font-size: 2rem;
    margin-bottom: 40px;
    margin-top: 40px;
}

.listProjet {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 10px;
}

.projet {
    width: 220px;
}

.projet div {
    border: 2px solid #ffffff;
    border-radius: 15px;
}
.projet img {
    width: 100%;
    border-radius: 13px;
    -webkit-filter: brightness(70%);
            filter: brightness(70%);
}
.projet h3 {
    font-family: 'Bagel', sans-serif;
    font-size: 1.7rem;
    margin: 0;
    line-height: 1;
    margin-bottom: 13px;
    margin-top: 5px;
}
.projet p {
    margin-top: 7px;
    margin-bottom: 0;
    line-height: 1;
}

/* --- Responsive projets --- */
    @media (max-width: 570px) {
        .listProjet {
                justify-content: center;
        }
        
        .projet div {
            height: 140px;
            overflow: hidden;
        }
        
        .projet h3 {
            margin-bottom: 7px;
        }
    }
    
    