body {
    font-family: 'Fredoka One', cursive;
    overflow-x: hidden;
}

    
body.blurred {
    filter: blur(10px);
}

body h1, h2, h3{
    font-family: 'Fredoka One', cursive;
}

body::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
}

/* NAVBAR */

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    background: transparent;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-family: 'Fredoka One', cursive;
    margin: 0 15px;
    font-size: 18px;
}

.navbar a:hover {
    text-decoration: none;
}

.navbar-logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: auto;
}

.nav_gauche{
    text-align: left;
}

.nav_center{
    text-align: center;
}

.nav_droite{
    text-align: right;
}



.address{
    color: #fff !important;
}






/* FOOTER */

footer{
    color: aliceblue;
    padding-top: 50px;
    background:  url(../img/motifs5.png) repeat, #0f342a;
    position: relative;
    z-index: 5;
}

.footer_container{
    padding: 15px;
    font-size: small;
}

.footer_container p{
    font-size: larger;
}    




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

@media (max-width: 768px) {


    .footer_container h2{
        font-size: 180%
    }

}






.logo_footer{
    max-width: 70%;
    justify-content: center;
    align-items: center;
    
}

.formulaire-contact {
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width:80%;
    font-family: 'Roboto', sans-serif;
}

.formulaire-contact label{
    font-family: 'Roboto', sans-serif;
}

form input{
    border-radius: 2px;
}

form label{
    font-family: 'Orbitron', sans-serif;
}

label {
    display: block;
    margin-bottom: 10px;
}

input, textarea {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #3e8e41;
}




.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 10px 6px rgba(0, 94, 255, 0.3), 0 2px 4px rgba(0, 94, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top::before {
    content: '\2B99';
    font-size: 40px;
    color: white;
    line-height: 60px;
    display: inline-block;
    animation: bounce 1.2s infinite;
}

.back-to-top:hover {
    box-shadow: 0 6px 10px rgba(0, 255, 30, 0.471), 0 4px 6px rgba(255, 0, 0, 0.4);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}



.main-container{
    position: relative;
}

.cookie-banner{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
    color: black;
    font-weight: bold;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
}


.accept-cookies{
    margin: 5px;
    padding: 10px 15px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.reject-cookies{
    margin: 5px;
    padding: 10px 15px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

label[for="consentement"] {
    font-size: 12px; /* Réduit la taille du texte */
    display: flex;
    align-items: center;
}

input#consentement {
    width: 15px; /* Largeur de la case à cocher */
    height: 15px; /* Hauteur de la case à cocher */
    margin-right: 5px; /* Espace entre la case et le texte */
}

input#consentement2 {
    width: 15px; /* Largeur de la case à cocher */
    height: 15px; /* Hauteur de la case à cocher */
    margin-right: 5px; /* Espace entre la case et le texte */
}


/* MEDIA */


@media (max-width: 768px) {
    .nav_center a {
        margin: 0 5px; /* Réduit les marges entre les liens */
        padding: 0; /* Évite un padding excessif */
    }


    .nav_droite a{
        color: #000000;
        font-weight: bold;
    }
    
    @media screen and (max-width: 768px) {
        .accueil {
            background-attachment: scroll;
            background-size: cover;
            height: 100%;
            min-height: 100vh;
        }
    }
    

    .logo {
        max-width: 50%;
    }

    .my_titre {
        margin-top: 30%;
        font-size: 25px;
    }

    .nav_gauche, .nav_center, .nav_droite {
        text-align: center;
        width: 100%;
    }
    
    .carte_container .col-md-3 {
        flex: 1 1 calc(50% - 20px);
    }

    
    .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;
    }
    
    /* Effet de survol */
    .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;
    }
    
    .nav_center_2 {
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }


    .back-to-top::before {
        content: '↑';
    }
}   

