<?php

$arcade_games_custom_css = '';

/*---------------------------text-transform-------------------*/

$arcade_games_text_transform = get_theme_mod( 'menu_text_transform_arcade_games','CAPITALISE');

if($arcade_games_text_transform == 'CAPITALISE'){

	$arcade_games_custom_css .='.main-navigation ul li a{';

		$arcade_games_custom_css .='text-transform: capitalize ;';

	$arcade_games_custom_css .='}';

}else if($arcade_games_text_transform == 'UPPERCASE'){

	$arcade_games_custom_css .='.main-navigation ul li a{';

		$arcade_games_custom_css .='text-transform: uppercase ;';

	$arcade_games_custom_css .='}';

}else if($arcade_games_text_transform == 'LOWERCASE'){

	$arcade_games_custom_css .='.main-navigation ul li a{';

		$arcade_games_custom_css .='text-transform: lowercase ;';

	$arcade_games_custom_css .='}';
}

	/*---------------------------menu-zoom-------------------*/

		$arcade_games_menu_zoom = get_theme_mod( 'arcade_games_menu_zoom','None');

    if($arcade_games_menu_zoom == 'None'){

		$arcade_games_custom_css .='.main-navigation ul li a{';

			$arcade_games_custom_css .='';

		$arcade_games_custom_css .='}';

	}else if($arcade_games_menu_zoom == 'Zoominn'){

		$arcade_games_custom_css .='.main-navigation ul li a:hover{';

			$arcade_games_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important; color: var(--first-color);';

		$arcade_games_custom_css .='}';
	}

/*---------------------------Container Width-------------------*/

$arcade_games_container_width = get_theme_mod('arcade_games_container_width');

	$arcade_games_custom_css .='body{';

		$arcade_games_custom_css .='width: '.esc_attr($arcade_games_container_width).'%; margin: auto;';

	$arcade_games_custom_css .='}';

	/*---------------------------Slider-content-alignment-------------------*/

	$arcade_games_slider_content_alignment = get_theme_mod( 'arcade_games_slider_content_alignment','LEFT-ALIGN');

	 if($arcade_games_slider_content_alignment == 'LEFT-ALIGN'){

			$arcade_games_custom_css .='.blog_box{';

				$arcade_games_custom_css .='text-align:left;';

			$arcade_games_custom_css .='}';


		}else if($arcade_games_slider_content_alignment == 'CENTER-ALIGN'){

			$arcade_games_custom_css .='.blog_box{';

				$arcade_games_custom_css .='text-align:center; left:0; right:0;';

			$arcade_games_custom_css .='}';


		}else if($arcade_games_slider_content_alignment == 'RIGHT-ALIGN'){

			$arcade_games_custom_css .='.blog_box{';

				$arcade_games_custom_css .='text-align:right; left:55%; right:15%';

			$arcade_games_custom_css .='}';
		}

	/*---------------------------Scroll to Top Alignment Settings-------------------*/

	$arcade_games_scroll_top_position = get_theme_mod( 'arcade_games_scroll_top_position','Right');

	if($arcade_games_scroll_top_position == 'Right'){

		$arcade_games_custom_css .='.scroll-up{';

			$arcade_games_custom_css .='right: 20px;';

		$arcade_games_custom_css .='}';

	}else if($arcade_games_scroll_top_position == 'Left'){

		$arcade_games_custom_css .='.scroll-up{';

			$arcade_games_custom_css .='left: 20px;';

		$arcade_games_custom_css .='}';

	}else if($arcade_games_scroll_top_position == 'Center'){

		$arcade_games_custom_css .='.scroll-up{';

			$arcade_games_custom_css .='right: 50%;left: 50%;';

		$arcade_games_custom_css .='}';
	}

		/*---------------------------Pagination Settings-------------------*/


$arcade_games_pagination_setting = get_theme_mod('arcade_games_pagination_setting',true);

	if($arcade_games_pagination_setting == false){

		$arcade_games_custom_css .='.nav-links{';

			$arcade_games_custom_css .='display: none;';

		$arcade_games_custom_css .='}';
	}

	/*---------------------------related Product Settings-------------------*/


