@import url('https://fonts.cdnfonts.com/css/futura-std-4');

:root {
  --rm-bg: #1D2533;
  --header-cyan: #00F5FF;
  --box-bg: rgba(255, 255, 255, 0.03);
  --box-bg2: rgba(255, 255, 255, 0.1);
  --arrow-len: 19px;
  --arrow-wid: 8.5px;
  --arrow-bar-len: 25px;
  --arrow-bar-wid: 4px;
  --futura-std: 'Futura Std';
  --noto-sans: 'Noto Sans TC';
}

body {
    font-family: var(--noto-sans), sans-serif;
    background-color: var(--rm-bg);
}

.sf-tech-bg.img {
    background-size: auto 100vw;
    background: top center no-repeat url(../imgs/mask-group-1.png) var(--rm-bg);
}
.sf-tech-bg nav.navbar {
    background: transparent;
}
.sf-tech-bg .bg-video {
    position: absolute;
    top: 0;
    width: 100vw;
    overflow: hidden;
}
.sf-tech-bg .bg-video > video {
    position: relative;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    z-index: 0;
}

nav.navbar {
    background:  #181a1c;
}

nav li.nav-item {
  font-family: var(--noto-sans);
  font-size: 21px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}


footer, footer.navbar {
  padding: 3rem 10rem 2.5rem;
  background-color: #181a1c;
  color: #e8e8e8;
}

.index-block h2 {
    text-align: center;
    padding-top: 3rem;
    margin: 2rem auto;
}

.ls05 {
    letter-spacing: 1.05px;
}
.header-color, .highlight-color {
    color: var(--header-cyan);
}

.block-header {
    position: relative;
    display: inline-block;
    letter-spacing: 5.6px;
    font-size: 28px;
}
.block-header:after {
    position: absolute;
    bottom: 0;
    right: -52px;
    content: ' ';
    display: inline-block;
    width: 42px;
    border-bottom: 4px solid var(--header-cyan);
}

/**
 * ***************************************
 * Index Page
 * ***************************************
 **
 */

.index-block-intro {
    position: relative;
    margin-top: 8rem;
    margin-bottom: 3rem;
    height: 826px;
}

.index-block-intro .more {
    position: absolute;
    left: 4rem;
    bottom: 0;
    font-size: 21px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transform: rotate(270deg);
    border-top: 9px solid #00f5ff;
    margin-bottom: 8rem;
}

.block1 {
    font-size: 65px;
    font-weight: bold;
}

.block3 {
    width: 60%;
    font-size: 30px;
    font-weight: 300;
    margin-left: auto;
    margin-right: auto;
}

.btn.reserve {
    font-size: 21px;
    font-weight: bold;
    padding: 17.7px 87.9px 17.7px 81.5px;
    border-radius: 10px;
    border: solid 1px #00f5ff;
    background-color: rgba(0, 245, 255, 0.32);
    color: #00f5ff;
}


.index-block-service, .about-block, .contact-block {
    background-color: var(--box-bg);
}

.index-block-service .service-item {
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    background-color: rgba(255, 255, 255, 0.19);

    border-radius: 27px;
    padding: 3rem 3rem;
    height: 100%;
}

.index-block-service .service-item p {
  font-size: 23px;
  font-weight: 300;
}

.index-block-service .container .col-6,
.index-block-service .container .col-12 {
    align-self: stretch;
}

.service-item > .item-order {
    position: absolute;
    top: 2.5rem;
    right: 3.8rem;
}

.next-proj {
    background-image: url(../imgs/index/mask-group-184.png);
    background-position: center;
    background-size: auto 100%;
    text-align: center;
    padding: 65px 0 105px;
}

.next-proj > h2 {
    /*font-family: var(--noto-sans);*/
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 2.75px;
    color: var(--header-cyan);
}

.next-proj > a {
    font-family: var(--noto-sans);
    color: white;
    background-color: var(--header-cyan);
    padding: 14px 80px;
    border-radius: 33px;
}

/**
 * Index: Service icons
 */
