@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');

html 
{   
    font-size: 10px;
    
}






body
{
    font-family: 'Kanit', serif;
    font-weight: 300;
    font-style: normal;
    background: linear-gradient(180deg, rgb(1, 26, 71), rgba(83, 4, 4, 0.961) 100%);
    -webkit-font-smoothing: antialiased;
}



svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: content-box;
    display: block;
    
    
}   


body.contains-hero
{
    padding-top: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
p

{  font-family: "Kanit", sans-serif;
    font-weight: normal;
    color: rgb(247, 241, 229);
}

h1
{
    font-size: 9.7rem;
    text-align: center;
}

h2
{
    font-size: 3em;
}

h3
{
    font-size: 4.3rem;
    text-align: center;
}

h4
{
    font-size: 3.2rem;
    text-align: center;
    opacity: .85;
}

h5
{
    font-size: 2rem;
    text-align: center;
    color:rgb(252, 119, 3);
}

h6
{
    font-size: 1.8rem;
    text-align: center;
}

p
{
    font-size: 1.6rem;
    text-align: center;
}

a,
a:hover,
a:focus
{
    
    -webkit-transition: all 300ms ease;
         -o-transition: all 300ms ease;
            transition: all 300ms ease;
    text-decoration: none;
    outline: none !important;
    
}

a:hover {
    color:rgba(247, 241, 229, 0.959);
    opacity: 0.8;
    
}






/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) { html {font-size: 0.4rem !important;}}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {html {font-size: 0.5rem !important;}}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {html {font-size: 0.6rem !important;}}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {html {font-size: 0.7rem !important;}}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {html {font-size: 0.8rem !important;}}

/** 2. Preloader
*******************************************************************/

.preloader
{
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:  rgba(6, 23, 34, 0.847);
}

.preloader-hidden
{
    height: 0;
    transition: .5s ease .3s;
}

.spinner
{
    position: absolute;
    top: 50%;

    width: 100%;

    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
    opacity: 1;
}

.preloader.preloader-hidden .spinner
{
    opacity: 0;
    
    -webkit-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
}

.preloader .spinner > div
{
    display: inline-block;

    width: 18px;
    height: 18px;
    margin: 0 6px;

    -webkit-animation: spinner-bounce 1.4s infinite ease-in-out both;
            animation: spinner-bounce 1.4s infinite ease-in-out both;

    border-radius: 100%;
    background-color: rgb(13, 255, 0);
}

.preloader .spinner .bounce-1
{
    -webkit-animation-delay: -.32s;
            animation-delay: -.32s;
}

.preloader .spinner .bounce-2
{
    -webkit-animation-delay: -.16s;
            animation-delay: -.16s;
}

@-webkit-keyframes spinner-bounce
{
    0%,
    80%,
    100%
    {
        -webkit-transform: scale(0);
    }
    40%
    {
        -webkit-transform: scale(1.0);
    }
}

@keyframes spinner-bounce
{
    0%,
    80%,
    100%
    {
        -webkit-transform: scale(0);
                transform: scale(0);
    }

    40%
    {
        -webkit-transform: scale(1.0);
                transform: scale(1.0);
    }
}



/** 3. Hero
*******************************************************************/


.hero
{
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.hero .animation-container
{
    -webkit-transition: .5s ease;
         -o-transition: .5s ease;
            transition: .5s ease;
}

.hero .animation-container.animation-fade
{
    opacity: 0;
}

.hero .animation-container.animation-fade.run-animation
{
    opacity: 1;
}

.hero .animation-container.animation-fade-up
{
    -webkit-transform: translateY(10vh);
        -ms-transform: translateY(10vh);
            transform: translateY(10vh);

    opacity: 0;
}

.hero .animation-container.animation-fade-up.run-animation
{
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);

    opacity: 1;
}

.hero .animation-container.animation-fade-down
{
    -webkit-transform: translateY(-10vh);
        -ms-transform: translateY(-10vh);
            transform: translateY(-10vh);

    opacity: 0;
}

