
.cookies-content{
    position:fixed;
    z-index: 99;
    /* overflow: hidden; */
    box-shadow: 0 .625em 1.875em rgba(0, 0, 2, .3);
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    background-color: #bbb;
    display: flex;
    justify-content: center;
}
.cookies-cantainer{
    padding: 24px;
    display: flex;
    align-items: center;
}
.cookies-p{
    font-size: 16px;
    line-height: 24px;
    color: #363636;
    margin-right: 8px;
    text-align: justify;
}
.cookies-but{
    width: 10%;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #8a8a8a;
    font-size: 16px;
    color:#363636;
}
.cookies-but:hover{
background-color: #808080;
color: #fff;
}
 /* 隱藏動畫的初始設定 */
 .slide-out {
    animation: slideOut 0.5s ease forwards;
}
/* 定義 active 樣式 */
.cookies-but.active {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(0.98); /* 按下時稍微縮小效果 */
}


/* 由上往下淡出的動畫 */
@keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}
@media screen and (max-width:1025px){
    .cookies-p {
        margin-right: 16px;
    }
    .cookies-but{
        width: 20%;
    }
}
@media screen and (max-width:745px){
    .cookies-but{
        width: 45%;
    }
    .cookies-cantainer{
        padding: 16px;
    }
}
@media screen and (max-width:540px){
    .cookies-p{
        margin-right: 0px;
        margin-bottom: 8px;
    }
    .cookies-cantainer{
        flex-direction: column;
    }
    .cookies-but{
        width: 100%;
    }
}