*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

body {
    margin: auto;
    padding: 0;
    height: 100%;
}


.bar {
    margin: 0;
    padding: 0;
}

/* Page d'accueil */
.bobi {

    background: url(image/cartemere.jpeg) no-repeat;
    background-repeat: no-repeat;
    background-size: cover;

    background-position: center center;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
}

@media screen and (min-width:601px) and (max-width:768px) {
    .bobi {
        height: 500px;
        overflow-y: scroll;

    }

}




/* Titre partie droite */
.bobi h1 {
    text-transform: uppercase;
    font-size: 40px;
    color: #f1f1f1;
    background-color: #e6b635;
    width: 100%;
    margin: 0 auto;
    max-width: 800px;
    font-family: Abril fatface, sans-serif;
    text-align: center;
    text-shadow: 3px 3px 3px black;
    margin-top: 300px;
    margin-bottom: -100px;
    margin-left: 37%;
    border-radius: 15px;
    animation: apparition 0.8s ease-out;

}

@media screen and (min-width:1046px) and (max-width:1380px) {
    .bobi h1 {
        margin-left: 35%;
        margin-top: 240px;
        font-size: 30px;
        width: 660px;
        margin-bottom: -320px;
    }

}

@media screen and (min-width: 1024px) and (max-width:1047px) {
    .bobi h1 {
        margin: 320px auto;

        font-size: 30px;
        width: 700px;
        margin-bottom: -320px;
    }
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .bobi h1 {
        margin: 0 auto;
        margin-top: 220px;
        font-size: 30px;
        width: 700px;
        margin-bottom: -260px;
    }
}

@media screen and (max-width:767px) {
    .bobi h1 {
        margin: auto;
        margin-top: 220px;
        background-color: #e6b635;
        width: 340px;
        height: 150px;
        margin-bottom: -200px;
        line-height: 50%;
        padding-top: 20px;

    }
}




.bobi h1 span {
    position: relative;
    animation: apparition 0.8s ease-out;

}

@media screen and (max-width: 1040px) {
    .bobi h1 span {
        font-size: 20px;
    }

}

@media all and (max-width: 600px) {
    .bobi h1 span {
        font-size: 15px;


    }

}



/* Photo */
.logo {
    position: absolute;
    margin-left: 110px;
    top: 5%;
    width: 150px;
    height: 150px;
    cursor: pointer;
    border-radius: 15px;
    border: solid 4px white;
    animation: apparition 0.8s ease-out;
    margin-top: 50px;

}

@media screen and (min-width:756px) and (max-width:1023px) {
    .logo {
        margin-top: 20px;
        margin: 0 40% auto;
    }

}

@media screen and (min-width: 482) and (max-width:755px) {
    .logo {

        margin: 20px 40% auto;
        width: 150px;
        height: 150px;

    }
}

@media screen and (max-width:481px) {
    .logo {
        font-size: 25px;

        margin: 20px 33% auto;
        margin-bottom: 50px;

    }
}


/* Bouton de navigation */
.container-btns {
    margin-top: 240px;
    animation: apparition 0.8s ease-out;
}

@media screen and (min-width:1375px) and (max-width:1540px) {
    .container-btns {
        margin-left: 5%;
        margin-top: 20px;
        font-size: 30px;

        margin-bottom: -320px;
    }

}

@media screen and (min-width:1286px) and (max-width:1374px) {
    .container-btns {

        font-size: 30px;
        margin: 190px 5% auto;
        margin-bottom: -320px;
    }

}

@media screen and (min-width: 1015px) and (max-width:1047px) {
    .container-btns {
        margin: 300px 30% auto;

        font-size: 25px;
        width: 500px;
        margin-bottom: -320px;
    }
}


@media screen and (min-width:767px) and (max-width:1014px) {
    .container-btns {
        margin: 280px 25% auto;

        font-size: 30px;
        width: 700px;
        margin-bottom: -320px;
    }
}

@media screen and (min-width:438px) and (max-width:766px) {
    .container-btns {
        font-size: 25px;
        margin: 200px 40% auto;
        margin-bottom: 50px;

    }
}

@media screen and (max-width:437px) {
    .container-btns {
        font-size: 25px;

        margin: 200px 33% auto;
        margin-bottom: 50px;

    }
}

