* {
    margin: 0;
    padding: 0;
    background-color: transparent;
    user-select: none;
    outline: none;
    border: none;
}

html {
    height: -webkit-fill-available;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100vw;
    overflow: hidden;
    background-image: url('../Images/back_black.svg');
}

.warning {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: none;
    text-align: center;
    color: azure;

    white-space: nowrap;
}

.warning p {
    /* height: 50vh;
    transform: translateY(50%); */
}

#unity-container {
    position: absolute;
}

#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;
    top: 0;
    left: 0;
    /* z-index: 1; */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;

    text-align: center;
    background-color: #000;

    display: none;
}

#unity-loading-bar>* {
    width: 100%;
}

#unity-loading-bar img {
    max-width: 50%;
    width: auto;
}

/* 로딩바 테두리 */
#unity-progress-bar-empty {
    overflow: hidden;

    margin-top: 50px;
    max-width: 30%;
    min-width: 200px;
    height: 15px;

    border: 2px solid #FFF;
    border-radius: 20px;
    box-sizing: border-box;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background-color: #FFF;
}

#unity-loading-bar .wyftArtygenSpace {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translate(-50%, 0);
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}

#scanGuide {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translate(-50%, 0);

    width: 140%;

    display: none;
}

.modal {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);

    display: none;
}

.spinner {
    position: relative;
    top: 40%;

    border: 8px solid #f3f3f3;
    /* Light grey */
    border-top: 8px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#coupon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 100;

    width: 240px;
}

#coupon>img {
    max-width: 100%;
}

#coupon-content-image {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
}

.clickBlock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal.coupon {
    background-color: #1a1b2d;
}

.coupon-modal-button {
    position: absolute;
    bottom: 2.5rem;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 50px;

    background-color: #477bd8;
    color: #FFF;
    font-weight: bold;
}

.wyft-logo {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 47px;
}

#close-coupon-modal {
    position: absolute;
    right: 8px;
}

.confirm-modal-panel {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 315px;
    height: 155px;

    background-color: rgba(0, 0, 0, 0.8);
}

.confirm-modal-panel .top-border-image {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
}

#confirm-modal-message {
    font-size: 1rem;
    color: white;
    margin-bottom: 4rem;
}

.confirm-modal-buttons {
    position: absolute;
    bottom: 22px;

    display: flex;
}

.confirm-modal-buttons>button {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 130px;
    height: 42px;
    margin: 0 5px;

    font-size: 14px;
    font-weight: bold;

    background-color: #477bd8;
    color: #FFF;
}

.confirm-modal-buttons>button:hover {
    background-color: #FFF;
    color: #477bd8;
}

#screen-cover-modal {
    z-index: 99;

    background-color: #000;
}

#message {
    position: absolute;
    bottom: 40px;
    z-index: 100;
    color: #FFF;
    width: 100%;
    text-align: center;
    font-weight: 500;
    font-size: 14px;

    white-space: nowrap;
}
#unity-progress-bar-empty {
  margin: 24px auto;
  width: 210px;
  height: 8px;
  border: 1px solid #CDFF62;
  border-radius: 100px;
  padding: 1px;
  overflow: hidden;
}
#wyft-progress-bar-full {
  height: 100%;
  background-color: #CDFF62;
  border-radius: 100px;
}
#wyft-loading-notify {
  color: #fff;
  font-size: 14px;
}