<?php

$gamers_hub_tp_theme_css="";

	$gamers_hub_scroll_position = get_theme_mod( 'gamers_hub_scroll_top_position','Right');
	if($gamers_hub_scroll_position == 'Right'){
		$gamers_hub_tp_theme_css .='#return-to-top{';
			$gamers_hub_tp_theme_css .='right: 20px;';
		$gamers_hub_tp_theme_css .='}';
	}else if($gamers_hub_scroll_position == 'Left'){
		$gamers_hub_tp_theme_css .='#return-to-top{';
			$gamers_hub_tp_theme_css .='left: 20px;';
		$gamers_hub_tp_theme_css .='}';
	}else if($gamers_hub_scroll_position == 'Center'){
		$gamers_hub_tp_theme_css .='#return-to-top{';
			$gamers_hub_tp_theme_css .='right: 50%;left: 50%;';
		$gamers_hub_tp_theme_css .='}';
	}

// site title and tagline font size option
$gamers_hub_site_title_font_size = get_theme_mod('gamers_hub_site_title_font_size', 30);{
$gamers_hub_tp_theme_css .='.logo h1 a, .logo p a{';
$gamers_hub_tp_theme_css .='font-size: '.esc_attr($gamers_hub_site_title_font_size).'px;';
	$gamers_hub_tp_theme_css .='}';
}

$gamers_hub_site_tagline_font_size = get_theme_mod('gamers_hub_site_tagline_font_size', 15);{
$gamers_hub_tp_theme_css .='.logo p{';
$gamers_hub_tp_theme_css .='font-size: '.esc_attr($gamers_hub_site_tagline_font_size).'px;';
	$gamers_hub_tp_theme_css .='}';
}

$gamers_hub_related_product = get_theme_mod('gamers_hub_related_product',true);
if($gamers_hub_related_product == false){
$gamers_hub_tp_theme_css .='.related.products{';
$gamers_hub_tp_theme_css .='display: none;';
$gamers_hub_tp_theme_css .='}';
}

$gamers_hub_footer_widget_image = get_theme_mod('gamers_hub_footer_widget_image');
if($gamers_hub_footer_widget_image != false){
$gamers_hub_tp_theme_css .='#footer{';
$gamers_hub_tp_theme_css .='background: url('.esc_attr($gamers_hub_footer_widget_image).');';
$gamers_hub_tp_theme_css .='}';
}

// related post
$gamers_hub_related_post_mob = get_theme_mod('gamers_hub_related_post_mob', true);
$gamers_hub_related_post = get_theme_mod('gamers_hub_remove_related_post', true);
$gamers_hub_tp_theme_css .= '.related-post-block {';
if ($gamers_hub_related_post == false) {
    $gamers_hub_tp_theme_css .= 'display: none;';
}
$gamers_hub_tp_theme_css .= '}';
$gamers_hub_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($gamers_hub_related_post == false || $gamers_hub_related_post_mob == false) {
    $gamers_hub_tp_theme_css .= '.related-post-block { display: none; }';
}
$gamers_hub_tp_theme_css .= '}';

// slider btn
$gamers_hub_slider_button_mob = get_theme_mod('gamers_hub_slider_button_mob', true);
$gamers_hub_slider_button = get_theme_mod('gamers_hub_slider_button', true);
$gamers_hub_tp_theme_css .= '#slider .more-btn {';
if ($gamers_hub_slider_button == false) {
    $gamers_hub_tp_theme_css .= 'display: none;';
}
$gamers_hub_tp_theme_css .= '}';
$gamers_hub_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($gamers_hub_slider_button == false || $gamers_hub_slider_button_mob == false) {
    $gamers_hub_tp_theme_css .= '#slider .more-btn { display: none; }';
}
$gamers_hub_tp_theme_css .= '}';

//return to header mobile				
$gamers_hub_return_to_header_mob = get_theme_mod('gamers_hub_return_to_header_mob', true);
$gamers_hub_return_to_header = get_theme_mod('gamers_hub_return_to_header', true);
$gamers_hub_tp_theme_css .= '.return-to-header{';
if ($gamers_hub_return_to_header == false) {
    $gamers_hub_tp_theme_css .= 'display: none;';
}
$gamers_hub_tp_theme_css .= '}';
$gamers_hub_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($gamers_hub_return_to_header == false || $gamers_hub_return_to_header_mob == false) {
    $gamers_hub_tp_theme_css .= '.return-to-header{ display: none; }';
}
$gamers_hub_tp_theme_css .= '}';

