@font-face {
    font-family: threeDdpea-font;
    src: url("https://www.3dpea.com/static/fonts/3dpea.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap
}

/* fallback */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v143/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

:root {
    --color-primary: #006341;
    --bg-color: #ffffff;
    --bg-color-page: #f2f3f5;
    --bg-color-overlay: #ffffff;
    --text-color-primary: #303133;
    --text-color-regular: #606266;
    --text-color-secondary: #909399;
    --text-color-placeholder: #a8abb2;
    --text-color-disabled: #c0c4cc;
    --border-color: #dcdfe6;
    --border-color-light: #e4e7ed;
    --border-color-lighter: #ebeef5;
    --border-color-extra-light: #f2f6fc;
    --border-color-dark: #d4d7de;
    --border-color-darker: #cdd0d6;
}

[v-cloak] {
    display: none !important;
}

*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 100vw;
}

a {
    text-decoration: none;
}

a:link {
    color: inherit;
}

a:visited {
    color: inherit;
}

a:hover {
    color: inherit;
    text-decoration: underline;
}

html,
body {
    width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-size: 15px;
    font-family: threeDdpea-font;
}

#app {
    width: 100vw;
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-rows: 4em 1fr;
}

.head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid var(--border-color-darker);
    z-index: 1;
    gap: 2em;
    box-sizing: border-box;
    padding: 0 calc((100vw - 1100px) / 2);
}

#logo {
    display: block;
    height: 2em;
    width: fit-content;
}

#logo img {
    height: 100%;
}

.menu {
    position: relative;
}

.menu_title>input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    display: none;
}

.menu_title {
    position: relative;
    cursor: pointer;
}

.menu:hover .menu_title {
    color: var(--color-primary);
}

.menu_l2s {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 1em;
}

.menu:hover .menu_l2s {
    display: block;
}

.menu_l2s_inner {
    background: #fff;
    box-shadow: 0 0 10px var(--border-color-darker);
    overflow: hidden;
    border-radius: 0.5em;
    box-sizing: border-box;
    padding: 1em 0;
}

a.menu_l2 {
    width: fit-content;
    box-sizing: border-box;
    padding: 0.5em 1em;
    white-space: nowrap;
    display: block;
    cursor: pointer;
}

a.menu_l2:hover {
    color: var(--color-primary);
}

.body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 0 calc((100vw - 1100px) / 2);
}

h1 {
    margin-bottom: 1em;
    text-align: center;
    font-size: 3em;
}

main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2em;
    margin: 0 0 10em;
    box-shadow: 0 0 2em var(--border-color);
    border-radius: 1em;
    overflow: hidden;
}

.viewport_container {
    width: calc(100vw - (100vw - 1100px) - 42em);
    height: calc(100vw - (100vw - 1100px) - 42em);
    background-color: var(--bg-color-page);
    position: relative;
    max-height: calc(100vh - 13em);
    max-width: calc(100vh - 13em);
}

.switch_2D_3D {
    position: absolute;
    bottom: 1em;
    left: 1em;
    background: var(--border-color-darker);
    width: 2.5em;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0.25em;
}

.switch_2D_3D[twoD]:hover span {
    animation: rotation3D 2s linear infinite;
}

@keyframes rotation3D {
    0% {
        transform: rotate3d(0, 1, 0, 0deg);
    }

    100% {
        transform: rotate3d(0, 1, 0, 360deg);
    }
}

.play_volume {
    position: absolute;
    bottom: 4.5em;
    left: 1em;
    background: var(--border-color-darker);
    min-width: 2.5em;
    height: 2.5em;
    cursor: pointer;
    border-radius: 0.25em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play_volume svg {
    width: 1.5em;
    height: 1.5em;
    margin: 0 0.5em;
}

.play_volume input {
    width: 0;
    display: none;
}

.play_volume:hover input {
    width: 7em;
    margin-right: 0.5em;
    display: block;
}

.full_screen {
    position: absolute;
    left: 1em;
    top: 1em;
    width: 2.5em;
    height: 2.5em;
    background: var(--border-color-darker);
    border-radius: 0.25em;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0.25em;
    z-index: 1;
}

.full_screen svg {
    width: 100%;
    height: 100%;
}

.full_screen svg:nth-child(1) {
    display: block;
}

.full_screen svg:nth-child(2) {
    display: none;
}

.viewport_container:fullscreen .full_screen svg:nth-child(1) {
    display: none;
}

.viewport_container:fullscreen .full_screen svg:nth-child(2) {
    display: block;
}

.viewport_container[d="vertical"]:fullscreen #viewport_container_pc canvas,
.viewport_container[d="vertical"]:fullscreen #viewport_container_phone canvas {
    width: 100vw !important;
    height: 100vw !important;
}

