@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --txt-main: #393E49;
    --txt-sub: #4F5768;
    --txt-third: #8D95A6;
}

* {
    font-family: Pretendard, 'sans-serif' !important;
    color: var(--txt-main);
}

body {
    height: 100%;
    background: #F7FDFD;
}

address {
    width: 100%;
    padding: 20px 0 10px;
    border-top: 1px solid #CCCCCC;
    line-height: 22px;
}

address strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
}

address em {
    display: block;
    font-weight: 500;
    padding-top: 8px;
}

button {
    cursor: pointer;
}

.input-container {
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 12px;
    vertical-align: top;
    background: #FFFFFF;
}

.input-subcontainer {
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 12px;
    vertical-align: top;
    background: #FFFFFF;
    margin-bottom: 50px;
}

.input-wrap {
    box-sizing: border-box;
    cursor: text;
    display: inline-flex;
    align-items: center;
    position: relative;
    border-radius: 4px;
    padding-left: 16px;
}

label {
    color: var(--txt-main);
    font-family: Roboto, Helvetica, Arial, sans-serif;
    display: block;
    transform-origin: left top;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(133% - 32px);
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(15px, -9px);
    transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms, max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
    z-index: 1;
    pointer-events: auto;
    user-select: none;
}

fieldset {
    text-align: left;
    position: absolute;
    inset: -5px 0 0;
    margin: 0;
    padding: 0 8px;
    pointer-events: none;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    overflow: hidden;
}

legend {
    float: unset;
    width: auto;
    overflow: hidden;
    display: block;
    padding: 0;
    height: 11px;
    visibility: hidden;
    max-width: 100%;
    white-space: nowrap;
}

legend span {
    padding-left: 4px;
    padding-right: 4px;
    display: inline-block;
    opacity: 0;
    visibility: visible;
}

input {
    width: 100%;
    margin: 0;
    padding: 16.5px 12px 16.5px 0;
    font-size: 16px;
    color: var(--txt-main);
    border: 0;
    box-sizing: content-box;
    background: none;
    height: 1.4375em;
    display: block;
}

input::placeholder {
    color: var(--txt-third);
}

input:focus {
    outline: none;
}

input:focus + fieldset {
    border-color: #AAAAAA;
}

.container {
    width: calc(100svw - 40px);
    min-height: calc(100svh - 62px);
    max-width: 767px;
    margin: 0 auto;
    padding: 48px 20px 14px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #F7FDFD url("../image/background.svg") no-repeat calc(100% + 200px) 90%;
}

/*.video-container {*/
/*    width: 100svw;*/
/*    height: 100svh;*/
/*    max-width: 767px;*/
/*    margin: 0 auto;*/
/*    background: #000000;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/*.video-container video {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/

.scroll {
    overflow-y: auto;
}

.scroll-none {
    overflow: hidden;
}

.bg-none {
    background: #F7FDFD url("../image/background-none.svg") no-repeat 0 100%;
    background-size: cover;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.-top-8 {
    top: -8px;
}

.left-12 {
    left: 12px;
}

.grid {
    display: grid;
}

.grid-columns-2 {
    grid-template-columns: 1fr 1fr;
}

.flex {
    display: flex;
}

.col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-24 {
    gap: 24px;
}

.gap-48 {
    gap: 48px;
}

.w-70 {
    width: 70px;
}

.w-80 {
    width: 80px;
}

.w-160 {
    width: 160px;
}

.w-200 {
    width: 200px;
}

.w-full {
    width: 100%;
}

.h-120 {
    height: 120px;
}

.h-full {
    height: 100%;
}

.mt-48 {
    margin-top: 48px;
}

.mt-150 {
    margin-top: 150px;
}

.py-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.p-4 {
    padding: 4px;
}

.text-14 {
    font-size: 14px;
}

.text-15 {
    font-size: 15px;
}

.text-18 {
    font-size: 18px;
}

.text-24 {
    font-size: 24px;
    line-height: 32px;
}

.text-32 {
    font-size: 32px;
    line-height: 50px;
}

.text-42 {
    font-size: 42px;
}

.font-500 {
    font-weight: 500;
}

.font-700 {
    font-weight: 700;
}

.text-sub {
    color: var(--txt-sub);
}

.text-third {
    color: var(--txt-third);
}

.text-nowrap {
    text-wrap: nowrap;
}

.primary {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #FFFFFF;
    background: #33CCCC;
    font-size: 20px;
    font-weight: 500;
}

.z-99 {
    z-index: 99;
}

.upload-button {
    width: 100%;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 12px;
    color: var(--txt-sub);
    background: #FFFFFF;
    box-shadow: 0 4px 12px 0 rgba(90, 161, 161, 0.06);
    font-size: 16px;
    font-weight: 500;
}

.warn {
    font-size: 15px;
    font-weight: 500;
    color: #EA1010;
    margin-top: 8px;
    padding-left: 4px;
    display: none;
}

.preview {
    height: 380px;
    aspect-ratio: 9 / 16;
    border: 1.5px dashed #D7D7D7;
    border-radius: 24px;
    cursor: pointer;
    position: relative;
}

.preview img {
    display: none;
    position: absolute;
}

.preview video {
    width: 100%;
}

img {
    transition: all 0.3s ease-in-out;
}

.overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100svw + 40px);
    height: 100%;
    min-height: calc(100svh - 62px);
    max-width: 807px;
    background: rgba(0, 0, 0, 0.50);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal {
    width: 280px;
    height: 180px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    background: #FFFFFF;
}

.spinner-wrap {
    width: 24px;
    height: 24px;
    animation: spin 1s infinite linear;
}

.spinner {
    width: 12px;
    height: 12px;
    border-top-left-radius: 50px;
    border: 2px solid #33CCCC;
    border-right: 0;
    border-bottom: 0;
}

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

.license-container {
    width: 100%;
    max-width: 460px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;

    @media screen and (max-width: 480px) {
        max-width: inherit;
        .grid-columns-2 {
            grid-template-columns: 1fr;
        }
    }
}

.license-img {
    width: 150px;
    max-width: 150px;
    min-width: 150px;
    height: 194px;
    overflow: hidden;
}
