@font-face {
  font-family: "Noto Sans";
  src: url(../fonts/NotoSans-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans";
  src: url(../fonts/NotoSans-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: "Noto Sans";
  src: url(../fonts/NotoSans-SemiBold.ttf);
  font-weight: 600;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url(../fonts/NotoSansTC-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url(../fonts/NotoSansTC-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url(../fonts/NotoSansTC-SemiBold.ttf);
  font-weight: 600;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url(../fonts/NotoSansSC-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url(../fonts/NotoSansSC-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url(../fonts/NotoSansSC-SemiBold.ttf);
  font-weight: 600;
}

:root {
  --color-purple-8: #fbf8ff;
  --color-purple-4: #87469c;
  --natural-black: #383838;
  --natural-gray: #d9d9d9;
  --blue-2: #67729d;
  --purple-dark: #6009bc;
}

/* Webkit browsers (Chrome, Safari, newer versions of Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--natural-black);
}

a {
  text-decoration: none;
  color: var(--natural-black);
}

/* header styles */
header {
  font-size: 16px;
  box-shadow: 12px 0px 24px 0px rgba(45, 45, 45, 0.1);
}

.hide {
  display: none !important;
}

.h-l {
  padding: 20px 30px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.h-l img {
  height: 50px;
}

.h-l > img {
  margin-right: 24px;
}

.h-l > div > img:first-child {
  margin-right: 24px;
}

.h-r {
  background: #fafafb;
  display: flex;
  justify-content: flex-end;
  padding: 16px 30px;
}

.h-r nav a img {
  display: none;
}

.h-r .active {
  color: var(--purple-dark);
  font-weight: 700;
  cursor: default;
}

.h-r .lang {
  display: inline-block;
  padding-left: 16px;
  border-left: 2px solid var(--natural-gray);
}

.h-r .lang .options {
  display: inline;
}

.options a {
  cursor: pointer;
}

.h-r .lang a:last-child {
  margin-right: 0;
}

.h-r a:hover {
  text-shadow: 0px 0px 10px rgba(45, 45, 45, 0.2);
}

#play-icon {
  width: 16px;
  height: auto;
  margin-left: 3px;
}

.toggle-menu {
  display: none;
}

.toggle-menu img {
  width: 24px;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.rotate-in {
  transform: rotate(0deg);
}

.rotate-out {
  transform: rotate(180deg);
}

.h-r nav > a,
.h-r nav > div {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
}

.lang a {
  margin-right: 20px;
}

img#women-comission-logo {
  margin-right: 15px;
}

img#home-and-youth-logo {
  margin-right: 15px;
}

#toggle-dropdown {
  display: flex;
  align-items: center;
  color: var(--natural-black);
  cursor: default;
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

/* Dropdown container */
#nav-participate-h {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}

/* Dropdown content (hidden by default) */
#nav-participate-h .dropdown-content {
  display: none;
  position: absolute;
  top: 20px;
  background-color: #f9f9f9;
  /* min-width: 160px; */
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding-top: 3px;
  border-top: 2px solid var(--natural-black);
}

/* Links inside the dropdown */
#nav-participate-h .dropdown-content a {
  /* min-width: max-content; */
  width: 100%;
  padding: 12px;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

/* Change color of dropdown links on hover */
#nav-participate-h .dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
@media (min-width: 1000px) {
  #nav-participate-h:hover .dropdown-content {
    display: block;
  }

  #nav-participate-h:hover .dropdown-icon {
    transform: rotate(180deg);
  }
}

.slogan img {
  max-width: 580px;
  width: 100%;
}

.slogan {
  text-align: center;
  margin-bottom: 20px;
}

.slogan > div {
  padding: 30px 0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1300px) {
  header {
    font-size: 15px;
  }
}

@media (max-width: 1250px) {
  header {
    display: block;
    padding: 0;
    background-color: #fff;

    box-shadow: none;
  }
}

@media (max-width: 1000px) {
  .flex-animation {
    display: flex !important;
    animation: slideIn 0.5s ease-out;
    background-image: url(../img/bg.png);
  }

  .h-r {
    flex-direction: column-reverse;
    padding: 0;
  }

  .h-r nav {
    display: none;
    flex-direction: column;
    padding: 10px 30px;
    background: #fff;
  }

  .h-r .lang {
    border: none;
    font-size: 18px;
  }

  .h-r nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid var(--natural-gray);
    width: 100% !important;
  }

  .h-r nav > div {
    border-bottom: 1px solid var(--natural-gray);
    margin-right: 0;
  }

  .h-r nav > div {
    padding: 15px 0;
  }

  #nav-participate-h .dropdown-content {
    width: 100%;
  }

  /* .h-r nav a img {
          display: block;
          width: 20px;
          height: auto;
        } */

  .h-r nav a:last-child {
    border: none;
  }

  .h-r .lang a:first-child {
    margin-left: 0;
  }

  .h-r .lang a:hover {
    text-shadow: none;
  }

  .toggle-group {
    display: flex;
    justify-content: flex-end;
    padding: 16px 30px;
  }

  .toggle-menu {
    display: flex;
    align-items: center;
    margin-left: 24px;
  }

  .toggle-menu > img {
    cursor: pointer;
  }

  #nav-participate-h {
    display: block;
  }

  #nav-participate-h .dropdown-content.show {
    display: block !important;
  }

  #nav-participate-h .dropdown-content {
    position: static;
    border: none;
    box-shadow: none;
    background-color: #fff;
  }

  #nav-participate-h .dropdown-content a {
    border: none;
    padding: 15px 0 0 15px;
  }

  #toggle-dropdown {
    justify-content: space-between;
    cursor: pointer;
  }

  #nav-participate-h .dropdown-content a:hover {
    background-color: unset;
  }

  .rotate {
    transform: rotate(180deg);
  }
}