.btn-first {
    border: 4px solid #f1f1f1;
    outline: none;
    background: #e6b635;
    font-size: 30px;
    padding: 20px;
    width: 300px;
    cursor: pointer;
    border-radius: 15px;
    margin-left: 40px;
    margin-top: 5px;


}

@media screen and (min-width:768px) and (max-width:1023px) {

    .btn-first {
        font-size: 20px;
        width: 200px;
        margin-left: 100px;
        height: 60px;



    }

}

@media screen and (max-width:767px) {

    .btn-first {
        font-size: 15px;
        width: 150px;
        padding: 10px;
        margin-left: -5px;

    }

}

.btn-first:nth-child(1) {
    margin-right: 30px;
}



.btn-first a {
    color: #fff;
    text-decoration: none;
    text-shadow: 3px 3px 3px black;

}

@media screen and (min-width:768px) and (max-width:1023px) {

    .btn-first a {
        margin-top: -10px;

    }

}

.btn-first a:hover {
    color: #382a02;
}



/* Deuxième page */
.titre_1 {
    color: #333;
    margin-top: -200px;
}

/* Page contact */
/* Carte page contact */
.mape {
    text-align: center;
    margin-bottom: 100px;
    width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 10px;

}

.cart {
    width: 400px;
    height: 500px;
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .cart {

        width: 500px;
        height: 600px;
        margin-top: 20px;
    }
}

@media screen and (max-width:767px) {
    .cart {
        width: 300px;

    }
}

/* texte de contact */
.bla {
    text-align: center;
    color: gray;
    margin-top: 50px;
}

.bla a {
    font-size: 15px;

}



.but {
    width: 80px;
    background-color: gray;
    color: white;
    height: 60px;
    border: #ccc;
    border-radius: 15px;
}

.bla h2 {
    background-color: #543e02;
    color: white;
    width: 15em;
    text-align: center;
    margin-left: 34%;
    border-radius: 15px;
    font-size: 200%;
    margin: 0 auto;
}

@media screen and (min-width:801px) and (max-width:1023px) {
    .bla h2 {
        margin-top: 130px;
        font-size: 30px;

    }
}





@media screen and (max-width:579px) {
    .bla h2 {
        font-size: 125%;

        margin-top: 10px;
        width: 250px;
    }

}




.bla h3 {
    color: gray;
    font-size: 2em;
    text-align: center;
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .bla h3 {
        font-size: 25px;
        font-weight: bold;
        line-height: 10px;

    }

}

@media screen and (min-width: 321px) and (max-width: 767px) {
    .bla h3 {
        font-size: 90%;
        font-weight: bold;
    }
}

@media only screen and (max-width: 320px) {
    .bla h3 {
        font-size: 100%;

    }

}

.container h2 {
    color: white;
    background-color: gray;
    width: 15em;
    text-align: center;
    margin-left: 29%;
    border-radius: 15px;
    font-size: 2em;
    margin-bottom: 10px;
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .container h2 {

        font-size: 30px;

    }
}

@media screen and (min-width:580px) and (max-width:767px) {
    .container h2 {
        margin-left: 8%;
        font-size: 25px;

    }

}

@media screen and (max-width:579px) {
    .container h2 {
        font-size: 20px;
        margin-left: 25px;
        margin-top: 10px;
    }

}



section {
    margin-bottom: 30px;
}

/* Formulaire de contact */
.container h2 {
    color: white;
    background-color: #543e02;
    width: 15em;
    text-align: center;
    margin-bottom: 15px;
    border-radius: 15px;
    font-size: 2em;
    margin: 0 auto;
}

@media screen and (min-width:1024px) and (max-width:1520px) {
    .container h2 {
        margin-bottom: 15px;
        font-size: 30px;

    }
}

@media screen and (min-width:801px) and (max-width:1023px) {
    .container h2 {
        margin-bottom: 15px;
        font-size: 30px;

    }
}

@media screen and (min-width:580px) and (max-width:800px) {
    .container h2 {
        margin-bottom: 15px;
        font-size: 30px;

    }
}





@media screen and (max-width:579px) {
    .container h2 {
        font-size: 20px;

        margin-top: 10px;
    }

}



section {
    margin-bottom: 30px;
}

/* formulaire page redaction */
.formi titre {
    font-size: 15px;
}


.formi {
    margin-top: 50px;
    width: 800px;
    margin-bottom: 200px;
    color: white;

}

.form {
    margin-top: 40px;
    width: 600px;
    margin-bottom: 60px;
    border: rgb(94, 86, 86) solid 3px;
    margin: 0 auto;
    padding: 30px;
    background-image: url("image/cartemere.jpeg");
}

