﻿@media (max-width: 1199px) {
    .info{
        width:100%;
    }
}

@media (max-width: 991px) {
    .info .en_text span {
        font-size: 45px;
        line-height: 50px;
    }

    .info .input_item {
        width: 60%;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .w_pic {
        display: none;
    }

    .p_pic {
        display: block;
    }

    .modal-header .title span {
        font-size: 14px;
    }

    .modal-header .close {
        font-size: 60px;
        top: -1%;
    }

    .modal-content {
        padding: 0 25px;
        padding-top: 60px;
        padding-bottom: 15px;
        padding-left: 25px;
        border-radius: 15px;
    }

    .modal-body {
        max-height: 350px;
    }

    .modal-body .t1 {
        margin-bottom: 20px;
    }

    .modal-body span {
        font-size: 13px;
    }

    .cloud-img {
        max-width: 200vw;
        height: auto;
    }

    .info .small_text .w_text {
        display: none;
    }

    .info .small_text .p_text {
        display: block;
    }

    .info .en_text span {
        font-size: 65px;
        line-height: 65px;
    }

    .info .small_text {
        margin-top: 20px;
        text-align: left;
        padding: 0 15px;
    }

    .info .small_text span {
        font-size: 13px;
        line-height: 22px;
    }

    .info .input_item{
        width:92%;
    }

    .info .input_item .item span {
        font-size: 15px;
    }

    .info .btn_item{
        padding:0 10px;
    }

    .info .btn_item .btn_01,
    .info .btn_item .btn_02 {
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 5px;
        border-radius: 10px;
        padding: 10px 10px;
    }

    .info .btn_item .btn_02 .en_text{
        padding-right:10px;
    }

    .info .btn_item .btn_02 img {
        width: 20px;
    }

    .confession {
        width: 85%;
        top: 41%;
    }

    .confession .conf_item {
        padding: 20px 30px;
        padding-top: 30px;
        height: 520px;
        max-height: 520px;
        box-shadow: 12px 15px 5px 0 rgba(0, 0, 0, 0.3);
    }

    .confession .Member_Text {
        height: 210px;
        max-height: 210px;
    }

    .confession .dropzone {
        min-height: 95px;
        border-radius: 5px;
    }

    .confession .dropzone .dz-preview .dz-image,
    .confession .dropzone .dz-preview .dz-image img,
    .confession .dropzone.slick-initialized .slick-track {
        max-height: 95px;
    }

    .confession .dropzone span {
        font-size: 14px;
    }

    .confession .dropzone .small {
        font-size: 12px;
        padding-top: 2px;
    }

    .confession .btn_item .btn_01,
    .confession .btn_item .btn_02 {
        width: 50%;
        margin: 0 5px;
        padding: 6px 20px;
    }

    .finger {
        width: 20%;
        margin: auto;
    }

    .unused {
        width: 60%;
        margin: auto;
        bottom: calc(20px + env(safe-area-inset-bottom));
    }

    .unused .conf_text {
        display: block;
        font-size: 20px;
        padding: 8px 40px;
        border-radius: 10px;
        text-align: center;
    }

    .unused .small {
        padding: 0;
        padding-top: 15px;
        font-size: 16px;
    }

    .confession .dropzone .dz-preview .dz-image,
    .confession .dropzone .dz-preview .dz-image img {
        max-height: 110px;
    }

    .success_text {
        width: 80%;
        border-radius: 10px;
        top: 50%;
        left: 50%;
        bottom: initial;
        transform: translate(-50%, calc(50vh + 100%));
        z-index: 9999;
    }

    .success_text span {
        font-size: 12px;
    }

    @keyframes slideInOut {
        0% {
            /* 起始：螢幕最下方外面 (畫面高度的一半 + 100% 自身高度，確保完全隱藏) */
            transform: translate(-50%, calc(50vh + 100%));
        }

        25% {
            /* 慢慢向上滑入到達螢幕正中間 (-50% 垂直居中) */
            transform: translate(-50%, -50%);
        }

        75% {
            /* 在螢幕正中間停留 */
            transform: translate(-50%, -50%);
        }

        100% {
            /* 慢慢向下滑回螢幕最下方外面 */
            transform: translate(-50%, calc(50vh + 100%));
        }
    }

    .right_icon {
        width: 11%;
        top: 15px;
        right: 15px;
        left: initial;
        bottom: initial;
    }
}
