main {
    line-height: 1.2;
}

/* ----------------- 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: 245px;
    height: 385px;
}

#presentation {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
h2#dev {
    margin-bottom: 10px;
}
h2#crea {
    margin-top: 22px;
}

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

.banniere h2 {
    font-family: 'GothamBold', sans-serif;
    font-size: 1.5rem;
}

.banniere h2#crea {
    margin-top: 40px;
}

.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 (max-width: 920px) {
        .banniere {
            height: 92svh;
        }
    }

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

        #presentation {
            width: 90%;
        }
    }
    
    @media (max-width: 450px) {
        h2#dev {
            margin-bottom: 2px;
        }
        
        .banniere h2#crea {
            margin-top: 5px;
        }
    }


/* ----------------- Présentation ------------------ */
.me {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    height: 90vh;
    width: 70vw;
    margin: auto;
}

.me h2 {
    text-align: start;
    font-family: 'Bagel', sans-serif;
    font-size: 2rem;
    margin-bottom: 35px;
}

.me img {
    width: 250px;
    height: 350px;
    border-radius: 190px;
    border: solid 2px #ffffff;
    margin-top: 50px; 
}

.me p {
    margin-bottom: 17px;
}

.me a {
    font-family: 'Bagel', sans-serif;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #ffffff;
    padding: 4px 12px 7px 12px;
    border-radius: 50px;
    margin-right: 7px;
}

/* --- Responsive présentation --- */
    @media (max-width: 885px) {
        .me {
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            height: 100vh;
            width: 75vw;
        }  

        .me h2 {
            text-align: center;
        }
    }

    @media (max-width: 790px) {
        .me {
            width: 80vw;
        }
    }

    @media (max-width: 480px) {
        .me {
            height: -webkit-fit-content;
            height: -moz-fit-content;
            height: fit-content;
            margin-bottom: 30px;
        }

        .link {
            display: flex;
            flex-direction: column;
            align-items: start;
            gap: 10px;
        }
    }


/* -------------------- Skills -------------------- */
.skills {
    height: 85vh;
    width: 70vw;
    margin: auto;
    scroll-margin-top: 130px;
}

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

.tabSkills {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    width: 65vw;
    margin: auto;
}

.skills h3 {
    font-family: 'GothamBold', sans-serif;
    font-size: 1.3rem;
}

.skills h3::after {
    content: '';
    display: block;
    width: 140%;
    margin-left: -20%;
    border: 1px solid #ffffff;
}

.skills ul {
    list-style: none;
    line-height: 44px;
    padding-left: 0;
}

/* --- Responsive skills --- */
    @media (max-width: 885px) {
        .skills {
            height: -webkit-fit-content;
            height: -moz-fit-content;
            height: fit-content;
            width: 75vw;
            display: flex;
            flex-direction: column;
            padding-top: 30px;
        }

        .tabSkills {
            margin-top: 0;
            width: 89%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            justify-items: center;
        }

        .tabSkills div {
            width: -webkit-fit-content;
            width: -moz-fit-content;
            width: fit-content;
        }

        .skills #develop h3::after {
            width: 143%;
            margin-left: -21%;
        }

        .skills #design h3::after {
            width: 178%;
            margin-left: -46%;
        }

        .skills #softski h3::after {
            width: 150%;
            margin-left: -31%;
        }   
    }

    @media (max-width: 790px) {
        .skills {
            width: 80vw;
        }
    }


    @media (max-width: 480px) {
        .skills h2 {
            text-align: center;
        }

        .tabSkills {
            display: grid;
            grid-template-columns: 1fr;
        }

        .tabSkills div {
            width: 60%;
        }

        .skills ul {
            line-height: 35px;
        }

        .skills #design h3::after {
            width: 143%;
            margin-left: -21%;
        }

        .skills #audiovi h3::after {
            width: 143%;
            margin-left: -21%;
        }

        .skills #softski h3::after {
            width: 143%;
            margin-left: -21%;
        } 

    }


