.error {
    color: red;
}

.bgimgs {
    background-image: url("https://www.agon.org.tw/Hatsuma/images/金色海浪-01.png");
}

._bgimg {
    /* background-image: url("./images/和讚底圖-02.jpg");
            background-position: center center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-size: cover; */
    /* background-color: #f7f4ed; */
    background-color: #e0cdb3;
}

._bgyellow {
    background-color: #fcce06;
}

._text-red-550 {
    color: #FF0000;
}


/* text */

@media screen and (max-width: 720px) {
    .text-link-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .text-link-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 330px) {
    .text-link-title {
        font-size: 13px;
    }
}

.text-link {
    font-size: 19px;
}

@media screen and (max-width: 480px) {
    .text-link {
        font-size: 15px;
    }
}

@media screen and (max-width:414px) {
    .text-link {
        font-size: 13px;
    }
}

.text-post {
    font-size: 19px;
}

@media screen and (max-width: 480px) {
    .text-post {
        font-size: 15px;
    }
}

@media screen and (max-width: 414px) {
    .text-post {
        font-size: 15px;
    }
}


/* modal */

.modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(7px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
}

.modal .modal-container {
    width: 800px;
    height: auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.2);
    transition: 0.5s ease 0.3s;
}

.modal .modal-container .modal-header {
    height: 20%;
    border-bottom: 1px solid #aaaaaa;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal .modal-container .modal-header h2 {
    font-size: 2.7rem;
    padding-left: 4%;
    color: #333;
}

.modal .modal-container .modal-header h2 span {
    font-size: 1.9rem;
    color: #333;
}

@media screen and (max-width: 580px) {
    .modal .modal-container .modal-header h2 {
        font-size: 1.7rem;
    }
    .modal .modal-container .modal-header h2 span {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 414px) {
    .modal .modal-container .modal-header h2 {
        font-size: 1.4rem;
    }
    .modal .modal-container .modal-header h2 span {
        font-size: 1.1rem;
    }
}

.modal .modal-container .modal-header button {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    margin-right: 15px;
    background: transparent;
    border: 2px solid #555;
    color: #333;
    font-size: 16px;
    cursor: pointer;
}

.showcss {
    display: block;
}

@media screen and (max-width: 414px) {
    .showcss {
        display: none;
    }
}

.modal .modal-container .modal-header button:hover {
    border: 2px solid #000;
    color: #000;
}

.modal .modal-container .modal-content {
    height: 80%;
    padding: 3% 5%;
}

.modal .modal-container .modal-content p {
    /* font-size: 17px; */
    line-height: 1.5;
    color: #444;
    margin: 0px 0px 10px;
}

@media screen and (max-width: 414px) {
    .modal-content p {
        font-size: 12px;
    }
}

.modal .modal-container .modal-content button {
    background-image: linear-gradient(-20deg, #6e45e2 0%, #88d3ce 85%);
    height: 2.5rem;
    width: 120px;
    color: #fff;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.hide {
    opacity: 0;
    visibility: hidden;
}

.modal .modal-container.hide {
    transform: scale(0);
    transform: translateX(-10%);
}


/*輪播*/

#wrap {
    background-color: #ddd;
    padding: 0;
}


/* #slider {
    width: 300px;
    margin: 0 auto 10px;
} */

.slide-item img {
    width: 100%;
}

.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
}

.aspect-ratio-none {
    padding-bottom: 0;
}

.aspect-ratio-square {
    padding-bottom: 100%;
}

.aspect-ratio-16\/9 {
    padding-bottom: 56.25%;
}

.aspect-ratio-4\/3 {
    padding-bottom: 75%;
}

.aspect-ratio-21\/9 {
    padding-bottom: 42.86%;
}