@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.woff');
    font-display: swap;
}
@font-face {
  font-family: 'Prompt';
  src: url('../fonts/Prompt-Regular.ttf');
  font-display: swap;
}

@font-face {
  font-family: 'Sarabun-Regular';
  src: url('../fonts/Sarabun-Regular.ttf');
  font-display: swap;
}

body {
    /* background-color: rgba(20, 20, 20, 1); */
    /* font-family: 'Lato', sans-serif; */
    /* padding-top: 96px; */
    /* font-family: 'Prompt', sans-serif; */
    font-family: 'Sarabun-Regular', sans-serif;
}
.navbar-inner {
	background-color: rgba(0, 0, 0, 0.85);
}
.navbar--color--ghost {
  background: rgba(0, 0, 0, 0.5);
}
.navbar--color--secondary {
  background: #43a6dd;
}
.navbar--size--md {
  padding: 0.5rem 0;
}
.navbar--size--sm {
  padding: 0;
}
.hero2 {
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("../images/mainbg.jpg");
}
.box {
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center; /* align vertical */
}
p.indent {
  text-indent: 1.5em;
}
/* h1.5rem {
	font-size: 5rem;
}
h2.3rem {
	font-size: 3rem;
}
h3 {
	font-size: 2rem;
} */
.p2 {
	font-size: 1.5rem;
}
.p3 {
  font-size: 20px;
	font-size: 3.5vm;
}
.boxcontainer {
    position: relative;
    text-align: center;
    color: white;
}
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.dark {
	filter: brightness(40%);
}
li {
	font-size: 1.2rem;
}
footer {
	padding-top: 24px;
	background-color: rgba(20, 20, 20, 1);
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
img.mini-circle {
  width: 180px;
  height: 180px;
  border-radius: 100%;
}
.text-singleline {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: inline-block;
}
/* .carousel-inner{
    width:100%;
    min-height: 400px !important;
  } */
.carousel-inner > .carousel-item {
  height: 400px;
  /* margin: auto; */
  -webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
  
.carousel-inner > .carousel-item > img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  /* min-height: 400px; */
  width: 100vw;
  /* max-height: 800px; */
  /* width: 100%; */
  height: auto;
  border: 0;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
  /* filter: brightness(20%); */
}

.carousel-control-prev,
.carousel-control-next {
  background-image: none;
}

.carousel-caption {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  bottom: initial;
}
  
  /* .carousel-inner > .item > img,
  .carousel-inner > .item > a > img {
    width: 70%;
    margin: auto;
  } */

  /* .overlay {
    position: absolute;
    top: 0;
    width:100%;
    height:100%;
    left: 0;
    background-color:#000;
    opacity:0.5;
    z-index: 100;
    display: block;
} */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
html {
  font-size: 20px;
}
.unbehaved-element {
  font-size: 2em;
}
@media screen and (min-width: 1200px) {
  h1 {
    font-size: 3vw;
  }
  h2 {
    font-size: 2.5vw;
  }
}
@media(max-width: 1580px) {
  html {
    font-size: 18px;
  }
  .unbehaved-element {
    font-size: 1.9em; /* Fine tune unbehaved elements */
  }
}
@media(max-width: 980px) {
  html {
    font-size: 16px;
  }
  h1 {
    font-size: 7vw;
  }
  h2 {
    font-size: 4vw;
  }
}
@media only screen and (max-width: 760px) {
  h1 {
    font-size: 7vw;
  }
  h2 {
    font-size: 4vw;
  }
  h6 { display: none; }
}
@media only screen and (max-width: 480px) {
  h1 {
    font-size: 10vw;
  }
  h2 {
    font-size: 8vw;
  }
  h6 { display: none; }
}
a:link.test {
  color: #2557a8;
  background-color: transparent;
  text-decoration: none;
}

.box-shadow {
  box-shadow: 10px 10px 5px grey;
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}
