.banner_page {
    background-image: url("../../images/innovation.jpeg");
}
.banner_page .layer {
    height: 100%;
    width: 100%;
    background-color: rgba(128, 128, 128, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner_page .layer h2 {
    font-size: 2rem;
}
.layer h2{
    color: white;
    text-align: center;
    font-style: italic;
    font-weight: 700;
}
.nav {
    background-color: white;
}
.nav ul {
    background-color: white;
}
a {
    color: black;
}
a:hover {
    text-decoration: none;
}
.main {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.main .text-intro {
    text-align: justify;
}
.uk-timeline .uk-timeline-item .uk-card {
    max-height: 300px;
}

.uk-timeline .uk-timeline-item {
    display: flex;
    position: relative;
}

.uk-timeline .uk-timeline-item::before {
    background: #dadee4;
    content: "";
    height: 100%;
    left: 19px;
    position: absolute;
    top: 20px;
    width: 2px;
    z-index: -1;
}

.uk-timeline .uk-timeline-item .uk-timeline-icon .uk-badge {
    margin-top: 20px;
    width: 40px;
    height: 40px;
}

.uk-timeline .uk-timeline-item .uk-timeline-content {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0 0 0 1rem;
}

.links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    border-radius: 10px;
    background-color: #f0f0f0; /* Couleur de fond pour les espaces vides */
    background-size: contain; /* L'image sera entièrement visible */
    background-position: center; /* L'image sera centrée */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    background-clip: border-box; /* Garde l'image à l'intérieur des bords */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.text-content {
    z-index: 2;
}

.title {
    font-family: "Greycliff CF", sans-serif;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    font-size: 24px;
    margin-top: 8px;
}

.category {
    color: white;
    opacity: 0.8;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}

.read-button {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.read-button:hover {
    background-color: rgba(255, 255, 255, 1);
    color: black;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1;
}
