/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: 'Kanit', sans-serif;
  color: #3d3536;
  background-color: white;
}

a {
  color: #b4d7a8;
  text-decoration: none;
}

@font-face {
  font-family: reem;
  src: url(font/reem-regular.otf);
}

@font-face {
  font-family: reem-med;
  src: url(font/reem-medium.otf);
}

@font-face {
  font-family: reem-light;
  src: url(font/ITV-Reem-Light.otf);
}

.row p {
  margin: 20px 0;    
  font-size: 20px;
  line-height:22px;    
  font-family: 'Kanit', sans-serif;
  font-weight:300;
}

.footer p {
  margin: 16px;    
  font-size: 16px;
  line-height:22px;    
  font-family: 'Kanit', sans-serif;
  font-weight:300;
}

li {
  margin: 10px;    
  font-size: 18px;
  line-height:20px;    
  font-family: 'Kanit', sans-serif;
  list-style: disc;
}

h1,
.row h1 {
  margin: 0;    
  font-size: 40px;
  line-height:40px;    
  font-family: 'Kanit', sans-serif;   
  font-weight: 600; 
  text-transform: uppercase;
}

.row h2 {
  margin: 0;    
  font-size: 20px;
  line-height:20px;    
  font-family: 'Kanit', sans-serif;  
  font-weight: 0,500; 
}

.row h3 {
  margin: 0;    
  font-size: 26px;
  line-height:26px;    
  font-family: 'Kanit', sans-serif;  
  text-transform: uppercase;   
}

.row h4 {
  margin: 0;    
  font-size: 22px;
  line-height:22px;    
  font-family: 'Kanit', sans-serif;
}

.row h5 {
  margin: 0;    
  font-size: 26px;
  line-height:26px;    
  font-family: 'Kanit', sans-serif;  
  font-weight:600;  
}

.row a {
  color: #2F86F1;
  text-decoration: none;
}

/* -------------------------------- 

Main

-------------------------------- */

main {
  overflow:hidden;
}

.space40 {
  padding: 40vh 0 0 0;
}

.space25 {
  padding: 25vh 0 0 0;
}

.space10 {
  padding: 10vh 0 0 0;
}

.rh-main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0);
  z-index: 3;
}

.rh-main-header:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}

.rh-main-header__logo {
  float: left;
  margin: 20px 0 0 5%;
  width: 200px;
}

.rh-main-header__logo img {
  display: block;
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .rh-main-header {
    height: 50px;
  }
  .rh-main-header__logo {
    margin: 20px 0 0 5%;
    width: 200px;
  }
}

.rh-fixed-bg {
  position: relative;
  min-height: 100vh;
  background-size: contain;
  background-repeat: repeat;
  background-position: center center;
  background-attachment: fixed;
  z-index: 1;
}

.rh-fixed-bg__content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 3rem;
}


.rh-fixed-bg h1, .rh-fixed-bg h2 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
}

.rh-fixed-bg.rh-fixed-bg--1 {
  background-image: url("../img/bg-kayo.jpg");
  color: #fff;
}

.rh-fixed-bg.rh-fixed-bg--2 {
  background-image: url("../img/TAG-metal--blue.jpg");
  color: #fff;
}

.rh-fixed-bg.rh-fixed-bg--3 {
  background-image: url("../img/tag-hero.jpg");
  color: #fff;
  background-size: cover;
}

.rh-fixed-bg.rh-fixed-bg--4 {
  background-image: url("../img/bg-kayo.jpg");
  color: #fff;
}

.rh-fixed-bg.rh-fixed-bg--5 {
  background-image: url("../img/bg-scott-tracy.jpg");
  color: #fff;
}




@media only screen and (min-width: 768px) {
  .rh-fixed-bg h1, .rh-fixed-bg h2 {
    font-size: 3.6rem;
  }
}

@media only screen and (min-width: 1170px) {
  .rh-fixed-bg h1, .rh-fixed-bg h2 {
    font-size: 4.8rem;
  }
  @supports (background-attachment: fixed) {
    /* fix bug on IE11 and below */
    .rh-fixed-bg {
      background-attachment: fixed;
    }
  }
}

.rh-fixed-bg.rh-fixed-bg--1:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height:100%;
    background: rgb(0,0,0);
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    opacity: 1;
}

.button {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    -webkit-appearance: none;
    padding: 10px 30px;
    font-family: 'Kanit', sans-serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 900;
    border-radius: 10px;
    background-color: #2F86F1;
    border: 2px solid #2F86F1;
    color: #EDEDED!important;
    white-space: nowrap;
    -webkit-transition: color 0.15s linear 0s, background-color 0.15s linear 0s;
    transition: color 0.15s linear 0s, background-color 0.15s linear 0s;
    position: relative;
    text-align: center;
    opacity: 1;
    max-width: 100%;
    text-overflow: ellipsis;
    text-transform: uppercase;
    text-decoration: none!important;
    z-index: 99999;
}

