/*
Add global SASS variables to this file
*/
/*
Add global SASS variables to this file
*/
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Inter"), url("/wp-content/themes/evolution-promo/assets/font/Inter-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Kanit Bold"), url("/wp-content/themes/evolution-promo/assets/font/Kanit-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local("Kanit ExtraBold"), url("/wp-content/themes/evolution-promo/assets/font/Kanit-ExtraBold.ttf") format("truetype");
}
html {
  font-size: 18px;
}
html body {
  background-color: #1E1D29;
  color: #FAFAFA;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  font-family: "Kanit", sans-serif;
}

h1, .h1 {
  font-size: 3.8rem;
  font-weight: 800;
}
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2.8rem;
  }
}

h2, .h2 {
  font-size: 1.8rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  h2, .h2 {
    font-size: 1.4rem;
  }
}

p {
  line-height: 2rem;
}

.gradient-border {
  position: relative;
  background: linear-gradient(to top, #e5842f, #d4ac35);
  border-radius: 16px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  height: 60px;
  width: 420px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  font-family: "Kanit", sans-serif;
  margin-bottom: 30px;
  text-align: center;
}
.gradient-border-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  top: 4px;
  left: 4px;
  background: linear-gradient(to top, #d58137, #c19b29);
  border-radius: 14px;
  font-weight: 700;
  color: #FAFAFA;
  font-size: 1.6rem;
}
.gradient-border-inner p, .gradient-border-inner h2, .gradient-border-inner h3 {
  margin-bottom: 0;
}
.gradient-border.gradient-border-alt {
  background: linear-gradient(to top, #48911b, #239a2d) !important;
}
.gradient-border.gradient-border-alt .gradient-border-inner {
  background: linear-gradient(to top, #37d576, #29c133) !important;
}
@media (max-width: 768px) {
  .gradient-border {
    width: 330px;
  }
  .gradient-border-inner {
    font-size: 1.3rem;
  }
}

.icon-title {
  display: flex;
  align-items: center;
}
.icon-title img {
  height: 25px;
  width: auto;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}
.icon-title h2 {
  margin-bottom: 0;
}

.table {
  color: #FAFAFA;
}
.table-wrapper {
  background: linear-gradient(to top, #151421, #2c2a43);
  padding: 24px 16px 0 16px;
  border-radius: 16px;
  width: 900px;
  max-width: 100%;
  margin: auto;
  border: 4px solid #FAFAFA;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}
.table-wrapper .icon-title {
  margin-bottom: 15px;
  margin-left: 8px;
}
.table tr:last-child th, .table tr:last-child td {
  border-bottom: none !important;
}
@media (max-width: 768px) {
  .table {
    font-size: 0.8rem;
  }
}

.header {
  position: absolute;
  background: linear-gradient(180deg, rgba(5, 5, 19, 0.2) 0, rgba(5, 5, 19, 0.1) 60%, rgba(5, 5, 19, 0.01) 100%) rgba(5, 5, 19, 0);
  z-index: 9999;
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.header-nav .language-switch {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header-nav .language-switch a {
  margin-left: 15px;
}
.header-nav .language-switch a img {
  display: block;
  height: 25px;
  width: auto;
  border: 2px solid darkslategray;
  border-radius: 5px;
}
.header-nav .language-switch a img:hover {
  opacity: 0.8;
}
.header-logo img {
  display: block;
  height: 40px;
  width: auto;
}
@media (max-width: 768px) {
  .header-logo img {
    height: 35px;
  }
}

.footer {
  border-top: 4px solid #FAFAFA;
}
.footer-inner {
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
  }
}
.footer-logo img {
  display: block;
  height: 30px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  padding-left: 0 !important;
}
.footer-nav a {
  color: #FAFAFA;
  margin: 10px;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .footer-nav {
    margin-bottom: 40px;
  }
}

.campaign-not-active,
.password-page {
  height: 100vh;
  width: 100vw;
  background-size: cover;
  background-repeat: no-repeat;
}
.campaign-not-active-inner,
.password-page-inner {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.campaign-not-active-inner h1,
.password-page-inner h1 {
  font-size: 2.5rem !important;
}

.password-page .custom-password input {
  box-shadow: none;
  border: none;
  outline: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding-left: 10px;
  padding-right: 10px;
}
.password-page .custom-password button {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: rgb(50, 164, 50);
  color: #FAFAFA;
  box-shadow: none;
  border: none;
  outline: none;
  padding-left: 10px;
  padding-right: 10px;
}
.password-page .custom-password button:hover {
  opacity: 0.95;
}