@charset "UTF-8";
button:focus, button:active {
  outline: none !important;
}

img {
  max-width: 100%;
}

body {
  font-family: "微軟正黑體";
  background-image: url(../images/snow.png);
}

.navbar {
  background: #ffb53c;
  box-shadow: 1px 1px 10px #CCC !important;
  width: 100%;
}

.logo {
  max-width: 100%;
  height: 70px !important;
}

.navbar a {
  color: #FFF;
  font-size: 1.05rem;
  letter-spacing: 1px;
  padding: 0px 12px !important;
}

.navbar a:hover {
  color: #642a02;
}

.navbar span {
  font-size: 2rem;
  color: #FFF;
}

.dropdown:hover .dropdown-menu {
  /*下拉選單*/
  display: block;
}

.worksbox {
  height: auto;
  margin-top: 100px;
  padding-bottom: 100px;
}

.works-div a:hover {
  text-decoration: none;
}

.works-div {
  margin-bottom: 20px;
}

.works-box {
  box-shadow: 1px 1px 5px #EEE;
  background-color: #f6f6f6;
  border: 1px solid #EEE !important;
}

.card-img-box {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: 80%;
  /*75% 4:3*/
}

.card-img-box img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  margin: auto;
  vertical-align: middle;
  border-radius: 0px !important;
  transition: all 0.5s;
}

.card-img-box img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.card-text {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #555;
  text-align: center;
}

.copy {
  background: #ffb53c;
  height: auto;
  line-height: 50px;
  text-align: center;
  color: #FFF;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

@media screen and (max-width: 767px) {
  .navbar-collapse {
    text-align: center;
  }

  .navbar-nav li {
    padding: 10px 0px !important;
    border: 1px solid #FFF;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}