* {
    box-sizing: border-box;
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: darksalmon;
}

.nav-link:focus {
    color: darksalmon !important;
}


nav .nav-link {
    color: gray;
}

nav .nav-link:hover {
    color: darksalmon !important;
}

#sidebar {
    width: 20%;
    padding: 10px;
    margin: 0;
    float: left;
}

#products {
    width: 80%;
    padding: 10px;
    margin: 0;
    float: right;
}

ul {
    list-style: none;
    padding: 5px;
}

li a {
    color: aliceblue;
    text-decoration: none;

}

li a span {
    font-weight: bold;
}

li a:hover {
    text-decoration: none;
    color: darksalmon;
}

.fa-circle {
    font-size: 20px;
}


.card {
    width: 350px !important;
    display: inline-block;
    height: 300px;
}

.card-img-top {
    width: 349px !important;
    height: 210px;
}

.card-body p {
    margin: 2px;
}

.card-body {
    padding: 0;
    padding-left: 2px;
}

.filter {
    display: none;
    padding: 0;
    margin: 0;
}

@media(max-width:991.98px) {
    .navbar-nav {
        margin-left: 35%;
    }

    .nav-item {
        padding-left: 20px;
    }

    .card {
        width: 250px !important;
        display: inline-block;
        height: 300px;
    }

    .card-img-top {
        width: 250px !important;
        height: 210px;
    }

    #mobile-filter {
        display: none;
    }

}

/* // `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    #cart-button {
        position: absolute;
        right: 80px;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .member {
        position: absolute;
        right: 160px;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .fblogo {
        position: absolute;
        left:100px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .ytlogo {
        position: absolute;
        left: 200px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .linelogo {
        position: absolute;
        left: 300px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .iglogo {
        position: absolute;
        left: 400px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }
}

/* // `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    #cart-button {
        position: absolute;
        right: 0px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .member {
        position: absolute;
        right: 80px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .fblogo {
        position: absolute;
        left: 100px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .ytlogo {
        position: absolute;
        left: 200px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .linelogo {
        position: absolute;
        left: 300px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .iglogo {
        position: absolute;
        left: 400px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }
}


/* // `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    #cart-button {
        position: absolute;
        right: 80px;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .member {
        position: absolute;
        right: 160px;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .fblogo {
        position: absolute;
        left: 170px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .ytlogo {
        position: absolute;
        left: 270px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .linelogo {
        position: absolute;
        left: 400px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }

    .iglogo {
        position: absolute;
        left: 500px !important;
        list-style: none;
        background-color: transparent !important;
        border-style: none !important;
    }
}


body {
    background-color: black;
    height: 1000px;
}

.nav-link {
    color: white;
}

nav .nav-link {
    color: gray;
}

h4.mb-3 {
    color: white;
}

h3 {
    color: white;
}

h6 {
    color: white;
    font-weight: bold;
}

.text-decoration-none {
    font-size: 20px;
    color: aliceblue;
}

.text-decoration-none:hover {
    font-size: 20px;
    color: cadetblue !important;
}

.badge {
    background-color: brown;
}


.navbar-brand {
    position: absolute;
    top: -120px;
    text-decoration: none !important
}

.navbar {
    height: 200px;
    background-color: black !important;
}

.navbar-toggler {
    color: white;
}

.svg {
    color: white !important;
}
.svg :hover{
    color: darksalmon;
  }

  #cart-button {
    position: absolute;
    right: 80px;
    list-style: none;
    background-color: transparent !important;
    border-style: none !important;
}

.member {
    position: absolute;
    right: 160px;
    list-style: none;
    background-color: transparent !important;
    border-style: none !important;
}

.fblogo {
    position: absolute;
    top: 50px;
    left: 450px;
    list-style: none;
    background-color: transparent !important;
    border-style: none !important;
}

.ytlogo {
    position: absolute;
    top: 50px;
    left: 516px;
    list-style: none;
    background-color: transparent !important;
    border-style: none !important;
}

.linelogo {
    position: absolute;
    top: 50px;
    left: 582px;
    list-style: none;
    background-color: transparent !important;
    border-style: none !important;
}

.iglogo {
    position: absolute;
    top: 50px;
    left: 650px;
    list-style: none;
    background-color: transparent !important;
    border-style: none !important;
}

.title2 {
    color: white;
}

.pagination>li>a:focus,
.pagination>li>a:hover {
    color: darksalmon;
    background-color: #eee;
    border-color: #ddd;
}

.pagination>li>a {
    background-color: white;
    color: black;
}

/*a這邊先預留 a:hover會產生的空間顏色設定透明*/
a {
    border-bottom: 3px solid transparent;
}

/*hover後加上要顯示的顏色即可*/
a:hover {
    border-bottom: 1px solid;
}

.offcanvas-body a {
    border-bottom: 3px solid transparent;
}

.offcanvas-body a:hover {
    border-bottom: 1px solid;
    color: coral;
}

.offcanvas-body a {
    color: darksalmon;
}

.offcanvas-body p {
    color: darksalmon;
}

.dropdown-menu p {
    color: darksalmon !important;
}

.dropdown-item {
    color: darksalmon;
}

.dropdown-item:hover {
    color: coral;
}

.dropdown-menua a {
    border-bottom: 3px solid transparent;
}

.dropdown-menua a:hover {
    border-bottom: 1px solid;
    color: coral;
}
img {
    vertical-align: top;
    display: block;
}
.card img {
    transform: scale(1, 1);
    transition: all 0.5s ease-out;
}

.card img:hover {
    transform: scale(1.1, 1.1);
}
.card-title a{
    color: rgb(52, 49, 49) !important;
    text-decoration: none;
}
.card-title a:hover{
    color: darksalmon !important;
}
@media (max-width: 499.98px){
#sidebar{
    display: none;
}
.fblogo{
    display: none;
}
.ytlogo{
    display: none;
}
.iglogo{
    display: none;
}
.linelogo{
    display: none;
}
}
.gcse-search{
    color: black;
  }

  #cart-button {
    position: fixed;
    cursor: pointer;
    background-color: transparent;
    border: none;
    position: absolute;
    top: -22px;
  }

  #cart {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
  }

  #cart h2 {
    text-align: center;
    cursor: pointer;
    margin: 0;
    padding: 10px;
    background-color: #333;
    color: #fff;
  }

  #cart-content {
    padding: 20px;
  }

  #cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  button {
    cursor: pointer;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
  }
  #announcement a{
    text-decoration: none;
  }
  #announcement a{
    color: black;
  }
  #announcement a:hover{
    color: darksalmon;
  }