* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kanit", sans-serif;
}
*:before,
*:after {
  box-sizing: border-box;
}
body {
  background-image: url(../img/BG.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

body.lazy {
  background-image: none;
  background-color: #f1f1fa;
}
a {
  text-decoration: none;
}
p {
  font-size: 18px;
  color: white;
}
p strong {
  color: #ff615e;
}
p em {
  color: rgb(32, 255, 62);
}
p u {
  color: rgb(255, 230, 0);
}
b {
  font-size: 20px;
  display: flex;
  justify-content: start;
  color: #ffc400;
}
strong{
  color: #ffc400;
}
h1,h2,h3,h4{
  color: #ffc400;
}
h1 {
  font-size: 2.75em;
  font-weight: bold;
}

.str {
  font-size: 18px;
  color: #02ccfe !important;
  text-align: center;
}
h2,
h3,
h4,
h5 {
  font-size: 2em;
  font-weight: bold;
}

.bg-header {
  background-image: linear-gradient(to top, #050100, #3c0201);
  overflow-x: hidden;
}
#header {
  background-image: linear-gradient(rgb(0, 0, 0, 0.8), rgb(0, 0, 0, 0.8));
}
nav {
  padding: 25px 20px;
  background-image: url(../img/bg-nav.png);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
nav a {
  font-size: 22px;
  font-weight: 400;
  color: white;
  margin: 0 20px;
}
nav a:hover {
  color: gold;
  transition: 0.5s;
}
::-webkit-input-placeholder {
  font-size: 19px;
  color: white !important;
  text-align: right;
}
:-moz-placeholder {
  font-size: 19px;
  color: white !important;
  text-align: right;
}
::-moz-placeholder {
  font-size: 19px;
  color: white !important;
  text-align: right;
}
:-ms-input-placeholder {
  font-size: 19px;
  color: white !important;
  text-align: right;
}
.main-form form {
  width: 100%;
  display: flex;
  align-items: center;
}

#bg-input {
  width: 20%;
  background-image: url(../img/bg-input.png);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 18px 25px;
}
#bg-input.lazy {
  background-image: none;
  background-color: black;
}
.main-form form input {
  border: 0px;
  width: 100%;
  padding: 5px;
  background-color: inherit;
  color: white;
}
.main-form form button {
  width: 18%;
  border: 0px;
  padding: 12px;
  font-size: 20px;
  background-image: url(../img/bg-btn.png);
  background-position: center;
  background-size: 100% 100%;
  background-color: inherit;
  color: white;
  font-weight: bold;
}
.main-form form button:hover,
#A:hover {
  color: gold;
  transition: 0.3s;
}
#A {
  width: 18%;
  border: 0px;
  padding: 12px;
  text-align: center;
  background-color: white;
  margin-left: 5px;
  font-size: 20px;
  background-image: url(../img/bg-btn.png);
  background-position: center;
  background-size: 100% 100%;
  background-color: inherit;
  color: white;
  font-weight: bold;
}
#A.lazy {
  background-image: none;
  background-color: red;
}

.box-bg {
  width: 100%;
  position: relative;
}
.content-main {
  display: block;
  position: absolute;
  z-index: 1;
  width: 65%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: black;
  padding: 20px 10px;
}

.bg-text {
  background-image: url(../img/bg-text.png);
  background-position: center;
  background-size: 100% 100%;
  padding: 20px 28px;
  color: #230100 !important;
  display: block;
  width: auto;
  text-align: center;
  margin-left: 50%;
  transform: translateX(-50%);
}
.pic-center {
  width: 100%;
  display: block;
  margin: auto;
}