//blog description              
$gamers_hub_mobile_blog_description = get_theme_mod('gamers_hub_mobile_blog_description', true);
$gamers_hub_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($gamers_hub_mobile_blog_description == false) {
    $gamers_hub_tp_theme_css .= '.blog-description{ display: none; }';
}
$gamers_hub_tp_theme_css .= '}';
	
	//Social icon Font size
$gamers_hub_social_icon_fontsize = get_theme_mod('gamers_hub_social_icon_fontsize');
$gamers_hub_tp_theme_css .='.social-media a i{';
$gamers_hub_tp_theme_css .='font-size: '.esc_attr($gamers_hub_social_icon_fontsize).'px;';
$gamers_hub_tp_theme_css .='}';


//menu font size
$gamers_hub_menu_font_size = get_theme_mod('gamers_hub_menu_font_size', 15);{
$gamers_hub_tp_theme_css .='.main-navigation a, .main-navigation li.page_item_has_children:after,.main-navigation li.menu-item-has-children:after{';
	$gamers_hub_tp_theme_css .='font-size: '.esc_attr($gamers_hub_menu_font_size).'px;';
$gamers_hub_tp_theme_css .='}';
}

// menu text tranform
$gamers_hub_menu_text_tranform = get_theme_mod( 'gamers_hub_menu_text_tranform','Capitalize');
if($gamers_hub_menu_text_tranform == 'Uppercase'){
$gamers_hub_tp_theme_css .='.main-navigation a {';
	$gamers_hub_tp_theme_css .='text-transform: uppercase;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_menu_text_tranform == 'Lowercase'){
$gamers_hub_tp_theme_css .='.main-navigation a {';
	$gamers_hub_tp_theme_css .='text-transform: lowercase;';
$gamers_hub_tp_theme_css .='}';
}
else if($gamers_hub_menu_text_tranform == 'Capitalize'){
$gamers_hub_tp_theme_css .='.main-navigation a {';
	$gamers_hub_tp_theme_css .='text-transform: capitalize;';
$gamers_hub_tp_theme_css .='}';
}
//======================= slider Content layout ===================== //

$gamers_hub_slider_content_layout = get_theme_mod('gamers_hub_slider_content_layout', 'CENTER-ALIGN'); 
$gamers_hub_tp_theme_css .= '#slider .carousel-caption{';
switch ($gamers_hub_slider_content_layout) {
    case 'LEFT-ALIGN':
        $gamers_hub_tp_theme_css .= 'text-align:left; right: 50%; left: 15%';
        break;
    case 'CENTER-ALIGN':
        $gamers_hub_tp_theme_css .= 'text-align:center; right: 50%; left: 15%';
        break;
    case 'RIGHT-ALIGN':
        $gamers_hub_tp_theme_css .= 'text-align:right; right: 50%; left: 15%';
        break;
    default:
        $gamers_hub_tp_theme_css .= 'text-align:left; right: 50%; left: 15%';
        break;
}
$gamers_hub_tp_theme_css .= '}';



// Sale Tag Position (Fixed variable name conflict)
$gamers_hub_sale_position = get_theme_mod( 'gamers_hub_sale_tag_position', 'right' );
if ( $gamers_hub_sale_position == 'right' ) {
    $gamers_hub_tp_theme_css .= '.woocommerce ul.products li.product .onsale {';
    $gamers_hub_tp_theme_css .= 'right: 25px !important; left: auto !important;';
    $gamers_hub_tp_theme_css .= '}';
} elseif ( $gamers_hub_sale_position == 'left' ) {
    $gamers_hub_tp_theme_css .= '.woocommerce ul.products li.product .onsale {';
    $gamers_hub_tp_theme_css .= 'left: 25px !important; right:auto !important;';
    $gamers_hub_tp_theme_css .= '}';
}

$gamers_hub_woocommerce_sale_font_size = get_theme_mod('gamers_hub_woocommerce_sale_font_size');
if($gamers_hub_woocommerce_sale_font_size != false){
    $gamers_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $gamers_hub_tp_theme_css .='font-size: '.esc_attr($gamers_hub_woocommerce_sale_font_size).'px;';
    $gamers_hub_tp_theme_css .='}';
}

$gamers_hub_woocommerce_sale_padding_top_bottom = get_theme_mod('gamers_hub_woocommerce_sale_padding_top_bottom');
if($gamers_hub_woocommerce_sale_padding_top_bottom != false){
    $gamers_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $gamers_hub_tp_theme_css .='padding-top: '.esc_attr($gamers_hub_woocommerce_sale_padding_top_bottom).'px; padding-bottom: '.esc_attr($gamers_hub_woocommerce_sale_padding_top_bottom).'px;';
    $gamers_hub_tp_theme_css .='}';
}