@media (max-width: 920px) {
  .h-l {
    padding: 20px 20px 16px;
  }
}

@media (max-width: 800px) {
  .h-l {
    display: block;
  }

  .h-l > div {
    margin-top: 15px;
  }

  .h-r nav {
    padding: 10px 20px;
  }

  .h-l img {
    height: 40px;
  }
}

@media (max-width: 600px) {
  .h-l img {
    height: 30px;
  }
}

/* content styles */
.theme-bg-color {
  background: linear-gradient(90deg, #e0dffe 14.58%, #efe0fd 85.57%);
}

.theme {
  position: relative;
  background-image: url(../img/banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  padding-bottom: 20vw;
}

.theme-box {
  max-width: 960px;
  margin: auto;
  padding: 40px 30px;
}
.theme-box.bottomDetail {
  max-width: 1200px;
}

.video-box {
  max-width: 1040px;
  padding: 0 20px;
  margin: auto;
}

video {
  width: 100%;
}

.theme-box > picture > img {
  width: 100%;
  display: block;
}

.theme-box > div {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.theme-box a {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  background-color: #faf8ff;
  padding: 8px 10px;
  border-radius: 15px;
}

.theme-box a:first-child {
  color: var(--purple-1);
}

.theme-box a:last-child {
  color: var(--pink-default);
}

.theme-box a img {
  height: 24px;
  margin-right: 10px;
}

.banner {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.content {
  padding: 20px 30px 20px;
  max-width: 1400px;
  margin: auto;
}

.theme-box.bottomDetail {
  padding-top: 0;
}

h1 {
  font-size: 32px;
  background: linear-gradient(90deg, #8f4fd8 0%, #a050cd 15%, #ff5995 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

h2 {
  font-size: 24px;
  color: var(--color-purple-4);
}

.info-box {
  background-color: var(--color-purple-8);
  border-radius: 16px;
  margin-top: 40px;
  padding: 20px 40px 40px;
  font-size: 18px;
}

.i-row {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--natural-gray);
}

.i-row:last-child {
  border: none;
}

.icon {
  height: 16px;
  width: auto;
  margin-right: 10px;
}

.col-left > div {
  font-weight: 700;
  display: flex;
  align-items: center;
  width: 200px;
}

.col-right {
  width: calc(100% - 200px);
  line-height: 1.5em;
  color: var(--natural-black);
}

.Co-organiser .col-right img {
  height: 40px;
  display: block;
  margin: 5px 0 20px;
}

hr {
  margin: 40px 0 20px;
  border-top: 1px solid var(--natural-gray);
}

ol {
  padding: 0 20px;
  margin: 0;
  line-height: 1.5em;
}

#closeSubMenu {
  display: none;
}

@media (max-width: 1440px) {
}

@media (max-width: 1250px) {
  .theme-box a {
    font-size: 17px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .info-box {
    font-size: 16px;
  }
}

@media (max-width: 920px) {
  .theme-box > div {
    flex-direction: column;
    align-items: center;
  }

  .theme-box a:first-child {
    margin-bottom: 10px;
  }

  .theme-box a {
    margin-bottom: 10px;
  }

  .content {
    padding: 20px 20px 60px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .theme {
    background-image: url(../img/mobile-banner.jpg);
    background-size: cover;
    padding-bottom: 43vw;
  }

  .theme-box {
    padding: 30px 20px 20px;
  }

  .theme-box a {
    width: 320px;
    /* text-align: center; */
  }

  .content {
    padding: 10px 15px 40px;
  }

  .info-box {
    margin-top: 20px;
    padding: 15px;
  }

  .i-row {
    flex-direction: column;
    padding: 15px 0;
  }

  .col-left,
  .col-right {
    width: 100%;
  }

  .col-right {
    margin-top: 8px;
  }
}

/* footer styles */
#scrollToTopBtn {
  display: none;
  align-items: center;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--purple-dark);
  color: white;
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 600;
}

#scrollToTopBtn:hover {
  opacity: 0.9;
}

.f-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 10px;
  background-color: var(--color-purple-8);
  box-shadow: 12px 0px 24px 0px rgba(45, 45, 45, 0.1);
  padding: 40px 30px;
}

.f-nav picture {
  width: 45%;
}

.f-nav picture img {
  width: 100%;
}

.f-nav-right {
  width: 45%;
}

.f-nav-right a:first-child {
  padding-top: 0;
}

.f-nav-right a:last-child {
  padding-bottom: 0;
  border: none;
}

.f-nav-right a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--natural-gray);
}

