  
* {
    cursor: url('./exos/asset/img/icons8-curseur-main-64.png'), auto; /* Remplacez 'path/to/custom-cursor.cur' par le chemin de votre curseur personnalisé */
}

/* Retour au curseur par défaut pour les liens */
a {
    cursor: pointer;
}

/* Appliquer le style du curseur personnalisé uniquement aux conteneurs spécifiés */
.ol-container, .nav-item {
    cursor: url('./exos/asset/img/icons8-curseur-main-64.png'), auto; /* Remplacez 'path/to/custom-cursor.cur' par le chemin de votre curseur personnalisé */
}

/* Garder le curseur par défaut pour les liens */
.ol-container a, .nav-item a {
    cursor: pointer;
    cursor: url('./exos/asset/img/icons8-curseur-main-64.png'), auto; 
}


body, h1, h5, p, a, img, ol, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body, html {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    color: #333;
    padding: 20px;
    text-align: center;
    background-image: url('./exos/asset/img/boule\ et\ bill.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    transition: background-image 0.5s ease, color 0.5s ease;
}
   
 
 
.navbar {
    background-color: #0941db;
    overflow: hidden;
    border-radius: 15px;
    width: 93vh;
    margin: 0 auto;
}
.navbar:hover {
    background-color: #0654c9;
    overflow: hidden;
    border-radius: 15px;
    width: 93vh;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Centrer les éléments de la liste */
}

.nav-item {
    flex: 1;
    text-align: center; /* Centrer le texte dans chaque élément */
}

.nav-item a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    position: relative;
}

.nav-item a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: white;
    transition: width .3s;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item a:hover {
    
    color: #fff;
    
}
 
.site-header {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.site-header h1 {
    font-size: 1.8em;
    font-weight: bold;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
}


/* Container styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

 
/* Style for .h1 class */
.h1 {
    color: rgb(6, 187, 51);
    text-align: center;
    font-family: monospace;
    font-weight: bold;
    font-size: 80px;
    text-shadow: 2px 2px 1px rgb(0, 0, 0);
}
 
.overline {
    color: #5f09ff;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-family: cursive;
    text-decoration: overline;
    transition: color 1.2s, transform 1.2s, text-shadow 1.2s;
}

.overline:hover {
    color: #6721eb;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(103, 33, 235, 0.7);
}
/* Main content styling */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

 
/* Subtitle styling */
h5 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #ffd900;
    font-family: cursive;
    text-shadow: 2px 2px 1px black;
}
img:hover {
    box-shadow: 3px 8px 7px black;
}

/* List container */
.ol-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

/* Individual exercise item */
.exercise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px;
    text-align: center;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.exercise-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Styling for images */
.exercise-item img {
    max-width: 150px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s;
}

/* Styling for links */
.exercise-item a {
    margin-top: 10px;
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.exercise-item a:hover {
    color: #007bff;
}

.exercise-item img:hover {
    transform: scale(1.1);
}

/* Button styling */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

#backToTop:hover {
    background: #0056b3;
}

/* Footer styling */
footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #777;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content .h1, h2 {
        font-size: 1.5em;
    }

    .exercise-item img {
        max-width: 100px;
    }

    .exercise-item a {
        font-size: 1.2em;
    }

    #backToTop {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

.site-footer {
    background: linear-gradient(135deg, #0dd9fd, #2041d8);
    color: white;
    padding: 40px 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    position: relative;
    text-align: center;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer p {
    margin: 10px 0;
    font-size: 1.2em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.site-footer p strong {
    font-weight: 700;
    color: #ffeb3b;
}

.site-footer p:hover {
    color: #ffd700;
}

/* Decorative line above footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: #ffeb3b;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer p {
        font-size: 1em;
    }
}

#videoContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Ensure it is on top of everything else */
}
#transitionVideo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire area */
}

#lecture {
    color: #cdcecd;
    font-size: 3vh;
    margin-bottom: 20px;
    font-family: cursive;
    text-shadow: 2px 2px 1px black;
}

#screensaver {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
#screensaver video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

 /* Styles pour la bulle textuelle */
.toggle-label {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip {
    position: absolute;
    top: -50px; /* Position au-dessus de l'élément */
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.exercise-item a {
    transition: background-color 0.5s ease, color 0.5s ease, text-shadow 0.5s ease;
}