:root {
    --font0: 1rem;
    --font1: 1.1rem;
    --font2: 1.2rem;
    --font3: 1.3rem;
    --font4: 1.4rem;
    --font5: 1.5rem;
    --font6: 1.6rem;
    --font7: 1.7rem;
    --font8: 1.8rem;
    --font9: 1.9rem;
    --font10: 2rem;
    --font11: 2.1rem;
    --font12: 2.2rem;
    --font14: 2.4rem;
    --font15: 2.5rem;
    --font22: 3.2rem;
    --font32: 4.2rem;

    --pc-max-width: 560px;
    --primary: #23545F;
    --header-height: 6.6rem;
    --footer-height: 33.4rem;
    --parent-width: 100vw;
}

* {
    padding: 0;
    margin: 0;
    border: 0;
    /*font-family: "Pretendard", sans-serif;*/
    font-family: "sans-serif";
    box-sizing: border-box;
    letter-spacing: -0.03rem;
    /*color: black;*/
    color: #3C3C3C;
    /*letter-spacing: - 0.5 px;*/
    /*font-size: 10px;*/
}

ul,
ol,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    border: none;
}

a {
    text-decoration: none;
    border: none;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
    color: inherit;
    text-decoration: none;
}

/*HTML 5 specific*/
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

label {
    margin: 0;
}

table tr th,
table tr td {
    height: 5rem;
}

table tbody tr {
    user-select: none;
}

table tbody td {
    font-size: var(--font2);
}

input {
    background: transparent;
    color: #000;
}

input:focus,
select:focus {
    outline: none;
}

textarea {
    border: none;
    overflow: auto;
    outline: none;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

html {
    -webkit-text-size-adjust: none;
}

body {
    /*overflow: hidden;*/
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
}

html,
body,
#app {
    font-size: var(--font0);
    height: 100%;
    /*width: 100%;*/

    overflow-y: hidden;

    -ms-touch-action: none;
    touch-action: none;
}

#app {
    position: relative;
    max-width: var(--pc-max-width);
    /*background: #fff;*/
    margin: 0 auto;
    /*height: 100%;*/

    /*min-height: 972px;*/

    /*opacity: 1;*/
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.scene {
    display: none;
    position: relative;
    /*position: absolute;*/
    top: var(--header-height);
    bottom: var(--header-height);
    bottom: 0;
    width: 100%;
    font-size: var(--font8);
    background: white;
    overflow: hidden;

    padding-bottom: 6rem;
    /*padding-top: calc(67px + var(--))*/
    /*padding-top: var(--header-height);*/
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    /*overflow-y: auto;*/
    /*-webkit-overflow-scrolling: touch;*/

    --scene-header-height: 6.6rem;
}

/*공통 Toast UI*/
#toast {
    width: 27rem;
    min-height: 1.4rem;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 7rem;
    margin: 0 auto;
    background-color: #1c1d1e;
    /* border: 2px solid white; */
    color: #ffffff;
    font-size: var(--font6);
    padding: 1rem 1.6rem;
    border-radius: 0.5rem;
    text-align: center;
    --primary: #23545F;
    -webkit-box-shadow: 0px 0px 1rem rgb(35 84 95 / 30%);
    -moz-box-shadow: 0px 0px 1rem rgb(35 84 95 / 30%);
    box-shadow: 0px 0px 1rem rgb(35 84 95 / 30%);
    word-break: keep-all;
    display: none;
    z-index: 10005;
}

#error-toast {
    width: 27rem;
    min-height: 1.4rem;
    position: fixed;
    left: 0px;
    right: 0px;
    top: 7rem;
    /*top: calc(70px + var(--sat));*/
    margin: 0 auto;
    background-color: #b02b33;
    color: #ffffff;
    font-size: var(--font6);
    padding: 1rem 1.6rem;
    border-radius: 0.5rem;
    text-align: center;
    -webkit-box-shadow: 0px 0px 1rem #c08753;
    -moz-box-shadow: 0px 0px 1rem #c08753;
    box-shadow: 0px 0px 1rem #c087534d;
    display: none;
    z-index: 10005;
}
/*공통 Toast UI*/

/* loading */
#loading {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left:0;
    right:0;
    margin: 0 auto;

}

#loading .cover {
    width: 100%;
    height: 100%;
    /*background-color: rgb(0 0 0 / 10%);*/
    background-color: rgb(0 0 0 / 40%);
    position: absolute;
    top: 0;
    z-index: 9999;
}

#loading .loading-img {
    position: absolute;
    /*width: 30px;*/
    width: 10%;
    top: 50%;
    z-index: 9999;
    animation: spin 17s linear infinite;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#loading .loading-img img {
    width: 100%;
}

@keyframes spin {
    0% {
        transform:rotate(0deg);
    }
    100% {
        transform:rotate(360deg);
    }
}
