/* RUBRIQUE */

.rubrique1 {
    position: relative;
    padding: 10px;
    padding-bottom: 50px;
    background:  
        url(../img/motifs2.png) repeat, /* Motif en superposition */
        #f8f0d6; /* Couleur de fond */
    background-size: auto;
    z-index: 5;
}

.rubrique1::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #f8f0d6);
    z-index: -1;
}

.rubrique1::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, transparent, #f8f0d6);
    z-index: -1;
}



.rubrique1 p,
.rubrique1 h5 {
    color: white;
}


.rubrique2{
    position: relative;
    background:  url(../img/motifs5.png) repeat, #0f342a;
    background-size: auto; /* Ajuste selon le besoin */
    padding: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background-attachment: fixed; */
    padding-bottom: 70px;
}


.rubrique2_banner2{
    position: relative;
    background: url(../img/banner3.jpg);
    color: #a9a9a9;
    padding: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background-attachment: fixed; */
    padding-bottom: 70px;
    background-attachment: fixed;
}

.rubrique2_banner3{
    position: relative;
    background: url(../img/banner.png);
    color: #a9a9a9;
    padding: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background-attachment: fixed; */
    padding-bottom: 70px;
}



.affiche{
    width: 400px;
    height: 400px;
    box-shadow: 0 0 15px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}



h1, h2, h3, h4 {
    background: url('../img/banner.png'); /* Remplacez par le chemin de votre image */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 3px rgb(0, 0, 0); 
}

@media (max-width: 768px) {
    h1, h2, h3, h4 {
        -webkit-text-stroke: 1px rgb(255, 255, 255); 
    }
}












.border_blur{
    width: max-content;
    background-color: #3498db;
    box-shadow: 0 0 15px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}


.my_titre{
    font-size: 130px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    margin-top: 12%;
    color: #DADADA;
}

@media (max-width: 768px) {
    .my_titre{
        font-size: 150px;
    }
}

