* {
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
}

:root {
    --cbleuf: #0d3a71;
    --cbleu: #0090D6;
    --crose: #F20178;
    --cblack: #000000;
    --cwhite: #ffffff;
    --cgreen: #2ad209;
    --cred: red;
    --cmoutarde: #f7b500;
}

/* General */
body {
    position: relative;
    font-family: 'Raleway', sans-serif;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

p {
    line-height: 1.6;
    font-size: 14px;
}

.text-center {
    text-align: center;
}

.trigger-form {
    /* position: fixed; */
    position: relative;
    /* top: 70%;
    width: 80%; */
    /* background: var(--cwhite);
    box-shadow: 0 0 10px 10px #dcdcdc;
    left: 50%;
    transform: translate(-50%, 0);
    min-height: 100px; */
    padding: 40px 0 45px 0;
    display: flex;
    align-items: center;
    background: #16485D;
}

.triggerForm {
    margin: 100px auto 80px auto;
}

.triggerFormNode {
    background-color: var(--crose);
    padding: 10px 15px;
    max-width: 300px;
    border: 0px;
    color: var(--cwhite);
    font-size: 18px;
    cursor: pointer;
    display: inline;
    margin-left: 5px;
    vertical-align: middle;
}

/* .trigger-form, */
.modal-form {
    display: none;
}

.appear,
.modalAppear {
    display: block;
}

/* Fin de jeux */
p.messageFin {
    text-align: center;
    padding: 50px 15px 35px 15px;
    line-height: 1.6;
    font-size: 18px;
}

p.messageFin a {
    color: var(--cbleu);
}

/* Box Message Data */
div.boxSuccesMessage,
div.boxErrorMessage {
    position: absolute;
    box-shadow: 0px 0px 18px 3px rgb(169 165 165);
    max-width: 320px;
    padding: 15px;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 15%);
    height: 200px;
    background-color: var(--cwhite);
    display: flex;
    align-items: center;
    text-align: center;
    line-height: 1.4;
}

.boxSuccesMessage p {
    color: var(--cgreen);
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}

.boxErrorMessage p {
    color: var(--cred);
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}

/* hero */
header.Hero {
    position: relative;
    background-image: url('./img/borne-delaunay-hero-brochure.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 600px;
    max-width: 1600px;
    margin: 0 auto;
}

.mainHeroTitle {
    font-size: 65px;
    color: var(--cbleuf);
    line-height: 1;
}

.fat-title {
    display: block;
    margin-top: 15px;
}

.light-title-hero {
    font-size: 40px;
    font-weight: 100;
}

.block-title-hero {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    min-width: 60%;
    min-height: 300px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffffb3;
}

.blockTextLeft {
    max-width: 51%;
    margin-left: 0px;
    text-align: center;
    padding-top: 145px;
    display: block;
    margin: auto;
}

.quotes {
    width: 100px;
    margin-bottom: 15px;
}

.TitleMain {
    font-size: 30px;
    font-weight: 400;
    color: var(--cbleuf);
}

span.subTitle {
    color: var(--cblack);
    font-size: 12px;
}

.Hero h2 {
    font-size: 35px;
    color: var(--cmoutarde);
    line-height: 0.6;
    margin-bottom: 20px;
}

span.subTitle2 {
    color: var(--cblack);
    font-size: 19px;
    font-weight: 100;
}

p.subTitile {
    color: var(--cmoutarde);
    font-size: 20px;
}

.titleconcours {
    color: var(--crose);
    text-align: left;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
}

/* SUB Hero */
.intro-sub-hero {
    margin: 70px auto 80px auto;
    max-width: 700px;
}

.intro-sub-hero p {
    font-size: 24px;
    color: var(--cbleuf);
    line-height: 1.3;
}

section.bandeauBleu {
    background-color: var(--cwhite);
}

p.SubHero {
    padding-bottom: 40px;
    color: var(--cbleu);
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
}

p.jeuHero {
    text-align: center;
    color: var(--cbleu);
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    margin: 20px;
}

span.subtextSubHero {
    color: var(--cwhite);
    font-size: 14px;
    font-weight: 300;
}

.containArticles {
    display: flex;
    gap: 100px;
    align-items: center;
    justify-content: space-between;
    margin: 80px auto 30px auto;
}

.containArticles .blockText {
    width: 40%;
}

.containArticles .blockVisuel {
    width: 60%;
}


/* Section images logo */
section.logo {
    margin: 30px auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

hr.hrSectLogo {
    max-width: 780px;
    background: var(--cbleuf);
    height: 2px;
}

/* Main */
p.subTitleMain {
    text-align: center;
    font-size: 22px;
    color: var(--cbleuf);
    font-weight: 600;
}

.reverseBlock {
    flex-direction: row-reverse;
}

span.SubSpanMain {
    color: var(--crose);
    font-weight: 400;
}

form.concoursFormLogin {
    max-width: 870px;
    padding: 30px 15px;
}

/* FORM */
.flexFormField {
    display: flex;
    justify-content: space-between;
}

input {
    margin: 15px 0px;
}

input#Nom,
input#Prenom,
input#Tel,
input#Mail {
    background: #f2f2f2;
    border: 0px;
    box-shadow: #ddd9d9f5 0px 0px 3px 3px;
    padding: 13px;
    width: 40%;
}

a.agree {
    color: #000000;
}

.submitButton {
    text-align: center;
}

input#submit {
    background-color: var(--crose);
    padding: 13px;
    max-width: 300px;
    width: 100%;
    border: 0px;
    color: var(--cwhite);
    font-size: 18px;
    cursor: pointer;
}

