/*!
Theme Name: mandarin
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mandarin
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mandarin is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Forum&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Lokalne fonty jako fallback */
@font-face {
	font-family: 'Montserrat';
	src: url('./css/fonts/Montserrat-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('./css/fonts/Montserrat-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

:root {
	--font-family-primary: 'Montserrat';
	--main-background-color: #f5f4f0;
	--white-color: #fefefe;
	--company-color: #692906; /* company color + fonts color */
	--light-font-weight: 500;
	--base-font-weight: 600;
	--semibold-font-weight: 700;
}

.forum-regular {
	font-family: "Forum", serif;
	font-weight: var(--light-font-weight);
	font-style: normal;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	width: 100vw;
	font-size: 62.5%;
	overflow-x: hidden;
	scrollbar-width: none;
}

body {
	background-color: var(--main-background-color);
	color: var(--company-color);
	font-family: var(--font-family-primary);
	font-weight: var(--base-font-weight);
	line-height: 1.5;
	font-size: 1.2rem;
	overflow-y: scroll;
	scrollbar-width: none;
}

#page h1, #page h2, #page h3, #page h4, #page h5, #page h6 {
	font-family: "Forum", serif;
	font-weight: var(--light-font-weight);
}

.container-normal {
	width: 100%;
	max-width: 1920px;
	padding: 0 5%;
	margin: 0 auto;
}

.container-medium {
	width: 100%;
	max-width: 1920px;
	padding: 0 8%;
	margin: 0 auto;
}

.container-small {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
}

@media (max-width: 1024px) {
	.container-normal {
		padding: 0 3%;
	}

	.container-medium {
		padding: 0 3%;
	}
}
