*,
*::after,
*::before {
    box-sizing: border-box;
}

:root {
    font-size: 18px;
}

body.cda-noimg #cdawrap {
    padding: 0;
    top: auto;
    left: 4.5rem;
    right: auto;
    bottom: 2.5rem;
    font-size: 1rem;
    font-family: inherit;
    --cda-width: 250px;
    --cda-text-color: var(--color-link);
    --cda-text-weight: 400;
    --cda-remove-color: inherit;
    --cda-sp-color: inherit;
}

body {
    margin: 0;
    --color-text: #fff;
    --color-bg: #000;
    --color-link: #5a5a5a;
    --color-link-hover: #3eaaf1;
    --color-alt: #43d5ec;
    --color-info: #ababab;
    color: var(--color-text);
    background-color: var(--color-bg);
    font-family: ltc-bodoni-175, serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Page Loader */

.js .loading::before,
.js .loading::after {
    content: '';
    position: fixed;
    z-index: 1000;
}

.js .loading::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

.js .loading::after {
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    opacity: 0.4;
    background: var(--color-link);
    animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(0.5, 0.5, 1) rotate3d(0, 0, 1, 180deg);
        border-radius: 50%;
    }
}

a {
    text-decoration: none;
    color: var(--color-link);
    outline: none;
}

a:hover,
a:focus {
    color: var(--color-link-hover);
    outline: none;
}

.message {
    background: var(--color-text);
    color: var(--color-bg);
    padding: 1rem;
    text-align: center;
}

.frame {
    padding: 3rem 5vw;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.frame__title {
    font-size: 1.35rem;
    margin: 0 0 1rem;
    font-weight: normal;
}

.frame__links {
    display: inline;
}

.frame__links a {
    display: block;
    margin: 0 1rem 0.5rem;
}

.frame__demos {
    margin: 1rem 0;
}

.frame__demo {
    display: block;
    padding-top: 0.5rem;
}

.frame__demo--current,
.frame__demo--current:hover {
    color: var(--color-link-hover);
}

.frame__info {
    color: var(--color-info);
}

.frame__info p {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.35;
    font-size: .55rem;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: calc(100vh - 13rem);
    position: relative;
    justify-content: flex-start;
    align-items: center;
}

.content__title-wrap {
    position: relative;
    text-align: center;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.content__title-wrap a {
    pointer-events: auto;
}

.content__pretitle {
    color: var(--color-alt);
    font-size: 1.35rem;
}

.content__title {
    font-size: 2vw;
    font-weight: normal;
    margin: 0.5rem 0 1rem;
    font-family: azo-sans-uber, sans-serif;
    padding-bottom: 0;
}

.content__link {
    text-decoration: underline;
    font-family: azo-sans-uber, sans-serif;
    font-size: 1.1rem;
    color: inherit;
}

.frame__demos form#login-form {
    pointer-events: auto;
}

#app {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: absolute;
}

canvas {
    width: 100%;
    height: 100%;
}

.frame__demos input {
    background-color: transparent;
    outline: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 5px;
}

.frame__demos input:focus {
    color: #f8f8f8;
    background-color: transparent;
}

.frame__demos input.login-form-field {
    display: block;
    padding-bottom: 5px;
    color: #f8f8f8;
    margin-bottom: 20px;
}

.frame__demos .enter {
    display: block;
    margin-top: 25px;
    color: #f8f8f8;
    border: 1px solid #cccccc;
    padding: 5px;
}


/*Form messages*/

#login-error-msg-holder {
    position: absolute;
    display: block;
    justify-items: center;
    align-items: center;
    bottom: 6%;
    z-index: 99;
}


/* Error message. By default it's transparent, but the opacity is controlled
by JavaScript */

#login-error-msg {
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 5px;
    font-size: 12px;
    border-radius: 2px;
    font-weight: bold;
    color: #ffffff;
    border: 1px solid #FF322F;
    background-color: #FF322F;
    opacity: 0;
}

@media screen and (min-width: 53em) {
    .message {
        display: none;
    }
    .frame {
        position: fixed;
        text-align: left;
        z-index: 100;
        top: 0;
        left: 0;
        display: grid;
        align-content: space-between;
        width: 100%;
        max-width: none;
        height: 100vh;
        padding: 2.65rem 2.65rem 5rem;
        pointer-events: none;
        grid-template-columns: 75% 25%;
        grid-template-rows: auto auto auto;
        grid-template-areas: 'title info' '... ...' '... demos';
    }
    .frame__title-wrap {
        grid-area: title;
        display: flex;
    }
    .frame__title {
        margin: 0 8vw 0 0;
    }
    .frame__demos {
        margin: 0;
        grid-area: demos;
        justify-self: center;
    }
    .frame__links a {
        display: inline-block;
    }
    .frame__info {
        justify-self: end;
    }
    .frame a {
        pointer-events: auto;
    }
    .content {
        height: 100vh;
        justify-content: center;
    }
}