.viewport_container[d="vertical"]:fullscreen #viewport_container_pc canvas,
.viewport_container[d="horizontal"]:fullscreen #viewport_container_phone canvas {
    width: 100vh !important;
    height: 100vh !important;
}

.viewport_container canvas {
    width: 100% !important;
    height: 100% !important;
}

#viewport_container_phone {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    z-index: 0;
    position: relative;
}

#viewport_container_pc {
    width: 100%;
    height: 100%;
    background: #fff;
}

.spin_btn {
    position: absolute;
    z-index: 12;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: var(--color-primary);
    width: 4em;
    height: 4em;
    text-align: center;
    line-height: 4;
    border-radius: 3em;
    cursor: pointer;
    font-size: 1.5em;
    user-select: none;
}

.spin_btn::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 1.7em;
    transform: translate(-50%, -100%);
    border: 2em solid transparent;
    border-bottom-width: 4em;
    border-bottom-color: var(--border-color-darker);
    z-index: -2;
    pointer-events: none;
}

.spin_btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--color-primary);
    border: 2px solid #fff;
    box-sizing: border-box;
    border-radius: 100%;
    z-index: -1;
    pointer-events: none;
    animation: spinAni 1s linear infinite;
}

.spin_btn>span {
    display: block;
    animation: spinAni 1s linear infinite;
}

@keyframes spinAni {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.spin_btn[active]::after,
.spin_btn[active]>span {
    animation: unset;
}

.yes_no_wheel_options {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: auto auto 1fr;
    box-sizing: border-box;
    padding: 1em;
}

.yes_no_wheel_options>p {
    height: fit-content;
    margin: 0 0 1em;
}

.yes_no_wheel_options>textarea {
    width: 100% !important;
    height: 100% !important;
    resize: none;
    font-size: 1.25em;
    box-sizing: border-box;
    padding: 0.5em;
    line-height: 1.5;
    border-radius: 0.5em;
}

.page {
    margin-bottom: 7em;
    text-align: center;
}

.page>h2 {
    margin-bottom: 2em;
}

.page>p {
    text-align: start;
}

.how_use_container {
    display: flex;
    justify-content: space-between;
    gap: 3em;
}

.how_use {
    box-shadow: 0 0 10px var(--border-color-darker);
    width: 25em;
    box-sizing: border-box;
    padding: 1em 2em;
    border-radius: 1em;
}

.footer {
    width: 100%;
    box-sizing: border-box;
    padding: 1em 0 5em;
    display: flex;
    gap: 5em;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color-darker);
}

.footer_item_title {
    font-size: 1.25em;
    margin-bottom: 1em;
}

.footer_item_body {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.footer_item_body>a {
    width: fit-content;
}

.spin_result_pop {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    left: 0;
    top: 0;
    z-index: 12;
}

.spin_result_pop>canvas {
    z-index: 10;
    display: block;
    position: relative;
    pointer-events: none;
}

.spin_result_pop_inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.spin_result_pop_inner_body {
    background: #fff;
    margin-bottom: 2em;
    box-sizing: border-box;
    padding: 1em;
    border: 0.25em solid var(--color-primary);
}

.spin_result_pop_inner_body>img {
    height: 1em;
    margin: 0 auto;
    display: block;
}

.spin_result {
    width: 30em;
    height: 20em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin_result>span {
    font-size: 2em;
    font-weight: 700;
}

.spin_result>img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.spin_result_pop_inner_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
}

.spin_result_pop_inner_footer>div {
    background: #fff;
    padding: 0.8em 2em;
    font-weight: 700;
    border-radius: 0.25em;
    cursor: pointer;
}

.close_spin_result {
    background: rgb(203, 151, 53) !important;
    color: #fff;
}

.share_result_pop {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 12;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
}

.share_result_pop_inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 25em;
    background: #fff;
}

