@charset "UTF-8";
* {
  box-sizing: border-box; /* ใช้กับทุก element เพื่อป้องกันปัญหา */
  margin: 0;
  padding: 0;
}

html,
body {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  margin: 0;
  font-family: "Geologica", sans-serif;
  background-image: url(../dist/image/global-business-internet-network-connection-iot-internet-things-business-intelligence-concept-busines-global-network-futuristic-technology-background-ai-generative.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

main {
  margin: auto;
  max-width: 800px;
  overflow-x: hidden;
  text-align: center;
  padding: 40px;
  background-color: rgba(10, 10, 10, 0.7882352941);
  box-sizing: border-box;
  box-shadow: 0 0 10px 0 rgb(203, 49, 206);
  width: 90%;
  overflow: hidden;
}
main h1 {
  font-size: 62px;
  margin: 0;
  margin-bottom: 15px;
  color: #fff;
}
main h1 .mark {
  color: rgb(203, 49, 206);
}
main p {
  font-size: 40px;
  margin: 0;
  font-family: "Kanit", sans-serif;
  color: #ff1e1e;
}
main .title-word {
  animation: color-animation 4s linear infinite;
  display: inline;
  margin-right: -18px;
  --color-1: $m2color;
}
main input {
  display: block;
  border: 0px;
  border-bottom: 1px solid #ccc;
  width: 100%;
  font-size: 30px;
  margin-top: 30px;
  padding: 10px 20px;
  font-family: "Kanit", sans-serif;
  outline: none;
  text-align: center;
  margin-bottom: 50px;
}
main input:focus {
  color: rgb(203, 49, 206);
  border-bottom: 3px double rgb(203, 49, 206);
}
main input:focus::-moz-placeholder {
  color: rgb(203, 49, 206);
}
main input:focus::placeholder {
  color: rgb(203, 49, 206);
}
main button {
  border: 1px solid rgb(203, 49, 206);
  background-color: #000;
  color: #fff;
  padding: 10px 50px;
  font-size: 30px;
  font-family: "Kanit", sans-serif;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
}
main button:hover {
  background-color: rgb(126, 105, 211);
}

.d-none {
  display: none;
}

footer {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-family: "Kanit", sans-serif;
}
footer a {
  display: block;
  text-decoration: none;
  text-align: center;
  color: rgb(203, 49, 206);
}
footer a:hover {
  color: rgb(126, 105, 211);
}
footer a p {
  margin: 0px;
}

@media only screen and (max-width: 768px) {
  main {
    width: 98%;
  }
  main h1 {
    font-size: 30px;
  }
  main p {
    font-size: 18px;
  }
  main input {
    font-size: 20px;
    margin: 20px 0 30px;
  }
  main button {
    font-size: 18px;
  }
  footer {
    left: 50%;
    right: 0;
    transform: translateX(-50%);
    width: 145px;
  }
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: none;
}
.loading .ocrloader {
  width: 250px;
  height: 250px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
}
.loading .ocrloader span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(255, 65, 255, 0.537254902);
  z-index: 1;
  transform: translateY(135%);
  animation: move 0.7s cubic-bezier(0.15, 0.44, 0.76, 0.64);
  animation-iteration-count: infinite;
}
.loading .ocrloader > div {
  z-index: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48%;
  backface-visibility: hidden;
}
.loading .ocrloader i {
  display: block;
  height: 5px;
  background: #ffffff;
  margin: 0 auto 2px;
  margin: 0 auto 2.2px;
  backface-visibility: hidden;
}
.loading .ocrloader i:nth-child(2) {
  width: 75%;
}
.loading .ocrloader i:nth-child(3) {
  width: 81%;
}
.loading .ocrloader i:nth-child(4) {
  width: 87%;
}
.loading .ocrloader i:nth-child(6) {
  width: 71%;
}
.loading .ocrloader i:nth-child(7) {
  width: 81%;
}
.loading .ocrloader i:nth-child(8) {
  width: 65%;
}
.loading .ocrloader i:nth-child(9) {
  width: 83%;
}
.loading .ocrloader i:nth-child(10) {
  width: 75%;
}
.loading .ocrloader i:nth-child(12) {
  width: 86%;
}
.loading .ocrloader i:nth-child(14) {
  width: 65%;
}
.loading .ocrloader i:nth-child(16) {
  width: 75%;
}
.loading .ocrloader i:nth-child(18) {
  width: 83%;
}
.loading .ocrloader:before, .loading .ocrloader:after, .loading .ocrloader em:after, .loading .ocrloader em:before {
  border-color: #ffffff;
  content: "";
  position: absolute;
  width: 19px;
  height: 16px;
  border-style: solid;
  border-width: 0px;
}
.loading .ocrloader:before {
  left: 0;
  top: 0;
  border-left-width: 1px;
  border-top-width: 1px;
}
.loading .ocrloader:after {
  right: 0;
  top: 0;
  border-right-width: 1px;
  border-top-width: 1px;
}
.loading .ocrloader em:before {
  left: 0;
  bottom: 0;
  border-left-width: 1px;
  border-bottom-width: 1px;
}
.loading .ocrloader em:after {
  right: 0;
  bottom: 0;
  border-right-width: 1px;
  border-bottom-width: 1px;
}
@keyframes move {
  0%, 100% {
    transform: translateY(135%);
  }
  50% {
    transform: translateY(0%);
  }
  75% {
    transform: translateY(272%);
  }
}

@keyframes color-animation {
  0% {
    color: rgb(126, 105, 211);
  }
  15% {
    color: #fff;
  }
  30% {
    color: rgb(126, 105, 211);
  }
  45% {
    color: #fff;
  }
  65% {
    color: rgb(126, 105, 211);
  }
  85% {
    color: #fff;
  }
  100% {
    color: rgb(126, 105, 211);
  }
}/*# sourceMappingURL=main.css.map */