:root {
    --font-size-1: 18px;
    --font-size-0: calc(var(--font-size-1) / 1.25);
    --font-size-2: calc(var(--font-size-1) * 1.25);
    --font-size-3: calc(var(--font-size-2) * 1.25);
    --font-size-4: calc(var(--font-size-3) * 1.25);
    --font-size-5: calc(var(--font-size-4) * 1.25);
    --font-size-6: calc(var(--font-size-5) * 1.25);
    --font-weight-0: 300;
    --font-weight-1: 400;
    --font-weight-2: 500;
    --background-color: #FFFBFE;
    --text-color: #201E1F;
    --color-1: #fbc823;
    --color-2: #648767;
    --color-3: #E34A6F;
    --color-4: #F7B2AD;
    --error-color: #ee3333;
    --title-color: var(--color-3);
}

/* FONTS */

.font-size-0 {
    font-size: var(--font-size-0);
}

.font-size-1 {
    font-size: var(--font-size-1);
}

.font-size-2 {
    font-size: var(--font-size-2);
}

.font-size-3 {
    font-size: var(--font-size-3);
}

.font-size-4 {
    font-size: var(--font-size-4);
}

.font-size-5 {
    font-size: var(--font-size-5);
}

.font-size-6 {
    font-size: var(--font-size-6);
}

.font-weight-0 {
    font-weight: var(--font-weight-0);
}

.font-weight-1 {
    font-weight: var(--font-weight-1);
}

.font-weight-2 {
    font-weight: var(--font-weight-2);
}

.title-color {
    color: var(--title-color);
}

.font-serif {
    font-family: 'Viaoda Libre', 'Times New Roman', serif;
}

.font-sans-serif {
    font-family: 'Roboto Condensed', 'Arial', sans-serif;
}

/* COMMON */

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'Roboto Condensed', 'Arial', sans-serif;
    font-size: var(--font-size-1);
    font-weight: var(--font-weight-0);
    background: var(--background-color);
    color: var(--text-color);
}

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

.image {
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.background {
    position: absolute;
    z-index: -1;
}

.background.mobile {
    display: none;
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: center;
}

.title {
    color: var(--title-color);
    font-family: 'Viaoda Libre', 'Times New Roman', serif;
    font-size: var(--font-size-4);
    font-weight: var(--font-weight-2);
    text-align: center;
}

.title.black {
    color: var(--text-color);
}

/* INPUTS */

input[type=submit] {
    cursor: pointer;
    width: auto;
    padding: 8px 16px;
    background: none;
    border: 1px solid #000;
    font-family: 'Roboto Condensed', 'Arial', sans-serif;
    font-size: var(--font-size-1);
    font-weight: var(--font-weight-0);
    color: var(--text-color);
}

input[type=submit]:not(.loading):not(.done):hover {
    background-color: var(--color-4);
}

input[type=submit]:not(.loading):not(.done):active {
    background-color: var(--color-3);
}

input[type=submit].loading {
    cursor: not-allowed;
    opacity: 0.6;
}

input[type=submit].done {
    cursor: auto;
    background-color: var(--color-2);
}

.radio_wrapper,
.checkbox_wrapper {
    display: flex;
    flex-direction: column;
}

.radio_item,
.checkbox_item {
    cursor: pointer;
    margin-top: 16px;
    display: flex;
    align-items: center;
}

.radio_item input,
.checkbox_item input {
    display: none;
}

.radio_item .radio_indicator,
.checkbox_item .checkbox_indicator {
    position: relative;
    height: 16px;
    width: 16px;
    border: 2px solid var(--text-color);
    margin-right: 10px;
}

.radio_item .radio_indicator {
    border-radius: 50%;
}

.radio_item .radio_indicator:after {
    display: none;
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 3px;
    left: 3px;
    background: var(--text-color);
    border-radius: 50%;
}

.checkbox_item .checkbox_indicator:after {
    display: none;
    content: '';
    width: 3px;
    height: 8px;
    position: absolute;
    left: 6px;
    top: 2px;
    border: solid var(--text-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.radio_item input:checked ~ .radio_indicator:after,
.checkbox_item input:checked ~ .checkbox_indicator:after {
    display: block;
}

textarea {
    min-width: 100%;
    max-width: 100%;
    background: none;
    border: 2px solid var(--text-color);
    font-family: 'Roboto Condensed', 'Arial', sans-serif;
    font-size: var(--font-size-1);
    font-weight: var(--font-weight-0);
    color: var(--text-color);
    margin-top: 16px;
}

@media screen and (max-width: 700px) {
    .background.mobile {
        display: block;
    }

    .background.desktop {
        display: none;
    }
}
