@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@100;400;600;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;400;600&display=swap');
/*
font-family: 'Inter Tight', sans-serif;
*/
html {
  margin: 0px;
  padding: 0px;
  border: 0;
  outline: 0;
  scroll-behavior: smooth;
  height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: #000000;
  text-decoration: none;
}



  body {
    background-color: white;
    color: black;
    transition: background-color 0.3s, color 0.3s;
  }

  .dark-mode { 
    background: linear-gradient(255deg, #ffee02, #f68c5a, #ff0090);
    background-size: 600% 600%;

    -webkit-animation: AnimationName 6s ease infinite;
    -moz-animation: AnimationName 6s ease infinite;
    animation: AnimationName 6s ease infinite;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 62%}
    50%{background-position:100% 39%}
    100%{background-position:0% 62%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 62%}
    50%{background-position:100% 39%}
    100%{background-position:0% 62%}
}
@keyframes AnimationName {
    0%{background-position:0% 62%}
    50%{background-position:100% 39%}
    100%{background-position:0% 62%}
  }



body {
  font-family: 'Inter Tight', 'Noto Sans Thai', sans-serif;
  background-color: #ffffff;
  margin: 0px;
  padding: 0px;
  height: 100%;
  min-height: 100vh;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #000000;
  text-decoration: none;
}
::-webkit-selection {
  color: #FFFFFF;
  background: #000000;
}
::-moz-selection {
  color: #FFFFFF;
  background: #000000;
}
::selection {
  color: #FFFFFF;
  background: #000000;
}
/*prevents*/
img
{
   -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none; 
  
   -ms-user-select: none;
   user-select: none;
	    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 

}
::selection { background: transparent; }
::-moz-selection { background: transparent; }

/*prevents*/
a {
  color: #ff5400;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}
a:hover, a:active, a:focus {
  color: #ff5400;
  outline: none;
  text-decoration: none;
}
.link {
  color: #000000;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}
.link:hover, .link:active, .link:focus {
  color: #ff5400;
  outline: none;
  text-decoration: none;
}
.mobile {
  display: none;
}
.desktop {
  display: block;
}
@media (max-width:512px) {
  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }
}
/**************************** nav ****************************/
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 80px;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  text-align: center;
}
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 45px;
  color: #ffffff;
  display: block;
  transition: 0.3s;
}
.sidenav a:hover {
  color: #f1f1f1;
}
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 120px;
  font-size: 66px;
  margin-left: 50px;
}
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}
@media (max-width:512px) {
  .sidenav {
    left: 60px;
  }
}
/**************************** color ****************************/
.white {
  color: #FFFFFF;
}
.grey {
  color: #6e6e6e;
}
.black {
  color: #343535;
}
.orange {
  color: #e2711e;
}
.bgblack {
  background-color: #000000;
  color: #FFFFFF;
  padding: 20px;
  margin-top: 30px;
}
/**************************** font ****************************/
.title {
  text-transform: uppercase;
  font-size: 34px;
  line-height: 30px;
  margin-bottom: 10px;
  font-weight: 600;
}
.header {
  text-transform: uppercase;
  font-size: 22px;
  line-height: 26px;
  font-weight: 600;
}
.subheader {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
}
.number {
  font-size: 40px;
  line-height: 38px;
  font-weight: 100;
  color: #cdcdcd;
	margin-bottom: 10px;
}
.small {
  font-size: 12px;
  line-height: 16px;
}
.copy {
  font-size: 11px;
}
.copytext {
  height: 150px;
  /*	-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg); 
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); */
  margin-top: 10px;
}
.borderbox {
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
  padding: 10px;
  padding-bottom: 10px;
  padding-top: 30px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid rgba(118, 50, 119, 0.25);
  background-color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  border-radius: 12px;
  text-align: left;
}
.box {
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
  padding: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 18px;
  line-height: 20px;
  border: 1px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  text-align: left;
  margin-top: 0px;
}
.box:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #d60d6d;
}
.box:active {
  color: #ffffff;
  text-decoration: none;
  background-color: #d60d6d;
}
/**************************** element ****************************/
.leftspace {
  padding-left: 70px;
}
.leftbglogo {
  width: 80px;
  height: 100vh;
  background-color: #ffffff;
  position: fixed;
  border-right: 1px solid rgba(0, 0, 0, 1);
  text-align: center;
}
.logo {
  width: 55px;
  margin: 0px;
}
.navtab {
  width: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer
}
.social {
  width: 20px;
  margin-top: 20px;
}
.positioncopy {
  align-self: flex-end;
  padding-top: 30vh;
}
.lineleft {
  border-left: 1px solid rgba(255, 255, 255, 1);
  margin-bottom: 0px;
}
.topicfront {
  padding: 5px;
  border-left: 1px solid rgba(0, 0, 0, 1);
}
.work {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  height: 300px;
  width: auto;
}
.blog {
  display: inline-block;
  background-color: white;
	width: 100%;
  padding: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.blog-text {
  padding: 15px;
  font-weight: 200;
}
.thumb {
/*  padding: 10px;
  width: 100%;
  height: auto;*/
	padding: 10px;
	   width: auto;
    height: 100%;
	  max-height: 80vh;
}
.swiper-slide {
  text-align: center;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: top;
  -ms-flex-pack: top;
  -webkit-justify-content: top;
  justify-content: top;
  -webkit-box-align: top;
  -ms-flex-align: top;
  -webkit-align-items: top;
  align-items: top;
  height: 450px;
  padding-top: 10px;
  padding-bottom: 30px;
}
.swiper-wrapper {
  padding: 0px;
  margin: 0px;
}
.swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  display: inline-block;
  border-radius: 100%;
  background: #000000;
  opacity: 0.4;
}
.swiper-pagination-bullet-active {
  margin-top: 20px;
  opacity: 1;
  background: #d5d5d5;
}
.scrollphoto {
  display: flex;
  overflow-x: auto;
  padding-bottom: 20px;
  height: 80vh;
  width: 100%; 
}
.boxwrap { 
  align-self: flex-end;
}
.scrollimg
{
	width: 100px;
	margin-right: 30px;
}

