/* ––––––––––––––––––––––––––––––––––––––––––––––––– */


/* Dinner Time Tour — CIVA @ MEDIENDESIGN RAVENSBURG */


/* ––––––––––––––––––––––––––––––––––––––––––––––––– */


/*

         __  __   __       __ __          __             __ __
|\/| /\ |  \|_   |__)\_/  |_ |_ |  |\_/  |__)/  \|__||  |_ |__)
|  |/--\|__/|__  |__) |   |  |__|__|/ \  |__)\__/|  ||__|__| \

                                                                                                                                     ░
*/


/* ––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ––––––––––––––––––––––––––––––––––––––––––––––––– */

* {
    margin: 0;
    padding: 0;
}

:root {
    --font-serif: 'Inter', sans-serif;
    --font-size-xl: 80px;
    --font-size-l: calc(0.5 * var(--font-size-xl));
    --font-size-m: calc(0.25 * var(--font-size-xl));
    --font-size-s: calc(0.125 * var(--font-size-xl));
}

@font-face {
    font-family: 'Clepto';
    src: url('assets/clepto/clepto.eot');
    src: local('☺'), url('assets/clepto/clepto.woff') format('woff'), url('assets/clepto/clepto.ttf') format('truetype'), url('assets/clepto/clepto.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

poster-info {
    font-size: var(--font-size-xl);
    font-family: "Clepto", sans-serif;
    position: fixed;
    display: block;
    z-index: 1000;
    padding: 20px;
    width: 50vw;
    box-sizing: border-box;
}

poster-info a {
  text-decoration: none;
  color: inherit;
  font-style: italic;
}
poster-info a:before {
  content:"››› ";
}

a {
    pointer-events: all !important;
}

hide {

}

*[top-left] {
    pointer-events: none;
    padding-top: 12px;
    line-height: 0.7em;
}

*[top-right] {
    left: 50vw;
    text-align: right;
    font-size: var(--font-size-s);
    font-weight: 500;
}

*[bottom-left] {
    bottom: 0;
    left: 0;
    font-size: var(--font-size-l);
    text-transform: uppercase;
    font-weight: 100;
    line-height: 1em;
    pointer-events: none;
}

*[bottom-right] {
    bottom: 0;
    right: 0;
    padding: 0;
    padding-right: 20px;
    text-align: right;
}

*[sans-serif] {
    font-family: var(--font-serif);
}


/* Countdown */

countdown {
    font-size: var(--font-size-m);
    font-weight: 500;
    margin-left: 5px;
}

countdown:before {
    content: '– ';
}

a[add-to-calendar] {
    color: black;
    font-size: var(--font-size-m);
    border: 1px solid black;
    border-radius: 40px;
    padding: 5px 20px;
    text-decoration: none;
    font-weight: 500;
}

a[add-to-calendar]:hover {
    background: black;
    color: white;
}


/* Logo */

dtt-logo,
dhbw-logo,
mdrv-logo {
    margin: 0px;
    width: 10vw;
    height: 10vw;
    min-width: 80px;
    min-height: 80px;
    max-width: 90px;
    max-height: 90px;
    margin-left: 30px;
    display: inline-block;
    background: url(assets/dtt-logo.svg);
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

dhbw-logo {
    background: url(assets/dhbw-logo.svg);
}

mdrv-logo {
    background: url(assets/mdrv-logo.svg);
}

dtt {
    font-family: chapman, sans-serif;
    font-style: italic;
    display: block;
    line-height: 0.9em;
    font-size: 40px;
    letter-spacing: -1px;
}

dtt:before {
    content: ' ';
    width: 30px;
    height: 30px;
    display: inline-block;
    background: black;
    border-radius: 40px;
    margin-right: 10px;
}


/* A-FRAME UI */

.a-dialog {
    border-radius: 20px;
}

.a-dialog-allow-button {
    box-shadow: none;
    background-color: #42ff0d;
    border-radius: 50px;
    border: 1px solid black;
}

.a-dialog-deny-button {
    box-shadow: none;
    background-color: #ff1e49;
    border-radius: 50px;
    border: 1px solid black;
}

.a-dialog-ok-button {
    background-color: green;
    border-radius: 50px;
}


/* VR Button */

.a-enter-vr-button {
    border-radius: 50px;
    width: 50px;
    bottom: 0px;
    border: 1px solid black;
    left: 50%;
    margin-left: -25px;
}

@media only screen and (max-width: 780px) {
    :root {
        --font-size-xl: 50px;
        --font-size-l: 20px;
        --font-size-s: 12px;
    }
    dtt-logo,
    dhbw-logo {
        display: block;
        min-width: 50px !important;
        min-height: 50px !important;
        text-align: right !important;
        margin-left: auto;
        margin-right: 0;
    }
    dtt {
        font-size: 25px;
    }
    dtt:before {
        width: 20px;
        height: 20px;
    }
    poster-info {
        width: 100vw;
        display: block;
        position: relative;
    }


    *[top-left] {}
    *[top-right] {
        display: none;
    }
    *[bottom-left] {
        width: 50vw;
        position: absolute;
        bottom: 0;
        left: 0;
        font-size: var(--font-size-l);
        text-transform: uppercase;
        font-weight: 100;
        line-height: 1em;
        pointer-events: none;
    }
    *[bottom-right] {
        width: 50vw;
        position: absolute;
        text-align: right;
    }
    a[add-to-calendar] {
        padding: 2px 10px;
    }
}