$gamers_hub_woocommerce_sale_padding_left_right = get_theme_mod('gamers_hub_woocommerce_sale_padding_left_right');
if($gamers_hub_woocommerce_sale_padding_left_right != false){
    $gamers_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $gamers_hub_tp_theme_css .='padding-left: '.esc_attr($gamers_hub_woocommerce_sale_padding_left_right).'px !Important; padding-right: '.esc_attr($gamers_hub_woocommerce_sale_padding_left_right).'px !important;';
    $gamers_hub_tp_theme_css .='}';
}

$gamers_hub_woocommerce_sale_border_radius = get_theme_mod('gamers_hub_woocommerce_sale_border_radius', 100);
if($gamers_hub_woocommerce_sale_border_radius != false){
    $gamers_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $gamers_hub_tp_theme_css .='border-radius: '.esc_attr($gamers_hub_woocommerce_sale_border_radius).'% !important;';
    $gamers_hub_tp_theme_css .='}';
}


//Font Weight
$gamers_hub_menu_font_weight = get_theme_mod( 'gamers_hub_menu_font_weight','400');
if($gamers_hub_menu_font_weight == '100'){
$gamers_hub_tp_theme_css .='.main-navigation a{';
    $gamers_hub_tp_theme_css .='font-weight: 100;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_menu_font_weight == '200'){
$gamers_hub_tp_theme_css .='.main-navigation a{';
    $gamers_hub_tp_theme_css .='font-weight: 200;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_menu_font_weight == '300'){
$gamers_hub_tp_theme_css .='.main-navigation a{';
    $gamers_hub_tp_theme_css .='font-weight: 300;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_menu_font_weight == '400'){
$gamers_hub_tp_theme_css .='.main-navigation a{';
    $gamers_hub_tp_theme_css .='font-weight: 400;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_menu_font_weight == '500'){
$gamers_hub_tp_theme_css .='.main-navigation a{';
    $gamers_hub_tp_theme_css .='font-weight: 500;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_menu_font_weight == '600'){
$gamers_hub_tp_theme_css .='.main-navigation a{';
    $gamers_hub_tp_theme_css .='font-weight: 600;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_menu_font_weight == '700'){
$gamers_hub_tp_theme_css .='.main-navigation a{';
    $gamers_hub_tp_theme_css .='font-weight: 700;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_menu_font_weight == '800'){
$gamers_hub_tp_theme_css .='.main-navigation a{';
    $gamers_hub_tp_theme_css .='font-weight: 800;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_menu_font_weight == '900'){
$gamers_hub_tp_theme_css .='.main-navigation a{';
    $gamers_hub_tp_theme_css .='font-weight: 900;';
$gamers_hub_tp_theme_css .='}';
}

/*------------- Blog Page------------------*/
$gamers_hub_post_image_round = get_theme_mod('gamers_hub_post_image_round', 0);
if($gamers_hub_post_image_round != false){
    $gamers_hub_tp_theme_css .='.blog .box-image img{';
        $gamers_hub_tp_theme_css .='border-radius: '.esc_attr($gamers_hub_post_image_round).'px;';
    $gamers_hub_tp_theme_css .='}';
}

$gamers_hub_post_image_width = get_theme_mod('gamers_hub_post_image_width', '');
if($gamers_hub_post_image_width != false){
    $gamers_hub_tp_theme_css .='.blog .box-image img{';
        $gamers_hub_tp_theme_css .='Width: '.esc_attr($gamers_hub_post_image_width).'px;';
    $gamers_hub_tp_theme_css .='}';
}

$gamers_hub_post_image_length = get_theme_mod('gamers_hub_post_image_length', '');
if($gamers_hub_post_image_length != false){
    $gamers_hub_tp_theme_css .='.blog .box-image img{';
        $gamers_hub_tp_theme_css .='height: '.esc_attr($gamers_hub_post_image_length).'px;';
    $gamers_hub_tp_theme_css .='}';
}

