@font-face {
    font-family: "Futura";
    src: url("/public/fonts/Futura.ttc");
    /*font-weight: 300;*/
}



:root {
    --clr-white: #ffffff;
    --clr-black: #000000;
    --clr-grey: #F2F2F2;
    --clr-dark-grey: #BDBDBD;
    --clr-red: #FF0000;
}



html {
    font-family: 'Futura', sans-serif;
    font-weight: 300;
    background-color: var(--clr-white);
    color: var(--clr-black);
}


body {

}


section {
    margin: 0 0 0 0;
    padding: 0;
    width: 100%;
    text-align: center;
}


.h1, .h2, .h3, .h4 {
    display: block;
    margin: 0;
    text-align: left;
}

.h1 {
    margin-bottom: 1.0rem;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 3.5rem;
    text-transform: uppercase;
    text-wrap: nowrap;
}

.h2 {
    margin-bottom: 3.6rem;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8rem;
    text-transform: uppercase;
}

.h2 .asterisk {
    padding: 0;
}

.text {
    font-size: 2.1rem;
    font-weight: 300;
    line-height: 2.5rem;
}

.largerText {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 2.6rem;
}

.h1 a,
.h a,
.h3 a,
.text a,
.largerText a,
label a {
    color: var(--clr-black);
    text-decoration: underline;
}

.underline {
    text-decoration: underline;
}

.alignLeft {
    text-align: left;
}



/* ------- Form elements ------- */

form {
    margin: auto;
    width: 100%;
    z-index: 20;
}

form > * {
    display: block;
    width: 100%;
}

form .line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

form .line.lastLine {
    margin-top: 6rem;
}

label,
.label {
    margin: 0;
    color: var(--clr-black);
    font-size: 2.0rem;
    text-transform: uppercase;
    text-align: left;
}

label.small,
.label.small {
    font-family: 'Futura', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.7rem;
    text-transform: none;
}

input[type=text],
input[type=email],
input[type=password],
.input,
.photoInput {
    display: block;
    margin: 1.5rem 0 1.5rem 0;
    padding: 1.4rem 2.0rem;
    width: 58rem;
    color: var(--clr-black);
    font-family: 'Futura', sans-serif;
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: 400;
    background: var(--clr-grey);
    text-align: left;
    border-radius: 0;
    border: none;
}

input[type=submit],
.button {
    display: block;
    margin: 0 auto 0 auto;
    padding: 1.5rem 4.1rem;
    width: max-content;
    color: #ffffff66;
    font-family: 'Futura', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: 500;
    background: #FFFFFF2A;
    text-align: center;
    border-radius: 0;
    border: none;
    text-transform: uppercase;
}

input[type=submit].active,
.button.active {
    color: var(--clr-white);
    background-color: var(--clr-black);
    cursor: pointer;
}

input[type=text].missing,
input[type=email].missing,
input[type=password].missing,
.photoInput.missing{
    box-shadow: inset 0 0 0.4rem 0.3rem #dc091fe0;
}

input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder,
.photoInput {
    color: var(--clr-grey);
    font-family: 'Futura', sans-serif;
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: 400;
}

.importantInput {
    color: var(--white-clr) !important;
    background-color: var(--blue-clr) !important;
    border: solid 0.4rem var(--blue-clr) !important;
    text-transform: uppercase;
}

.heighlightedInput {
    color: var(--blue-clr) !important;
    background-color: var(--yellow-clr) !important;
    border: solid 0.4rem var(--yellow-clr) !important;
    text-transform: uppercase;
}

.photoInput {
    background-image: url("/public/images/soutez/camera.svg");
    background-size: auto 2.1rem;
    background-position: 92% center;
    overflow-wrap: break-word;
}

form .formSpace {
    margin: 2.6rem;
    width: 100%;
    height: 0;
}

form .formSpace.bigger {
    width: 100%;
    height: 2.8rem;
}

form .checkLine {
    display: flex;
    width: 100%;
    text-align: left;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

input[type=checkbox] {
    width: 0vw;
    height: 0vw;
    margin: 0 4.2rem 0 0;
}

input[type=checkbox]:after,
input[type=checkbox]:checked:after {
    box-sizing: border-box;
    width: 2.0rem;
    height: 2.0rem;
    padding: 0rem 0rem 0rem 0.5rem;
    margin: 0.0rem 0 0 0;
    display: inline-block;
    content: '\2713';
    font-size: 1.4rem;
    color: transparent;
    font-weight: bold;
    border: none;
    transform: translateY(-50%);
}

input[type=checkbox].missing:after {
    box-shadow: inset 0 0 0.4rem 0.3rem #DC091F;
}

input[type=checkbox]:after {
    background-color: var(--clr-grey);
}

input[type=checkbox]:checked:after {
    color: var(--clr-black);
}

.uploading {
    display: block;
    margin: 0 auto 0 auto;
    padding: 1.5rem 4.1rem;
    width: 100%;
    font-family: 'Futura', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2rem;
    text-align: center;
}



.error {
    margin-top: 2rem;
}


/* ----------------- Tablet 864px ----------------- */
@media only screen and (max-width: 1000px) {
    input[type=text],
    input[type=email],
    input[type=password],
    .input,
    .photoInput {
        width: 48rem;
    }
}


/* ----------------- Mobile 393px ----------------- */
@media only screen and (max-width: 500px) {
    .h1, .h2 {
        text-align: center;
    }

    .h1 {
        margin-bottom: 1.6rem;
    }

    .h2 {
        margin-bottom: 2.6rem;
    }

    label,
    .label {
        display: none;
    }

    form .line.lastLine {
        margin-top: 3rem;
    }

    .lastLine label,
    .lastLine .label {
        display: block;
        text-wrap: nowrap;
    }

    .lastLine .line {
        margin-bottom: 3.6rem;
    }

    .lastLine .asterisk {
        padding: 0;
    }

    input[type=text],
    input[type=email],
    input[type=password],
    .input,
    .photoInput {
        margin: 1.0rem 0 1.0rem 0;
        padding: 1.4rem 2.0rem;
        width: 100%;
        color: var(--clr-black);
        font-family: 'Futura', sans-serif;
        font-size: 1.6rem;
        line-height: 2rem;
        font-weight: 400;
        background: var(--clr-grey);
        text-align: left;
        border-radius: 0;
        border: none;
    }

    input[type=text]::placeholder,
    input[type=email]::placeholder,
    input[type=password]::placeholder,
    .photoInput {
        color: var(--clr-dark-grey);
        font-family: 'Futura', sans-serif;
        font-size: 1.6rem;
        line-height: 2rem;
        font-weight: 500;
        text-transform: uppercase;
    }

    form .line.lastLine {
        width: 100%;
        flex-direction: column;
    }

    input[type=submit] {
        width: 100%;
    }
}