.f-nav-right a img {
  width: 20px;
  height: 20px;
}

.f-nav-right a span {
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  color: var(--natural-black);
}

footer {
  background-color: var(--blue-2);
  padding: 20px 30px 80px;
}

footer a {
  color: #fff;
}

.f-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.f-top img {
  margin-left: 20px;
}

.f-bottom {
  font-size: 15px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
}

.f-bottom-left a:nth-child(2) {
  margin: 0 20px;
}

.f-bottom-right {
  text-align: right;
}

.d-none{
  display:none;
}

.d-block{
  display: block;
}

.d-flex{
  display:flex;
}

.c-6420aa{
  color:#6420aa;
}

.c-ff5995{
  color: #ff5995;
}

html[lang="tc"]  body {
  font-family: "Noto Sans TC", sans-serif !important;
}

html[lang="sc"] body {
  font-family: "Noto Sans SC", sans-serif !important;
}

html[lang="tc"] #nav-participate-h .dropdown-content a,
html[lang="sc"] #nav-participate-h .dropdown-content a {
  min-width: max-content;
}


@media (max-width: 1400px) {
  .f-nav-right a span {
    font-size: 16px;
  }

  .f-nav-right a {
    padding: 10px 0;
  }
}

@media (max-width: 920px) {
  .f-nav {
    padding: 30px 20px;
  }

  footer {
    padding: 20px 20px 40px;
  }

  .f-nav-right {
    width: 50%;
  }

  .f-nav-right a span {
    font-size: 15px;
  }

  .f-bottom {
    font-size: 14px;
  }
}

@media (max-width: 650px) {
  .f-bottom {
    display: block;
  }

  .f-bottom-left {
    margin-bottom: 20px;
  }

  .slide-in-out {
    display: block;
    text-align: justify;
  }

  .slide-in-out .msg {
    margin: 0;
  }

  .close-msg {
    margin-top: 10px;
    float: right;
  }
}

@media (max-width: 600px) {
  .f-nav {
    display: block;
  }

  .f-nav-right {
    width: 100%;
    margin-top: 40px;
  }

  .f-bottom-left {
    display: flex;
    justify-content: space-between;
  }
}
