@font-face {
    font-family: 'Poppins';
    src: url('./Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 300;
}

#unity-container {
    position: absolute
}

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

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

#unity-canvas {
    background: #231F20
}

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

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none
}

#unity-logo {
    width: 485px;
    height: 225px;
    background: url('Logo.png') no-repeat center;
    background-size: contain;
}

#unity-progress-bar-empty {
    width: 300px;
    height: 18px;
    margin-top: 50px;
    margin-left: 6.5px;
    background-color: #e0e0e0;
    /* Color de fondo de la barra vacía */
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 1px 3px #0002;
    position: relative;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background-color: #DF0914;
    /* Color de la barra de progreso */
    border-radius: 9px 0 0 9px;
    transition: width 0.3s;
}

#unity-footer {
    position: relative
}

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

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

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

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

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

#startARButton {
    font-weight: 700;
    font-size: 36px;
    background-color: #DF0914;
    border: none;
    color: white;
    width: 316px;
    height: 84px;
    text-align: center;
    border-radius: 10px;
    margin-top: 66px;
}

#BTNEntrar {
    font-weight: 700;
    font-size: 36px;
    background-color: #DF0914;
    border: none;
    color: white;
    width: 316px;
    height: 84px;
    text-align: center;
    border-radius: 10px;
    margin-top: 66px;
}

#divContenedor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 220px;
    width: 500px;
    background-color: #D1D3D4;
    border-radius: 25px;
}

#divContenedor p {
    font-size: 20px;
    width: 450px !important;
    margin-bottom: 21px;
}

#titulo {
    font-weight: 700;
    font-size: 64px;
    margin-bottom: 44px;
}

#BarraSuperior {
    position: fixed;
    top: 0%;
    width: 100vw;
    height: 40px;
    background-color: #DF0914;
    z-index: 100;
    border-radius: 0px 0px 20px 20px;
}

#BarraInferior {
    position: fixed;
    bottom: 0%;
    width: 100vw;
    height: 40px;
    background-color: #DF0914;
    z-index: 100;
    border-radius: 20px 20px 0px 0px;
}

#orientationWarning {
    display: none;
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(255, 255, 255);
    /* color: rgb(0, 0, 0); */
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    /* gap: 10px; */
}

.tituloOrientacion{
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 2.5vh;
    font-weight: 700;
    max-width: 70vw;
    margin-top: 10vh;
}

.textoOrientacion{
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 2vh;
    font-weight: 400;
    max-width: 65vw;
}

@media (max-width: 900px) {
    #unity-logo {
        width: 250px;
        height: 100px;
    }

    #divContenedor {
        width: 70vw;
        height: auto;
        padding: 20px;
    }

    #divContenedor p {
        width: 60vw !important;
        font-size: 15px;
    }

    #titulo {
        font-size: 36px;
        margin-bottom: 10px;
    }

    #startARButton,
    #BTNEntrar {
        width: 30vw;
        height: 60px;
        font-size: 22px;
        margin-top: 10px;
    }

    #BarraSuperior,
    #BarraInferior {
        height: 20px;
        border-radius: 0 0 12px 12px;
    }
}

/* Para pantallas menores a 600px (celulares) */
@media (max-width: 600px) {
    #unity-logo {
        width: 150px;
        height: 60px;
    }

    #divContenedor {
        width: 80vw;
        min-width: unset;
        border-radius: 15px;
        padding: 10px;
    }

    #divContenedor p {
        width: 90vw !important;
        font-size: 14px;
    }

    #titulo {
        font-size: 24px;
        margin-bottom: 10px;
    }

    #startARButton,
    #BTNEntrar {
        width: 30vw;
        height: 50px;
        font-size: 18px;
        margin-top: 10px;
    }

    #BarraSuperior,
    #BarraInferior {
        height: 20px;
        border-radius: 0 0 12px 12px;
    }
}