@media screen and (min-width:801px) and (max-width:1023px) {
    .form {


        width: 600px;
        margin-bottom: 30px;
        margin-top: 15px;
    }
}

@media screen and (min-width:768px) and (max-width:800px) {
    .form {

        width: 500px;
    }

}

@media screen and (min-width:580px) and (max-width:767px) {
    .form {

        width: 500px;
    }

}

@media screen and (max-width:579px) {
    .form {

        width: 80%;
        margin-bottom: 20px;
        margin-top: 15px;
    }

}



input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;

}

input[type=text],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;

}

label {
    padding: 12px 12px 12px 0;
    display: inline-block;
    font-size: 20px;
    color: white;

}

input[type=submit] {
    background-color: gray;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    border: #f2f2f2 solid;
}

input[type=submit]:hover {
    background-color: gray;
}

/* Barre de navigation des pages */
nav {
    display: flex;
    background-color: #FFF;
    flex-flow: row nowrap;

}

@media screen and (min-width:768px) and (max-width:1023px) {
    nav {
        z-index: 2;


    }
}

@media screen and (max-width:767px) {
    nav {
        z-index: 2;
    }
}


nav>a {
    display: block;
    width: 400px;
    background-color: #e6b635;
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
    color: #FFF;
    margin: 1px;
    border-radius: 15px;
    text-decoration: none;
    margin-top: 5px;
    font-weight: bold;
    /* Supprime le surlignage des liens hypertexte */
}



nav>a:hover {
    background-color: rgb(153, 121, 5);
    color: #FFF;
    transition: all 0.3s ease
}

#ch {
    display: none;
    /* Pour masquer le checbox */
}



#lab {
    width: 30px;
    height: 30px;



    background: linear-gradient(rgb(153, 121, 5) 0%, rgb(153, 121, 5) 20%, transparent 21%, transparent 40%, rgb(153, 121, 5) 41%, rgb(153, 121, 5) 60%, transparent 61%, transparent 80%, rgb(153, 121, 5) 81%, rgb(153, 121, 5) 100%);
    margin: 4px;
    display: none;
    /* Faire disparaitre le label lorsque l'écran s'acradit */
}

@media screen and (min-width:768px) and (max-width:1023px) {
    #lab {
        margin-top: 130px;
        margin-bottom: -230px;


    }
}

@media screen and (max-width:767px) {
    #lab {
        margin-bottom: -230px;
    }
}

@media all and (max-width: 960px) {
    nav {
        display: block;
        position: absolute;
        left: 0;
        /* Pour que la barre de nav occupe tout l'espace */
        right: 0;
        /* Pour que la barre de nav occupe tout l'espace */
        transform: translate(-1000px, 0);
        /* Le menu disparait */
        transition: all 0.9s ease;


    }

    nav>a {
        width: auto;
    }



    #ch:checked+nav {
        transform: translate(0, 0);
        /* Le menu apparait */
        transition: all 0.9s ease;
    }

    #lab {
        display: block;
        margin-left: 20px;
    }
}

/* Titre partie droite */
.navi h1 {

    text-transform: uppercase;
    font-size: 30px;
    color: #f1f1f1;
    font-family: Abril fatface, sans-serif;
    text-align: center;
    text-shadow: 3px 3px 3px black;
    margin-top: 200px;
    margin-bottom: -210px;
    margin-left: 20%;
    animation: apparition 0.8s ease-out;
    padding-top: 50px;
}

@media screen and (max-width: 1040px) {
    .navi h1 {
        margin-left: 30%;
        padding-top: 80px;
        font-size: 30px;
    }

}

@media all and (max-width: 600px) {
    .navi h1 {
        font-size: 15px;
        margin-top: 250px;
        padding-top: 200px;
        margin-left: -8px;
    }

}

.navi .container-first h1 {
    margin-top: 200px;
}