.service-item h3.icon:before {
    content: ' ';
    display: inline-block;
    width: 5rem;
    height: 5rem;
    margin-right: 1rem;
    vertical-align: middle;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../imgs/icon-destruction.svg);
}

.service-item h3.icon.destruction:before {
    background-image: url(../imgs/icon-destruction.svg);
}

.service-item h3.icon.equalizer:before {
    background-image: url(../imgs/icon-equalizer.svg);
}

.service-item h3.icon.autorenew:before {
    background-image: url(../imgs/icon-autorenew.svg);
}

.service-item h3.icon.arming_countdown:before {
    background-image: url(../imgs/icon-arming_countdown.svg);
}

/**
 * Projects
 */
p.project-abstract {
    font-size: 23px;
}

.project-item {
    position: relative;
}

.project-item .desc .row {
    margin-bottom: 1rem;
}

.project-item .item-align {
    position: relative;
}


.project-item .item-align .blur-plate {
    position: absolute;
    top: 2.3rem;
    border-radius: 9px;
    width: 20vw;
    padding: 27.6px 25.5px 39.4px 30.2px;
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    background-color: rgba(255, 255, 255, 0.04);
}

.project-item .blur-plate h5 {
  font-size: 20px;
  font-weight: bold;
  color: #00f5ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.37);
  padding-bottom: 1rem;
}

.project-item .blur-plate ul {
    padding-left: .7rem;
}

.project-item .blur-plate li {
    list-style: '- ';
}

/* reverse for odd/even rows */
.project-item .item-align img {
    float: right;
}

.project-item:nth-of-type(2n-1) .item-align .blur-plate {
    left: 0;
}

.project-item:nth-of-type(2n+1) {
    flex-direction: row-reverse;
}
.project-item:nth-of-type(2n) .item-align img {
    float: left;
}
.project-item:nth-of-type(2n) .item-align .blur-plate {
    right: 0;
}


/**
 * ***************************************
 * About Page
 * ***************************************
 **
 */
