@font-face {
    font-family: "Aeroport";
    src: url("/public/fonts/Aeroport Light.otf");
    font-weight: 300;
}

@font-face {
    font-family: "Aeroport";
    src: url("/public/fonts/Aeroport.otf");
    font-weight: 400;
}

@font-face {
    font-family: "Aeroport";
    src: url("/public/fonts/Aeroport Medium.otf");
    font-weight: 500;
}

@font-face {
    font-family: "Aeroport";
    src: url("/public/fonts/Aeroport Bold.otf");
    font-weight: 700;
}


html {
    --white-clr: #ffffff;
    --dark-blue-clr: #17264A;
    --green-clr: #246924;

    font-family: 'Aeroport', sans-serif;
    background: linear-gradient(44.7deg, #093028 28.5%, #124837 67.01%, #237A57 121.86%);
    color: var(--white-clr);
}

body {
    background-image: url("/public/images/background-confetti.svg");
    background-repeat: repeat;
    background-position: top center;
}

a, a:hover, a:visited {
    color: var(--white-clr);
}


header {
    margin: 10rem auto 0 auto;
    width: 90%;
}


section {
    margin: 0 0 0 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

section.noTopPadding {
    padding-top: 0;
}

section.noBottomPadding {
    padding-bottom: 0;
}

:root {
    --section-radius: 4.2rem;
}


.h1, .h2, .h3, .h4 {
    display: block;
    margin: 0 0 3.6rem 0;
}

.h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 3.5rem;
    text-transform: uppercase;
}

.h2 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 3.1rem;
}

.h3 {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 3.8rem;
}

.h1.noBottomMargin,
.h2.noBottomMargin,
.h3.noBottomMargin,
.h4.noBottomMargin {
    margin-bottom: 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 {
    text-decoration: underline;
}

.h1.yellow, .h1.yellow a, .h1 a.yellow,
.h2.yellow, .h2.yellow a, .h2 a.yellow,
.h3.yellow, .h3.yellow a, .h3 a.yellow,
.h4.yellow, .h4.yellow a, .h4 a.yellow,
.text.yellow, .text.yellow a, .text a.yellow,
.largerText.yellow, .largerText.yellow a, .largerText a.yellow {
    color: var(--yellow-clr);
}

.h1.blue, .h1.blue a, .h1 a.blue,
.h2.blue, .h2.blue a, .h2 a.blue,
.h3.blue, .h3.blue a, .h3 a.blue,
.h4.blue, .h4.blue a, .h4 a.blue,
.text.blue, .text.blue a, .text a.blue,
.largerText.blue, .largerText.blue a, .largerText a.blue {
    color: var(--blue-clr);
}

.underline {
    text-decoration: underline;
}



/* ------- Form elements ------- */

form {
    margin: auto;
    width: 100%;
    z-index: 20;
}

form > * {
    display: block;
    width: 100%;
}

label,
.label {
    margin: 0.4rem 0 0.8rem 0;
    color: var(--blue-clr);
    font-family: arial;
    font-size: 1.2rem;
    font-weight: normal;
}

label a,
.label a {
    color: var(--blue-clr);
    text-decoration: underline;
}

label.small,
.label.small {
    margin: 1rem 0 0.8rem 0;
    font-size: 1.1rem;
}

label.big,
.label.big {
    font-size: 2.6rem;
}

input[type=text],
input[type=email],
input[type=password],
.input,
.photoInput {
    display: block;
    margin: 0 0 1.2rem 0;
    padding: 2rem 2.4rem;
    width: 100%;
    color: var(--white-clr);
    font-family: 'Aeroport', sans-serif;
    font-size: 2.0rem;
    font-weight: 500;
    background: #D9D9D94D;
    text-align: left;
    border-radius: 1.1rem;
    border: none;
}

input[type=submit],
.button {
    display: block;
    margin: 0 auto 0 auto;
    padding: 1.2rem 0;
    width: 17.6rem;
    color: #ffffff66;
    font-family: 'Aeroport', sans-serif;
    font-size: 2.1rem;
    font-weight: 500;
    background: #FFFFFF2A;
    text-align: center;
    border-radius: 1.3rem;
    border: none;
}

input[type=submit].active,
.button.active {
    color: var(--white-clr);
    background: linear-gradient(90deg, #FF512F 0%, #DD2476 100%);
    box-shadow: 0px 4px 20.299999237060547px 0px #00000040;
    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: #FFFFFFCC;
    font-family: 'Aeroport', sans-serif;
    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 4rem 0 0;
}

input[type=checkbox]:after,
input[type=checkbox]:checked:after {
    box-sizing: border-box;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0rem 0rem 0rem 0.5rem;
    margin: 0.2rem 0 0 0;
    border-radius: 0.6rem;
    display: inline-block;
    content: '\2713';
    font-size: 1.8rem;
    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(--white-clr);
}

input[type=checkbox]:checked:after {
    color: var(--blue-clr);
}

.uploading {
    display: block;
    margin: 0 auto 0 auto;
    padding: 1.2rem 0;
    width: 100%;
    font-family: 'Aeroport', sans-serif;
    font-size: 2.1rem;
    font-weight: 400;
    text-align: center;
}



.error {
    margin-top: 2rem;
}
