@charset "UTF-8";


/* ### BASE.CSS ### */


/* === FONTS === */

@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/roboto-v47-latin-regular.woff2') format('woff2'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/roboto-v47-latin-500.woff2') format('woff2'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/roboto-v47-latin-600.woff2') format('woff2'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/roboto-v47-latin-700.woff2') format('woff2'); 
}

/*
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/open-sans-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/open-sans-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/open-sans-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

/* === ROOT VARIABLES === */

:root {
	
	/* font-color */
	--c-01: #222222; /* bazowy ciemny*/
	--c-02: #fafafa; /* bazowy jasny */
	--c-03: #fa4004; /* wyróżnienie (pomarańczowy) */
	--c-04: #005f3f; /* pozytywny (zielony)*/
	--c-05: #f0f0f0; /* uwaga (żółty) */
	--c-06: #f0f0f0; /* alert (czerwony) */
	
	/* background-color */
	--c-11: #222222; /* bazowy */
	--c-12: #fafafa; /* bazowy odwrócony */
	--c-13: #fa4004; /* wyróżnienie (pomarańczowy) */
	--c-14: #005f3f; /* pozytywny (zielony)*/
	--c-15: #f0f0f0; /* uwaga (żółty) */
	--c-16: #f0f0f0; /* alert (czerwony) */
	
	/* border-color */
	--c-21: #222222; /* bazowy */
	--c-22: #fafafa; /* bazowy odwrócony */
	--c-23: #fa4004; /* wyróżnienie (pomarańczowy) */
	--c-24: #005f3f; /* pozytywny (zielony)*/
	--c-25: #f0f0f0; /* uwaga (żółty) */
	--c-26: #f0f0f0; /* alert (czerwony) */
	
	/* radius */
	--r-01: 4px; /* podstawowy dla input textarea itp */
	--r-02: 15px; /* sklep - kary produktów */

	/* padding */
	--p-01: 2rem;
	--p-02: 4rem;
	--p-03: 0.5rem;
	
	/* margin */
	--m-01: 2rem;
	--m-02: 4rem;
	--m-03: 0.5rem;
}

/* === RESET STYLES === */

*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* === BASE FONT SIZE === */

html {
	font-size: 15px;
}

@media (min-width: 800px) {
	html {
		font-size: 16px;
	}
}

@media (min-width: 1200px) {
	html {
		font-size: 17px;
	}
}


/* === BODY & TYPOGRAPHY === */

html,body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	font-weight: 400;
	height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
	font-size: 1rem;
}

h1 {
	font-size: 2.5rem;
	line-height: 1.2;
	font-weight: 700;
	margin: 1.5rem 0;
}

h2 {
	font-size: 1.75rem;
	line-height: 1.3;
	font-weight: 600;
	margin: 1.25rem 0;
}

h3 {
	font-size: 1.25rem;
	line-height: 1.4;
	font-weight: 600;
	margin: 1rem 0;
}

h4 {
	font-size: 1rem;
	line-height: 1.4;
	font-weight: 600;
	margin: 0.75rem 0;
}

h5 {
	font-size: 0.85rem;
	line-height: 1.5;
	font-weight: 600;
	margin: 0.5rem 0;
}

h6 {
	font-size: 0.75rem;
	line-height: 1.5;
	font-weight: 600;
	margin: 0.5rem 0;
}

p {
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 400;
	margin: 1rem 0;
}

a {
	text-decoration: none;
	color: inherit;
}

/* === MAIN CONTAINER === */

main.container {
    flex: 1;
}

.container {
    max-width: 1600px;
	margin: 0;
    padding: 0 20px;
}

@media (min-width: 1600px) {
	.container {
		 margin: 0 auto;
	}
}

/* === BUTTONS === */

.button-box {
	margin: 1rem auto;
}

.btn-primary,
.btn-secondary {
	padding: 0.5rem 1.5rem;
	cursor: pointer;
	font-size: 1.1rem;
	border-radius: 4px;
	text-align: center;
}

.btn-primary {
	background: #222222;
	color: #ffffff;
	border: 1px solid #222222;
}

.btn-secondary {
	background: #ffffff;
	color: #222222;
	border: 1px solid #222222;
}

.btn-primary:hover {
	background: #ffffff;
	color: #222222;
}

.btn-secondary:hover {
	background: #222222;
	color: #ffffff;
}