/* SUB FORM */
.doublezVosChance h3 {
    text-align: center;
    font-size: 22px;
    color: var(--cbleuf);
    font-weight: 600;
    margin: 40px 0px 30px 0px;
}

span.subtitleDBLchance {
    color: var(--crose);
    font-weight: 400;
}

.doublezVosChance {
    text-align: center;
}

p.SubSbscribFb {
    color: var(--crose);
    font-weight: 400;
    font-size: 22px;
    margin: 50px 0px 15px 0px;
    padding: 0px 15px;
}

hr.hrSectLogoBottom {
    margin: 30px auto;
    max-width: 780px;
    background: var(--cbleuf);
    height: 2px;
}

.blockContentCenter {
    text-align: center;
}

a.linkBorne {
    font-size: 22px;
    color: var(--cbleuf);
    font-weight: 600;
    text-decoration: none;
}

p.tirage {
    text-align: center;
    font-weight: 300;
}

a.reglementLook {
    font-size: 14px;
    color: var(--cbleuf);
    font-weight: 600;
    padding: 15px 15px 60px 15px;
}

.pictRS {
    padding: 15px;
}

img.sectLogo.AUER {
    max-width: 155px;
}

img.DelaunayFB {
    max-width: 100%;
}

/* Page reglement */
.primaryTitleReglement {
    font-size: 30px;
}

.Reglement {
    padding-top: 0px;
}

hr.hrSectLogoBottomtop {
    max-width: 100%;
    margin: 1px 0px 30px 0px;
    height: 2px;
    background: var(--cbleuf);
    margin-top: 50px;
}

main.container.reglement {
    max-width: 980px;
    padding: 30px 11px 70px 11px;
}

h3.titleReglelment {
    color: var(--cbleu);
    margin: 15px 0px 5px 0px;
    font-size: 22px;
    line-height: 1.6;
}

p.textReglement {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--cbleuf);
}

ul li {
    color: var(--cbleuf);
    font-size: 14px;
    line-height: 1.6;
    margin-left: 20px;
    list-style-type: disclosure-closed;
}

a.linkReglement {
    color: var(--cbleu);
    text-decoration: none;
}

a.backToReturn {
    font-size: 20px;
    text-decoration: none;
    background: var(--cbleuf);
    padding: 10px 15px;
    color: var(--cwhite);
    border-radius: 8px;
}

span.arrowBack {
    visibility: hidden;
    transition: .4s ease-in-out;
}

a.backToReturn:hover>span.arrowBack {
    visibility: visible;
    padding-right: 10px;
}

.modal-form {
    background: #000000e0;
    padding: 30px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999999;
}

.contain-modal-form {
    position: fixed;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--cwhite);
    max-width: 100%;
    padding: 30px;
}

.closeModal {
    cursor: pointer;
    float: right;
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 20px;
    color: var(--cwhite);
}

.trigger-form p {
    font-size: 24px;
    font-weight: bold;
    color: var(--cwhite);
}

/* Breakpoint au dessus de 1660px */
@media only screen and (min-width:1660px) {
    .blockTextLeft {
        max-width: 36%;
    }
}

@media only screen and (max-width: 1120px) {
    .triggerFormNode {
        display: inline-block;
    }
}

/* Breakpoint sous 1024px */
@media only screen and (max-width:1024px) {
    header.Hero {
        background-size: cover;
    }

    .blockTextLeft {
        max-width: 36%;
    }

    .flexFormField {
        flex-direction: column;
    }

    input#Nom,
    input#Prenom,
    input#Tel,
    input#Mail {
        width: 100%;
    }

    .contain-modal-form {
        width: 70%;
    }
}

