#carouselExampleCaptions .carousel-item img {
  object-fit: contain;
  object-position: center;
  overflow: hidden;
  height: 100vh;
}

body {
  background-color: black;
}

.nav-link {
  color: white;
}

.nav-link:hover {
  color: darksalmon;
}

.nav-link:focus {
  color: darksalmon !important;
}


nav .nav-link {
  color: grey !;
}

nav .nav-link:hover {
  color: darksalmon !important;
}

h4.mb-3 {
  color: white;
}

h3 {
  color: white;
}

.text-decoration-none {
  font-size: 20px;
  color: aliceblue;
}

.text-decoration-none:hover {
  font-size: 20px;
  color: darksalmon !important;
}

.badge {
  background-color: brown;
}

.navbar-brand {
  position: absolute;
  top: -120px;
  text-decoration: none !important;
}

.navbar-toggler {
  color: white;
}

.svg {
  color: white !important;
}
.svg :hover{
  color: darksalmon;
}


.navbar {
  height: 200px;
  background-color: black !important;
}

#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;
}

/*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;
}

/* // `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;
  }
}
@media (max-width: 499.98px){
  .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;
  }