.color-size a {
  color: #ff615e;
  font-size: 2em;
  font-weight: 700;
}
.color-size a:hover {
  text-decoration: underline;
  transition: 0.5s;
}
.bg-art {
  padding: 10px;
  min-height: 380px;
  background-color: black;
  border: 2px solid whitesmoke;
  text-align: center;
}
.bg-arts {
  padding: 5px;
  min-height: 410px;
  background-color: black;
  border: 2px solid whitesmoke;
  text-align: center;
}
.news-articles-h4 {
  display: flex;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 600;
  color: #ff615e;
}
.box-articles {
  color: white;
}
.box-articles i {
  color: #af912f;
}
hr {
  border: 2px solid red;
}
.news-articles-span {
  color: #ffc400;
}
#footer {
  width: 100%;
  padding: 20px;
  background-color: black;
  border-top: 3px solid rgb(216, 16, 16);
}
.pagination {
  display: inline-block;
  padding: 20px;
}
.pagination a {
  font-weight: bold;
  font-size: 10px;
  color: white;
  float: left;
  padding: 5px 10px;
  text-decoration: none;
  border: 2px solid;
  border-image: linear-gradient(to left, gray, whitesmoke) 1;
}
.pagination a.active {
  background-color: rgb(255, 0, 0);
}
.pagination a:hover:not(.active) {
  background-color: rgb(251, 255, 0);
  color: black;
}
.text-view {
  color: #ff615e;
}
.content-main-moblie {
  display: none;
}
#nav-bomlie {
  display: none;
}
.open {
  display: none;
}
.sidenav {
  display: none;
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  /* background-image: linear-gradient(rgb(0, 0, 0, 0.9), rgb(0, 0, 0, 0.9)); */
  background-image: linear-gradient(rgb(0, 0, 0, 0.9), rgba(54, 8, 8, 0.9));
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: rgb(199, 199, 199);
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}
.sidenav a i{
  background: -webkit-linear-gradient(#ddc55a, #e7d063,#382700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
a.btn-botoom {
  border-bottom: 1px solid rgb(145, 145, 145);
}
.a-footer a {
  display: inline-block;
  color: white;
  font-size: 18px;
  padding: 0 15px;
}
.a-footer a:hover {
  color: rgb(20, 20, 167);
  transition: 0.3s;
}

.a-footer a.avtives {
  font-weight: bold;
  color: gold;
}
.min-h {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.min-h form {
  width: 40%;
  margin: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  background-color: #630e18;
  border-radius: 10px;
  border: 1px solid #ff0400;
  box-shadow: 0 0 20px rgb(141, 17, 17);
}
.min-h form p {
  font-size: 2em;
  font-weight: 600;
  text-align: center;
  color: #02ccfe;
}

.min-h form input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 8px;
  color: white;
  font-size: 18px;
  background-color: black;
}

.form-group a {
  width: 100%;
}
.main-error{
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.main-error span{
  display: flex;
  justify-content: center;
  font-size: 4em;
  font-weight: 700;
  color: red;
  text-shadow:  2px 2px 5px gold;
}
.main-error p{
  font-style: italic;
  font-size: 2em;
}
.view_date{
  color: #f1f1fa;
}
.btn-btn-success{
  display: block;
  text-align: center;
  width: fit-content;
  padding: 10px 35px;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  background-color: #af912f;
  border-radius: 10px;
}
.buttons {
  display: block;
  text-align: center;
  padding: 10px 0;
}
.buttons a {
  display: inline-block;
  margin: 5px 10px;
  padding: 10px 25px;
  background-color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  border-radius: 3px;
}
.buttons a.fb {
  color: #1877f2 !important;
}
.buttons a.tw {
  color: #1d9bf0 !important;
}
.buttons a.i-line {
  color: #06c755 !important;
}
.buttons a i {
  margin-right: 8px;
  font-size: 20px !important;
}
.buttons a.fb:hover {
  background-color: #1877f2 !important;
  color: #fff !important;
  box-shadow: 0 0 5px #1877f2;
  transition: 0.3s;
}
.buttons a.tw:hover {
  background-color: #1d9bf0 !important;
  color: #fff !important;
  box-shadow: 0 0 5px #1d9bf0;
  transition: 0.3s;
}
.buttons a.i-line:hover {
  background-color: #06c755 !important;
  color: #fff !important;
  box-shadow: 0 0 5px #06c755;
  transition: 0.3s;
}
.potsnew {
  padding: 10px 0;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
}
.potsnew .order_by a {
  text-transform: uppercase;
  color: #ec3700;
  text-decoration: none !important;
}
.potsnew .order_by a:hover {
  text-decoration: underline;
  font-style: italic;
  transition: 0.3s;
}
.box-name-category p,
.box-name-tag p {
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  display: inline-block;
 
}
.box-name-category a,
.box-name-tag a {
  font-size: 16px !important;
  font-weight: 500 !important;
  margin: 0 10px;
  padding: 5px 15px;
  background-color: #c81c04;
  border-radius: 3px;
  color: #fff !important;
  text-decoration: underline;
  display: inline-block;
}
/*************************/
/*************************/
/*************************/
/*************************/
/*************************/
/*************************/
/*************************/
@media (max-width: 1200px) {
  .box-bg {
    display: none;
  }
  .content-main {
    display: none;
  }
  .content-main-moblie {
    display: block;
    padding: 20px;
  }
}
@media (max-width: 840px) {
  .min-h form {
    width: 80%;
  }
  .sidenav {
    display: block;
  }
  .open {
    display: block;
    position: absolute;
    font-size: 30px;
    cursor: pointer;
    color: white;
    z-index: 1;
    padding: 5px;
    left: 10px;
  }
  .open img {
    max-width: 70%;
  }

  nav {
    display: none;
  }
  .main-form form {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }
  #bg-input {
    width: 60%;
    padding: 25px 40px;
    margin-bottom: 10px;
  }
  ::-webkit-input-placeholder {
    text-align: center;
  }
  :-moz-placeholder {
    text-align: center;
  }
  ::-moz-placeholder {
    text-align: center;
  }
  :-ms-input-placeholder {
    text-align: center;
  }
  #A {
    width: 40%;
    margin-bottom: 10px;
  }
  .main-form form button {
    width: 40%;
    margin-bottom: 10px;
  }
  .bg-text {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .min-h form {
    width: 100%;
  }
  #bg-input {
    width: 90%;
    padding: 20px 40px;
    margin-bottom: 10px;
  }
  #A {
    width: 60%;
    margin-bottom: 10px;
    padding: 10px 20px;
  }
  .main-form form button {
    width: 60%;
    margin-bottom: 10px;
    padding: 10px 20px;
  }
  .content-main-moblie {
    padding: 20px;
  }
  #nav-bomlie {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 5px;
    background-image: linear-gradient(to top, #250810, #c10419, #250810);
    bottom: 0;
    z-index: 999;
    position: -webkit-sticky;
    position: sticky;
  }
  .mb-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
    width: 25%;
  }
  .mb-center a img {
    width: 100%;
  }
  .mb-left,
  .mb-right {
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mb-left a,
  .mb-right a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .mb-left a img,
  .mb-right a img {
    max-width: 100%;
  }
  .mb-left a span,
  .mb-right span {
    display: flex;
    justify-content: center;
    color: white;
    font-size: 14px;
  }
  .mb-right {
    width: 35%;
  }
}