@media only screen and (max-width: 992px) {
    .containArticles {
        gap: 40px;
        margin: 40px auto 40px auto;
        flex-direction: column;
    }

    .intro-sub-hero {
        margin: 60px auto 60px auto;
        max-width: 80%;
    }

    .containArticles .blockText,
    .containArticles .blockVisuel {
        width: 80%;
    }

    header.Hero {
        min-height: 530px;
    }

    .block-title-hero {
        min-height: 240px;
    }

    .mainHeroTitle {
        font-size: 46px;
        color: var(--cbleuf);
        line-height: 1.1;
    }

    .light-title-hero {
        font-size: 32px;
    }

    .triggerFormNode {
        padding: 5px 15px;
        display: inline-block;
        margin-top: 5px;
    }

    .trigger-form {
        display: block;
    }

    .trigger-form {
        position: relative;
        top: initial;
        width: 100%;
        box-shadow: initial;
        /* left: 0;
        transform: translate(0, 0);
        min-height: auto; */
        padding: 30px;
    }
}

/* Breakpoint sous 880px */
@media only screen and (max-width: 890px) {
    .blockTextLeft {
        max-width: 50%;
        background: var(--cwhite)e8;
        padding: 30px 15px;
        margin: 0 auto;
        position: relative;
        top: 202px;
        display: block;
        margin: auto;
    }

    p.subTitile {
        font-size: 16px;
    }

    span.subTitle2 {
        font-size: 15px;
    }

    .Hero h2 {
        font-size: 28px;
        line-height: 1;
        margin-bottom: 10px;
    }

    h1 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 768px) {
    .TitleMain {
        font-size: 28px;
    }

    .titleconcours {
        font-size: 20px;
    }
}

/* Breakpoint sous 580px */
@media only screen and (max-width:580px) {
    header.Hero {
        background-size: 134%;
        min-height: 350px;
    }

    .intro-sub-hero {
        margin: 40px auto 36px auto;
        max-width: 100%;
    }

    .intro-sub-hero p {
        font-size: 18px;
    }

    .blockTextLeft {
        max-width: 100%;
        background: var(--cwhite);
        top: 104px;
    }

    h2.TitleMain {
        font-size: 20px;
    }

    p.subTitleMain {
        font-size: 16px;
    }

    h2.TitleMain {
        margin: 0px 0px 0px 0px;
        font-size: 20px;
    }

    img.sectLogo {
        width: 30%;
    }

    .flexFormField {
        flex-direction: column;
    }

    .containArticles .blockText,
    .containArticles .blockVisuel {
        width: 100%;
    }

    input#Nom,
    input#Prenom,
    input#Tel,
    input#Mail {
        width: 100%;
    }

    header.Hero {
        background-image: url('./img/borne-delaunay-hero-brochure-mobile.jpg');
        min-height: 380px;
        background-size: cover;
        margin-bottom: 30px;
    }

    .fat-title {
        margin-top: 10px;
    }

    .block-title-hero {
        padding: 20px 40px;
    }

    .block-title-hero {
        min-height: auto;
    }

    .mainHeroTitle {
        font-size: 32px;
    }

    .light-title-hero {
        font-size: 24px;
    }

    .containArticles {
        gap: 30px;
        margin: 0px auto 40px auto;
        flex-direction: column;
    }

    p.SubHero {
        font-size: 18px;
        line-height: 26px;
    }

    .trigger-form {
        padding: 30px;
        margin-bottom: 30px;
    }

    .contain-modal-form {
        width: 95%;
        padding: 15px;
    }

    p.subTitleMain {
        font-size: 20px;
    }

    p.tirage {
        font-size: 14px;
    }

    .closeModal {
        float: initial;
        position: absolute;
        top: -30px;
        right: 0;
        color: var(--cwhite);
    }

    .triggerForm {
        margin: 40px auto 40px auto;
    }

    .trigger-form p {
        font-size: 22px;
        font-weight: 100;
        color: var(--cwhite);
    }

    .quotes {
        width: 60px;
    }

    .trigger-form p {
        font-size: 18px;
    }
}

/* Breakpoint sous 480px */
@media only screen and (max-width: 480px) {
    .trigger-form p {
        font-size: 18px;
    }
}

/** Login Page **/

.login-page {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ecf0f1;
}

.login-page .container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.concoursFormLogin .mini_container {
    margin-bottom: 15px;
}

.concoursFormLogin .FieldForm {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

#submit-login {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    width: 100%;
    height: 45px;
    border-radius: 5px;
}

#submit-login:hover {
    background-color: #45a049;
}

.status-message {
    color: red;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .login-page .container {
        width: 90%;
    }
}

/* page display data */

.tab-data {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 15px;
}

.tab-data th {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
}

.tab-data tr {
    border-bottom: 1px solid #ddd;
}

.tab-data td {
    padding: 8px;
    text-align: left;
}

.tab-data tr:nth-child(even) {
    background-color: #f2f2f2;
}

.tab-data tr:hover {
    background-color: #ddd;
}

button.logout-data, button.dl_data_csv {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button.logout-data:hover, button.dl_data_csv:hover {
    background-color: #45a049;
}

button.logout-data:active, button.dl_data_csv:active {
    background-color: #397d35;
}

button.logout-data a, button.dl_data_csv a {
    text-decoration: none;
    color: white;
}