@keyframes apparition {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

.navi {
    height: 300px;
    background-color: #543e02;
}




.navi h1 span {
    position: relative;
    animation: apparition 0.8s ease-out;
    margin-top: 10%;


}

@media screen and (max-width: 1040px) {
    .navi h1 span {
        font-size: 20px;
    }

}

@media all and (max-width: 600px) {
    .navi h1 span {
        font-size: 20px;



    }

}

header {
    height: 300px;
    background-color: #543e02;
    margin-top: -200px;

}

@media screen and (min-width:768px) and (max-width:1023px) {
    header {
        height: 270px;

    }
}

@media screen and (max-width:767px) {
    header {
        height: 340px;
    }
}

header h1 span {
    margin-bottom: -200px;
}


.logo_2 {
    position: absolute;
    margin-left: 110px;
    top: 6%;
    width: 180px;
    height: 180px;
    cursor: pointer;
    border-radius: 15px;
    border: solid 4px white;
    animation: apparition 0.8s ease-out;


}

@media screen and (min-width:768px) and (max-width:1023px) {
    .logo_2 {
        margin-left: 80px;

    }
}

@media screen and (max-width:767px) {
    .logo_2 {
        margin-top: 30px;
        margin-left: 100px;
        width: 100px;
        height: 100px;
    }
}


.container-first nav {
    margin-top: 250px;
}

/* Page Offre */

.rop a {
    color: #e6b635;
    font-weight: bold;
    
}
.rop {
    font-size: 2rem;
    /* Taille du titre sur les écrans normaux */
    text-align: center;
    

}

/* Styles pour les écrans plus petits */
@media  (max-width: 768px) {


    .rop {


        font-size: 1.5rem;
        /* Taille du titre pour les écrans de largeur maximale de 768px */
    }
}

/* Styles pour les écrans encore plus petits */
@media (max-width: 480px) {


    .rop {


        font-size: 1.2rem;
        /* Taille du titre pour les écrans de largeur maximale de 480px */
    }
}

/* Exemples de sites */
.site {
    text-align: center;
}
/* Caroussel */
/* Carousel de Promotion */
.carousel-item {
    background-color: gray;
    color: #FFF;
    text-align: center;
    margin-top: 20px;
}

@media screen and (max-width:767px) {
    .carousel-item {
        margin-top: 0px;
    }
}

.carousel-item button a {
    background-color: #FFF;
    color: gray;
    font-weight: bold;

}

.carousel-item button {
    background-color: #FFF;
    height: 50px;
    width: 300px;
    border-radius: 15px;
    font-size: 25px;
    margin-bottom: 10px;

}


/* Page à Propos */
/* sidebar */
.sidebar {

    margin: 0 auto;
    color: #543e02;
    height: 450px;
    width: 70%;

    border: 5px solid #543e02;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-top: 80px;
    align-items: center;

}

@media screen and (min-width:1024px) and (max-width:1526px) {
    .sidebar {
        height: 750px;
        margin-top: 80px;
    }
}

@media screen and (min-width:956px) and (max-width:1023px) {
    .sidebar {
        height: 700px;
        margin-top: 100px;
    }
}

@media screen and (min-width:767px) and (max-width:955px) {
    .sidebar {
        height: 1000px;
        margin-top: 100px;
    }
}

@media screen and (min-width:700px) and (max-width:766px) {
    .sidebar {

        height: 950px;
        margin-bottom: -770px;
        margin-top: 20px;

    }

}

@media screen and (min-width:580px) and (max-width:699px) {
    .sidebar {

        width: 450px;
        margin-bottom: -760px;
        margin-top: 20px;
        height: 900px;
    }

}

@media screen and (min-width:546px) and (max-width:579px) {
    .sidebar {

        width: 300px;
        height: 1100px;
        margin-top: 30px;
        margin-bottom: -760px;
    }

}

@media screen and (min-width:341px) and (max-width:545px) {
    .sidebar {

        width: 300px;
        height: 1000px;
        margin-top: 30px;
        margin-bottom: -760px;
    }

}

@media screen and (max-width:340px) {
    .sidebar {
        margin-right: 1%;
        margin-left: 5%;
        width: 300px;
        height: 1000px;
        margin-top: 30px;
        margin-bottom: -760px;
    }

}



.sidebar h2 {

    text-align: center;
    margin-top: 100px;
}

.sidebar h3 {
    margin-top: 55px;

}

.texte {
    margin-top: -55px;
    margin-right: 10px;
    margin-left: 10px;
    text-align: left;
    font-weight: bold;
    font-size: 25px;
}

@media screen and (max-width: 600px) {
    .texte {
        font-size: 20px;
    }
}

@media screen and (max-width: 400px) {
    .texte {
        font-size: 20px;
    }
}




/* Les compétences */
.flex-container_b {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .flex-container_b {
        margin-bottom: 60px;
    }
}

@media screen and (max-width:767px) {
    .flex-container_b {
        margin-top: 5px;
        margin-bottom: 60px;
    }
}


.column_b {
    text-align: center;
    width: 32%;
    margin-top: 20px;


}


.column_b img {
    max-width: 100%;
    margin-left: 0 !important;
    height: 100px;
    width: 100px;


}

/* Style h2 compétences */
.bur {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #543e02;
    text-align: center;
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .bur {
        margin-bottom: 10px;
    }
}

@media screen and (max-width:767px) {
    .bur {
        margin-top: 790px;
        margin-bottom: -10px;

    }
}

/* Troix blocs animés offre.php */
.flex-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

@media screen and (min-width:1023px) and (max-width:1123px) {
    .flex-box {
        height: 1000px;
        margin-top: 20px;
        margin-bottom: -55px;
    }
}

@media screen and (min-width:921px) and (max-width:1023px) {
    .flex-box {
        height: 1000px;
        margin-top: 20px;
        margin-bottom: 260px;
    }
}

@media screen and (min-width:757px) and (max-width:920px) {
    .flex-box {
        height: 1000px;
        margin-top: 20px;
        margin-bottom: 260px;
    }
}


@media screen and (min-width:767px) and (max-width:780px) {
    .flex-box {
        height: 1000px;
        margin-top: 20px;
        margin-bottom: 260px;
    }
}



@media screen and (max-width:766px) {
    .flex-box {
        margin-top: 20px;
        margin-bottom: 1210px;
        height: 520px;
        margin-left: 2px;
    }
}


.flex-box>div {
    height: 400px;
    width: 400px;
    background: #FFF;
    margin: 15px 5px;
    transition: all 2s;
    transform: translate(-1000%) rotate(45deg);
    z-index: -1;
    margin-top: 20px;
    padding: 15px;
    border-radius: 15px;
    border: #543e02 solid 4px;

}

@media screen and (min-width:768px) and (max-width:1023px) {
    .flex-box>div {
        width: 600px;


    }
}

@media screen and (min-width:369px) and (max-width:767px) {
    .flex-box>div {
        width: 500px;
        height: 550px;
        margin-bottom: 20px;

    }

}

@media screen and (max-width:370px) {
    .flex-box>div {
        width: 300px;
        height: 550px;
        margin-bottom: 20px;

    }
}

.buri {
    width: 80%;
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
}

#backToNormal {
    transform: translate(0) rotate(0deg);

}