// footer widget title font size
    $gamers_hub_footer_widget_title_font_size = get_theme_mod('gamers_hub_footer_widget_title_font_size', '');{
    $gamers_hub_tp_theme_css .='#footer h3, #footer h2.wp-block-heading{';
        $gamers_hub_tp_theme_css .='font-size: '.esc_attr($gamers_hub_footer_widget_title_font_size).'px;';
    $gamers_hub_tp_theme_css .='}';
    }

    // Copyright text font size
    $gamers_hub_footer_copyright_font_size = get_theme_mod('gamers_hub_footer_copyright_font_size', '');{
    $gamers_hub_tp_theme_css .='#footer .site-info p{';
        $gamers_hub_tp_theme_css .='font-size: '.esc_attr($gamers_hub_footer_copyright_font_size).'px;';
    $gamers_hub_tp_theme_css .='}';
    }

    // copyright padding
    $gamers_hub_footer_copyright_top_bottom_padding = get_theme_mod('gamers_hub_footer_copyright_top_bottom_padding', '');
    if ($gamers_hub_footer_copyright_top_bottom_padding !== '') { 
        $gamers_hub_tp_theme_css .= '.site-info {';
        $gamers_hub_tp_theme_css .= 'padding-top: ' . esc_attr($gamers_hub_footer_copyright_top_bottom_padding) . 'px;';
        $gamers_hub_tp_theme_css .= 'padding-bottom: ' . esc_attr($gamers_hub_footer_copyright_top_bottom_padding) . 'px;';
        $gamers_hub_tp_theme_css .= '}';
    }

    // copyright position
    $gamers_hub_copyright_text_position = get_theme_mod( 'gamers_hub_copyright_text_position','Center');
    if($gamers_hub_copyright_text_position == 'Center'){
    $gamers_hub_tp_theme_css .='#footer .site-info p{';
    $gamers_hub_tp_theme_css .='text-align:center;';
    $gamers_hub_tp_theme_css .='}';
    }else if($gamers_hub_copyright_text_position == 'Left'){
    $gamers_hub_tp_theme_css .='#footer .site-info p{';
    $gamers_hub_tp_theme_css .='text-align:left;';
    $gamers_hub_tp_theme_css .='}';
    }else if($gamers_hub_copyright_text_position == 'Right'){
    $gamers_hub_tp_theme_css .='#footer .site-info p{';
    $gamers_hub_tp_theme_css .='text-align:right;';
    $gamers_hub_tp_theme_css .='}';
    }

    // Header Image title font size
    $gamers_hub_header_image_title_font_size = get_theme_mod('gamers_hub_header_image_title_font_size', '32');{
    $gamers_hub_tp_theme_css .='.box-text h2{';
        $gamers_hub_tp_theme_css .='font-size: '.esc_attr($gamers_hub_header_image_title_font_size).'px;';
    $gamers_hub_tp_theme_css .='}';
    }

    /*--------------------------- banner image Opacity -------------------*/
    $gamers_hub_theme_lay = get_theme_mod( 'gamers_hub_header_banner_opacity_color','0.5');
        if($gamers_hub_theme_lay == '0'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '0.1'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0.1';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '0.2'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0.2';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '0.3'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0.3';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '0.4'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0.4';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '0.5'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0.5';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '0.6'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0.6';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '0.7'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0.7';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '0.8'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0.8';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '0.9'){
            $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $gamers_hub_tp_theme_css .='opacity:0.9';
            $gamers_hub_tp_theme_css .='}';
        }else if($gamers_hub_theme_lay == '1'){
            $gamers_hub_tp_theme_css .='#slider img{';
                $gamers_hub_tp_theme_css .='opacity:1';
            $gamers_hub_tp_theme_css .='}';
        }

    $gamers_hub_header_banner_image_overlay = get_theme_mod('gamers_hub_header_banner_image_overlay', true);
    if($gamers_hub_header_banner_image_overlay == false){
        $gamers_hub_tp_theme_css .='.single-page-img, .featured-image{';
            $gamers_hub_tp_theme_css .='opacity:1;';
        $gamers_hub_tp_theme_css .='}';
    }

    $gamers_hub_header_banner_image_ooverlay_color = get_theme_mod('gamers_hub_header_banner_image_ooverlay_color', true);
    if($gamers_hub_header_banner_image_ooverlay_color != false){
        $gamers_hub_tp_theme_css .='.box-image-page{';
            $gamers_hub_tp_theme_css .='background-color: '.esc_attr($gamers_hub_header_banner_image_ooverlay_color).';';
        $gamers_hub_tp_theme_css .='}';
    }

    /*------------------ Slider CSS -------------------*/
    $gamers_hub_slider_opacity_setting = get_theme_mod('gamers_hub_slider_opacity_setting', true);
    $gamers_hub_image_opacity_color    = get_theme_mod('gamers_hub_image_opacity_color', '');
    $gamers_hub_slider_opacity         = get_theme_mod('gamers_hub_slider_opacity', '0.7');

    if ($gamers_hub_slider_opacity_setting) {
        // Apply opacity value to slider image
        if ($gamers_hub_slider_opacity !== '') {
            $gamers_hub_tp_theme_css .= '#slider img {';
            $gamers_hub_tp_theme_css .= 'opacity: ' . esc_attr($gamers_hub_slider_opacity) . ';';
            $gamers_hub_tp_theme_css .= '}';
        }

        // Apply background color to slider if defined
        if ($gamers_hub_image_opacity_color !== '') {
            $gamers_hub_tp_theme_css .= '#slider {';
            $gamers_hub_tp_theme_css .= 'background-color: ' . esc_attr($gamers_hub_image_opacity_color) . ';';
            $gamers_hub_tp_theme_css .= '}';
        }
    } else {
        // If setting is disabled, force full opacity
        $gamers_hub_tp_theme_css .= '#slider img {';
        $gamers_hub_tp_theme_css .= 'opacity: 0.7;';
        $gamers_hub_tp_theme_css .= '}';
    }

    // Slider Height
    $gamers_hub_slider_img_height      = get_theme_mod('gamers_hub_slider_img_height');
    $gamers_hub_slider_img_height_resp = get_theme_mod('gamers_hub_slider_img_height_responsive');

    // Desktop height
    $gamers_hub_tp_theme_css .= '@media screen and (min-width: 768px) {';
    $gamers_hub_tp_theme_css .= '#slider img {';
    if ( $gamers_hub_slider_img_height ) {
        $gamers_hub_tp_theme_css .= 'height: ' . esc_attr( $gamers_hub_slider_img_height ) . ';';
    }
    $gamers_hub_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $gamers_hub_tp_theme_css .= '}';
    $gamers_hub_tp_theme_css .= '}';

    // Mobile height
    $gamers_hub_tp_theme_css .= '@media screen and (max-width: 767px) {';
    $gamers_hub_tp_theme_css .= '#slider img {';
    if ( $gamers_hub_slider_img_height_resp ) {
        $gamers_hub_tp_theme_css .= 'height: ' . esc_attr( $gamers_hub_slider_img_height_resp ) . ' !important;';
    }
    $gamers_hub_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $gamers_hub_tp_theme_css .= '}';
    $gamers_hub_tp_theme_css .= '}';

    
