
/*CUSTOM SCROLL BAR*/
*,html{
    scroll-behavior: smooth;
    }
    *, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }
    :root{
    scrollbar-color: rgb(210,210,210) rgb(46,54,69) !important;
    scrollbar-width: thin !important;
    --white:#fff;
    --black:#181818;
    --dark:#2d2f30;
    --gray:rgba(1,1,1,0.7);
    --lite:rgba(255,255,255,0.7);
    --primary:#dea615;
    --primarylite:#f7c33d;
    --secondary:#232331;
    --secondarylite:#3a3a45;
    --primaryfont:'IBM Plex Sans Thai Looped', sans-serif;
    --secondaryfont:'Exo 2', sans-serif;
    --titleheadersize:2.5em;
    --subtitleheadersize:1.5em;
    --respotitleheadersize:1.5em;
    --resposubtitleheadersize:1.1em;
    }
    ::-webkit-scrollbar {
    height: 12px;
    width: 8px;
    background: var(--dark);
    }
    ::-webkit-scrollbar-thumb {
    background: #c7a17a;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
    }
    ::-webkit-scrollbar-corner {
    background: var(--dark);
    }
    
    
    
    
    
    
    
    
    /*DEFAULT*/
    body{
    margin:0;
    overflow-x:hidden !important;
    font-family:var(--primaryfont);
    }
    
    a{
    text-decoration:none;
    }
    
    a, button{
    transition:0.5s;
    }
    
    a, button, input, select, textarea{
    outline:none !important;
    }
    
    ul{
    position:relative;
    left:-20px;
    }
    
    p{
    line-height:1.4em;
    letter-spacing:0.08em;
    color:var(--gray);
    }
    
    fieldset{
    border:0;
    }
    
    em{
    font-style:normal;
    color:var(--primary);
    font-weight:600;
    }
    
    .title{
    font-size:3em;
    font-weight:600;
    line-height:1.2;
    font-family:var(--primaryfont);
    }
    
    .sub-title{
    font-weight:400;
    line-height:1.4;
    font-family:var(--secondaryfont);
    }
    
    .btn1, .btn2{
    text-align:center;
    padding:10px 40px;
    border-radius:5px;
    display:inline-block;
    }
    
    .btn1{
    background-color:transparent;
    color:var(--white);
    border:2px solid var(--primary);
    font-weight:400;
    }
    
    .btn1:hover{
    background-color:var(--primarylite);
    }
    
    .btn2{
    background-color:var(--dark);
    color:var(--white);
    border:0;
    }
    
    .btn2:hover{
    background-color:var(--secondarylite);
    }
    
    .title_header{
    width:60%;
    margin:auto;
    text-align:center;
    padding:1rem;
    }
    
    .title_header .title{
    font-size:var(--titleheadersize);
    position:relative;
    overflow:hidden;
    z-index:11;
    }
    
    .title_header .title:after {
    background-color: var(--primary);
    content: '';
    display: block;
    height: 15px;
    position: absolute;
    bottom: 15px;
    left: -5px;
    right: -5px;
    z-index:-1;
    }
    
    .title_header .sub-title{
    font-size:var(--subtitleheadersize);
    color:var(--gray);
    }
    
    @media (max-width:920px){
    .title{
    font-size:1.5em;
    }
    .sub-title{
    font-size:1.1em;
    }
    .btn1, .btn2{
    padding:10px 20px;
    }
    .title_header{
    width:100%;
    }
    .title_header .title:after {
    bottom:5px;
    }
    .title_header .title{
    font-size:var(--respotitleheadersize);
    }
    .title_header .sub-title{
    font-size:var(--resposubtitleheadersize);
    }
    @media (max-width:420px){
    .title_header .title:after {
    bottom:0px;
    }
    }
    }
    
    
    
    
    
    
    
    
    
    /*HEADER*/
    header{
    width:100%;
    background: linear-gradient(45deg, #042461 0%, rgba(225, 5, 34, 0) 70%), linear-gradient(135deg, #340447 10%, rgba(49, 5, 209, 0) 80%), linear-gradient(225deg, #0f053a 10%, rgba(10, 219, 216, 0) 80%), linear-gradient(315deg, #050813 100%, rgba(9, 245, 5, 0) 70%);
    display:flex;
    }
    
    header section{
    width:100%;
    padding:0.5rem 2rem;
    font-size:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    }
    
    header section span{
    padding:0 1rem;
    text-align:center;
    white-space:nowrap;
    }
    
    header section span a{
    color:var(--lite);
    }
    
    header section span a:hover{
    color:var(--white);
    }
    
    header section:nth-child(1) span:not(:last-child){
    border-right:1px solid rgba(255,255,255,0.3);
    }
    
    header span .fa{
    margin:0 5px;
    }
    
    header .btn1{
    padding:5px 10px !important;
    }
    
    @media (max-width:820px){
    header section:nth-child(1){
    display:none !important;
    }
    header section{
    padding:0.5rem 0rem;
    }
    } 
    
    @media (max-width:340px){
    header section span{
    padding:0 2px;
    }
    }
    
    
    
    
    
    
    
    
    /*NAVIGATION*/
    nav{
    position:sticky;
    top:0;
    z-index:999;
    }
    
    .topnav {
    overflow: hidden;
    background-color: var(--dark);
    }
    
    .logo{
    float:left !important;
    margin:0 !important;
    }
    
    .logo img{
    width:180px;
    }
    
    .topnav a {
    float: right;
    display: block;
    color: var(--lite);
    text-align: center;
    padding: 1px 16px;
    text-decoration: none;
    font-size: 17px;
    margin:25px 15px;
    }
    
    .active {
    color: var(--primary) !important;
    }
    
    .topnav .icon {
    display: none;
    position:absolute;
    right:0px;
    top:0;
    margin:20px 10px;
    }
    
    .dropdown {
    float: right;
    overflow: hidden;
    }
    
    .dropdown .dropbtn {
    font-size: 17px;    
    border: none;
    outline: none;
    color: var(--lite);
    padding: 1px 16px;
    background-color: inherit;
    font-family: inherit;
    margin:25px 15px;
    }
    
    .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-top:4px solid var(--primary);
    }
    
    .dropdown-content:before {
    content:"";
    font-family:"FontAwesome";
    position:absolute;
    top:-11%;
    left:45%;
    color:var(--primary);
    }
    
    .dropdown-content a {
    float: none;
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    margin:0;
    }
    
    .topnav a:hover, .dropdown:hover .dropbtn {
    color: var(--white);
    }
    
    .dropdown-content a:hover {
    background-color: #ddd;
    color: black;
    }
    
    .dropdown:hover .dropdown-content {
    display: block;
    }
    
    @media screen and (max-width: 1000px) {
    .topnav a,.logo {
    float: none !important;
    text-align:left;
    }
    .logo img{
    width:150px;
    }
    .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
    }
    .topnav a.icon {
    display: block;
    }
    }
    
    @media screen and (max-width: 1000px) {
    .topnav.responsive {position: relative;}
    
    .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    margin:10px 0;
    }
    .dropdown-content:before {
    display:none;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
    margin:5px 0;
    }
    .topnav.responsive .dropdown-content a{
    margin:0;
    }
    }
    
    
    
    
    
    
    /*BANNER*/
    .banner{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:right;
    background: linear-gradient(rgba(1,1,1,.5), rgba(1,1,1,.5)), url("image/berew.jpg");
    background-size:cover;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    border-bottom:4px solid var(--primary);
    }
    
    .banner section{
    width:60%;
    padding:6rem 2rem;
    color:var(--white);
    text-align:left;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    }
    
    .banner section .title{
    font-weight:200;
    }
    
    .banner section .sub-title{
    line-height:0;
    font-weight:200;
    color:rgba(255,255,255,1);
    }
    
    @media (max-width:1020px){
    .banner section{
    width:100%;
    padding:6rem 1rem;
    } 
    .banner section em{
    line-height:1;
    }
    }
    
    
    img{
      border-radius: 8px;
      

    }
    
    
    /*SECTION1*/
    .section1{
    width:100%;
    display:flex;
    align-items:center;
    position:relative;
    top:-5vh;
    }
    
    .section1 .card{
      display: flex;
      flex-wrap: wrap;
    width:100%;
    background-color:var(--white);
    padding:1rem;
    display:flex;
    align-items:center;
    margin:10px 15px;
    border-radius:10px;
    box-shadow:0px 6px 16px -6px rgba(1,1,1,0.2);
    }
    
    .section1 .card span{
    padding:1rem;
    }
    
    .section1 .card span .title{
    font-size:1.2em;
    font-weight:600;
    }
    
    .section1 .card span P{
    font-size:0.8em;
    }
    
    @media (max-width:920px){
    .section1{
    top:0vh;
    flex-wrap:wrap;
    }
    }
    
    
    
    
    
    /*SECTION2*/
    .section2{
    width:100%;
    display:flex;
    align-items:center;
    }
    
    .section2 section{
    width:100%;
    padding:2rem;
    }
    
  
    
    .section2 section em{
    position:relative;
    top:20px;
    }
    
    .section2 section .title{
    font-size:2em;
    }
    
    @media (max-width:1080px){
    .section2 section .title{
    font-size:1.4em;
    }
    }
    
    @media (max-width:920px){
    .section2{
    flex-wrap:wrap;
    }
    .section2 section{
    padding:1rem;
    }
    .section2 section em{
    top:10px;
    }
  
    }
    @media (max-width:600px){
      .section2 section img{
        width:100%;
        /* display: none; */
        }
        .section3 section img{
          width:100%;
          }
      }
      @media (min-width:600px){
        .section2 section img{
          width:50%;
          
          }
          .section3 section img{
            width:50%;
            }
        }
    
    /*SECTION3*/
    .section3{
    width:100%;
    display:flex;
    align-items:center;
    }
    
    .section3 section{
    width:100%;
    padding:2rem;
    }
    
    .section3 section em{
    position:relative;
    top:20px;
    }
    
    .section3 section .title{
    font-size:2em;
    }
   
    @media (max-width:1080px){
    .section3 section .title{
    font-size:1.4em;
    }
    }
    
    
    @media (max-width:920px){
    .section3{
    flex-wrap:wrap;
    }
    .section3 section{
    padding:1rem;
    }
    .section3 section em{
    top:10px;
    }
    }
    
    
    
    
    
    
    
    
    
    /*FOOTER*/
    .footer{
      background: linear-gradient(45deg, #042461 0%, rgba(225, 5, 34, 0) 70%), linear-gradient(135deg, #340447 10%, rgba(49, 5, 209, 0) 80%), linear-gradient(225deg, #0f053a 10%, rgba(10, 219, 216, 0) 80%), linear-gradient(315deg, #050813 100%, rgba(9, 245, 5, 0) 70%);
    width:100%;
    display:flex;
    align-items:top;
    padding:5rem 0;
    }
    
    .footer section{
    padding:1rem 2rem;
    width:100%;
    vertical-align:top;
    }
    
    .footer section p{
    color:var(--lite);
    }
    
    .footer section h3{
    color:var(--white);
    }
    
    .footer section a{
    color:var(--lite);
    display:flex;
    align-items:center;
    white-space:nowrap;
    margin:15px 0;
    }
    
    .footer section a:hover{
    color:var(--white);
    }
    
    .footer section:nth-child(2) a:before,.footer section:nth-child(3) a:before{
    content:"";
    font-family:"FontAwesome";
    margin-right:5px;
    color:var(--white);
    }
    
    .footer section a span{
    margin:0 10px;
    }
    
    .sub-footer{
    background-color:var(--black);
    text-align:Center;
    color:var(--lite);
    padding:1rem 0;
    }
    
    @media (max-width:1020px){
    .footer{
    display:block;
    }
    .footer section{
    padding:1rem 1rem;
    }
    .footer section:nth-child(2), .footer section:nth-child(3){
    width:49%;
    display:inline-block;
    }
    }
    
    
    
    
    
    
    /*SCROLL ICON*/
    #roll_back{
    position:fixed;
    bottom:2rem;
    right:2rem;
    background-color:var(--dark);
    border-radius:5px;
    border:2px solid var(--primary);
    padding:5px 10px;
    display:none;
    align-items:center;
    justify-content:center;
    z-index:999999;
    box-shadow:0px 6px 16px -6px rgba(1,1,1,0.5);
    color:var(--primary);
    font-weight:900;
    }
    
    
    
    
    
    
    
    
    
    
    /*ANIMATIONS*/
    /*INFINITE HORIZONTAL AUTO SCROLLER*/
    @-webkit-keyframes scroll {
    0% {
    transform: translateX(0);
    }
    100% {
    transform: translateX(calc(-250px * 7));
    }
    }
    
    @keyframes scroll {
    0% {
    transform: translateX(0);
    }
    100% {
    transform: translateX(calc(-250px * 7));
    }
    }
    
    
    /*ZOOM OUT TO IN ON PAGE LOAD*/
    .animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
    }
    
    @-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
    }
    
    @keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
    }
    
    
    
    
    
    
    
    .credits{
    padding:5px;
    background-color:var(--dark);
    font-size:13px;
    color:var(--lite);
    position:fixed;
    bottom:5%;
    right:0;
    z-index:9999;
    }
    
    .credits a{
    color:var(--white);
    }
    
    .credits a:hover{
    color:var(--primary);
    }