/* =========================================================
   RESET
========================================================= */

body {
    padding: 0;
    margin: 0;
}


/* =========================================================
   CONTENEDOR UNITY
========================================================= */

#unity-container {
    position: absolute;
}

#unity-container.unity-desktop {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#unity-container.unity-mobile {
    position: fixed;
    width: 100%;
    height: 100%;
}


/* =========================================================
   CANVAS
========================================================= */

#unity-canvas {
    background: #000;
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%;
}


/* =========================================================
   LOADING (COMÚN PC + MÓVIL)
========================================================= */

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#unity-logo {
    width: 500px;
    height: 250px;
    background: url('tickamore-logo.png') no-repeat center;
    background-size: contain;
}

#unity-progress-bar-empty {
    width: 363px;
    height: 18px;
    margin: 10px auto;
    background: url('barra-empty.png') no-repeat center;
    background-size: contain;
}

#unity-progress-bar-full {
    width: 0%;
    height: 18px;
    background: url('barra-full.png') no-repeat left center;
    background-size: contain;
}


/* =========================================================
   TEXTOS (PC POR DEFECTO)
========================================================= */

#unity-loading-text {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 20px;
    color: #ffffff;
}

#unity-IOS-text {
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
}


/* =========================================================
   FOOTER
========================================================= */

#unity-footer {
    position: relative;
}

.unity-mobile #unity-footer {
    display: none;
}

#unity-logo-title-footer {
    float: left;
    width: 102px;
    height: 38px;
    background: url('unity-logo-title-footer.png') no-repeat center;
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: Arial;
    font-size: 18px;
}

#unity-fullscreen-button {
    cursor: pointer;
    float: right;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button2.png') no-repeat center;
    background-size: contain;
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none;
}


/* =========================================================
   MÓVIL (RESPONSIVE)
========================================================= */

@media (max-width: 768px) {

    #unity-logo {
        width: 280px;
        height: 140px;
    }

    #unity-progress-bar-empty {
        width: 260px;
        height: 14px;
    }

    #unity-progress-bar-full {
        height: 14px;
    }

    #unity-loading-text {
        font-size: 16px;
        margin-top: 20px;
    }

    #unity-IOS-text {
        font-size: 11px;
        max-width: 260px;
        white-space: normal;
    }
}
