html {
    scroll-behavior: smooth;
}

:root {
    --bs-body-bg: var(--bs-gray-100);
}

body {
    font-family: 'Roboto', sans-serif;
}

/***************************************
/*             NAVBAR                 */
/**************************************/
.navbar .btn {
    --bs-btn-bg: #363c42;
    margin-left: 25px;
}

.myname img {
    width: 50px;
    height: auto;
}

/***************************************
/*              ACCUEIL               */
/**************************************/
#accueil {
    background-image: url("../images/background1.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 750px;
    padding-top: 10px;
}

@media (min-width: 800px) {
    #accueil {
        padding-top: 180px;
        /* Ajuste cette valeur selon tes besoins */
    }
}

#nameholder,
#aboutme {
    box-sizing: border-box;
    /* Inclure les paddings et bordures dans la hauteur totale */
    height: auto;
    /* S'adapte au contenu */
    position: relative;
    overflow: hidden;
    /* Cacher tout contenu qui dépasse */
    padding: 20px;
    display: flex;
    /* Utiliser flexbox pour gérer les éléments enfants */
    flex-direction: column;
    /* Les enfants seront empilés en colonne */
    margin-top: 3rem;
}

#nameholder {
    max-height: 400px;
    background-color: rgba(22, 23, 24, 0.9);
    min-width: 150px;
    max-width: 770px;
}

#aboutme {
    padding-left: 2.5rem;
}

#aboutme h3 {
    max-height: 300px;
    font-family: 'Roboto Condensed', sans-serif;
    /* Taille mini 2rem, taille normal 7% de la largeur de l'écran, taille max 5rem*/
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 300;
    line-height: 0.92;
    text-transform: uppercase;
    color: white;
    margin: 0;
    padding-bottom: 1.5rem;
}

#aboutme p {
    position: relative;
    font-family: 'Roboto', sans-serif;
    color: white;
    padding-right: 5%;
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 24px;
    font-weight: 300;
    letter-spacing: -0.005em;
    text-align: start;
}

#btnwork {
    margin-top: 20px;
    text-transform: uppercase;
    background-color: rgba(22, 23, 24, 0.9);
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    width: auto;
    text-decoration: none;
}

@media (max-width: 770px) {
    #nameholder {
        margin-top: 7rem;
        margin-left: 0;
    }

    #aboutme p {
        color: rgba(22, 23, 24, 0.9);
    }

    #aboutme h3 {
        color: rgba(22, 23, 24, 0.9);
    }

    #aboutme {
        margin-top: 20px;
        background-color: rgba(248, 248, 249, 0.9);
        color: rgba(22, 23, 24, 0.9);
    }
}