// footer widget letter case
$gamers_hub_footer_widget_title_text_tranform = get_theme_mod( 'gamers_hub_footer_widget_title_text_tranform','');
if($gamers_hub_footer_widget_title_text_tranform == 'Uppercase'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='text-transform: uppercase;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_text_tranform == 'Lowercase'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='text-transform: lowercase;';
$gamers_hub_tp_theme_css .='}';
}
else if($gamers_hub_footer_widget_title_text_tranform == 'Capitalize'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='text-transform: capitalize;';
$gamers_hub_tp_theme_css .='}';
}

//Footer Font Weight
$gamers_hub_footer_widget_title_font_weight = get_theme_mod( 'gamers_hub_footer_widget_title_font_weight','');
if($gamers_hub_footer_widget_title_font_weight == '100'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='font-weight: 100;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_font_weight == '200'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='font-weight: 200;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_font_weight == '300'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='font-weight: 300;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_font_weight == '400'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='font-weight: 400;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_font_weight == '500'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='font-weight: 500;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_font_weight == '600'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='font-weight: 600;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_font_weight == '700'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='font-weight: 700;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_font_weight == '800'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='font-weight: 800;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_font_weight == '900'){
$gamers_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $gamers_hub_tp_theme_css .='font-weight: 900;';
$gamers_hub_tp_theme_css .='}';
}

// footer widget position
$gamers_hub_footer_widget_title_position = get_theme_mod( 'gamers_hub_footer_widget_title_position','');
if($gamers_hub_footer_widget_title_position == 'Right'){
$gamers_hub_tp_theme_css .='#footer aside.widget-area{';
$gamers_hub_tp_theme_css .='text-align: right;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_position == 'Left'){
$gamers_hub_tp_theme_css .='#footer aside.widget-area{';
$gamers_hub_tp_theme_css .='text-align: left;';
$gamers_hub_tp_theme_css .='}';
}else if($gamers_hub_footer_widget_title_position == 'Center'){
$gamers_hub_tp_theme_css .='#footer aside.widget-area{';
$gamers_hub_tp_theme_css .='text-align: center;';
$gamers_hub_tp_theme_css .='}';
}
