html {
    font-size: 24px;
}

@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%;
    font-family: Cactus Classical Serif;
}

header, footer {
    font-size: 24px;
    font-family: 'Cactus Classical Serif';
}


body {
    height: 100%;
    font-size: 24px;
    
    font-family: Cactus Classical Serif;
}

body::after {

    opacity: 0.7;
    position: absolute;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    padding-top: 100px; /* Location of the box */
    left: 0%;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    /*background-color: rgba(255,255,255,0.75); */ /* Black w/ opacity */
}
/* Modal Content */
.modal-content {

    font-family: 'Cactus Classical Serif';
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 4px solid;
    border-color: dodgerblue;
    width: 100%;
    height: 100%;
}

.modal-backdrop {
    opacity: 0 !important;
    filter: !important;
}

.modal-lg {
    font-family: 'Cactus Classical Serif';
    height: auto;
    width: 625px;
}

.card-text {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-body-secondary {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title {
    font-size: 24px;
    font-family: 'Cactus Classical Serif';
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    /* 預設隱藏 */
    z-index: 1000;
}

/* Modal 本體 */
.side-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    /* 寬度可自行調整 */
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out;
    transform: translateX(100%);
    /* 預設位移到右側外面 */
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.modal-btn {
    font-size: 24px;
    font-family: 'Cactus Classical Serif';
}

.page-link {
    font-family: 'Cactus Classical Serif';
}

.contact {
    font-size: 24px;
    font-family: 'Cactus Classical Serif';
    background-color: lightgray
}


.btn {
    font-size: 24px;
    font-family: 'Cactus Classical Serif';
}

.btn-danger {
    color: #ffffff;
    background-color: #dc3545;
    border-color: #dc3545;
    animation-name: mybtn-dangerblink;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes mybtn-dangerblink {
    0% {
        color: #ffffff;
        background-color: #bd2130;
    }


    50% {
        color: #bd2130;
        background-color: #ffffff;
    }

    100% {
        color: #ffffff;
        background-color: #bd2130;
    }
}

.btn-light {
    color: black;
    background-color: orange;
    border-color: orange;
    animation-name: mybtn-lightblink;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.btn-white:hover {
    border-color: skyblue;
}

@keyframes mybtn-lightblink {
    0% {
        background-color: orange;
    }


    50% {
        background-color: #ffffff;
    }

    100% {
        background-color: orange;
    }
}


table {
    background-color: white;

}

.border {
    background-color: white;
}

.check-box {
    top: 0;
    left: 0;
    height: 36px;
    width: 36px;
}

.carousel-image img {
    transition: transform 2.5s, filter 1.5s ease-in-out;
    transform-origin: center center;
    animation-name: mycarousel-image;
    animation-duration: 6s;
    animation-iteration-count:infinite;
}

@keyframes mycarousel-image{
    0% {
        transform: scale(1);
    }


    100% {
        transform: scale(1.2);
    }

}

.page-link{
    font-size:24px
}


.card-img-top img {
    transition: transform 2.5s, filter 1.5s ease-in-out;
    transform-origin: center center;
}

 .card-img-top:hover img {
    transform: scale(1.2);
}

#GoTop {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
}