/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'TT Commons';
    src: url(/wp-content/themes/flatsome-child/fonts/tt-commons-cufonfonts/TT-Commons-Bold.otf) format('otf');
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: 'TT Commons';
    src: url(/wp-content/themes/flatsome-child/fonts/tt-commons-cufonfonts/TT-Commons-Black.otf) format('otf');
    font-style: normal;
    font-weight: 900;
}

@font-face {
    font-family: 'Futura';
    src: url('fonts/futura/futura-medium-bt.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Futura';
    src: url('fonts/futura/Futura-Book-font.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
}


body h1, body h2, body h3, body h4, body h5, body h6{
    font-family: "TT Commons", sans-serif !important;
	font-weight: 700;
    line-height: 1.2;
}
	
body p, body{
    font-family: "Futura", sans-serif !important;
	font-weight: 400;
	font-size: 18px;
}

body a.button.primary span {
    font-family: "Futura", sans-serif !important;
	font-weight: 500;
}
.home-intro h1 {
    font-size: 90px;
    color: #FFFA00;
    margin-bottom: 0;
    font-weight: 900;
}

.home-intro h2, .home-2-intro h3, .home-about-kode h3, .home-award-title h3, .main-footer h3, .home-kode-title h3, .home-blog h3 {
    font-size: 60px;
    margin-bottom: 0;
    font-weight: 900;
    text-transform: uppercase;
}

.home-2-intro h4, .home-achivement h4, .home-insights h4, .home-social h4 {
    font-size: 40px;
    margin-bottom: 0;
    text-transform: uppercase;
}

  .marque-text {
    width: 100%; /* Ensure the marquee spans the entire width */
    overflow: visible; /* Hide any overflow */
    white-space: nowrap; /* Prevent text from wrapping */
    animation: marquee 10s linear infinite; /* Define the animation */
  }

  @keyframes marquee {
    0% { transform: translateX(0); } /* Initial position: move the text to the right */
    100% { transform: translateX(-100%); } /* Final position: move the text to the left */
  }
 
 
 .home-achivement .col-inner {
     overflow-x: hidden;
 } 
 
 .home-achivement h4 {
     margin-bottom: 30px;
 }

  .home-achivement .marque-text {
    animation: marquee 20s linear infinite; /* Define the animation */
  }

  .marque-text-reverse {
    width: 100%; /* Ensure the marquee spans the entire width */
    overflow: visible; /* Hide any overflow */
    white-space: nowrap; /* Prevent text from wrapping */
    animation: marquee-reverse 20s linear infinite; /* Define the animation */
  }

  @keyframes marquee-reverse {
    0% { transform: translateX(-100%); } /* Initial position: move the text to the right */
    100% { transform: translateX(0); } /* Final position: move the text to the left */
  }
 
  .achievement-row {
      display: flex;
      margin: 20px 0;
  }
  
  .achieve-single {
      display: inline-flex;
      width: 220px;
      height: 220px;
      aspect-ratio: 1/1;
      border-radius: 500px;
      border: 5px solid #000;
      background: #FFF;
      white-space: normal;
      justify-content: center;
      align-items: center;
      padding: 15px;
      margin: 0 5px;
  }
  
  .achieve-single p {
      font-weight: 700;
      font-size: 14px;
      margin-bottom: 0;
  }

.blog-wrapper .col.post-item .col-inner {
    background: #FFF;
    height: 100%;
    padding: 15px;
}

ul.links.page-numbers li a {
    color: #FFF !important;
    border-color: transparent;
}

ul.links.page-numbers li span.current, ul.links.page-numbers li a:hover {
    border-color: #FFF;
}

.home-social a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.home-social p {
    margin-bottom: 0;
}

.home-img img {
	border: 10px solid #FFF;
}

.blog-wrapper.blog-single .large-10.col {
	background: #FFF;
	padding-top: 30px;
}

@media only screen and (max-width: 48em) {
	
	.home-intro h1 {
		font-size: 60px;
	}
	
	.home-intro h2, .home-2-intro h3, .home-about-kode h3, .home-award-title h3, .main-footer h3, .home-kode-title h3, .home-blog h3 {
		font-size: 30px;
	}
	
	.home-2-intro h4, .home-achivement h4, .home-insights h4, .home-social h4 {
		font-size: 24px;
	}
	
	body p, body {
		font-size: 16px;
	}
}