/*
Theme Name: OAN Main Theme
Author: August Digital Inc.
Author URI: https://alwaysaugust.co
Description: Parent theme for the OAN and OAN Coin sites.
Version: 0.0.1
*/

/**
 * GLOBAL STYLES
 */
@font-face {
  font-family: "Aeonik Bold";
  font-weight: 700;
  src: url("./assets/fonts/aeonik-bold.woff");
}

@font-face {
  font-family: "Aeonik Regular";
  font-weight: 400;
  src: url("./assets/fonts/aeonik-regular.woff");
}

html {
  font-size: 22px;
}

html body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Aeonik Regular", "Helvetica", sans-serif;
  background-color: #E1DCCD;
  font-size: 22px;
  line-height: 1.18;
}

body .btn {
  font-family: "Aeonik Bold";
  font-size: 17.6px;
  padding: 0.75rem 1.05rem;
  border-radius: 0;
  border-top-right-radius: 20px;
  letter-spacing: 0.16px;
}

body .btn.btn-light {
  background-color: #E1DCCD;
  color: #1C1C1A;
  border-color: #E1DCCD;
}

body .btn.btn-light:hover {
  color: #000;
  border-color: #F54119;
  background-color: #F54119;
}

body .btn.btn-dark {
  background-color: #1C1C1A;
  border-color: #1C1C1A;
  color: #FFB901;
}

body .btn.btn-dark:hover {
  background-color: #E1DCCD;
  border-color: #E1DCCD;
  color: #1C1C1A;
}

body .btn.btn-dark-hollow {
  border-color: #1C1C1C;
  border-width: 3px;
  color: #1C1C1C;
}

body .btn.btn-transparent {
  background-color: transparent;
  border-color: transparent;
  color: #FFFFFF;
}

body .btn.btn-dark-hollow:hover,
body .btn.btn-dark-hollow.active {
  background-color: #1C1C1C;
  color: #FFB901;
}

body h2,
body h3 {
  font-family: "Aeonik Bold";
  font-size: 72px;
  letter-spacing: -1.5px;
  line-height: 1;
}

body #localize-widget.localize-right-bottom,
body #localize-widget.localize-right-top {
  right: 5px;
  font-size: 14px;
}

body #localize-active-lang {
  font-size: 12px !important;
  height: 30px;
  line-height: 30px;
}

@media all and (max-width: 991px) {
  body h2,
  body h3 {
    font-size: 60px;
  }
}

@media all and (max-width: 575px) {
  body h2,
  body h3 {
    font-size: 50px;
  }
}

div#catapult-cookie-bar {
  font-size: 0.8rem;
}

div#catapult-cookie-bar button#catapultCookie {
  border-radius: 0;
  padding: 0.375em 0.75em;
}

div.stripes span:nth-child(1) {
  background-color: #F44118;
}

div.stripes span:nth-child(2) {
  background-color: #FF5500;
}

div.stripes span:nth-child(3) {
  background-color: #FF7800;
}

div.stripes span:nth-child(4) {
  background-color: #FF9B01;
}

@media (-webkit-min-device-pixel-ratio: 2) and (min-width: 992px), 
(min-resolution: 192dpi) and (min-width: 992px) {
  html,
  html body {
    font-size: 20px;
  }

  body .btn {
    font-size: 20px;
  }

  body h2,
  body h3 {
    font-size: 64px;
  }
}

/**
 * ANIMATIONS
 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/**
 * HEADER STYLES
 */
header {
  background-color: #272726;
  padding: 36px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  transition: background-color 250ms, padding 250ms;
}

body.admin-bar header {
  top: 32px;
}

body.home header:not(.scroll) {
  background-color: transparent;
}

header.scroll {
  padding: 16px 0;
}

header div.nav-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header ul.nav li {
  padding: 0 45px 0 0;
}

header ul.nav li:last-child {
  padding-right: 0;
}

header ul.nav li a {
  font-family: "Aeonik Bold";
  color: #E1DCCD;
  transition: color 250ms;
}

header ul.nav li a:hover {
  text-decoration: none;
  color: white;
}

header button.menu-toggle {
  display: none;
}

@media all and (max-width: 991px) {
  header ul.nav li {
    padding-right: 20px;
  }
}

@media all and (max-width: 575px) {
  body.admin-bar header {
    position: fixed;
    top: 0;
    padding-top: 64px;
  }

  body.admin-bar header.scroll {
    padding-top: 16px;
  }

  header ul.nav {
    display: flex;
    position: fixed;
    z-index: 15;
    top: 0;
    left: 100%;
    width: 100%;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 500ms;
    background-color: #1C1C1C;
  }

  header ul.nav.open {
    left: 0;
  }

  header ul.nav li {
    padding-right: 0;
  }

  header ul.nav li a {
    line-height: 2;
  }

  header button.menu-toggle {
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 20;
    display: block;
    padding: 0;
    cursor: pointer;
    border: none;
    -webkit-appearance: none;
    background: transparent;
  }

  header button.menu-toggle:focus,
  header button.menu-toggle:active {
    outline: none;
  }

  header button.menu-toggle span,
  header button.menu-toggle span::before,
  header button.menu-toggle span::after {
    display: block;
    width: 32px;
    height: 3px;
    position: absolute;
    background-color: #E1DCCD;
    content: "";
  }

  header button.menu-toggle span {
    bottom: 0;
    left: 0;
    transition: transform 250ms;
  }

  header button.menu-toggle span::before {
    top: -20px;
    left: 0;
    transition: transform 250ms;
  }

  header button.menu-toggle span::after {
    top: -10px;
    left: 0;
    transition: opacity 50ms;
  }

  header ul.nav.open + button.menu-toggle span {
    transform: translate3d(0,-10px,0) rotate(-45deg);
  }

  header ul.nav.open + button.menu-toggle span::before {
    transform: rotate(-90deg) translate3d(-20px,0,0);
  }

  header ul.nav.open + button.menu-toggle span::after {
    opacity: 0;
  }
}

