html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


body {
    margin-bottom: 60px;
}

/* 呼吸動畫 */
@keyframes breath {
    0% {
        box-shadow: 0 0 0px rgba(255, 80, 80, 0.25) !important;
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 18px rgba(255, 80, 80, 0.55) !important;
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0px rgba(255, 80, 80, 0.25) !important;
        transform: scale(1);
    }
}

/* 呼吸卡片樣式 */
.breath-card {
    border-radius: 12px;
    border: 1px solid rgba(255, 80, 80, 0.25);
    animation: breath 2.5s ease-in-out infinite;
    overflow: visible; /* 光暈不被裁切 */
    background-color: #fff; /* 卡片背景 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    /* 懸停微動畫 */
    .breath-card:hover {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(255, 80, 80, 0.7) !important;
    }