.button:hover{
background-color: #EDEDED;
text-decoration: none;
border: 2px solid #2F86F1;
color: #2F86F1!important;
opacity:1;    
}


.card {
  background-color: rgba(255, 255, 255, .2)!important;
  background-image: url("../img/bg-kayo.jpg");
}

.rounds {
  background-color: rgba(255, 255, 255, .2);
  border-radius: 10px!important;
  width: 100%;
  height: 100%;
}

.blur {
  backdrop-filter: blur(10px) brightness(1);  
}

.card-img, .card-img-top {
  border-top-left-radius: 10px!important;
  border-top-right-radius: 10px!important;
}

.card p {
  margin: 20px 0;    
  font-size: 14px;
  line-height:16px;    
  font-family: 'Kanit', sans-serif;
  font-weight:300;
}

.card h3 {
  margin: 20px 0;    
  font-size: 20px;
  line-height:16px;    
  font-family: 'Kanit', sans-serif;
  font-weight:600;
}




/* Hover gallery */

.containerGroup {
  display: flex;
  width: 100%;
  padding: 0 4%;
  box-sizing: border-box;
  height: 85vh;
  margin-bottom: 50px;
}

.box {
  flex: 1;
  overflow: hidden;
  transition: .5s;
  margin: 0 0%;
  box-shadow: 0 20px 30px rgba(0,0,0,0);
  line-height: 0;
}

.box > img {
  width: 150%;
  height: calc(100% - 10vh);
  object-fit: cover; 
  object-position: top;
  transition: .5s;
}

.box:hover { flex: 1 1 50%; }
.box:hover > img {
  width: 100%;
  height: 100%;
}

.pseudover,
.pseudover1,
.pseudover2,
.pseudover3,
.pseudover4 {
  position: relative;
  display: inline-block;   
}

.pseudover:after,
.pseudover1:after,
.pseudover2:after,
.pseudover3:after,
.pseudover4:after {
  content: attr(title);
  color: rgba(255, 255, 255, 0.75);
  padding: 0;
  font-family: helvetica;
  position: absolute;
  top: 0;
  right: 0;
  transition: all .25s ease-in-out;
}

.pseudover:hover:after {
  background-image: url("../img/character/scott-tracy-bio.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.pseudover1:hover:after {
  background-image: url("../img/character/virgil-tracy-bio.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.pseudover2:hover:after {
  background-image: url("../img/character/alan-tracy-bio.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.pseudover3:hover:after {
  background-image: url("../img/character/gordon-tracy-bio.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.pseudover4:hover:after {
  background-image: url("../img/character/john-tracy-bio.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.pseudover.v2:after,
.pseudover1.v2:after,
.pseudover2.v2:after,
.pseudover3.v2:after,
.pseudover4.v2:after {
  content: "";
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.pseudover.v2:hover:before,
.pseudover1.v2:hover:before,
.pseudover2.v2:hover:before,
.pseudover3.v2:hover:before,
.pseudover4.v2:hover:before {
  content: attr(title);
  position: absolute;
  margin-top: -.5em;
  top: 50%;
  left: 0;
  width: 100%;
  z-index: 9999999999;    
}

.v-pseudover,
.v-pseudover1,
.v-pseudover2,
.v-pseudover3,
.v-pseudover4 {
  position: relative;
  display: inline-block;   
}

.v-pseudover:after,
.v-pseudover1:after,
.v-pseudover2:after,
.v-pseudover3:after,
.v-pseudover4:after {
  content: attr(title);
  color: rgba(255, 255, 255, 0.75);
  padding: 0;
  font-family: helvetica;
  position: absolute;
  top: 0;
  right: 0;
  transition: all .25s ease-in-out;
}

.v-pseudover:hover:after {
  background-image: url("../img/vehicles/tb1.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.v-pseudover1:hover:after {
  background-image: url("../img/vehicles/tb2.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.v-pseudover2:hover:after {
  background-image: url("../img/vehicles/tb3.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.v-pseudover3:hover:after {
  background-image: url("../img/vehicles/tb4.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.v-pseudover4:hover:after {
  background-image: url("../img/vehicles/tb5.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;    
  color: #fff;
}

.v-pseudover.v2:after,
.v-pseudover1.v2:after,
.v-pseudover2.v2:after,
.v-pseudover3.v2:after,
.v-pseudover4.v2:after {
  content: "";
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.v-pseudover.v2:hover:before,
.v-pseudover1.v2:hover:before,
.v-pseudover2.v2:hover:before,
.v-pseudover3.v2:hover:before,
.v-pseudover4.v2:hover:before {
  content: attr(title);
  position: absolute;
  margin-top: -.5em;
  top: 50%;
  left: 0;
  width: 100%;
  z-index: 9999999999;    
}

.responsive-vid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; xz-index: -1; xpointer-events: none; overflow: hidden;  }

.responsive-vid iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.77vh; transform: translate(-50%, -50%); }

.fade-in-down {
  animation: fade-in-down 2s ease infinite;
}
@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}