/** Header top bar **/
header .logo-bar {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}

header .site-logo {
  width: 100px;
}

header p {
  font-size: 5px;
  margin-bottom: 5px;
  font-weight: 600;
}

header .logo-wrapper {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  gap: 10px;
}

header .logo-row {
  display: flex;
  gap: 20px;
}

header .logo-inner-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

header .thkpa-logo {
  min-width: 60px;
  max-width: 84px;
}

header .years-logo {
  min-width: 17px;
  max-width: 24px;
}

header .aptec-logo {
  min-width: 36px;
  max-width: 50px;
}

header .ccidahk-logo {
  min-width: 31px;
  max-width: 40px;
}

header .govt-logo {
  min-width: 96px;
  max-width: 135px;
}

header .open-btn {
  background-color: #d9d9d9;
  color: #4e4e4e;
  font-size: 18px;
  border-radius: 100%;
  padding: 12px 15px;
  border: none;
  cursor: pointer;
}

header .open-btn i {
  transition: transform 300ms;
}

header .open-btn:hover i {
  transform: scale(1.05);
}

@media only screen and (min-width: 768px) {
  header .site-logo {
    width: 190px;
  }

  header p {
    font-size: 10px;
  }

  header p.sponsor,
  header p.exec-agency {
    margin-bottom: 12px;
  }

  header .logo-wrapper {
    flex-direction: row;
    gap: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  header p {
    margin-bottom: 10px;
  }

  header p.sponsor,
  header p.exec-agency {
    margin-bottom: 30px;
  }

  header .logo-wrapper {
    gap: 50px;
  }

  header .logo-row {
    gap: 50px;
  }

  header .thkpa-logo {
    min-width: 156px;
    max-width: 230px;
  }

  header .years-logo {
    min-width: 44px;
    max-width: 65px;
  }

  header .aptec-logo {
    min-width: 100px;
    max-width: 120px;
  }

  header .ccidahk-logo {
    min-width: 78px;
    max-width: 115px;
  }

  header .govt-logo {
    min-width: 241px;
    max-width: 355px;
  }

  header .open-btn {
    display: none;
  }
}

/** Desktop Nav **/
nav.desktop-nav {
  display: none;
}

@media only screen and (min-width: 1024px) {
  nav.desktop-nav {
    display: flex;
    gap: 20px;
    margin-top: 30px;
  }

  header li {
    margin-left: unset;
  }

  nav .menu-items,
  nav .language-selector {
    background-color: #d4d6d7;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    border-radius: 100px;
    padding: 12px 30px;
    list-style: none;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
  }

  nav .menu-items {
    justify-content: space-between;
    flex-grow: 1;
  }

  nav .language-selector {
    justify-content: center;
    gap: 10px;
  }

  nav.desktop-nav .menu-items a,
  nav.desktop-nav .language-selector,
  nav.desktop-nav .language-selector a {
    color: #fff;
    transition-duration: 300ms;
  }

  nav.desktop-nav .menu-items a:hover,
  nav.desktop-nav .menu-items a.active,
  nav.desktop-nav .language-selector a:hover,
  nav.desktop-nav .language-selector a.active {
    color: #4e4e4e;
    text-decoration-thickness: 2px;
  }
}

/** Mobile offcanvas **/
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 36, 36, 0.5);
  z-index: 9;
}

.off-canvas-menu {
  position: fixed;
  top: -325px;
  left: 10px;
  width: calc(100% - 20px);
  height: 325px;
  background-color: rgba(64, 64, 64, 0.9);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 3px 3px rgab(0, 0, 0, 0.6);
  z-index: 10;
  transition: top 0.3s ease;
}

.off-canvas-menu * {
  color: #fff;
}

.off-canvas-menu li {
  margin-left: unset;
}

.off-canvas-menu .menu-header {
  padding-right: 10px;
  padding-top: 10px;
  text-align: right;
}

.off-canvas-menu .close-btn {
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.off-canvas-menu .close-btn:hover {
  color: #ddd;
}

.off-canvas-menu nav.mobile-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

nav.mobile-nav .menu-items {
  list-style: none;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
}

nav.mobile-nav .menu-items li {
  margin-bottom: 20px;
}

.off-canvas-menu .bottom-row {
  margin-top: 25px;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a i {
  background-color: #fff;
  border-radius: 100%;
  color: #414643;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 300ms;
}

.social-icons a:hover i {
  transform: scale(1.05);
}

.off-canvas-menu .language-selector a {
  padding: 0 5px;
  font-weight: 500;
}
