:root {
  --color-primary: #2196f3;
  --color-primary-text: #ffffff;
  --color-secondary-bg: #1a1a1a;
  --color-secondary: #e00000;
  --bg-footer: #1a1a1a;
  --bg-body: #1a1a1a;
  --bg-linear: linear-gradient(
    to right,
    #2196f3 0%,
    #1a1a1a 40%,
    #1a1a1a 60%,
    #2196f3 100%
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kanit", sans-serif;
}

body {
  color: var(--color-primary-text);
  background: var(--bg-body);
  background-repeat: repeat-x;
  background-size: cover;
  word-break: break-word;
}

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

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

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

/* Articles */
.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 */

.neonText {
  color: #fff;
  text-shadow: 0 0 7px #fff, 0 0 10px #fff, 0 0 21px #fff, 0 0 42px #2cabf9,
    0 0 82px #2cabf9, 0 0 92px #2cabf9, 0 0 102px #2cabf9, 0 0 151px #2cabf9;
}
input.neonText {
  background-color: transparent;
  animation: pulsate 1.5s infinite alternate;
  border: 0.2rem solid #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0 0.2rem #fff, 0 0 0.1rem #fff, 0 0 0.5rem #2cabf9,
    0 0 0.5rem #2cabf9, 0 0 1.5rem #2cabf9, inset 0 0 1.3rem #2cabf9;
}
input.neonText:focus {
  background-color: transparent;
  color: #fff;
}
@keyframes pulsate {
  100% {
    text-shadow: 0 0 4px #fff, 0 0 11px #fff, 0 0 19px #fff, 0 0 40px #2cabf9,
      0 0 80px #2cabf9, 0 0 90px #2cabf9, 0 0 100px #2cabf9, 0 0 150px #2cabf9;
  }

  0% {
    text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #fff, 0 0 10px #2cabf9,
      0 0 45px #2cabf9, 0 0 55px #2cabf9, 0 0 70px #2cabf9, 0 0 80px #2cabf9;
  }
}
.btn-red-gradient {
  background: linear-gradient(180deg, var(--bg-body) 0%, #2cabf9 100%);
  color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 2px #800000;
  font-weight: bold;
  transition: background 0.2s;
}
.btn-red-gradient:hover {
  background: linear-gradient(180deg, #2cabf9 0%, var(--bg-body) 100%);
  color: #fff;
}
a:hover .img_navigate {
  opacity: 1;
}
.img_navigate {
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}
.text-bg-primary {
  background: linear-gradient(to right, #0b1c54, #113ba8, #0b1c54);
  background-size: 200% 100%;
  background-position: 0% 0%;
  animation: bg-move 6s ease-in-out infinite;
  border: 2px solid #fff;
  border-radius: 1em;
  color: #fcf002;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

@keyframes bg-move {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.bg-content {
  border: 5px solid;
  border-image: linear-gradient(
      to right,
      var(--color-primary),
      var(--color-secondary-bg),
      var(--color-primary)
    )
    1;
  border-radius: 10px;
}
.bg-content-3 {
  border: 5px solid;
  border-image: linear-gradient(
      to left,
      var(--color-secondary-bg),
      var(--color-primary)
    )
    1;
  border-radius: 10px;
}
.bg-content-3:nth-child(even) {
  border-image: linear-gradient(
      to right,
      var(--color-secondary-bg),
      var(--color-primary)
    )
    1;
}