.accueil {
    background-image: url("../img/festival.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.titre {
    text-align: center;
    padding-top: 40px;
    -webkit-background-clip: text;
    color: transparent;
}





.titre2 {
    padding-top: 40px;
    background: linear-gradient(90deg, #33ccff, #ff00ff);
    -webkit-background-clip: text;
    color: transparent;
}

.subtitle{
    text-align: center;
    color: #71008b;
    font-size: 24px;
}

.soustitre {
    font-size: 50px;
    text-align: center;
    color: #DADADA;
    opacity: 0;
    transition: opacity 1s;
}


.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left; /* Pour s'assurer que le texte n'est pas centré */
}

.center-content p{
    color: #000000;
}


.program p, li{
    color: #ffffff;
    font-weight: bold;
}





.logo{
    max-width: 30%;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo-container{
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.logo-container p{
    color: white;
}




.card{
    background-image: url("../img/fonds/fond.png");
    color: white;
}

.card p, .card h4{
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}


.rubrique1 .card {
    /* background-color: rgba(255, 255, 255, 0.1); */
    border: 1px solid white;
    border-radius: 8px;
    margin: 10px;
    padding: 10px;
}




.container-size{
    margin-top: -50px;
    padding: 70px;
}



.separator {    
    display: block;
    width: 25%;
    height: 3px;
    background-color: rgb(0, 77, 177);
    border: none;
}

.separator-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.align{
    justify-content: center;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .align{
        justify-content: center;
        text-align: center;
        width: 120%;
    }

    .affiche{
        width: 200px;
        height: 200px;
        box-shadow: 0 0 15px 15px rgba(0, 0, 0, 0.5);
        border-radius: 10px;
    }

    .img-container{
        text-align: right;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    }
    
    .img-container img{
        width: 56%;
        filter: drop-shadow(0 4px 6px rgba(255, 255, 255, 0.6));
    }
    
    .img-container2{
        text-align: left;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    }
    
    .img-container2 img{
        width: 51%;
        filter: drop-shadow(0 4px 6px rgba(255, 255, 255, 0.6));
        /* border-radius: 10px; */
    }
    
    html, body {
        overflow-x: hidden;
        position: relative;
        max-width: 100vw;
      }

    /* * {
        outline: 1px solid red;
      } */
}




.lead{
    color: #b0b0b0;
}


.titre_align_left{
    text-align: left;
    padding-top: 40px;
    background: linear-gradient(90deg, #33ccff, #ff00ff);
    -webkit-background-clip: text;
    color: transparent;
}





.usage_container{
    border: 3px solid #ccc;
    border-radius: 20px;
    color: white;
    text-align: center;
    padding: 5px;
    background-image: url("../img/fonds/fond_boutons.png");
    transition: transform 0.3s ease-in-out;
}

.usage_container img{
    width: 15%;
}

.usage_container_description{
    border: 3px solid #ccc;
    border-radius: 20px;
    color: white;
    padding: 5px;
}

.usage_container_description h3{
    text-align: center;
}



.usage_container_description button {
    display: block;
    margin: 0 auto;
}

.usage_container:hover {
    transform: scale(1.2);
    text-decoration: none;
}

.besoin {
    display: flex;
    justify-content: center;
    align-items: center;  
}

.besoin img{
    max-width: 80%;
    box-shadow: 5px 5px 15px rgba(16, 28, 194, 0.5);
    border-radius: 10px;
}

@media (max-width: 768px) {

    .besoin img{
        max-width: 80%;
        box-shadow: 5px 5px 15px rgba(16, 28, 194, 0.5);
        border-radius: 10px;
    }
    
    .section .col-md-6.besoin {
        margin-bottom: 20px;
        margin-top: -40px;
    }

}



.custom-btn {
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(148, 255, 193, 0.4);
  }
  
  .custom-btn:hover {
    background: linear-gradient(45deg, #0041a1, #0041a1);
    box-shadow: 0 0.8rem 1.2rem #0041a1;
    transform: translateY(-2px);
  }
  





.logo-container a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.logo-container a:hover {
    text-decoration: none;
    color: #ffffff;
    transform: scale(1.1);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.logo-container a:active {
    text-decoration: none;
    color: #003d7a;
    transform: scale(1.05);
}



.resize .p-3{
    height: 100%;
}

.resize .p-4{
    height: 100%;
}




/* BARRE DE NAVIGATION */

/* Styles existants */
.nav_button {
    color: #ffffff;
    background-color: transparent;
    border-radius: 7px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 1px 6px #467FF7;
}

.nav_button:hover {
    color: white;
    transform: scale(1.05);
    border: 2px solid #ffcccc;
}

.nav_button.active {
    border: 2px solid #467FF7;
    color: #467FF7;
    box-shadow: 0 4px 6px #467FF7;
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .nav_button {
        font-size: 12px !important;
        padding: 5px 10px !important;
        width: auto !important;
    }

    .phone_reshape {
        font-size: 25px;
    }

    .nav_center {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .navigation_button {
        color: #ffffff;
        background-color: #0A1624;
        border-radius: 7px;
        padding: 3px 20px;
        font-weight: bold;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
        box-shadow: 0 1px 6px #0A1624;
        margin-right: 5px;
    }
    
    .menu-toggle {
        /* background: none; */
        border: none;
        font-size: 22px;
    }

    .dropdown-content {
        display: none;
        background-color: transparent;
        min-width: 160px;
        /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
        z-index: 1;
    }

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #f1f1f1;
    }

    .dropdown-content.show {
        display: block;
    }


}

.nav_center_2 {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.border_nav {
    padding: 20px;
    border-radius: 10px;
    border-width: 3px;
}





.section {
    display: none;
}

.section.active {
    display: block;
}




















#progress-bar { 
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: #ffffff;
    width: 0;
    z-index: 9999;
}




#white {
    color: rgb(196, 196, 196);
}




.margin_bottom{
    margin-bottom: 30px;
}


.img3{
    background:  
    url(../img/motifs3.png) repeat,
    #1a5c49;}
.img4{
    background:  
    url(../img/motifs3.png) repeat,
    #1a5c49;
}
.img5{
    background:  
    url(../img/motifs3.png) repeat,
    #1a5c49;}
.img6{
    background:  
    url(../img/motifs3.png) repeat,
    #1a5c49;}
.img7{
    background:  
    url(../img/motifs3.png) repeat,
    #1a5c49;}
.img8{
    background:  
    url(../img/motifs3.png) repeat,
    #ae7400;}

.square {
    position: relative;
    border: 3px solid #000000;
    border-radius: 20px;
    color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 -4px 10px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    padding: 40px 20px 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    text-align: center;
    text-decoration: bold;
    height: 100%;
}

.no-underline a:hover {
    text-decoration: none;
}

.square p{
    text-align: justify;
    margin-top: 7%;
}

.square h3{
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgb(255, 255, 255); 
}

.square:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 81, 255, 0.3), inset 0 -4px 10px rgba(255, 255, 255, 0.15);
}

.corner-image {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 70px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;

}

.square:hover .corner-image {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.square-title {
    margin-top: 80px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.square-text {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
    color: #e0e0e0;
}

.square-link {
    text-decoration: none;
}

.square-link:hover {
    text-decoration: none;
}

select{
    background-color: #0A1624;
    color: white;
    border-radius: 3px;
    padding: 3px;
}




/* Style pour les toasts */
.toast2 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    z-index: 1000;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.toast-success {
    background-color: #4CAF50; /* Vert */
}

.toast-error {
    background-color: #f44336; /* Rouge */
}
