@import './normalize.css';
@import './variables.css';
@import './header.css';
@import './kv.css';
@import './preface.css';
@import './video.css';
@import './programs.css';
@import './events.css';
@import './cta.css';
@import './footer.css';
@import './popup.css';

/* Global Config */
ul, li, p, h1, h2, h3, h4, h5, h6, a {
  padding: 0;
  margin: 0;
  list-style-type: none;
  text-decoration: none;
}
a:link, a:visited {
  color: var(--lightGray);
}
a:hover {
  color: var(--darkGray);
}
* {
  box-sizing: border-box;
}
html {
  font-family: 'Noto Sans TC', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
.section {
  position: relative;
  width: 100vw;
}
.container {
  width: 950px;
  margin: 0 auto;
}
.rwd-show {
  display: none;
}
.initial-hidden {
  display: none;
}

/* Color Class */
.colorRed_1 {
  color: var(--red_1);
}
.colorRed_2 {
  color: var(--red_2);
}
.colorRed_3 {
  color: var(--red_3);
}
.colorRed_4 {
  color: var(--red_4);
}
.colorDark {
  color: var(--dark);
}
.colorGray {
  color: var(--gray);
}
.bgGray_1 {
  background-color: var(--darkGray);
}
.bgGray_2 {
  background-color: var(--lightGray);
}
.bgGray_3 {
  background-color: var(--dark);
}
.bgRed_1 {
  background-color: var(--red_1);
}
.bgRed_2 {
  background-color: var(--red_2);
}
.bgRed_3 {
  background-color: var(--red_3);
}
.bgRed_4 {
  background-color: var(--red_4);
}
.bgDark {
  background-color: var(--dark);
}

/* Dots */
.dots {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  margin-right: 5px;
  margin-bottom: 5px;
  border: none;
}

/* Icon */
.search-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('https://img.icons8.com/material/24/000000/search--v3.png') no-repeat no-repeat center;
  background-size: contain;
  border: none;
}


/* 裝飾球 */
.colorDot {
  width: 200px;
  height: 200px;
  border-radius: 100px;
}
.colorDot_1 {
  position: absolute;
  left: -100px;
  top: 700px;
}
.colorDot_2 {
  position: absolute;
  right: -100px;
  top: 0px;
}
.colorDot_3 {
  position: absolute;
  right: -100px;
  top: 250px;
}
.colorDot_4 {
  position: absolute;
  left: -100px;
  top: 1400px;
}
.colorDot_5 {
  position: absolute;
  left: -100px;
}

/* 分隔線 */
.hr {
  width: 100%;
  height: 1px;
  background-color: var(--lightGray);
  margin: 80px 0;
}

/* 日期斜線 */
.date-slash {
  font-size: 0.8rem;
}

/* 標題 */
.title-main {
  font-size: 2.8rem;
  font-weight: 100;
  letter-spacing: 5px;
  margin-bottom: 20px;
  color: var(--lightGray);
}
.title-category {
  font-size: 1.4rem;
  letter-spacing: 2px;
  width: 100%;
  margin-bottom: 10px;
  color: var(--darkGray);
}
.title-event {
  font-size: 1.1rem;
  color: var(--darkGray);
}

/* Global Logo */
.NTT-logo {
  display: inline-block;
  background: url('../assets/NTT-2021TIFA_logo.png') no-repeat no-repeat center;
  width: 60px;
  height: 30px;
  background-size: contain;
  vertical-align: middle;
}

/* Copyright */
.copyright {
  padding: 30px 0;
  font-size: 1rem;
  text-align: center;
  color: var(--darkGray);
}

/* Animations */
@keyframes arrowSlide {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RWD */
@media screen and (max-width: 1100px) {
  .hr {
    margin: 50px 0;
  }
  .container {
    width: 80%;
  }
  .rwd-show {
    display: block;
  }
}
@media screen and (max-width: 992px) {
  .title-main {
    text-align: center;
  }
}
@media screen and (max-width: 768px) {
  .hr {
    margin: 30px 0;
  }
  .container {
    width: 90%;
  }
}