:root {
  --color-primary: #2196f3;
  --color-primary-text: #ffffff;
  --color-secondary-bg: #1a1a1a;
  --color-secondary: #dc143c;
  --text-hover: #f5d76e;
  --text-yellow: #fdf100;
  --bg-footer: #090721;
  --bg-body: #102e59;
  --bg-body-main: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kanit", sans-serif;
}
body {
  background: url("../img/พื้นหลัง-factor.webp");
  background-size: cover;
  background-repeat: repeat-y;
  background-position: center;
  color: var(--color-primary-text);
  word-break: break-word;
  animation: pulse 15s ease infinite;
}

strong {
  color: #1bbde8;
}
em {
  color: #ff7f50;
}
p a {
  color: #dc143c;
}
p a:hover {
  color: #ffe000;
}

p {
  color: var(--color-primary-text);
}
a:hover {
  color: var(--color-secondary);
}
.txt-int {
  text-indent: 1em;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}
.news-articles-img {
  height: 300px;
  overflow: hidden;
}
.view_date > span,
.tag__info > a span {
  color: var(--color-primary-text);
}
.bg-footer {
  background: var(--bg-footer);
}
.main-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-body);
}
/* END */

.bg-button-navbar {
  padding: 1.8em;
  border-radius: 0 0 1.5em 1.5em;
  background: linear-gradient(180deg, #70177b, #ce46fc);
}
.bg-button-navbar:hover {
  background: linear-gradient(180deg, #4b1053, #cb63ee);
}
.navbar-custom {
  background-color: #0b001a;
}
.navbar {
  box-shadow: 0px 0px 7px 3px #ce46fc;
}
.btn-log-reg {
  background: linear-gradient(180deg, #70177b, #ce46fc);
  border-radius: 1em;
  color: #fff;
}
.btn-log-reg:hover {
  background: linear-gradient(180deg, #ab23bd, #eaaaff);
}
a.nav-link {
  color: #fff;
}
a.nav-link.active,
a.nav-link:hover {
  color: #ad72ce;
}
.link_bet {
  padding: 0.5em;
  border-radius: 1em;
  background: linear-gradient(270deg, #4b1053, #cb63ee);
  color: #fff;
  text-decoration: none;
  font-size: 1.3em;
}
.highlight_text {
  background: -webkit-linear-gradient(
    0deg,
    #fffca5 5%,
    #fffa97 53%,
    #b1865c 91%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.banner-bank {
  padding: 0.5em;
  border-radius: 0 0 1.5em 1.5em;
  background: linear-gradient(180deg, #70177b, #ce46fc);
}
.text-yellow {
  color: var(--text-yellow);
}
.text-hover {
  position: relative;
  cursor: pointer;
}
.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgba(78, 0, 126, 0.815);
  border-radius: 1em;
}

.text-hover:hover .overlay {
  opacity: 1;
}

.text {
  width: 180px;
  color: white;
  font-size: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: rgb(78, 0, 126);
  border-radius: 1em;
}
