:root {
  --main-color: black;
}
body {
  font-family: '微軟正黑體',monospace;
  max-width: 100vw;
  overflow-x: hidden;
}

p {
  font-size: 1rem;
  line-height: 26px;
}
.navbar.active {
  background: rgba(0, 0, 0, 0.7);
}
.btn {
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  line-height: 45px;
  min-width: 8rem;
  max-width: 160px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  margin-bottom: 0;
}

.btn:hover {
  text-decoration: none;
  color:#fff!important;
}

.btn.btn-secondary.btn-more-work {
  font-size: 2rem!important;
  width: 20rem!important;
  max-width: 100%!important;
  background: #60c0bd;
}

.btn-2 {
  letter-spacing: 0;
  transition: all 280ms ease-in-out;
}

.btn-2:hover,
.btn-2:active {
  font-weight: 900;
  letter-spacing: 5px;
}

.btn-2:after,
.btn-2:before {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0);
  bottom: 0px;
  content: " ";
  display: block;
  margin: 0 auto;
  position: relative;
  transition: all 280ms ease-in-out;
  width: 0;
}

.btn-2:hover:after,
.btn-2:hover:before {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-color: #fff;
  transition: width 350ms ease-in-out;
  width: 80%;
}

.btn-2:hover:before {
  bottom: auto;
  top: 0;
  width: 80%;
}


.showreel-container {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: black;
}
#showreel {
  display: inline-block;
  vertical-align: baseline;
  background-size: cover;
  background-position: 50% 50%;
  position: absolute;
  margin: auto;
  width: 100%;
  height: 100%;
  right: -100%;
  bottom: -100%;
  top: -100%;
  left: -100%;
  object-fit: cover;
  /* z-index: -100; */
}
#title-container{
  position: absolute;
  left: 0%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  flex: 1;
  text-align: left;
}

#title-container .word-container{
  padding-bottom: 1.5rem;
  display: block;
  width: 85%;
  max-width: 1080px;
  margin: 0px auto;
  color: white;
  font-family: 'Noto Sans TC', sans-serif;
}
#title-container .word-container .heading-1 {
  margin-top: 4px;
  font-size: 1.5rem;
  font-weight: 700;
}
#title-container .word-container .heading-2 {
    font-family: 'Source Serif Pro', sans-serif;
    font-size: 4rem;
    line-height: .9;
    font-weight: 900;
}
#title-container .word-container .heading-3 {
    font-family: 'Source Serif Pro', sans-serif;
    font-size: 2rem;
    line-height: .9;
    font-weight: 900;
}
#title-container .word-container .heading-4 {
  font-family: "Source Serif Pro", sans-serif;
  font-size: 1.2rem;
  font-weight: 200;
}

.white-BG {
  background-color: rgb(19, 19, 19);
}
.white-BG.navbar .nav-item {
  color: gray;
}

.navbar {
  color: var(--main-color);
  transition: all 0.5s ease;
}

.navbar .navbar-brand {
  font-weight: 600;
  font-size: 2rem;
  color: var(--main-color);
}

.navbar .navbar-toggler-icon {
  color: white;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-item {
  color:white;
  padding-left: 5rem;
}

section {
  padding: 80px 0;
  width: 100%;
  overflow-y: hidden;
}

.section-header {
  color: white;
  text-align: center;
  margin-bottom: 40px;
}
.section-header .section-title {
  font-size: 7rem;
  font-weight: 900;
  font-family: 'Times New Roman', sans-serif;
  position: relative;
  /* text-align: start; */
  color: rgba(0, 0, 0, 0);
  -webkit-text-stroke-color: #3C373D;
  -webkit-text-stroke-width: 0.6px;
}
.section-header .section-title .text-to-move {
  width: 100%;
  text-align: center;
  white-space: nowrap;
  position: absolute;
  color: black;
  left: 10rem;
  padding-left: 0.5rem;
}
.section-header .section-subtitle {
  margin-top: 15px;
  font-size: 1.4rem;
  line-height: 2;
  font-weight: 400;
}
.section-header .lines {
  margin: auto;
  width: 70px;
  border-top: 2px solid var(--main-color);
  margin-top: 15px;
}

.item-boxes {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 0 15px;
  margin-bottom: 15px;
  transition: all .3s ease 0s;
  margin-bottom: 3rem;
}
.item-boxes .icon {
  width: 60px;
  height: 60px;
  text-align: center;
  border-radius: 30px;
  font-size: 26px;
  line-height: 60px;
  color: var(--main-color);
  transition: all .3s ease 0s;
  display: inline-block;
}
.item-boxes h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.item-boxes:hover .icon {
  background: var(--main-color);
}
.item-boxes:hover i {
  color: white;
}

#features {
  background: #000000;
  background-size: cover;
  overflow: hidden;
}
#features,
#features .section-title,
#features .section-subtitle {
  color: white;
}
#features .icon {
  border: 1px solid white;
  display: flex;
  justify-content: center;
}
#features .icon-container {
  width: 1.5rem;
  position: relative;
  top: -0.3rem;
}
#features .text {
  padding-left: 2rem;
  text-align: left;
  position: relative;
  top: 0.2rem;
}

