html, body {
	font-family: Bahnschrift, 'Trebuchet MS', sans-serif;
	font-size: 15px;
	margin: 0;
}

body {
	overflow-y: scroll;
	--maincolor: #984098;
	--redcolor: #bd1717;
	--pagewidth: 1280px;
}

/************************************************************************************************************************/

/***************************************** select, input, label, button *****************************************/
label {
	align-self: center;
	margin: 0;
}

button, input, textarea, select {
	font-size: 1rem;
	padding: 0.375rem;
	margin: 0.2rem 0;
	border: 1px solid var(--maincolor);
	border-radius: 0.3rem;
	font-family: Bahnschrift, 'Trebuchet MS', sans-serif;
	box-sizing: border-box;
}

input[type=text], input[type=password], input[type=submit], input[type=reset], input[type=email], input[type=url], input[type=file], button, textarea  {
	width: 100%;
	width: -webkit-fill-available;
	width: -moz-available;
}

input[type=file]  {
	background-color: white;
}

input:disabled, select:disabled, textarea:disabled {
	background-color: #eee;
	color: #111;
}

button, input[type=submit] {
	color: white;
	background-color: var(--maincolor);
	cursor: pointer;
	font-size: 1.25rem;
}

button.czerwony , input.czerwony {
	background-color: var(--redcolor);
	border-color: var(--redcolor);
}

button.szary, input.szary {
	background-color: #666;
	border-color: #666;
}

button.bia-cze , input.bia-cze {
	border-color: black;
	background-color: white;
	color: var(--redcolor);
}

button.bia-pom , input.bia-pom {
	border-color: black;
	background-color: white;
	color: rgb(255, 94, 0);
}


button.bia-nie , input.bia-nie {
	border-color: var(--maincolor);
	background-color: white;
	color: var(--maincolor);
}

button.bia-sza , input.bia-sza {
	border-color:  black;
	background-color: white;
	color: #333;
}

button:hover, input:hover, textarea:hover, select:hover {
	border: 1px solid black;
	box-shadow: inset 0 0 0.2rem #333;
}

a {
	text-decoration: none;
	color: var(--maincolor);
}

a:hover {
	text-decoration: underline;
}

pre {
	font-family: Bahnschrift, 'Trebuchet MS', sans-serif;
	white-space: pre-wrap;
	word-wrap: break-word;
	margin: 0;
}


/***************************************** Klasy *****************************************/
.vert_center {
	align-self: center;
}

.text_center {
	text-align: center;
}

.flex_row {
	display: flex;
	flex-direction: row;
}

.flex_column {
	display: flex;
	flex-direction: column;
}

.flex_wrap {
	display: flex;
	flex-wrap: wrap;
}

/********************************************** Film **************************************/
.film {
	width: var(--szer);
	height: calc(var(--szer) / 1.78);
	max-height: 36vw;
}

iframe {
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 0.5rem;
}

@media screen and (max-width: 900px) {
	.film {
		width: calc(100vw - 3rem);
		height: calc((100vw - 3rem) / 1.78);
		max-height: 100%;
	}
} 

/***************************************** Tabelka *********************************************/
.table_wrapper {
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	box-sizing: border-box;
}

tbody button {
	font-size: 1rem;
} 

/******************************************** Rozmiary *************************************/
@media screen and (max-width: 1366px) {
	html, body {
		font-size: 14px;
	}
	body {
		--pagewidth: 1200px;
	}
}

@media screen and (max-width: 1200px) {
	html, body {
		font-size: 13px;
	}
	body {
		--pagewidth: 100vw;
	}
}

@media screen and (max-width: 900px) {
	html, body {
		font-size: 12px;
	}
} 
