@fontColor: #3DB7A3;

html {
    -webkit-text-size-adjust: 100%;
}
body, html {
    width: 100vw;
    height: 100vh;
    background-color: #fff;
}
body {
    font-family: 'Open Sans', sans-serif, serif;
    font-weight: 200;
    color: @fontColor;
    font-size: 16px;
}

a {
    outline: none;
}

.hidden {
    display: none !important;
}

#videoplay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3em 1em;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 2em;
    text-decoration: none;
    text-align: center;
    z-index: 5;
    display: none;

    .outside {
        display: table;
        width: 100%;
        height: 100%;
        .inside {
            display: table-cell;
            text-align: center;
            vertical-align: middle;
        }
    }
}

#landscapeinfo {
    position: fixed;
    color: @fontColor;
    width: 100vw;
    height: 100vh;
    z-index: 10000000003;
    background-color: #fff;
    text-align: center;
    font-size: 1.4em;
    line-height: 1.2em;
    display: block;

    .parts {
        display: table;
        width: 100%;
        height: 100%;

        .top-part {
            display: table-cell;
            vertical-align: middle;
        }
        .bottom-part {
            display: table-row;
            height: 25%;
            vertical-align: middle;
        }
    }

    em {
        display: block;
    }

    .img {
        background: transparent url('./images/landscape_icon.png') no-repeat center;
        background-size: contain;
        width: 40%;
        height: 40%;
        margin: 1em auto;
    }

    .logo-small {
        background: transparent url('./images/smeva_icon.png') no-repeat center;
        background-size: contain;
        width: 50px;
        height: 50px;
        display: inline-block;
    }

}

#indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    background: rgba(0,0,0, 0.8) url('./images/loading.gif') no-repeat center center;
    line-height: 100px;
    margin: 0 auto;
    z-index: 999;
}

#fov {
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 100px;
    position: absolute;
    bottom: 30px;
    left: 30px;
    opacity: 0.5;
    background-color: rgba(0, 0, 0, 0.4);

    &:after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 7px 0 7px;
        border-color: #fff transparent transparent transparent;
        left: 6px;
        position: absolute;
        top: 2px;
        border-radius: 45px;
    }
}

.page {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    text-align: center;
    padding: 1.4em 2em;
    overflow-y: scroll;
    z-index: 9999999999;

    h1 {
        font-size: 1.6em;
        margin: 0.5em 0;
    }
    h1, h4 {
        font-weight: bold;
    }

    &#invitation {
        h1 {
            font-size: 1.8em;
            margin-bottom: 1em;
        }
    }
    p {
        line-height: 1.4em;
    }

    .btn {
        background-color: @fontColor;
        color: #fff;
        text-decoration: none;
        display: inline-block;
        padding: 0.7em 3em;
        border-radius: 8px;
        margin: 1em;
        &:hover {
            opacity: 0.8;
        }
    }

    input[type=text], input[type=email] {
        width: 250px;
        background: red;
        font-size: 1.4em;
        background: none;
        border: none;
        border-radius: 0;
        text-align: center;
        border-bottom: 2px solid @fontColor;
        outline: none;
        margin: 0.5em 0;

        &::-webkit-input-placeholder {
            color: rgba(61, 183, 164, 0.3);
        }

        &.error::-webkit-input-placeholder {
            color: rgba(191, 27, 27, 0.3);
        }
    }

    #form-error {
        color: #BD1717;
    }

}

#invitation {
    p {
        padding-bottom: 1em;
        &:last-child {
            padding-bottom: 0
        }
    }

    .close-btn {
        width: 21px;
        height: 21px;
        background: transparent url('./images/close.png') no-repeat center;
        background-size: contain;
        display: block;
        overflow: hidden;
        text-indent: -9999px;
        margin-top: -2.8em;
    }
}

#thanks {
    display: table;
    width: 100%;
    height: 100%;
    .page-container {
        display: table-cell;
        vertical-align: middle;
    }
}

#scene {
    position: absolute;
}

#form p, #thanks p {
    color: #606060;
}

@media all and (orientation: landscape) {
    #landscapeinfo {
        display: none;
    }
}

@media all and (max-width: 768px) {
    #fov {
        bottom: 15px;
        left: 15px;
    }
}

.a-enter-vr-button {
    background: transparent url('./images/vr_bttn.png') no-repeat center center !important;
    // background-size: contain !important;
    // opacity: .9 !important;
    // z-index: 999 !important;


}

.a-exit-vr-button {
    background: transparent url('./images/vr_bttn_exit.png') no-repeat center center !important;
    display: none;
}

.a-enter-vr-button, .a-exit-vr-button {
    background-size: contain !important;
    opacity: .9 !important;
    z-index: 10000000000 !important;
    width: 50px !important;
    height: 50px !important;
    bottom: 20px !important;
    right: 20px !important;
    position: fixed !important;
    padding: 0 !important;
}

@media all and (orientation: landscape) {
    .a-enter-vr-button {
        width: 50px !important;
        height: 50px !important;
        right: 10px !important;
    }
}

.a-enter-vr-modal {
    height: auto !important;
}

.a-enter-vr-modal:after {
    top: auto !important;
    bottom: 15px !important;
}

.a-enter-vr {
    position: absolute !important;
    right: 0 !important;
    z-index: 1;
}

.a-orientation-modal:after {
    color: #fff;
    content: 'Plaats uw telefoon in de VR viewer.' !important;
}

.a-grab-cursor {
    padding: 0 !important;
}


#log {
    width: 30%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
}

#btn {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background-color: #333;
    color: #fff;
    padding: 0.5em 1em;
    text-decoration: none;
}