$arcade_games_related_product_setting = get_theme_mod('arcade_games_related_product_setting',true);

	if($arcade_games_related_product_setting == false){

		$arcade_games_custom_css .='.related.products, .related h2{';

			$arcade_games_custom_css .='display: none;';

		$arcade_games_custom_css .='}';
	}

	/*---------------------------Copyright Text alignment-------------------*/

$arcade_games_copyright_text_alignment = get_theme_mod( 'arcade_games_copyright_text_alignment','LEFT-ALIGN');

 if($arcade_games_copyright_text_alignment == 'LEFT-ALIGN'){

		$arcade_games_custom_css .='.copy-text p{';

			$arcade_games_custom_css .='text-align:left;';

		$arcade_games_custom_css .='}';


	}else if($arcade_games_copyright_text_alignment == 'CENTER-ALIGN'){

		$arcade_games_custom_css .='.copy-text p{';

			$arcade_games_custom_css .='text-align:center;';

		$arcade_games_custom_css .='}';


	}else if($arcade_games_copyright_text_alignment == 'RIGHT-ALIGN'){

		$arcade_games_custom_css .='.copy-text p{';

			$arcade_games_custom_css .='text-align:right;';

		$arcade_games_custom_css .='}';
	}

	/*--------------------------- Slider Opacity -------------------*/

	$arcade_games_slider_opacity_color = get_theme_mod( 'arcade_games_slider_opacity_color','0.9');

	if($arcade_games_slider_opacity_color == '0'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == '0.1'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0.1';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == '0.2'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0.2';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == '0.3'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0.3';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == '0.4'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0.4';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == '0.5'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0.5';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == '0.6'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0.6';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == '0.7'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0.7';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == '0.8'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0.8';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == '0.9'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:0.9';

		$arcade_games_custom_css .='}';

		}else if($arcade_games_slider_opacity_color == 'unset'){

		$arcade_games_custom_css .='.blog_inner_box img{';

			$arcade_games_custom_css .='opacity:unset';

		$arcade_games_custom_css .='}';

		}
	
	/*---------------------------woocommerce pagination alignment settings-------------------*/

	$arcade_games_woocommerce_pagination_position = get_theme_mod( 'arcade_games_woocommerce_pagination_position','Center');

	if($arcade_games_woocommerce_pagination_position == 'Left'){

		$arcade_games_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$arcade_games_custom_css .='text-align: left;';

		$arcade_games_custom_css .='}';

	}else if($arcade_games_woocommerce_pagination_position == 'Center'){

		$arcade_games_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$arcade_games_custom_css .='text-align: center;';

		$arcade_games_custom_css .='}';

	}else if($arcade_games_woocommerce_pagination_position == 'Right'){

		$arcade_games_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$arcade_games_custom_css .='text-align: right;';

		$arcade_games_custom_css .='}';
	}

/*---------------------------Global Color-------------------*/


$arcade_games_first_color = get_theme_mod('arcade_games_first_color');
$arcade_games_second_color = get_theme_mod('arcade_games_second_color');
$arcade_games_third_color = get_theme_mod('arcade_games_third_color');


/*--- First Global Color ---*/

if ($arcade_games_first_color) {
  $arcade_games_custom_css .= ':root {';
  $arcade_games_custom_css .= '--first-color: ' . esc_attr($arcade_games_first_color) . ' !important;';
  $arcade_games_custom_css .= '} ';
}

/*--- Second Global Color ---*/

if ($arcade_games_second_color) {
  $arcade_games_custom_css .= ':root {';
  $arcade_games_custom_css .= '--second-color: ' . esc_attr($arcade_games_second_color) . ' !important;';
  $arcade_games_custom_css .= '} ';
}

/*--- Third Global Color ---*/

if ($arcade_games_third_color) {
  $arcade_games_custom_css .= ':root {';
  $arcade_games_custom_css .= '--third-color: ' . esc_attr($arcade_games_third_color) . ' !important;';
  $arcade_games_custom_css .= '} ';
}