/* GLOBAL */

:root {
    --red: #E55757;
    --lightred: rgb(240, 124, 124);
    --green: rgb(124, 240, 143);
    --bg: #242424;
    --th-bg: #323232;
    --text: #FAFAFA;
}

* {
    box-sizing: border-box;
}

html {
    background-color: var(--bg);
    color: var(--text);
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

a {
    color: var(--text);
    text-decoration: none;
}

html,
button,
input,
select,
textarea,
.pure-g [class *="pure-u"] {
    font-family: "Roboto", sans-serif;
}

/* LAYOUT */


.header {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    align-items: center;
    flex-shrink: 0;
}

.login-button {
    border: 1px solid var(--text);
    box-sizing: border-box;
    border-radius: 3px;
    padding: 15px 20px !important;
    margin: 5px 10px !important;
    font-weight: bold;
    font-size: 1.1em;
}

.content {
    flex: 1 0 auto;
    max-width: 100%;
    width: 1280px;
    align-self: center;
}

.panel {
    margin-top: 4em;
    /* height: 100%; */
}

.panel-text {
    margin-top: 4em;
    display: flex;
    justify-content: center;
    /*background-color: blue;*/
}

.panel-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*background-color: red;*/
}

h1 {
    font-weight: 600;
    font-size: 270%;
    font-family: "Fira Sans", sans-serif;
    letter-spacing: 0.5px;
}

.subtitle {
    margin-top: 0;
    font-weight: 400;
    font-family: "Fira Sans", sans-serif;
    font-size: 140%;
    letter-spacing: 0.5px;
}

.call-me-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.call-me-success {
    color: var(--green);
}

.call-me-input,
.call-me-button {
    margin: 10px;
    border-radius: 4px;
    padding: 20px;
    font-size: 125%;
}

.call-me-input {
    border: none;
    color: var(--bg);
}

.call-me-button {
    color: var(--text);
    background-color: var(--red);
    font-weight: bold;
}

.panel-phone {
    margin-top: 4em;
    display: flex;
    justify-content: center;
}

.phone {
    object-fit: contain;
    width: 100%;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 1em;
}

.footer {
    flex-shrink: 0;
    width: 100%;
    padding: 1em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    line-height: 2em;
}

.footer * {
    padding: 0 0.5em;
}

/* GENERIC */
.d-flex {
    display: flex;
}

/* MOBILE */
@media (max-width: 768px) {
    .header {
        padding: 0.5em 1em;
        align-items: center;
    }

    .footer div,

    .panel {
        height: none;
    }

    .panel-text {
        margin-top: 0;
        padding: 0 30px;
    }

    h1 {
        margin-top: 10px;
    }

    .call-me-wrapper {
        justify-content: center;
    }


    .call-me-input,
    .call-me-button {
        width: 100%;
        margin: 10px 0;
    }

    .panel-phone {
        margin-top: 1em;
    }

}

/* CGU */
.legal {
    max-width: 1024px;
    margin: auto;
    padding: 0 20px 100px;
}

.legal h2 {
    margin-top: 40px;
    color: var(--red);
    opacity: 1;
}

.legal h3 {
    margin-top: 30px;
    color: var(--lightred);
}

.legal h6 {
    /* Utilisé en tant que source */
    font-style: italic;
    font-weight: normal;
    font-size: 14px;
    margin-top: 30px;
    text-align: right;
}

h1:not(:first-child) {
    /* le titre des sections est mis en rouge, pas le titre de la page */
    color: var(--red);
}

.legal a {
    text-decoration: underline;
    color: var(--red);
}

table {
    border: 2px solid var(--th-bg);
}

th,
td {
    border-bottom: 1px solid var(--th-bg);
    padding: 10px;
}

th,
tr td:first-child {
    font-weight: 700;
    background-color: var(--th-bg);
}

/* more pages */
.landing-content {
    padding: 10px;
}

.team-logo {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.partenaires-logo {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
    margin-top: 40px;
}

.rejoindre-logo {
    width: 300px;
    max-width: 100%;
}