html, body {
    height: 100%;
    margin: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 100% de la hauteur de l'écran */
}

.content {
    flex: 1; /* Prend tout l'espace restant */
}

footer {
    background: #343a40;
    color: white;
}

/* custom.css */
.navbar-custom {
    background-color: #343a40; /* Dark gray navbar */
}
.navbar-custom .navbar-nav .nav-link {
    color: #f8f9fa; /* Light text color */
}
.navbar-custom .navbar-nav .nav-link:hover {
    color: #ffc107; /* Gold color on hover */
}
.navbar-custom .navbar-nav .nav-item.active .nav-link {
    color: #ffc107; /* Gold color for selected item */
    font-weight: bold;
}

/* Custom Banner Styles */
.banner {
    background-image: var(--banner-image); /* Use the dynamic CSS variable */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0; /* Adjusted padding to make the banner more prominent */
    font-size: 24px;
    font-weight: bold;
}

.container {
    margin-top: 20px;
}

/* Container for each image */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.image-container img {
    width: 100%;
    transition: transform 0.3s ease; /* Image zoom effect on hover */
}

/* Description overlay */
.description {
    position: absolute;
    bottom: -100%; /* Initially hidden */
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    color: white;
    padding: 20px;
    text-align: center;
    transition: bottom 0.3s ease; /* Smooth transition for expanding */
}

/* Show the description on hover */
.image-container:hover .description {
    bottom: 0; /* Move up to show the description */
}

.image-container:hover img {
    transform: scale(1.1); /* Zoom the image on hover */
}

/* Style the link inside the description */
.description a {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #fff;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Change the background color of the link on hover */
.description a:hover {
    background-color: #fff;
    color: #000;
}

/* Specific background colors for each description */
.description-blue {
    background-color: #007bff;
}

.description-green {
    background-color: #28a745;
}

.description-red {
    background-color: #dc3545;
}

.description-yellow {
    background-color: #e0a800;
}

.clickable-div {
    cursor: pointer;
    transition: all 0.2s ease-in-out;  /* Optional, for smooth transition */
}

.row {
    margin-top: 20px;
}

.back-links a {
    display: block;
    padding: 10px;
    color: #007bff;
    text-decoration: none;
}

.back-links a:hover {
    text-decoration: underline;
}

.stage-details {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.stage-details h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.stage-details p {
    margin: 5px 0;
    font-size: 1rem;
}

.stage-details strong {
    font-weight: bold;
}

.table {
    margin-top: 20px;
    border-radius: 5px;
}

.table th {
    background-color: #f8f9fa;
}

.table td {
    vertical-align: middle;
}

.text-light {
   text-decoration: none;
}

.login-hover:hover {
   font-weight: bold;
}