.orange-globe {
  width: 325.3px;
  height: 313.5px;
  mix-blend-mode: lighten;
  background-image: radial-gradient(circle at 54% 51%, #ffb533, #ff6712 9%, #c45212 17%, #924013 24%, #693214 32%, #4a2714 39%, #331f14 46%, #251a14 52%, #211915 58%);
}

.about-svg {
    position: absolute;
    width: auto;
    height: 32rem;
    top: -2rem;
    right: 0rem;
}

.about-block-intro {
    position: relative;
    background: var(--box-bg);
    margin-bottom: 4rem;
    margin-top: 3rem;
}

.about-block-intro > .col {
    position: relative;
    min-height: 26rem;
}

.about-desc {
    flex: 0 0 auto;
    padding-top: 3rem;
    width: 60%;
}

.history-block {
    background: var(--box-bg);
    padding: 2rem;
}

.history-item {
    margin-bottom: 1rem;
}

.history-item .icon {
    height: 29px;
    margin-top: 1rem;
}

.row:last-child > .history-item .box:after {
    display: none;
}

.history-item .box:after {
    position: absolute;
    content: ' ';
    display: inline-block;
    bottom: -21px;
    left: 14.5px;
    width: 1px;
    height: calc(100% - 36px);
    border-left: 1px solid white;
}

.row > .history-item > .box {
    position: relative;
    display: flex;
}

.history-item > .box > * {
    margin-right: 20px;
}

.history-item ul {
    padding-left: 0;
    width: 75%;
    max-width: 70vw;
    margin-right: 0!important;
    margin-bottom: 0;
    background-color: var(--box-bg2);
    border-radius: 5px;
}

.history-item ul > li {
    list-style: none;
    line-height: 52px;
    padding: 0 2rem;
}

.history-item.slash-list ul {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.history-item.slash-list ul > li {
    list-style: '/';
    padding-left: 1rem;
    margin-left: 2.7rem;
    line-height: 2.8rem;
}

.history-item .dim-dash {
    opacity: 0.3;
    line-height: 52px;
    white-space: nowrap;
}

.history-item .year {
    font-family: var(--futura-std), sans-serif;
    font-size: 52px;
    font-weight: 300;
    font-stretch: condensed;
    font-style: oblique;
    line-height: normal;
    letter-spacing: 2.6px;
    margin-bottom: 0;
    color: var(--header-cyan);
}

/**
 * ***************************************
 * Contact Page
 * ***************************************
 **
 */

.contact-block p.desc {
    font-size: 18px;
}

.service-workflow h1.order {
    font-family: var(--futura-std), sans-serif;
    font-size: 117px;
    font-weight: 500;
    font-style: oblique;
    letter-spacing: 5.85px;
    color: #00f5ff;
}

.service-workflow h1.icon {
    position: relative;
}
.service-workflow h1.icon:after {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    content: ' ';
    width: 8rem;
    height: 8rem;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 3.8rem;
    background-image: url(../imgs/contact/check-list.svg);
}

.service-workflow h1.icon.checklist:after {
    background-image: url(../imgs/contact/check-list.svg);
}
.service-workflow h1.icon.planning:after {
    background-image: url(../imgs/contact/planning.svg);
}
.service-workflow h1.icon.dialog:after {
    background-image: url(../imgs/contact/dialog.svg);
}
.service-workflow h1.icon.designux:after {
    background-image: url(../imgs/contact/designux.svg);
}
.service-workflow h1.icon.disks:after {
    background-image: url(../imgs/contact/disks.svg);
}
.service-workflow h1.icon.box:after {
    background-image: url(../imgs/contact/box.svg);
}
.service-workflow h1.icon.maintain:after {
    background-image: url(../imgs/contact/maintain.svg);
}


.service-workflow:nth-of-type(2n) {
    flex-direction: row-reverse;
}

.contact-item {
    position: relative;
    padding: 0 1.7rem 5rem;
    align-self: stretch;
}
.contact-item:first-child {
    padding-left: 0;
}
.contact-item:last-child {
    padding-right: 0;
}
.service-workflow:nth-of-type(2n) .contact-item:first-child {
    padding-right: 0;
    padding-left: 1.7rem;
}
.service-workflow:nth-of-type(2n) .contact-item:last-child {
    padding-left: 0;
    padding-right: 1.7rem;
}

.contact-item.arrow:after,.contact-item.arrow:before {
    position: absolute;
    content: ' ';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: var(--arrow-len);
    border-top-width: var(--arrow-wid);
    border-bottom-width: var(--arrow-wid);
}
.contact-item.arrow:before {
    border: none !important;
    background-color: var(--header-cyan);
}
.contact-item.arrow.right:after {
    top: calc(50% - 2.9rem);
    right: -2.6rem;
    border-color: transparent;
    border-left-color: var(--header-cyan);
}
.contact-item.arrow.right:before {
    top: calc(50% - 2.5rem);
    height: var(--arrow-bar-wid);
    width: var(--arrow-bar-len);
    right: -0.3rem;
}
.contact-item.arrow.left:after {
    top: calc(50% - 2.9rem);
    left: -2.6rem;
    border-color: transparent;
    border-right-color: var(--header-cyan);
}
.contact-item.arrow.left:before {
    top: calc(50% - 2.5rem);
    height: var(--arrow-bar-wid);
    width: var(--arrow-bar-len);
    left: -0.3rem;
}
.contact-item.arrow.down:after {
    left: calc(50% - 0.4rem);
    bottom: -0.3rem;
    border-width: var(--arrow-wid);
    border-top-width: var(--arrow-len);
    border-bottom-width: var(--arrow-len);
    border-color: transparent;
    border-top-color: var(--header-cyan);
}
.contact-item.arrow.down:before {
    left: calc(50%);
    width: var(--arrow-bar-wid);
    height: var(--arrow-bar-len);
    bottom: 2rem;
}

.contact-item > .box {
    height: 100%;
    background: var(--box-bg);
    border-radius: 3px;
    padding: 1rem;
}