#features .show-box img {
  position: absolute;
  vertical-align: middle;
  bottom: -120px;
}
#features .section-title {
  -webkit-text-stroke-color: white;
  color: rgba(0, 0, 0, 0)
}
#features .section-title  .text-to-move {
  color: white;
}

#works {
  background: #000000;
}
.work {
  display: block;
  position: relative;
  color: white;
}
.work:hover, .work:focus {
  color: white;
}
.work-title {
  width: 100%;
  position: absolute;
  font-size: 1.5rem;
  bottom: 3rem;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

#services {
  background: #000000;
  color: white;
}

#contact {
  background: #000000;
  color:white;
}
#contact .contact-us h3 {
  font-size: 36px;
  margin-bottom: 45px;
}
#contact .contact-us p {
  font-size: 14px;
  line-height: 26px;
}
#contact .form-control {
  background: white;
  border-radius: 0;
  font-size: 14px;
  margin-bottom: 10px;
  padding: 20px;
  transition: all 0.3s;
  color:black;
}
#contact .form-control:focus {
  border-color: var(--main-color);
  outline: none;
  box-shadow: none;
}
.btn-common {
  border: 1px solid var(--main-color);
  background: var(--main-color);
  color: white;
  border-radius: 30px;
  padding:11px 40px;
}

#clients {
  background: white;
  color:black;
}
#clients .section-header {
  color: black;
}
#clients .client-logo {
  display:flex;
  align-items: center;
  padding:2rem;
  border: 1px solid rgb(224, 224, 224);
  background: white;
  transition: all 0.2s ease-in-out;
  height: 100%;
  filter: grayscale(100%);
}
#clients .client-logo:hover {
  padding:1rem;
  filter: grayscale(0%);
}

#works {
  background: rgb(0, 0, 0);
  color:rgb(255, 255, 255);
}


.modal {
  background-color: rgba(0, 0, 0, .7)
}
.modal-content {
  background: black;
  color:white;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;left: 0;
  width: 100%;
  height: 100%;
}
footer {
  background: #60c0bd;
  color: white;
  padding: 0.2rem 0;
}
footer a {
  color: white;
}


#works-header {
  background: black;
}
#works-header .section-title {
  position: relative;
}
#works-header .outline {
  position: absolute;
  top: 0;
  width: 100%;
  -webkit-text-stroke-color: white;
  -webkit-text-stroke-width: 0.6px;
  padding-left: 1rem;
}
.works {
  display: flex;
  flex-wrap: wrap;
}
.works .work {
  flex: 1 1 50%;
  color: white;
  text-decoration: none;
  position: relative;
}
.works .work img {
  width: 100%;
  transition: all 0.2s ease-in-out;
}
.works .work .work-info {
  text-align: center;
  width: 100%;;
  position: absolute;
  bottom: 1rem;
  /* left: 1rem; */
  transition: all 0.2s ease-in-out;
}
.works .work:hover img {
  opacity: 0.5;
}
.works .work:hover .work-info {
  transform: scale(1.1);
}
.works .work.short {
  flex: 1 1 50%;
}

@media (max-width: 992px) {
  :root {
    font-size: 12px;
  }
  #navbarNavAltMarkup .navbar-nav {
    /* background-color: rgba(54, 54, 54, 0.7); */
    border-radius: 1rem;
    padding: 1rem 0;
    width: 15rem;
  }
  #navbarNavAltMarkup .nav-item {
    text-align: right;
    /* width: 100%; */
  }
  .section-header .section-title {
    font-size: 4rem;
  }
  #all-works .work {
    flex: 1 1 100%;
  }
  .work-title {
    bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 800;
  }
}

