* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    background-color: #080000;
}

header {
    display: block;
    position: relative;
}

hr {

    margin: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(94, 126, 119, 0.342);
    border-top: 1px solid rgba(235, 254, 249, 0.92);
    /* width: 100%;
    max-width: 1340px;
    display: block;*/
}

h3 {
    color: rgba(3, 39, 200, 0.888);
    margin-bottom: 0;
}

.body_bg {
    border: 1px solid rgb(35, 250, 210);
    background-color: rgb(204, 253, 244);
    border-radius: 10px;
    padding: 10px 20px;
    color: #080000f8;
    width: 80%;
    margin: 6px auto;
}

.body_top {
    display: flex;
    align-items: center;
    justify-items: center;
    flex-direction: column;
    background-image: url(../img/banniere_logo_1920x350.jpg);
    background-repeat: no-repeat;
    background-clip: content-box;
    background-blend-mode: darken;
    background-color: rgba(105, 150, 2, 0.925);
    border: 2px solid #5d9601c5;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    border-radius: 10px;
}

.topbar {
    position: relative;
    width: 100%;
}

.banniere {
    position: relative;
    background-color: rgba(0, 0, 0, 0.9);
    height: 100%;
    z-index: 1;
}

.header_pub {
    position: absolute;
    background: transparent;
    border: none;
    max-width: 250px;
    width: 100%;
    top: 15px;
    right: 40px;
    z-index: 999;
    animation-duration: 18s;
    animation-delay: 2s;
    animation-name: bouger;
    animation-iteration-count: infinite;
}

/*------------ Animation de la pub Alé di partou ---------- */
@keyframes bouger {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.5);
    }

    100% {
        transform: scale(1);
    }
}

.topbar__nav {
    background-color: rgba(32, 32, 32, 0.705);
    box-shadow: 1px 1px 4px 0px rgba(202, 187, 117, 0.247);
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*flex-wrap: wrap;*/
    max-height: 100%;
    width: 100%;
    padding: 0px 30px;
    position: absolute;
    bottom: 0;
    z-index: 100;
}

.logo_clt {
    color: white;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 0 40px;
    gap: 25px;
}

.menu a {
    border-bottom: 1px solid rgba(134, 103, 1, 0.822);
    color: rgb(252, 250, 250);
    padding: 5px 40px;
    min-width: 130px;
    font-size: 18px;
    background-color: rgba(250, 246, 246, 0.13);
    transition: color .3s ease;
}

.menu a:hover {
    color: rgba(24, 9, 0, 0.986);
    background-color: rgba(163, 161, 161, 0.774);
    transition: color 0.3s ease;
}

.menu a.active {
    color: rgba(24, 9, 0, 0.986);
    background-color: rgba(255, 255, 255, 0.959);
}

.social {
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 5px;
}

.social a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 auto;
    padding: 5px 5px;
}

.social a:hover {
    color: rgba(24, 9, 0, 0.986);
    background-color: rgba(163, 161, 161, 0.774);
    transition: color 0.3s ease;
}

/* ---- Pour la gestion du menu de navigation sur mobile ----- */

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    display: none;
}

/*--------------------------------------------------------------*/
.laffiche {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgb(100, 0, 27);
}

.msg_complet {
    color: rgb(106, 219, 0);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin: 10px auto;
    background-color: #532e3d;
    width: 95%;
    padding: 10px;
}

.msg_infos {
    color: whitesmoke;
    font-size: 0.9rem;
    text-align: center;
    background-color: rgba(88, 2, 61, 0.918);
    border: 1px solid rgba(240, 2, 165, 0.934);
    border-radius: 8px;
    margin: 10px auto;
    width: 95%;
    padding: 15px;
}

.msg_choix {
    color: darkgreen;
    text-align: left;
    font-size: 1.3rem;
    font-weight: bold;
    border: 2px solid rgba(147, 1, 101, 0.934);
    border-radius: 8px;
    max-width: 270px;
    margin-right: 10px;
    /*margin: 5px 10px;
     width: 80%;*/
}

.zoom_msg {
    margin: 6px 0;
    padding: 0 5px;
    font-size: 1.5rem;
    border: 1px solid rgba(158, 186, 0, 0.899);
    background-color: rgba(251, 252, 183, 0.252);
    width: 100%;
}

.zoom_msg a {
    color: white;
    text-decoration: none;
    text-align: center;
    background-color: rgba(4, 103, 252, 0.993);
    padding: 10px;
    border-radius: 10px;
    transition: 0.25s ease-in-out;
}

