
/*bann style*/

.bann {
  background: url('../images/partenariat_ins_strategique.jpg') no-repeat center center/cover;
  color: white;
  padding: 100px 20px;
  padding-top: 140px;
  text-align: center;
}


.bann h1 {
  font-size: 2em;
  margin-bottom: 10px;
  background-color: rgba(37, 37, 37, 0.651);
}

.bann p {
  font-size: 1.2em;
  background-color: rgba(37, 37, 37, 0.651);
}







/* Styles généraux */
.actu-section {
    padding: 50px 0;
}

.sitpop {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3a3a3a;
    background-color: #e9ecefc2;
    text-align: center;
    margin-bottom: 30px;
}
.sitpop span{
    text-decoration: underline 5px solid #eb9408;
}


.act {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.act-images,
.shop-images {
    width: 45%;
    margin-bottom: 30px;
}


.act-card,
.shop-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.act-card:hover,
.shop-card:hover {
    transform: translateY(-5px);
}

.shop-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.act-content,
.shop-content {
    text-align: center;
}

.act-title,
.shop-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.act-description,
.shop-description {
    font-size: 0.9rem;
    color: #6c757d;
}

.shop-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3f6fd6;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.shop-button:hover {
    background-color: #3054d6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .act-images,
    .shop-images {
        width: 100%;
    }
}





/* Section for the Interactive Background */
.interactive-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    /* background: linear-gradient(135deg, var(--primary-color), #4CAF50); */
    background-size: 400% 400%;
}

/* Floating Items (Icons and Words) */
.background__container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-item {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    opacity: 0.8;
    animation: float 6s linear infinite, drift 12s ease-in-out infinite;
    white-space: nowrap;
}

/* Animate Background Gradient */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Float Effect for Items */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Drift Animation for Horizontal Movement */
@keyframes drift {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(50px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Generate Random Position for Items */
.floating-item:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-item:nth-child(2) {
    top: 20%;
    left: 75%;
    animation-delay: 1s;
}

.floating-item:nth-child(3) {
    top: 50%;
    left: 40%;
    animation-delay: 2s;
}

.floating-item:nth-child(4) {
    top: 30%;
    left: 20%;
    animation-delay: 3s;
}

.floating-item:nth-child(5) {
    top: 70%;
    left: 60%;
    animation-delay: 4s;
}

.floating-item:nth-child(6) {
    top: 80%;
    left: 10%;
    animation-delay: 5s;
}

.floating-item:nth-child(7) {
    top: 60%;
    left: 80%;
    animation-delay: 6s;
}

.floating-item:nth-child(8) {
    top: 15%;
    left: 45%;
    animation-delay: 7s;
}

.floating-item:nth-child(9) {
    top: 5%;
    left: 50%;
    animation-delay: 8s;
}

.floating-item:nth-child(10) {
    top: 90%;
    left: 35%;
    animation-delay: 9s;
}


