body {
    margin: 0;
}

.header-color {
    background-color: #2F55E0;
}

.container-logo {
    display: flex;
    height: 3.6rem;
}

.navbar .nav-link:hover {
    opacity: 0.8;
}

.navbar small {
    font-size: 0.75rem;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.profile-card {
    max-width: 400px;
}

.container-connexion {
    margin-top: auto;
    margin-bottom: auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

.carousel-control-prev span,
.carousel-control-next span {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 30px;
}

.carousel-item {
    height: 450px;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.custom-container {
    display: flex;
}

.custom-caption {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    margin: auto;
}

.custom-caption a {
    padding: 5px 15px 5px 15px;
    background-color: #2F55E0;
    color: #FFFFFF;
    border-radius: 10px;
    margin: auto;
    text-decoration: none;
    width: fit-content;
}

.custom-caption h5,
.custom-caption p {
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.card:hover {
    transform: translateY(-5px);
    transition: 0.2s;
}

.card-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.image-container {
    background: repeating-linear-gradient(
            -45deg,
            #e0e0e0,
            #e0e0e0 10px,
            #f5f5f5 10px,
            #f5f5f5 20px
    );
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    min-height: 200px;
}

.modal-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-nav i {
        display: none; /* enlève icônes sur mobile si tu veux */
    }
}