.zoom_msg a:hover {
    background-color: rgba(0, 63, 158, 0.993);
}


.encart {
    background-color: white;
    margin: 10px auto;
    padding: 10px 8px;
    max-width: 98%;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
}

.resa_top {
    margin: 0 30px;
}

.w-max {
    width: 50%;
}

.mside-0 {
    max-width: 100%;
}

.encart-form {
    margin: 0 6px;
    /* width: 98%;*/
}

.encart-bg {
    display: flex;
    margin: 0 6px
}

.align-right {
    margin-right: 6px;
    width: 180px;
}

.conseil {
    color: #fff;
    background-color: rgba(88, 2, 61, 0.918);
    border: 2px solid rgba(240, 2, 165, 0.934);
    padding: 10px;
    border-radius: 10px;
}

.retour_lien {
    margin: 0 10px;
}

.verifier {
    margin: 0 auto;
    /*max-width: 50%;*/
}

.verifier h4 {
    color: darkblue;
}

.fa-phone {
    color: rgb(0, 128, 32);
}

.zone_modifiable {
    background-color: peachpuff;
    padding: 8px 4px;
    border-radius: 6px;
    border-bottom: 1px solid rgb(182, 181, 181);
    border-right: 1px solid rgb(182, 181, 181);
}

input+span {
    padding-right: 30px;
}


input:invalid+span::after {
    position: absolute;
    content: "✖";
    padding-left: 5px;

}

input:valid+span::after {
    position: absolute;
    content: "✓";
    padding-left: 5px;
    color: green;
}

.error {
    color: rgb(124, 2, 2);
    font-size: 1.0em;
    height: 3.6em;
    max-height: 8em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid rgba(241, 178, 196, 0.613);
    border-radius: 5px;
    background-color: rgba(246, 221, 226, 0.97);
}

.error p {
    margin: 0 auto;
    padding: 0;
}

.non_modifiable {
    background-color: rgb(244, 244, 244);
    padding: 8px 4px;
    border-radius: 6px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgb(182, 181, 181);
    border-right: 1px solid rgb(182, 181, 181);
}

.filigrane {
    color: rgba(6, 172, 0, 0.928);
    font-style: italic;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4px;
}

.show_out {
    color: rgb(100, 0, 27);
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 600;
}

.bg-md_header {
    color: azure;
    background-color: #007228ef;
    /*background-color: #683a4cde;*/
}

.modal-sous_titre {
    font-size: 1rem;
    font-style: italic;
    color: rgb(213, 199, 0);
    margin: 0;
}

#select-container select {
    background-color: rgba(229, 0, 225, 0.209);
    font-weight: bold;
}

.wrapper {
    display: flex;
}

@media screen and (max-width:1580px) {
    .header_pub img {
        width: 70%;
        object-fit: contain;
        object-position: top;
    }
}

@media screen and (max-width:1080px) {
    body {
        font-size: 16px;
        line-height: 1.2;
    }

    h1 {
        font-size: 1.8rem;
    }

    .header_pub {
        display: none;
    }

    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .logo_clt {
        position: absolute;
        left: 5%;
    }

    .logo_clt img {
        width: 80%;
        object-fit: contain;
        object-position: top;
    }

    .topbar {
        align-items: center;
        justify-content: center;
    }

    .topbar__nav {
        position: relative;
        flex-direction: column;
        /*padding: 20px;*/
        gap: 30px;
    }

    .menu {
        position: absolute;
        /*top: 100%;*/
        top: 56px;
        /* left: 10px;
        right: 10px; */
        height: 0;
        width: 98%;
        background: rgba(0, 0, 0, .7);
        backdrop-filter: blur(50px);
        border: 1px solid rgb(74, 0, 0);
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        transition: .3s ease;
        overflow: hidden;
        display: none;
    }

    #check:checked~.menu {
        height: 26rem;
        display: flex;
    }

    .body_bg {
        /* position: absolute;
        top: 252px; */
        margin-top: 42px;
        padding: 10px;
        width: 98%;
    }

    .wrapper {
        display: flex;
        flex-direction: column;
    }

    .encart-bg {
        flex-direction: column;
    }

    .encart {
        width: 98%;
    }

    .resa_top {
        width: 95%;
    }

    .w-max {
        width: 98%;
    }
}

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


    .topbar__nav {
        position: relative;
        flex-direction: column;
        gap: 30px;
    }

    .resa_top {
        width: 90%;
    }

    .w-max {
        width: 100%;
    }

}