/* ------------------- Projets ------------------- */
.projets {
    height: 85vh;
    width: 70vw;
    margin: auto;
    scroll-margin-top: 130px;
}

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

.tabProjets {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    margin: auto;
}

.projet {
    border: solid 2px #ffffff;
    border-radius: 20px;
    box-shadow: 0px 0px 32.5px 12px #FFFFFF59;
    position: relative;
    height: 385px;
    width: 250px;
    overflow: hidden;
}

.projet h3 {
    font-family: 'GothamBold', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-left: 25px;
    margin-bottom: 15px;
    position: absolute;
    bottom: 0;
}

.projet img {
    width: 200px;
    transform: rotate(-10deg);
    position: absolute;
    top: 10%;
    left: 35%;
}

.projet img.projHover {
    width: 210px;
    transform: rotate(-10deg);
    top: 8.5%;
    display: none;
}

.projet:hover img.projHover {
    display: block;
    transition: all 0.5s ease-out;
}
.projet:hover img.projNoHover {
    display: none;
}
.projet:hover {
    overflow: visible;
}

.hob:hover {
    box-shadow: 0px 0px 32.5px 18px #88EDB159;
    border: 2px solid #88EDB1;
    transition: box-shadow 0.1s ease-out;
}
.des:hover {
    box-shadow: 0px 0px 32.5px 18px #88D5ED59;
    border: 2px solid #88D5ED;
    transition: box-shadow 0.1s ease-out;
}
.dev:hover {
    box-shadow: 0px 0px 32.5px 20px #C87EE259;
    border: 2px solid #C87EE2;
    transition: box-shadow 0.1s ease-out;
}

.hob:hover h3 {
    color: #88EDB1;
}
.des:hover h3 {
    color: #88D5ED;
}
.dev:hover h3 {
    color: #C87EE2;
}

/* --- Responsive projets --- */
    @media (max-width: 1120px) {
        .projet {
            height: 350px;
            width: 220px;
        }
    }

    @media (max-width: 970px) {
        .projet {
            height: 300px;
            width: 200px;
        }

        .projet img {
            width: 170px;
            top: 7%;
        }

        .projet img.projHover {
            width: 180px;
            top: 5.5%;
        }
    }

    @media (max-width: 885px) {
        .projets {
            height: 87vh;
            width: 75vw;
            padding-top: 50px;
        }

        .projet {
            height: 290px;
            width: 192px;
        }

        .projet img {
            width: 160px;
        }
        
        .projet img.projHover {
            width: 170px;
        }
    }

    @media (max-width: 790px) {
        .projets {
            width: 80vw;
        }

        .projet {
            height: 260px;
            width: 165px;
        }

        .projet img {
            width: 140px;
        }

        .projet img.projHover {
            width: 150px;
        }
    }

    @media (max-width: 690px) {
        .projets {
            height: -webkit-fit-content;
            height: -moz-fit-content;
            height: fit-content;
            margin-bottom: 50px;
        }

        .projets h2 {
            margin-bottom: 70px;
        }

        .tabProjets {
            flex-direction: column;
            align-items: center;
        }

        .projet {
            height: 385px;
            width: 250px;
            overflow: visible;
        }

        .projet h3 {
            font-size: 1.8rem;
        }

        .projet img {
            width: 200px;
        }

        .projet img.projHover {
            width: 210px;
            display: block;
        }

        .projet img.projNoHover {
            display: none;
        }
        
        .hob {
            box-shadow: 0px 0px 32.5px 18px #88EDB159;
            border: 2px solid #88EDB1;
        }
        .des {
            box-shadow: 0px 0px 32.5px 18px #88D5ED59;
            border: 2px solid #88D5ED;
        }
        .dev {
            box-shadow: 0px 0px 32.5px 20px #C87EE259;
            border: 2px solid #C87EE2;
        }
        .hob h3 {
            color: #88EDB1;
        }
        .des h3 {
            color: #88D5ED;
        }
        .dev h3 {
            color: #C87EE2;
        }
    }
    