@media screen and (max-width: 1170px) {
    /* GLOBAL */
    body {
        background-size: cover;
        background-position: center;
        background-repeat: repeat;
    }
    /* BACKGROUND */
    .background-angle {
        height: 9vh;
        width: 100vw;
        bottom: 5vh;
        top: unset;
        clip-path: none;
    }
    .background-image {
        transform: translate(-50%, -40%);
        filter: contrast(0.5);
    }
    .ftd-logo {
        left: 50%;
        transform: translateX(-50%);
        max-width: 90%;
        height: unset;
    }
    .road {
        position: fixed;
        height: 4vh;
        background-image: url('/images/road-texture.webp');
        background-repeat: repeat;
        background-size: 100%;
        width: 100vw;
        bottom: 0;
        left: 0;
        /* red and white dashed border */
        border-top: 4px dashed white;
        display: block;
        opacity: 0;
    }
    .road::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 4px;
        border-top: 4px dashed red;
        top: -4px;
        left: 4px;
    }
    .road :is(img, svg) {
        height: 100%;
        scale: 1.3;
        position: absolute;
        width: auto;
        transform: translate(10%, -10%);
        transition: 500ms;
    }

    /* LAYOUT */
    main {
        top: 13vh;
        left: 0;
        width: 100vw;
        height: calc(100% - 36vh);
    }
    main section.page {
        height: 100%;
        padding: .5em;
        text-align: center;
        box-sizing: border-box;
    }

    /* START PAGE */
    section.page.start button.start-button {
        width: 90%;
        font-size: 2em;
        padding: 1em;
    }
    section.page.start button.start-button > svg, section.page.start button.start-button > img {
        height: unset;
        width: 35%;
        scale: 1.25;
        bottom: 100%;
        left: 0;
    }
    section.page.start button.start-button > span {
        padding: 0;
    }

    /* LOGIN PAGES */
    section.page.login select, section.page.login input {
        width: 90%;
    }
    section.page.login p {
        font-size: 1.2em;
    }

    /* HOME PAGE */
    section.page.home span.code {
        font-size: 3em;
        font-weight: bold;
        margin: 0;
    }
    section.page.home h3.child-codes-title {
        font-size: 1.5em;
        margin: 0;
    }
    section.page.home div.welcome {
        font-size: 1.5em;
        margin: 0;
    }

    /* INPUTS */
    select, input {
        font-size: 1.1em;
        padding: 0.5em;
    }
    button {
        font-size: 1.5em;
    }

    /* RESULTS */
    section.page.results div.results-container div.result {
        margin: 2px auto;
        font-size: .7em;
    }
    section.page.results div.results-container h1 {
        margin: 0;
        margin-top: 10px;
    }
    section.page.results button.back {
        top: -10px;
    }
    section.page.results div.results-container div.result span.pos {
        left: 10px;
    }
    section.page.results div.results-container div.result:not(.header) span.pos {
        left: 15px;
    }

    /* ERRORS */
    .error {
        font-size: 1.1em;
    }

    /* MARKETING */
    .marketing {
        position: fixed;
        bottom: 5vh;
        left: 0;
        width: 100vw;
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
        text-align: center;
        padding: 0.5em;
        display: flex !important;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        font-size: .8em;
    }
    .marketing img {
        max-width: 50%;
    }
    .marketing > div {
        flex-basis: 50%;
    }
}