html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

canvas {
    width: 100% !important;
    height: 100% !important;
    max-height: 100%;
    /*aspect-ratio: 1080 / 1920;*/
    display: block;
    background-color: #231F20;
}

#unity-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    background-color: #231F20;
}

#loadingScreen {
    background: #231F20 url("assets/loading-image.jpg") center/auto 100% no-repeat;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    color: #000000;
    z-index: 999;
}

#loadingBar {
    width: 40rem;
    max-width: 60%;
    height: 1.3rem;
    border: 1px solid #4E47A5;
    bottom: 22svh;
    position: relative;
}

.loading-text {
    width: 40rem;
    max-width: 60%;
    margin: 10px auto 25px auto;
    text-align: center;
    font-size: clamp(12px, 3vh, 22px);
    font-family: sans-serif;
}

#copyCodePopup {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.popup {
    background: #ffffff;
    border: 8px solid #000000;
    border-radius: 30px;
    padding: 20px;
    width: 500px;
    height: 285px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popup input {
    width: 100%;
    height: 40px;
    background: #ffffff;
    border: 0;
    text-align: center;
    font-family: sans-serif;
}

.button-container {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.button-container button {
    background: #000000;
    border-radius: 10px;
    width: 45%;
    height: 40px;
    color: #ffffff;
    border: 0;
    font-family: sans-serif;
}

#copyResult {
    margin-top: 30px;
    text-align: center;
    color: #000000;
    font-family: sans-serif;
}

#turnOnGA {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: none;
}

iframe {
    background-color: #f8f8f8;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 999;
    border: 0;
}

#privacyPolicyClose {
    position: fixed;
    top: 10px;
    right: 20px;
    display: none;
    z-index: 9999;
    width: 50px;
    height: auto;
    cursor: pointer;
    box-shadow: 1px 1px 6px 1px #888888;
    border-radius: 50px;
}