.share_result_pop_title {
    font-size: 1.25em;
    box-sizing: border-box;
    padding: 0.5em 1em;
    border-bottom: 1px solid var(--border-color-darker);
    display: flex;
    justify-content: space-between;
}

.share_result_pop_title>svg {
    width: 1.25em;
    height: 1.25em;
    cursor: pointer;
}

.share_result_pop_title>svg:hover path {
    fill: var(--color-primary);
}

.share_result_pop_body {
    box-sizing: border-box;
    padding: 1em;
}

.result_url {
    position: relative;
    color: #409eff;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-radius: 0.5em;
    grid-template-columns: 1fr auto;
    margin-bottom: 1em;
    border: 1px solid var(--color-primary);
    box-sizing: border-box;
}

.result_url_copy_btn {
    background: var(--color-primary);
    padding: 0.5em 1em;
    cursor: pointer;
    color: #ffffff;
}

.result_url>a {
    white-space: nowrap;
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    box-sizing: border-box;
    padding: 0 0.5em;
    gap: 0.25em;
    grid-template-columns: auto 1fr;
    text-decoration: underline;
}

.result_url>a>svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.result_url>a>svg path {
    fill: #409eff;
}

.result_url_copy_text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share_social_media a {
    width: 2em;
    height: 2em;
    display: block;
    box-sizing: border-box;
    padding: 0.25em;
}

.share_social_media svg {
    width: 100%;
    height: 100%;
}

.share_social_media svg path {
    fill: #fff;
}

.share_social_media svg circle {
    fill: none;
}

.share_social_media {
    display: flex;
    gap: 1em;
}

.when_use_container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2em;
}

.when_use_item {
    width: 100%;
}

.when_use_item>img {
    width: 100%;
}

.when_use_item>h3 {
    margin: 1.5em 0;
    display: block;
    font-size: 1.2em;
}

.FAQ {
    width: 100%;
    text-align: start;
    margin-bottom: 2em;
}

.FAQ_title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.FAQ_title>h3 {
    margin: 0;
}

.FAQ_title svg {
    width: 1.5em;
    height: 1.5em;
    transform: rotate(0deg);
    transition: transform .2s;
    pointer-events: none;
}

.FAQ:has(.FAQ_title>input:checked) .FAQ_title svg {
    transform: rotate(90deg);
}

.FAQ_title>input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.FAQ_body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .2s;
    padding: 1em 0 0;
}

.FAQ:has(.FAQ_title>input:checked) .FAQ_body {
    grid-template-rows: 1fr;
}

.FAQ_body>p {
    grid-row: 1 / 10;
    display: block;
    overflow: hidden;
    margin: 0;
}

.recommend_container {
    margin-bottom: 7em;
}

.recommend_container>h2 {
    font-size: 2em;
    margin-bottom: 1.5em;
}

.recommends {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4em;
    text-align: center;
}

.recommend>img {
    width: 100%;
}

.recommend>h3 {
    font-size: 1.25em;
    color: #409eff;
    margin: 1em 0;
    display: block;
    text-align: center;
}

@media screen and (max-width: 900px) {
    .head {
        padding: 0 5vw;
    }

    #logo {
        height: 1.5em;
    }

    .menu_l2s {
        left: 50%;
        transform: translateX(-50%);
    }

    .body {
        padding: 0 5vw;
    }

    main {
        grid-template-columns: unset;
        width: 100%;
    }

    .viewport_container {
        width: 90vw;
        height: 90vw;
    }

    .yes_no_wheel_options {
        width: 90vw;
        height: fit-content;
        max-height: 45em;
    }

    .spin_btn {
        font-size: 0.9em;
    }

    .spin_result {
        width: 75vw;
        height: 75vw;
    }

    .share_result_pop_inner {
        width: 85vw;
    }

    .switch_2D_3D {
        display: none;
    }

    .menu_title>input {
        display: block;
    }

    .menu:hover .menu_title {
        color: inherit;
    }

    .menu:hover .menu_l2s {
        display: none;
    }

    .menu:has(.menu_title>input:checked) .menu_l2s {
        display: block;
    }

    .yes_no_wheel_options>textarea {
        height: 11em !important;
    }

    .page {
        text-align: start;
    }

    .how_use_container {
        flex-direction: column;
        align-items: center;
    }

    .how_use {
        width: 100%;
    }

    .recommends,
    .when_use_container {
        display: flex;
        flex-direction: column;
    }
}