/* cette feuille de style est inclue dans toutes les pages */

/* navbar sur toutes les pages*/
.navbar {
    background-color: #E4E4E4;
    z-index: 1000;
}

/*ajouter un espacement sous la navbar pour que le contenu ne soit pas caché par la navbar*/
.contenu {
    margin-top: 100px;
}

/*couleur de fond du site*/
body {
    background-color: rgb(26, 26, 26);
    text-align: justify;
}

.intro {
    color: white;
    font-family: 'Quicksand', sans-serif;
}

.helloworld {
    font-family: 'Silkscreen', sans-serif;
    color: white;
    font-size: 50px;
}

/*suivi du curseur par les yeux*/
.move-area {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.eye {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    background: #ffffff;
    padding: 10px;
}

.eye:after { /*pupille*/
    position: absolute;
    bottom: 17px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    content: " ";
}

p {
    color: white;
    font-size: 0.85rem;
    text-align: justify;
}

/* Pour les écrans moyens (tablettes, >= 768px) */
@media (min-width: 768px) {
    p {
        font-size: 1.15rem; /* Correspond à fs-md-3 */
        color: white;
    }
}

/* Pour les grands écrans (>= 992px) */
@media (min-width: 992px) {
    p {
        font-size: 1.20rem; /* Correspond à fs-lg-5 */
        color: white;
    }
}

.photoprofil {
    border-radius: 71% 29% 32% 68% / 80% 27% 73% 20%;
    width: 230px;
    padding-bottom: 20px;
}

/*je sais que j'aurais pu utiliser des virgules mais pour des raisons obscures cela ne fontionne pas */
h1 {
    color: white;
}

h2 {
    color: white;
}

h3 {
    color: white;
}

h4 {
    color: white;
}

h5 {
    color: white;
}

h6 {
    color: white;
}

.btnnav {
    display: block;
    margin: auto;
    padding: 1rem 1.25rem;
    font-family: sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    position: relative;
    transition: all .3s cubic-bezier(.2, 0, 0, 1);
    z-index: 1;
    padding-bottom: 20px;

    &:after {
        content: '';
        display: block;
        height: 2px;
        position: absolute;
        bottom: 0;
        right: 1.25rem;
        left: 1.25rem;
        background-color: #ffffff;
        transition: all .3s cubic-bezier(.2, 0, 0, 1);
        transform-origin: bottom center;
        z-index: -1;
    }

    &:hover {
        color: #2D2D2D;

        &:after {
            right: 0;
            left: 0;
            height: 100%;
        }
    }
}

/* Le body et l'html doivent prendre toute la hauteur de la fenêtre */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Le main prend toute la place restante entre le header et le footer */
main {
    flex: 1;
}


footer {
    width: 100%;
    margin: 0;
    padding: 10px 0;
}


/* deuxième navbar style one page sous la première navbar */
.navbarop {
    position: fixed;
    top: 0;
    z-index: 900; /* Une valeur inférieure à celle de la première barre pour que le dépliement la recouvre */
}

@media screen {
    .navbar {
        position: sticky;
        top: 0;
    }

    .navbarop {
        z-index: 1100; /* Lors du dépliement, une valeur supérieure pour recouvrir la première barre */
    }
}

#backToTopBtn {
    position: fixed;
    bottom: 75px;
    left: 1px;
    display: none;
    padding: 10px 15px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#backToTopBtn:hover {
    color: #0056b3;
}

#sommaire {
    background-color: #f1f3f5;
    padding: 40px;
    border-radius: 20px; /* Coins arrondis */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    overflow: hidden; /* Permet aux coins arrondis de s'appliquer correctement */
}

.list-group-item {
    background-color: #fff;
    border: 1px solid #ddd; /* Ajout d'une bordure pour l'effet de bordure arrondie */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 15px; /* Coins arrondis */
    transition: all 0.3s ease;
    cursor: pointer;
}

.sommaire-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sommaire-link {
    display: flex;
    text-decoration: none;
    color: #007bff;
    align-items: center;
    transition: all 0.3s ease;
}

.sommaire-link:hover {
    color: #0056b3;
}

.sommaire-link .sommaire-icon {
    color: #007bff;
    padding: 10px;
    margin-right: 15px;
    font-size: 1.5rem;
}

.sommaire-link:hover .sommaire-icon {
    color: #0056b3;
}

.sommaire-text {
    font-size: 1.2rem;
    font-weight: 500;
}

.sommaire-item:last-child {
    margin-bottom: 0;
}



/*cartes*/
/* From Uiverse.io by vamsidevendrakumar */
.card-flip {
    width: 300px;
    height: 200px;
    perspective: 1000px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.999s;
}

.card-flip:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card-front {
    background-color: #000000;
    color: #fff;
    display: flex;
    align-items: center;
    border: 10px solid #000000;
    border-radius: 10px;
    justify-content: center;
    font-size: 24px;
    transform: rotateY(0deg);
}

.card-back {
    background-color: #1670fb;
    color: #fff;
    display: flex;
    align-items: center;
    border: 10px solid #1670fb;
    border-radius: 10px;
    justify-content: center;
    font-size: 24px;
    transform: rotateY(180deg);
}