* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
}

::selection {
    background-color: #be09c1;
    color: #ffffff;
}

body {
    background-color: #000;
}

.header {
    padding: 1rem;
}

.header-container {
    width: 100%;
    margin: auto;
    justify-content: space-between;
    display: flex;
}

@media (min-width: 768px) {
    .header-container {
        display: flex;
        padding: 0 calc(1.5rem * .5);
    }
}

.header-container__logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .header-container__logo {
        margin-left: 0;
        margin-right: 0;
    }
}

.header-container .dropdown {
    display: none;
}


@media (min-width: 768px) {
    .header-container .dropdown {
        display: flex;
    }
}

@media (min-width: 800px) {
    .header-container .dropdown {
        display: flex;
        justify-content: flex-end;
    }
}

.header-container .dropdown .dropdown-toggle {
    margin: auto;
    white-space: nowrap;
    display: flex;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid black;
    border-radius: .375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

h3 {
    font-size: 1.75rem;
}

h3 > img {
    width: 5%;
}

@media (min-width: 550px) {
    h3 > img {
        width: 4%;
    }
}

@media (min-width: 750px) {
    h3 > img {
        width: 2.5%;
    }
}

@media (min-width: 800px) {
    h3 > img {
        width: 2%;
    }
}

@media (min-width: 992px) {
    h3 > img {
        width: 1.5%;
    }
}

h3, h4 {
    color: white;
    margin: 0 auto .5rem;
    line-height: 1.2;
    font-weight: 500;
}

.container {
    width: 100%;
    margin: auto;
    padding: 49% calc(1.5rem * .5) 0 calc(1.5rem * .5);
}
.section-features .container{
    padding: 0 calc(1.5rem * .5);
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
        padding: 0 calc(1.5rem * .5);
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

figure {
    margin: 0 0 3rem;
}

.section-form {
    background: url('../img/background.jpg') no-repeat;
    background-size: 100%;
    display: flex;
}

@media (min-width: 1000px) {
    .section-form {
        padding-bottom: 12rem;
    }
}

.row-form {
    justify-content: flex-start;
    margin-bottom: 3rem;
    width: 100%;
}

@media (min-width: 800px) {
    .row-form {
        justify-content: flex-end;
    }
}

.formulaire {
    width: 100%;
}

@media (min-width: 768px) {
    .formulaire {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}

@media (min-width: 992px) {
    .formulaire {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
}

.form-checkbox {
    display: block;
    margin-top: 10px;
}

.cgu-checkbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
}

#politique, #cgu {
    margin-right: 10px;
}

.cgu-label, .politique-label {
    flex: 1;
    justify-content: center;
    font-size: 11px;
}

.cgu-label > a , .politique-label > a {
    color: #be09c1;
}

.form-title {
    display: block;
    font-size: 23px;
    margin: -2.5rem 0 1.5rem;
}

@media (min-width: 1000px) {
    .form-title {
        font-size: 28px;
        margin-top: 1rem;
        margin-bottom: 8px;
    }
}

.bg {
    display: flex;
}

.bg img {
    margin: 30px 0;
    max-width: 100%;
}

.card {
    background-color: #000;
}

.card.desktop {
    background-color: white;
    padding: 10px;
    box-shadow: -.5rem .5rem .5rem .5rem rgba(0, 0, 0, .7);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0;
}

.row > * {
    flex-shrink: 0;
    max-width: 100%;
    margin-top: 0;
}


.form-email input, .form-birthday input, .form-select select {
    width: calc(100% - 48px);
    display: flex;
    font-size: 15px;
}

.form-email, .form-select, .form-birthday {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    position: relative;
    height: 52px;
    margin-bottom: 8px;
}

.form-icon {
    height: 100%;
    width: 43px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.form-icon img {
    width: 46px;
    height: 52px;
    padding: 0 .75rem;
    background-color: #be09c1;
}

select {
    height: 52px;
    margin: 0;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    background-color: white;
    border: 1px solid black;
    border-radius: .15rem;
    color: black;
}

.btn-submit, .btn-submit > * {
    width: 100%;
}

#gender, #email, #birthday {
    padding: .5rem 0 .5rem .5rem;
}

@media (min-width: 476px) {
    .text-color-age {
        display: inline;
    }
}

input[type="date"] {
    -webkit-appearance: none;
    background-color: white;
    border: 1px solid black;
    border-radius: .15rem;
    color: black;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    -webkit-appearance: none;
}

input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    -webkit-appearance: none;
}
.btn-submit > .submit {
    background-color: #be09c1;
    border-color: #be09c1;
    text-transform: uppercase;
    color: white;
    padding: .5rem 0;
    font-size: 20px;
    cursor: pointer;
    height: 3rem;
}

.btn-submit button:disabled {
    background-color: #464c55;
    border-color: #464c55;
}

.error-registration {
    margin-top: .5rem;
}

.caption-bg {
    background-color: #be09c1;
    color: white;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* users */

.row-card {
    width: 32%;
    margin: 2px;
    padding: 0;
}

@media (min-width: 320px) {
    .row-card {
        width: 32%;
    }
}

@media (min-width: 768px) {
    .row-card {
        flex: 0 0 25%;
        max-width: 16.6%;
        margin: 0;
    }
}

.users {
    margin: 3rem 0 0;
    padding: 0;
}

.users .row-card .caption-bg-users {
    margin-bottom: 0.5rem;
    width: 85%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .users .row-card .caption-bg-users {
        width: 50%;
    }
}

.text-color-name {
    color: #be09c1;
    font-size: 1rem;
    margin: 0 auto;
}

small {
    color: white;
}

.text-color-age {
    color: #fff;
    font-size: 14px;
}

.section-features {
    text-align: center;
    margin-bottom: 1rem;
}

@media (min-width: 1000px) {
    .section-features {
        margin-top: 2rem;
    }
}

.section-features__logo {
     transform: translateY(calc(-50% - 8px / 2));
}

.section-features__title {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

/* libertin (sous logo J&M) */

.row-libertin {
    display: flex;
    flex-direction: column;
}

@media (min-width: 800px) {
    .row-libertin {
        flex-direction: row;
    }
}

.row-libertin .libertin {
    width: 100%;
}

@media (min-width: 800px) {
    .row-libertin .libertin {
        width: 31%;
    }
}

.libertin {
    width: 33%;
    margin-bottom: -3rem;
}

.libertin figure {
    margin-bottom: 6rem;
}

.libertin h4 {
    margin-top: 0;
}

.libertin .js-animate-form {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.footer {
    margin-top: 1rem;
    padding: 1rem;
    color: #767676;
    font-size: 11px;
    text-align: center;
}

.footer a {
    text-decoration: underline;
    color: #767676;
}

.footer div {
    text-align: center;
    text-decoration: none;
    margin-bottom: .5rem;
}