.boxdescription {
  background-color: black;
  margin-top: 10px;
  color: #FFFFFF;
  margin-bottom: 10px;
  padding: 20px;
  align-self: flex-end;
}
.inbox {
  width: 300px;
  font-size: 12px;
  line-height: 14px;
  text-decoration: none;
}

.inbox .small {
  font-size: 12px;
  line-height: 16px;
}

.boxdescriptionwhite {
  font-family: 'Noto Sans Thai', sans-serif;
  margin-top: 10px;
  color: #000000;
  margin-bottom: 10px;
  padding: 20px;
  align-self: flex-end;
}
.boxdescriptionwhite:after {
  content: "   . . . . . . . . . . . . . . . . . . . . .   ";
  font-weight: bold;
  color: #000000;
}
.boxdescriptionwhite .inbox {
  width: 200px;
  font-size: 12px;
  line-height: 14px;
  text-decoration: none;
}

.inbox a {
  color: #ff5400;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}
 .inbox:active, .inbox:focus {
  color: #ff5400;
  outline: none;
  text-decoration: none;
}


.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: #000000;
}
.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.mix {
  padding: 5px;
  padding-top: 10px;
  padding-bottom: 20px;
  text-align-last: center;
}
.worktext {
  padding-top: 10px;
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 12px;
  line-height: 14px;
}
@media (max-width:768px) {
  .swiper-slide {
    height: 370px;
  }
  .work {
    height: 250px;
    width: auto;
  }
  .thumb {
    width: auto;
    height: 100%;
	  max-height: 95vh;
	padding: 10px;
  }
}
/**************************** button ****************************/
.enter {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 3px;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  border: 1px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  margin-top: 20px;
  margin-bottom: 30px;
  width: 90px;
}
.enter:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #d60d6d;
}
.enter:active {
  color: #ffffff;
  text-decoration: none;
  background-color: #d60d6d;
}
/**************************** others ****************************/
.zoom {
  transform: scale(1, 1);
  transition: transform .2s; /* Animation */
}
.zoom:hover {
  transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  moz-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
.fadeIn {
  transition: transform .4s; /* Animation */
}
.fadeOut {
  transition: transform .4s; /* Animation */
}
@media (max-width:1024px) {
  .scrollphoto {
    height: 100%;
    width: auto;z-index: 1; 
  }
}
/**************************** tablet  ****************************/
@media (max-width:512px) {
  .leftspace {
    padding-left: 75px;
  }
  .leftbglogo {
    width: 60px;
  }
  .logo {
    width: 35px;
  }
  .navtab {
    width: 30px;
  }
	.inbox {
  width: 220px; 
}
}
/**************************** small mobile  ****************************/
@media (max-width:214px) {
  body {
    font-size: 14px;
    line-height: 16px;
  }
  .header {
    font-size: 16px;
    line-height: 18px;
  }
  .logo {
    width: 25px;
  }
  .navtab {
    width: 15px;
  }
  .copytext {
    height: 90px;
  }
  .positioncopy {
    align-self: flex-end;
    padding-top: 10vh;
  }
}
