body {
    margin: 0;
    min-height: 100vh;

    background-image: url("bck-grid.gif");
    background-size: 200px 200px;
    background-repeat: repeat;
    background-position: top left;

    font-family: "Pixelify Sans", sans-serif;
    color: rgb(255, 255, 255);
}

/* TITRE EN HAUT */
.top {
    margin-top: 5vh;
    justify-content: center;
    display: flex;
}

.top h1 {
    scale: 2;
    background-color: grey;
    border-radius: 2px;
    width: 250px;
    text-align: center;
    border: 3px solid white;
}

/* ===== ZONE BIO ===== */
.bio-container {
    position: relative;
    margin-left: 10vh;
    margin-top: 10vh;
    width: 450px;
}

/* BOÎTE DERRIÈRE BIO */
.background-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-color: rgb(0, 0, 0);
    border: 3px solid white;
    border-radius: 4px;
    z-index: 0;
}

.bio {
    margin-top: 2vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 30px;
    background-color: grey;
    border: 3px solid white;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.presentation-bio {
    margin-top: 1vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 200px;
    background-color: grey;
    border: 3px solid white;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.presentation-bio p {
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
}

/* ===== SECTION LIENS ===== */
.link-container {
    position: relative;
    margin-left: 10vh;
    margin-top: 5vh;
    width: 450px;
}

/* BOÎTE DERRIÈRE LIENS */
.background-box-links {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-color: rgb(0, 0, 0);
    border: 3px solid white;
    border-radius: 4px;
    z-index: 0;
}

.titre-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 30px;
    background-color: grey;
    border: 3px solid white;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

/* LISTE DE LIENS */
.liens {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1;
    background-color: grey;
    border: 3px solid white;
    border-radius: 2px;
    
}

.liens li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.liens li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.liens li .icon {
    width: 30px;
    height: auto;
}

.liens li img {
    width: 30px;
    height: auto;
}

.footer {
    margin-top: 25vh;
    text-align: center;
    font-size: 14px;
    color: white;
    background-color: grey;
    border: 3px solid white;
    border-radius: 2px;
    width: 50vh;
    margin-left: 37.5%;
    justify-content: center;
}

.profile {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 100px;
    height: 100px;
    border: 3px solid white;
    border-radius: 50%;
    overflow: hidden;
}

.profile img {
    width: 100%;           
    height: 100%;          
    object-fit: cover;      
    object-position: center; 
}

.about {
    position: absolute;      /* position libre sur la page */
    top: 210px;              /* juste en dessous du titre Draaagnil */
    left: 900px;               /* centre horizontal par rapport à la page */
    transform: translateX(-50%); /* ajuste pour que le centre soit exactement au milieu */
    align-items: center;
    background-color: rgb(0, 0, 0);
    border: 2px solid white;
    border-radius: 5px;
    padding: 20px;
    width: 600px;            /* taille de la boîte */
    text-align: center;
    z-index: 10;             /* au-dessus des autres éléments si nécessaire */
    height: 420px;
}

.about-container {
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center;     /* centre verticalement */
    min-height: 50vh;        /* hauteur de la section au milieu de la page */
}

.about h2 {
    margin-top: 0;
    border: 3px solid white;
    border-radius: 2px;
    background-color: grey;
}

.about p {
    font-size: 18px;
    line-height: 1.6;
    border: 3px solid white;
    border-radius: 2px;
    background-color: grey;
    height: 360px;
}

