html {
    --white-clr: #ffffff;
    --black-clr: #000000;
    --red-clr: #FC0015;

    font-family: 'Codec Pro', sans-serif;
    background: var(--red-clr);
    color: var(--white-clr);
}

body {
    background-image: url("/public/images/anniversary20/background.png");
    background-size: cover;
    background-position: top center;
}

a, a:hover, a:visited {
    color: var(--white-clr);
}


section {
    margin: 0 0 0 0;
    padding: 0;
    width: 100%;
    text-align: center;
    height: 100%
}

section.noTopPadding {
    padding-top: 0;
}

section.noBottomPadding {
    padding-bottom: 0;
}

:root {
    --section-radius: 4.2rem;
}


.h1, .h2, .h3, .h4 {
    display: block;
    margin: 0 0 1.6rem 0;
}

.h1 {
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 4.0rem;
}

.h2 {
    font-size: 3.4rem;
    font-weight: 500;
    line-height: 4.0rem;
}

.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: 1.8rem;
    font-weight: 300;
    line-height: 2.2rem;
}

.largerText {
    font-size: 2.0rem;
    font-weight: 200;
    line-height: 2.4rem;
}

.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: 0;
    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: 'Codec Pro', sans-serif;
    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.6rem 0;
    padding: 2.5rem 2.5rem;
    width: 100%;
    color: var(--white-clr);
    font-family: 'Codec Pro', sans-serif;
    font-size: 2.0rem;
    font-weight: 300;
    line-height: 2.2rem;
    background: #FFFFFF4D;
    text-align: left;
    border-radius: 1.6rem;
    border: none;
}

input[type=submit],
.button {
    display: block;
    margin: 0 auto 0 auto;
    padding: 2.4rem;
    width: 100%;
    color: var(--black-clr);
    font-family: 'Codec Pro', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 2.4rem;
    background: var(--white-clr);
    text-align: center;
    border-radius: 1.6rem;
    border: none;
    box-shadow: 1.6328623642344387e-15px 26.66666603088379px 53.33333206176758px 0px #3333333D;
}

input[type=submit].active,
.button.active {
    color: var(--black-clr);
    background: var(--white-clr);
    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 #ffffff;
}

input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder,
.photoInput {
    color: #FFFFFFCC;
    font-family: 'Codec Pro', sans-serif;
    font-size: 2.0rem;
    font-weight: 200;
    line-height: 2.2rem;
}

.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: 3rem auto;
    padding: 2.4rem 0;
    width: 100%;
    font-family: 'Codec Pro', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    text-align: center;
}



.error {
    margin: 3rem auto;
    height: 7.1rem;
    margin-top: 2rem;
}


#historyBackground {
    position: fixed;
    height: 100%;
    width: 100%;
    background-image: url("/public/images/anniversary20/foto-mobile.png");
    background-size: cover;
    opacity: 0;
    transition: opacity 0.5s;
}

#historyBackground .overlay{
    height: 100%;
    background: linear-gradient(360deg, #FC0015 5%, rgba(224, 0, 6, 0) 24%, rgba(224, 0, 6, 0) 100%);
}

#historyBackgroundFilter {
    position: fixed;
    height: 100%;
    width: 100%;
    backdrop-filter: saturate(100%) brightness(160%) contrast(120%);
    opacity: 0;
    transition: opacity 0.5s;
}