.iba {
    height: 300px;
    width: 300px;
    margin-top: 40px;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 2;
}

.ibo {
    height: 300px;
    width: 300px;
    margin-top: 40px;
    margin-left: 12%;
}

.ibu {
    height: 300px;
    width: 300px;
    margin-top: 40px;
    margin-left: 12%;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 2;
}

.div4 {
    text-align: left;

}

@media screen and (min-width:768px) and (max-width:1023px) {
    .div4 {
        margin-top: 50px;

    }
}

@media screen and (min-width:369px) and (max-width:767px) {
    .div4 {

        margin-bottom: 220px;

    }

}

@media screen and (max-width:767px) {
    .div4 {

        margin-bottom: -210px;
    }
}

.div2 img {
    text-align: center;
}

@media screen and (max-width: 400px) {
    .div2 img {
        margin-left: 10px;

    }
}

.div1 img {
    text-align: center;
}

@media screen and (max-width: 400px) {
    .div1 img {
        margin-left: 10px;

    }
}

.div4 h2 {
    color: #543e02;
    margin-top: 10px;
    text-align: center;
}





.div1 h2 {
    color: #543e02;
    margin-top: 10px;
    text-align: center;
}


.div2 h2 {
    color: #543e02;
    margin-top: 10px;
    text-align: center;
}

.center h2 {
    margin: 0 auto;
}
/* Page offre */




.offre {
    color: #543e02;
    text-align: center;
    margin-top: 50px;

}

@media screen and (min-width:768px) and (max-width:1023px) {
    .offre {
        margin-top: 120px;

    }
}

@media screen and (min-width:580px) and (max-width:767px) {
    .offre {
        font-weight: bold;
        font-size: 30px;
        text-align: center;

    }

}

@media screen and (max-width:579px) {
    .offre {
        font-weight: bold;
        font-size: 20px;
    }
}

