:root {
  --navBgColor: #fddf9f;
  --opacitynavBgColor: #ffe6c9;
  --navTextColor: rgba(0, 0, 0, 1);
  --navhoverColor: #ff7704;
  --highLightColor: #ff7704;
  --hoverColor: rgba(255, 255, 255, 1);
  --darkColor: #ff7704;
  --titleColor: #625342;
  --mainFontColor: rgb(57, 57, 57);
  --opacityFontColor: rgba(30, 30, 30, 0.5);
  --mainBorder: 1.5px solid var(--opacityFontColor);
}

article>h3::before {
  display: none;
}

article>h3::after {
  display: none;
}

/* Banner 上方 */
#logo {
  position: initial;
  float: inherit;
  margin: auto;
  display: none;
}

#logo2 {
  /* position: initial; */
  float: inherit;
  margin: auto;
  top: -30px;
}

#logo2 img {
  height: 80px;
  width: auto;
}

.navbar-center {
  display: inline-block;
  float: none;
  vertical-align: top;
}


.navbar-collapse-center {
  text-align: center;
}

/* Banner 上方END */

.navbar {
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

#nav-icon span {
  background: var(--darkColor);
}



#home,
#myCarousel {

  margin-top: 88px;
}

.mainBg {
  background: url(../img/bg.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

body:before {
  content: '';
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url(../img/bg.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding-bottom: 20%;
}

.section:nth-child(odd) {
  background-color: #fddf9f;
}

.aboutText h6 {
  font-size: 22px;
  font-weight: 700;
}

.aboutText {
  width: 45%;
}

.aboutText p {
  font-size: 16px;
  text-align: justify;
}

.item2 {
  width: 33.33%;
}

.roomTypeArea .item2 {
  width: 50%;
}

#product p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 18px;
  letter-spacing: 1px;
}

#product a {
  overflow: hidden;
}

#product img {
  height: 250px;
  object-fit: cover;
}

#product h4 {
  padding: 10px 15px;
  font-weight: 700;
}

#picture article {
  width: 100%;
}

.picArea {
  display: flex;
  flex-wrap: wrap;
}

.picArea a {
  width: 25%;
  overflow: hidden;
}

.picArea a .mask {
  background-color: black;
  width: 100%;
  height: 100%;
}

.picArea a img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: 0.5s;

}

.picArea a img:hover {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transform: scale(1.1);
  opacity: 1.5;
}

.roomItem img {
  border: 6px double;
  border-radius: 3em;
  height: 350px;
  object-fit: cover;
}

#news a {
  overflow: hidden;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.462);
}



#news img {
  height: 230px;
  object-fit: cover;
}

#news img:hover {
  transition: 0.5s;
  transform: scale(1.05);
}

.mainMask {
  background-color: rgba(0, 0, 0, 0);
}

.videoArea {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.videoArea .videoItem {
  width: 48%;
  margin-bottom: 30px;
}

.videoItem iframe {
  width: 100%;
}

#sns ul li {
  filter: brightness(0);
}

#copyright {
  color: rgb(68, 68, 68);
  background-color: #ff7704;
}

.container-fluid>.navbar-collapse {
  margin-right: 0;
  margin-left: 0;
  margin-top: 2rem;
}


/* 響應式選單*/
@media (max-width:1200px) {
  #logo {
    width: 50%;
  }

  .navbar-brand>img {
    margin: auto;
  }



  .navbar>.container-fluid .navbar-brand {
    margin-left: 0;
  }

  .navbar-nav {
    text-align: center;
  }

  /* .navbar-nav>li>a {
    padding-left: 11em;
  } */

  .navbar .container-fluid {
    background-color: var(--navBgColor);
  }

  .navbar-header {
    float: none;

  }

  .navbar-right {
    margin-right: 0;
  }

  .navbar-left,
  .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }

  .navbar-collapse.collapse {
    display: none !important;
    padding-bottom: 20px;
  }

  .navbar-nav {
    float: none !important;
    /* margin: auto; */
    margin-top: 0px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
  }

  .navbar-nav>li {
    float: none;
  }

  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;

  }

  .collapse.in {
    display: block !important;
  }
}



/*響應式調整*/


@media screen and (max-width:1200px) {

  #logo {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 100;
    top: -10px;
    left: -10px;
  }

  #logo .pic {
    width: 20%;
  }


  #logo .navbar-right,
  .navbar-left {
    margin: 0em;
  }

  .navbar {
    height: 88px;
  }


  #logo2 {
    display: none;
  }


}

@media screen and (max-width:1024px) {
  #logo .pic {
    width: 9%;
  }
}

@media screen and (max-width:991px) {
  #logo {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 10;
    top: -5px;
    left: -10px;
  }

  #logo .pic {
    width: 11%;
  }
}

@media screen and (max-width:770px) {
  .aboutText {
    width: 90%;
  }

  .container-fluid>.navbar-collapse {
    margin-top: 8rem;
  }

  #traffic article {
    padding-bottom: 0px;
  }

  .item2 {
    width: 48%;
  }

  .roomTypeArea .item2 {
    width: 90%;
  }
}

@media screen and (max-width:576px) {

  .aboutText h6 {
    font-size: 18px;
  }

  #product p {
    font-size: 16px;
  }

  #product h4 {
    text-align: center;
  }

  .videoArea .videoItem {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 50px;
  }


  .picArea a {
    width: 50%;
  }

  .item2 {
    width: 90%;
  }

  .picArea a img {
    height: 200px;
  }
}

@media screen and (max-width:415px) {
  #logo {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 10;
    top: 0px;
    left: 0px;
  }

  #logo .pic {
    width: 20%;
  }


  .navbar-header h1 {
    z-index: 10;
  }

  #logo2 img {

    margin-top: -3rem;
  }

  #logo2 {
    z-index: 10;
  }

}

body {
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 770px) {
  #nav-icon {
    margin-right: 15px;
    position: absolute;
    right: 1rem;
    z-index: 100;
  }
}