/*
Theme Name: Einstein Bergson 
Theme URI:  
Author: Sharpen 
Author URI: http://www.sharpen.co.il/
Description: Custom theme for 'Alfa Einstein Bergson' project.
Version: 1.0
License: 
License URI: 
Tags: 
Text Domain: alfa-einstein-bergson 
*/


/****************************************/
/* FONTS 								*/
/****************************************/

@font-face {
	font-family: 'Atlas DL 3.1 AAA';
	src: url('fonts/AtlasDL31AAA-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}

/****************************************/




/****************************************/
/* CSS VARIABLES
/****************************************/
:root { 
	
	/* Spacers and gaps */
	--gap				: 16px;
	--gutter			: clamp(16px, 6.25vw, 120px);
	
	--block-gap			: 24px;
	--inline-gap		: 24px;
	--block-gutter		: calc(0.5625 * var(--gutter));
	--inline-gutter		: var(--gutter);
	/***/
	
	
	/* Fonts */
	--primary-font		: "Assistant", sans-serif;
	--heading-font		: "Assistant", sans-serif;
	--fancy-font		: "Noto Sans Hebrew", sans-serif; 
	/***/
	
	
	/* Base colors */
	--white-color		: #ffffff; /***/
	--lighter-color		: #EFE5DC; /***/
	--light-color		: #CDBEA5; /***/
	--grey-color		: #D8DADC; /***/
	--dark-color		: #333333; /***/
	--darker-color		: #2b2b2b; /***/
	--black-color		: #000000; /***/
	
	--cold-color		: #e9f6fd; /***/
	--cool-color		: #f1f8f9; /***/
	--warm-color		: #fecb35; /***/
	--hot-color			: #ef3f37; 
	
	--alert-color		: #ff0000; /***/ 
	--error-color		: #ff0000; /***/
	--warning-color		: #ff0000; /***/
	
	--primary-color		: #044349; 
	--secondary-color	: #fecb35; /***/
	--fancy-color		: #03FF8E;
	--custom-color		: #E9CF87; /***/
	/***/
	
	
	/* Theme specific colors */
	--bg-color			: transparent;
	--text-color		: #044349;
	--heading-color		: #044349;
	--link-color		: #81A1A4; 
	--hover-color		: #03FF8E; 
	/***/

}
/****************************************/





/****************************************/
/* RESET
/****************************************/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/***/




/****************************************/
/* HTML ELEMENTS
/****************************************/
html {
	min-height: -webkit-fill-available;
	font-size: 10px;
}
body {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	overflow-x: clip;
	font-family: var(--primary-font);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3333; 
	color: var(--text-color);
}
a {
	text-decoration: none;
	color: var(--link-color);
	-webkit-transition: color 0.2s ease;
			transition: color 0.2s ease;
}
a:hover, a:active, a:focus {
	color: var(--hover-color);
}
h1, h2, h3, h4, h5, h6 {
	margin: 0.75em auto 0.5em auto;
	text-wrap: balance; 
}
h1, h2, h3 {
	font-family: var(--heading-font);
}
h1 {
	font-size: min(3em,6rem);
}
h2 {
	font-size: 2em;
}
h3 {
	font-size: 1.5em;
}
h4 {
	font-size: min(1.5em,3rem);
}
h5 {	
	font-size: min(1em,2rem);
}
p:not(:last-child, .no-margin-after),
ul:not(:last-child),
ol:not(:last-child),
table:not(:last-child) {
    margin-bottom: 1em;
}


table {
	border-collapse: collapse;
	border-spacing: 0;
}
figure {
	overflow: hidden;
} 
figure > picture > img,
figure > img {
	max-width: 100%;
	height: auto;
}
b,
strong {
	font-weight: 700;
}
small {
    font-size: 75%;
}
big {
    font-size: 125%;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
textarea{ 
	resize: none; 
	overflow: hidden; 
}

@media (min-width : 1200px) {
	body {
		font-size: 18px;
	}
	h2 {
		font-size: 2.5em;
	}
	h3 {
		font-size: 1.75em;
	}
}

@media (min-width : 1600px) {
	body {
		font-size: 21px;
	}
	h2 {
		font-size: 3em;
	}
	h3 {
		font-size: 2em;
	}
}

/****************************************/





/****************************************/
/* MISC.
/****************************************/

/* Custom scrollbars */
::-webkit-scrollbar {
	width: 16px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	border: 5px solid transparent;
	border-radius: 9999px;
	background-clip: content-box;
	background-color: #aaa;
	-webkit-transition: all 0.2s ease;
			transition: all 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
	background-color: #888;
}
/***/

/****************************************/