/**
 * FOOTER STYLES
 */
footer {
  background-color: #E1DCCD;
  padding-top: 100px;
  padding-bottom: 80px;
}

footer img.logo {
  margin-top: 10px;
}

footer img.logo.oan {
  width: 119px;
  height: auto;
}

footer img.logo.aion {
  width: 85px;
  height: auto;
}

footer ul.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
}

footer ul.footer-nav li a {
  font-family: "Aeonik Bold";
  font-size: 20px;
  line-height: 1.75;
  color: #1C1C1C;
}

footer div.bottom {
  margin-top: 80px;
  padding-top: 30px;
  position: relative;
}

footer div.bottom::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 15px;
  right: 15px;
  border-top: 3px solid #c6c4ba;
}

footer div.bottom div.left {
  font-size: 18px;
}

footer div.bottom div.left p {
  margin-bottom: 0;
}

footer div.bottom div.left strong {
  font-family: "Aeonik Bold";
}

footer div.bottom div.right {
  text-align: right;
  font-size: 14px;
  font-family: "Aeonik Bold";
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-content: flex-end;
}

footer div.bottom div.right a {
  color: #1C1C1C;
  text-decoration: underline;
}

footer div.bottom div.right p.copyright {
  margin-top: 10px;
  margin-bottom: 0;
}

@media all and (max-width: 991px) {
  footer img.logo {
    margin-bottom: 42px;
  }

  footer ul.footer-nav {
    margin-bottom: 50px;
  }

  footer ul.footer-nav li {
    /*padding-bottom: 0.5em;*/
  }

  footer ul.footer-nav li a {
    font-size: 20px;
    line-height: 2;
  }
}

@media all and (max-width: 545px) {
  footer div.bottom {
    margin-top: 60px;
  }

  footer div.bottom div.right {
    margin-top: 20px;
    text-align: left;
    justify-content: flex-start;
    align-content: flex-start;
  }

  footer div.bottom div.right p.copyright {
    margin-top: 20px;
  }
}
.customLanguage_zh, .customLanguage_ko{
    display:none;
}


/**
 * HOME PAGE STYLES
 */
body.home section.top {
  background-size: cover;
  background-position: center center;
  padding-top: 100px;
  padding-bottom: 70px;
  color: #E1DCCD;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

body.home section.top h1 {
  font-family: "Aeonik Bold";
  font-size: 85px;
  letter-spacing: 0.25px;
  line-height: 0.95;
}

body.home section.top p {
  letter-spacing: 0.23px;
  line-height: 1.18;
  max-width: 66%;
}

body.home section.top p:last-child {
  margin-bottom: 0;
}

body.home section.top div.text-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

body.home section.top div.button-col {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

@media (-webkit-min-device-pixel-ratio: 2) and (min-width: 992px), 
(min-resolution: 192dpi)  and (min-width: 992px) {
  body.home section.top h1 {
    font-size: 90px;
  }
}

@media all and (max-width: 991px) {
  body.home section.top h1 {
    font-size: 50px;
  }

  body.home section.top p {
    max-width: 85%;
  }
}

@media all and (max-width: 575px) {
  body.home section.top {
    padding-top: 100px;
  }

  body.home section.top h1 {
    font-size: 44px;
  }
}

/**
 * 404 Page Styles
 */
body.error404 {
  background-color: #1C1C1C;
}

body.error404 header,
body.error404 footer {
  display: none;
}

body.error404 section.top {
  position: relative;
  height: 45vh;
  background-color: #E1DCCD;
}

body.error404 section.top svg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 105%;
}

body.error404 section.top img.logo {
  margin-top: 50px;
  width: 150px;
  height: auto;
}

body.error404 section.bottom {
  background-color: #1C1C1C;
  color: #E1DCCD;
  height: 55vh;
  padding-bottom: 10vh;
}

body.error404 section.bottom div.container,
body.error404 section.bottom div.row {
  height: 100%;
}

body.error404 section.bottom div.left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

body.error404 section.bottom div.right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

body.error404 section.bottom span.title {
  display: block;
  font-size: 4.5rem;
  letter-spacing: 1.04px;
  line-height: 0.9;
  margin: 0 0 30px;
  font-family: "Aeonik Bold";
}

body.error404 section.bottom p {
  font-size: 1rem;
  letter-spacing: 0.23px;
  line-height: 1.25;
  max-width: 60%;
  margin: 0;
}

@media all and (max-width: 991px) {
  body.error404 section.top {
    height: 25vh;
  }

  body.error404 section.top img.logo {
    margin-top: 30px;
  }

  body.error404 section.bottom {
    height: 75vh;
  }

  body.error404 section.bottom span.title {
    font-size: 2rem;
  }

  body.error404 section.bottom p {
    max-width: 100%;
  }
}

@media all and (max-width: 545px) {
  body.error404 section.top svg {
    opacity: 0.33;
  }
}
