:root {
    --gold: #ffd73b;
    --tan: #b7a894;
    --blue: #0038ff;
    --white: #F3F3EF;
    --black: #060606;
    --orange: #F15F1B;
    --pink: #FF9FC4;
    --violet: #B9B2FD;
    --blue: #0D99FE;
}


@font-face {
    font-family: 'Inter Tight';
    src: url('/static/char/font.ttf') format("truetype-variations");
    font-weight: 100 900;
}



body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Inter Tight', sans-serif;
    font-size: .833333vw;
    font-weight: normal;
    line-height: 1;
}

textarea {
    color: var(--gold);
    font-size: 2em;
    padding: 1.25rem 0.5rem 1.25rem 0.5rem;
    font-family: 'Inter Tight', sans-serif;
    text-decoration: none;
    text-align: center;
    background-color: transparent;
    box-shadow: none;
    line-height: 1;
    border-bottom: solid 1px #494947;
    border-left: none;
    border-right: none;
    border-top: none;
    outline: none;
    transition: border 0.25s ease-in;
    width: 40%;
    max-height: 300px;
    resize: none;
    scrollbar-width: none;
}

input::placeholder {
    color: #494947;
}

input:focus {
    border-bottom: solid 1px #ffd73b;
    transition: border 0.25s ease-in;
}


label {
    font-size: 3em;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    color: var(--white);
}


form {
    /*width: calc(100% - 3em);*/
    padding: 1.5em;
}

.form-section {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.step-button {
    padding: 1.25rem 3.75rem 1.25rem 3.75rem;
    font-size: 1.75em;
    color: var(--black);
    background-color: #ffd73b;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: opacity 0.2s ease-in;
    transition: background-color 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
    transition: transform 0.3s ease-in;
}

.step-button:hover {
    background-color: #FFFFFF;
    transform: scale(0.95);
    transition: opacity 0.2s ease-in;
    transition: background-color 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3.75em;
    width: 100%;
    height: 100vh;
}

.prev-question {
    position: fixed;
    bottom: 5%;
    width: 100%;
    text-align: center;
    cursor: pointer;
    font-size: 1.5em;
    opacity: 0.5;
    font-family: 'Inter Tight' sans-serif;
}

.counter-divider {
    opacity: 0.4;
    padding-left: 1rem;
    padding-right: 1rem;
}

.checkbox-element {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #181818;
    font-size: 1.25em;
    font-family: 'Inter Tight', sans-serif;
    text-transform: uppercase;
    text-align: center;
    border-radius: 1rem;
    transition: background-color 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
    font-weight: normal;
}

.checkbox-input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: transparent;
    /* Not removed via appearance */
    margin: 0;
    border: none;
    cursor: pointer;
    border-radius: 1rem;
}

.checkbox-input:checked::before {
    content: url(/static/pic/yellow-check.svg);
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.checkbox-element:hover {
    background-color: #252524;
}

.checkbox-input:checked {
    border: solid 2px #ffd73b !important;
    transition: border 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.checkbox-grid {
    display: grid;
    width: 100%;
    gap: 0.75em;
    justify-content: center;
    align-content: center;

    grid-template-columns: repeat(auto-fit, 14%);
}

.two-rows {
    grid-template-rows: repeat(2, 11em);
}

.one-row {
    grid-template-rows: 11em;
}

.checkbox-input:focus {
    border-bottom: none;
}

#field-1:placeholder-shown~#next-1 {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in;
}

#field-2:placeholder-shown~#next-2 {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in;
}

.checkbox-input:checked~#next-3 {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in;
}

#field-3:placeholder-shown~#next-4 {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in;
}

#submitButton {
    position: relative;
}

.submit-button {
    position: absolute;
    top: 0;
    border: 0;
    left: 0;
    right: 0;
    border: none !important;
    background: none;
    outline: inherit;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* Header */

.header-section {
    z-index: 9999;
    width: 100vw;
    color: var(--white);
    position: fixed;
    top: 0%;
    bottom: auto;
    left: 0%;
    right: 0%;
    font-family: 'Inter Tight', sans-serif;
}

.form-progress {
    z-index: 9999;
    width: 100vw;
    color: var(--white);
    position: fixed;
    top: auto;
    bottom: 0%;
    left: 0%;
    right: 0%;
    overflow: hidden;
    font-size: 1.5em;
    pointer-events: none;
}

.form-progress-layout {
    padding: 1.5em;
}

.form-progress-bar-container {
    background-color: #535351;
    width: 100%;
    height: 0.25em;
}

.progress-bar {
    height: 100%;
    width: 10%;
    background-color: #ffd73b;
}

a {
    text-decoration: none;
}

.fill-brief-link {
    display: flex;
    align-items: center;
    grid-column-gap: .375em;
    grid-row-gap: .375em;
}

.header-layout {
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 1.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    display: flex;
    position: relative;
}

.menu-button {
    border-radius: 1px;
    position: relative;
    cursor: pointer;
}

.svg-star {
    width: 2.2em;
    height: 2.2em;
    text-decoration: none;
    color: white;
}

.header-text {
    color: var(--white);
    font-size: 1.5em;
    font-weight: 500;
}

.form-step label {
    width: 65%;
}



/*Styles For Mobile under 430px*/

@media screen and (max-width: 430px) {

    body {
        font-size: 2.7vw;
    }

    textarea {
        font-size: 1.75em;
        width: 70%;
        max-height: 100px;
    }

    .prev-question {
        bottom: 12.5%;
    }

    label {
        font-size: 2.4em;
    }

    .form-step {
        gap: 1.5em;
    }

    .checkbox-grid {
        grid-template-rows: repeat(4, 6em);
        height: auto;
        align-content: baseline;
    }

    .two-rows {
        grid-template-columns: repeat(3, 1fr)
    }

    .checkbox-input:checked::before {
        content: url(/static/pic/yellow-check.svg);
        position: absolute;
        top: -0.65em;
        right: -0.65em;
    }

    .one-row {
        grid-template-rows: repeat(2, 7em) !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .form-step label {
        width: 100%;
    }

}