.hero .animation-container.animation-fade-down.run-animation
{
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
}

.hero .animation-container.animation-fade-left
{
    -webkit-transform: translateX(10vh);
        -ms-transform: translateX(10vh);
            transform: translateX(10vh);
    opacity: 0;
}

.hero .animation-container.animation-fade-left.run-animation
{
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
}

.hero .animation-container.animation-fade-right
{
    -webkit-transform: translateX(-10vh);
        -ms-transform: translateX(-10vh);
            transform: translateX(-10vh);
    opacity: 0;
}

.hero .animation-container.animation-fade-right.run-animation
{
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0); 
     opacity: 1;
}



/** 4. Hero --> Front Content 
*******************************************************************/

.hero .front-content
{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero .front-content .container-mid
{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding: 0 0.3em;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
}

.hero .front-content .container-mid h1
{
    font-weight: bold;
    margin-top: 0;
    margin-bottom: .24em;
}




/** 5. Hero --> Background Content 
*******************************************************************/





.background-content-inner 
{
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate3d(-50%, -50%, 0px) !important;
            transform: translate3d(-50%, -50%, 0px) !important;
}

.hero .background-content.parallax-on .background-content-inner
{
    width: 110%;
    height: 110%;
}





/** 6. PORTFOLIO
*******************************************************************/

.portfolio
{
    padding: 0 7rem;
    z-index: 0;
}

.item
{
    position: relative;
    display: block;
    overflow: hidden;
    max-width: 990px;
    margin: 0 auto 10rem auto;
    border: 2px solid rgba(247, 241, 229, 0.575);
    border-radius: 15px;
    
}

.item:before
{
    display: block;
    padding-top: 56.25%;
    content: '';
}

.item:last-child
{
    margin-bottom: 0;
}

.item-cover
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.p-3
{
    display: block;
    max-width: 990px;
    text-align: center;
    margin: 0 auto 3rem auto;
}



/** 7. FOOTER
*******************************************************************/

.footer 
{
    display: inline-block;
    overflow: hidden;
    width: 100%;
    text-align: center;
    margin: 4em auto;
}

.footer p
{
    margin: 3em;
    color: rgb(255, 255, 255);
    opacity: .70;
}



.social 
{
    max-width: 100%;
    height: auto;
    opacity: .70;
    position: relative;
    margin: 4rem auto;
}

/** CSS Player creation by: Agent-R 
******************************************************************/

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

li {
    display: inline;
    text-align: center;
    
   }

.jp-audio
{  
    
    position:fixed;
    background-color:rgba(0, 0, 0, 0.377);
    border-top: 1px solid rgba(243, 238, 234, 0.315);
    overflow: hidden;
    bottom:0;
    width: 100%;
    height: auto;
    z-index: 3;
}

.jp-interface{
    width:100% ;
    display: inline;
    
}

.fa {
    font-size: 4.2rem;
    text-decoration: none;
    cursor:pointer;
    opacity: 0.9;
    z-index: 2;
    text-align: center;
}




.controls {
    
    position: relative;
    overflow: hidden;
    padding: 1.3rem;
    
    
}

.jp-play, .jp-pause {
    
    color:rgb(247, 241, 229);
    float:inline-start;
    margin-left: 2rem;
    
    
    
}

.jp-play :active{
    left: 1.9rem;
    position: relative;
    transition: 0.3s;
}








.jp-mute  { 
    color:rgb(247, 241, 229) ;
    clear: both;
    position:absolute;
    left:50%;
    -ms-transform: translate(-50%,-0%);
    transform: translate(-50%,-0%);
} 


.jp-unmute { 
    color: rgb(255, 10, 14);
    position:absolute;
    left:50%;
    -ms-transform: translate(-50%,-0%);
    transform: translate(-50%,-0%);
} 

 
.play {
    
    float: inline-end;
    color:rgb(247, 241, 229);
    margin-right: 2rem;
}

button { 
    display: inline-block;
    background-color: transparent;
    border: none;
    padding:0;
}



