/* Définition des couleurs et variables globales */
:root {
    --vert: #4CAF50;
    --jaune: #FFC000;
    --rouge: #94140B;
    --bleu: #2196F3;
    --marron: #795548;
    --couleur-fond: #CCDAEA;
    --couleur-fond-header: #B0C4DE;
}

/* Styles globaux communs à toutes les pages */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--couleur-fond);
}

header {
    background-color: var(--couleur-fond-header);
    width: 100%;
    position: fixed;
    padding-bottom: 5px;
    top: 0;
    right: 0;
    z-index: 999;
    height: 55px;
    text-align: center;
    align-content: center;
    color: white;
    font-size: large;
    font-weight: bold;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 12px 8px;
    font-size: 0.85em;
    background-color: var(--couleur-fond-header);
    z-index: 999;
    
}

main {
    display: flex;
    flex-direction: row;
    align-self: stretch;
    justify-content: center;
    margin-top: 55px;
    min-height: 50vh;
}

a {
    color: white;
    font-style: italic;
}

.contenu {
    padding: 30px;
    width: 60%;
    min-width: 580px;
    display: flex;
    align-items: center;
    flex-direction: column;
    /* Pour forcer le contenu à être en premier plan */
    position: relative;
    z-index: 900;
}

.titre {
    text-align: center;
    font-size: 2rem;
    margin: 15px;
    color: var(--couleur-fond-header);
    -webkit-text-stroke: 0.3px black;
    font-weight: bold;
}

/* Pub */
.pub-ordi {
    display: flex;
    background-color: grey;
    width: 20%;
    max-width: 20% !important;
    height: auto;
}
.pub-tel {
    display: none;
}
.pub {
    background-color: grey;
}

/* Responsive global */
@media (max-width: 800px) {
    body {
        padding: 3px;
        flex-direction: column;
    }
    .titre {
        font-size: 1.5rem;
        margin: 0 0 5px 0;
    }
    main {
        flex-direction: column;
        min-height: 0;
    }
    .contenu {
        width: 100%;
        min-width: 100%;
        height: auto;
        padding: 20px 0 50px 0;
    }
    .pub-tel {
        display: block;
        background-color: grey;
        margin-bottom: 5px;
    }
    .haut {
        max-height: 80px !important;
    }
    .haut * {
        max-height: 80px !important;
    }
    .pub-ordi {
        display: none;
    }
}
