﻿/*共用*/
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}
body.bg{
    background:#000000!important;
}
body.bg.admin {
    background: transparent !important;
}
:focus,
:focus-visible,
.btn:focus,
.btn:focus-visible {
    outline: none !important;
    box-shadow:none;
}
a{
    color: #666;
}
a:hover, a:focus {
    text-decoration: none;
    color: transparent;
    outline: none;
    outline-offset: unset;
}
.form-control:focus {
    box-shadow: none;
    border-color: #ccc;
}
ul, ol, li {
    list-style: none;
    margin-bottom: 0;
}
.btn:active {
    box-shadow: none;
}
img {
    max-width: 100%;
    height: auto;
}
.content{
    padding:0;
}
.main_content .row {
    justify-content: center;
}
/*Modal*/
.modal {
    width: 100%;
    height: 100%;
}
.modal.fade {
    transition: all 0.6s ease;
}
.modal.fade.show {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
    overflow: auto;
    padding: 0 !important;
    display: block;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}
.modal-dialog-centered::before {
    display: none;
}
.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
}
.modal.show .modal-dialog {
    transform: none;
}
.modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    border-radius: 15px;
    outline: 0;
    box-shadow: none;
    background: #ffffff;
}
.modal-body {
    padding: 20px 40px;
}
.modal-footer{
    justify-content:center;
    border:none;
}
/*admin*/
.admin_content {
    padding: 20px 30px;
}
.admin .title_item  {
    display: flex;
    align-items: center;
}
.admin .title_item .title span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    color: #000000;
    font-size: 28px;
    letter-spacing: 3px;
}
.admin .title_item .btn_item{
    margin-left:10px;
}
.admin .title_item .btn_item .btn {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 0;
    letter-spacing: 3px;
    font-size: 16px;
    padding: 7px 10px;
    min-width: 110px;
    transition: background 0.8s ease,color 0.8s ease;
}
.admin .title_item .btn_item .btn:hover{
    background:#000000;
    color:#ffffff;
}
.admin .table_item {
    margin-top: 30px;
    overflow:auto;
}
.admin .table_item .table {
    word-break: keep-all;
}
.admin .table_item .table th {
    font-family: 'Noto Sans TC';
    font-weight: 500;
    border: none;
    border-bottom: 1px solid #000000;
    background: #000000;
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    letter-spacing: 2px;
}
.admin .table_item .table td {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    border: none;
    border-top: 1px solid #dee2e6;
}
.admin .table_item .table .btn {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 0;
    letter-spacing: 3px;
    font-size: 16px;
    padding: 7px 10px;
    min-width: 110px;
    transition: background 0.8s ease, color 0.8s ease;
}
.admin .table_item .table .btn:hover{
    background:#000000;
    color:#ffffff;
}
.admin .modal-header .close {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: bold;
    background: #000000;
    font-size: 20px;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border: 2px solid #000000;
    transition: all 0.6s ease;
    opacity: 1;
    text-shadow: none;
    margin: 0;
    padding: 0;
}
.admin .modal-content {
    border-radius: 5px;
}
.admin .modal-body{
    padding:15px;
}
.admin .modal-body .input-group,
.admin .input-group {
    margin-bottom: 10px;
}
.admin .modal-body .input-group .input-group-text,
.admin .input-group .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    min-width: 100px;
    justify-content: center;
}
.admin .modal-footer{
    justify-content:center;
}
.admin .modal-footer .btn {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 0;
    letter-spacing: 3px;
    font-size: 16px;
    padding: 7px 10px;
    min-width: 110px;
    transition: background 0.8s ease,color 0.8s ease;
}
.admin .modal-footer .btn:hover {
    background: #000000;
    color: #ffffff;
}
.admin .u_item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}
.admin .u_item .file_text {
    display: inline-block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #666666;
    width: 65%;
    padding-bottom: 5px;
    letter-spacing: 2px;
    overflow: hidden;
    min-height: 31px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.admin .u_item .btn {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #ffffff;
    background: #000000;
    border-radius: 0;
    font-size: 15px;
    letter-spacing: 2px;
    border: none;
    padding: 8px 10px;
    margin-left: 10px;
}
.admin .pic_link {
    display: inline-block;
    width: 100px;
    height: 100px;
}
.admin .pic_link .pic {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
}
.admin .main_content .row {
    justify-content: flex-start;
}
.admin .other {
    margin-top:20px;
}
.admin .select_item{
    margin-top:20px;
}
.admin .remaining_prizes{
    margin-top:10px;
}
.admin .remaining_prizes .r_title span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    color: #ff0000;
    font-size: 22px;
    letter-spacing: 1px;
}
.admin .remaining_prizes .r_info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.admin .remaining_prizes .r_info .info {
    padding-right:20px;
}
.admin .remaining_prizes .r_info .info .text {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 600;
    color: #000000;
    font-size: 20px;
    letter-spacing: 1px;
}
.admin .remaining_prizes .r_info .info .other{
    color:#ff0000;
}
/*電腦版*/
.window {
    position:relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    height: 100vh;
    margin: auto;
    overflow: hidden;
}
.window .logo_pic {
    width: 58%;
    margin: 0 auto;
}
.window .experiment {
    margin-top: 50px;
}
.window .experiment .pic {
    width: 85%;
    margin: auto;
}
.window .experiment .icon_01 {
    position: absolute;
    width: 10%;
    top: 39.5%;
    left: 21%;
    z-index: 10;
    animation: swingRotate 2s ease-in-out infinite;
}
.window .experiment .icon_02 {
    position: absolute;
    width: 9%;
    top: 44%;
    right: 20%;
    z-index: 10;
    animation: swingRotate 3s ease-in-out infinite;
}
@keyframes swingRotate {
    0% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}
.window .experiment .particle_item {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.window .particle_item .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}
@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px) translateX(var(--translateX));
        opacity: 0;
    }
}
.window .experiment .Waves {
    width: 100%;
    position: absolute;
    top: 45%;
    left: 53.5%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.window .experiment .Waves .bubbleGroup {
    fill: #ffffff
}
.window .experiment .Waves .poly {
    width: 100%;
    height: 100%;
    fill: url(#polyGradient_01);
}
.window .text{
    position:relative;
    z-index:20;
    margin-top:25px;
    text-align:center;
}
.window .text span {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 100;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 1px;
}
.window .text .t1{
    margin-bottom:5px;
}
.window .text .other {
    position: relative;
    background: linear-gradient(180deg, rgba(55, 255, 196, 1) 0%, rgba(86, 255, 94, 1) 46%, rgba(215, 255, 254, 1) 100%);
    background-clip: text;
    color: transparent;
    font-weight: 700;
}
.window .btn_item {
    background: linear-gradient(180deg, #19fff4 0%, #aeffae 100%);
    margin-top: 30px;
    border-radius: 50px;
}
.window .btn_item .btns {
    display: block;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 800;
    color: #000000;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 8px 40px;
}