.offre_2 {
    color: #543e02;
    margin-left: 25%;
    width: 850px;
    text-align: center;
    margin-left: 20%;

}

@media screen and (min-width: 786px) and (max-width: 1040px) {
    .offre_2 {
        font-size: 18px;
        margin-left: 15px;
        width: 600px;
        margin-bottom: 20px;

    }
}

@media screen and (min-width:767px) and (max-width:785px) {
    .offre_2 {
        font-size: 20px;

        margin-left: 90px;
        margin-bottom: 10px;
        width: 600px;
    }
}

@media screen and (min-width:581px) and (max-width:766px) {
    .offre_2 {
        margin-bottom: -420px;
        font-size: 18px;
        text-align: center;
        width: 400px;
        text-align: center;



    }

}

@media screen and (min-width:580px) and (max-width:597px) {
    .offre_2 {
        margin-bottom: -1210px;
        font-size: 18px;
        margin-left: 130px;
        width: 400px;
        text-align: center;



    }

}

@media screen and (min-width:571px) and (max-width:579px) {
    .offre_2 {
        margin-bottom: -900px;
        font-size: 18px;

        width: 400px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;



    }

}

@media screen and (min-width:400px) and (max-width:570px) {
    .offre_2 {
        margin-bottom: -900px;
        font-size: 18px;
        margin-left: 10px;
        width: 400px;
        text-align: center;



    }

}

@media all and (max-width: 399px) {
    .offre_2 {
        margin-bottom: -900px;
        font-size: 15px;
        margin-left: 5%;
        width: 332px;
        text-align: center;
    }
}


.container-n {
      display: flex;
      gap: 20px;
    }

    .column-n {
      background-color: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .column-n a {
      text-decoration: none;
      color: #007BFF;
      margin-bottom: 10px;
    }

    .column-n h2 {
      margin: 10px 0;
      color: #333;
    }

    .column-n img {
      width: 100%;
      max-width: 250px;
      border-radius: 10px;
      margin-top: 10px;
      transition: transform 0.3s;
      height: 250px;
    }

    .column-n img:hover {
      transform: scale(1.05);
    }
    
    @media screen and (min-width:768px) and (max-width:1023px){
      .column-n {
        flex: 1 1 calc(50% - 20px);
      }
    }
      @media screen and (max-width: 768px) {
      .column-n {
        flex: 1 1 100%;
      }
      .container-n {
        flex-direction: column;
      }
    }
    
    /*Nouveau Slider */
     
    
/* Footer */



footer {
    background-color: #543e02;
    padding: 40px;
    color: #ffffff;
}

@media screen and (max-width:767px) {
    .footer {

        margin-top: 930px;


    }
}

footer img {
    width: 50px;
    height: 50px;
}

@media screen and (min-width:768px) and (max-width:1023px) {
    footer img {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width:767px) {
    footer img {
        width: 30px;
        height: 30px;
    }
}


footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}



footer ul li {
    display: inline-block;
    margin-right: 10px;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 20px;
}

@media screen and (min-width:768px) and (max-width:1023px) {
    footer ul li {
        margin-bottom: 20px;
    }
}

@media screen and (max-width:767px) {
    footer ul li {
        display: block;
        margin-bottom: 10px;
    }
}



footer ul li a:hover {
    color: #ffffff;
    text-decoration: none;
}

.copy {
    text-align: center;
    margin-top: 10px;
}

/* Cookies */


#cookie-banner {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    text-align: center;
}

button a {
    color: #f1f1f1;
    text-decoration: none;
}


#cookie-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

#cookie-banner .buttons {
    margin-top: 10px;
}

#cookie-banner button {
    background-color: #e6b635;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
}

#cookie-banner button:hover {
    background-color: #e6b635;
}

/* Page legale.php */
.bloc_1 {
    margin-top: 50px;
    width: 70%;
    margin-left: 15%;
    text-align: justify;
}

.bloc_1 h2 {
    text-align: left;
}

/* page action.php */
.reponse {
    margin-top: 40px;
    height: 400px;
    margin-left: 10%;
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .reponse {
        margin-bottom: 420px;
        height: 400px;
        margin-left: 20px;
    }
}

@media screen and (max-width:767px) {
    .reponse {
        height: 500px;
        font-size: 20px;
        margin-left: 10px;

    }
}

.action {
    height: 600px;
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .action {
        height: 400px;

    }
}

@media screen and (max-width:767px) {
    .action {
        height: 400px;

    }
}