/*!
Theme Name: Kazak Start
Theme URI: http://underscores.me/
Author: MX Studio
Author URI: https://www.mx-studio.pl/
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: kazak
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.

Kazak 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/
*/


@font-face {
  font-family: 'Montserrat';
  font-weight: 400;
  src: url(fonts/Montserrat-Regular.ttf);
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 500;
  src: url(fonts/Montserrat-Medium.ttf);
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  src: url(fonts/Montserrat-Bold.ttf);
}

.gallery{margin-bottom:1.5em;display:grid;grid-gap:1.5em}.gallery-item{display:inline-block;text-align:center;width:100%}.gallery-columns-2{grid-template-columns:repeat(2,1fr)}.gallery-columns-3{grid-template-columns:repeat(3,1fr)}.gallery-columns-4{grid-template-columns:repeat(4,1fr)}.gallery-columns-5{grid-template-columns:repeat(5,1fr)}.gallery-columns-6{grid-template-columns:repeat(6,1fr)}.gallery-columns-7{grid-template-columns:repeat(7,1fr)}.gallery-columns-8{grid-template-columns:repeat(8,1fr)}.gallery-columns-9{grid-template-columns:repeat(9,1fr)}.gallery-caption{display:block}.alignleft{float:left;margin-right:1.5em;margin-bottom:1.5em}.alignright{float:right;margin-left:1.5em;margin-bottom:1.5em}.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto;margin-bottom:1.5em}

body {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	background: #f7f7f7;
	color: #0c0c0c;
}
img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}
/* PART 1 - Before Lazy Load */
img[data-lazyloaded]{
    opacity: 0;
}
/* PART 2 - Upon Lazy Load */
img.litespeed-loaded{
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}
a, a:hover {
	color: #0c0c0c;
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	position: relative;
	font-weight: bold;
	margin-bottom: 30px;
}
h1 {
	font-size: 50px;
}
h2 {
	font-size: 40px;
}
h3 {
	font-size: 30px;
}
h4 {
	font-size: 20px;
}
h5 {
	font-size: 18px;
}
h6 {
	font-size: 16px;
}
p {
	margin-bottom: 15px;
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child {
	margin-bottom: 0;
}


.wrapper {
	overflow: hidden;
}

header {
	position: relative;
}
.main-page header {
  height: 100px;
  display: flex;
  align-items: center;
}
.logo {
	text-align: center;
}
.logo img {
	height: 70px;
}
.widget.qtranxs_widget {
	text-align: right;
}
.widget.qtranxs_widget select {
	position: relative;
	background: #EEEEEE url(images/down-arrow.svg) no-repeat right 15px center;
  border-radius: 17px;
  height: 32px;
  border: none;
  padding: 0 35px 0 20px;
  outline: none;
  text-transform: uppercase;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}



main {
	position: relative;
}
.main-page main {
	height: calc(100vh - 100px - 77px);
}
.admin-bar.main-page main {
	height: calc(100vh - 100px - 77px - 33px);
}

main > div,
main > div > div,
main > div > div > div {
	height: 100%;
}

.main-block-item {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
}
.main-block-item__dark {
	background: #0C0C0C;
	color: #f7f7f7;
	border-bottom: 1px solid #212121;
}
.main-block-item__dark a {
	color: #f7f7f7;
}
.main-block-item__light {
	background: #f7f7f7;
	color: #0c0c0c;
	border-top: 1px solid #eee;
}
.main-block-item__light a {
	color: #0c0c0c;
}
.main-block-item__inner {
	display: block;
	padding: 50px;
  position: relative;
  width: 550px;
  animation-play-state: paused;
}
.main-block-item__inner:hover {
	background-repeat: no-repeat;
	background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
	background-position: 0 0, 100% 0, 100% 100%, 0 100%;
	animation: bg .25s cubic-bezier(0.19, 1, 0.22, 1) 1;
	animation-play-state: running;
}
.main-block-item__dark .main-block-item__inner:hover {
	background-image: linear-gradient(to right, #f7f7f7 100%, #f7f7f7 100%), linear-gradient(to bottom, #f7f7f7 100%, #f7f7f7 100%), linear-gradient(to right, #f7f7f7 100%, #f7f7f7 100%), linear-gradient(to bottom, #f7f7f7 100%, #f7f7f7 100%);
}
.main-block-item__light .main-block-item__inner:hover {
	background-image: linear-gradient(to right, #0c0c0c 100%, #0c0c0c 100%), linear-gradient(to bottom, #0c0c0c 100%, #0c0c0c 100%), linear-gradient(to right, #0c0c0c 100%, #0c0c0c 100%), linear-gradient(to bottom, #0c0c0c 100%, #0c0c0c 100%);
}
@keyframes bg {
	0% {
		background-size: 0 3px, 3px 0, 0 3px, 3px 0;
	}
	25% {
		background-size: 100% 3px, 3px 0, 0 3px, 3px 0;
	}
  50% {
  	background-size: 100% 3px, 3px 100%, 0 3px, 3px 0;
  }
  75% {
  	background-size: 100% 3px, 3px 100%, 100% 3px, 3px 0;
  }
  100% {
  	background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
  }
}


footer {
	position: relative;
}
.main-page footer {
	height: 77px;
	display: flex;
	align-items: center;
	background: #0C0C0C;
}
.copyright {
	color: #F7F7F7;
	font-size: 14px;
	text-align: center;
}
.copyright a {
	color: #f7f7f7;
}
.footer-social {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-social li {
	margin-right: 20px;
}
.footer-social li:last-child {
	margin-right: 0;
}
.footer-social li a {
	display: block;
	width: 18px;
	height: 18px;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background-color: #F7F7F7;
}
.footer-social li a:hover {
	color: #fff;
}
.footer-social li.footer-social__facebook a {
	-webkit-mask-image: url(images/facebook.svg);
  mask-image: url(images/facebook.svg);
}
.footer-social li.footer-social__youtube a {
	-webkit-mask-image: url(images/youtube.svg);
  mask-image: url(images/youtube.svg);
}
.footer-social li.footer-social__instagram a {
	-webkit-mask-image: url(images/instagram.svg);
  mask-image: url(images/instagram.svg);
}



@media (max-width: 1199px) {
	h2 {
		font-size: 32px;
	}
	.main-block-item__inner {
		width: 440px;
	}
}


@media (max-width: 991px) {
	main > div > div > div {
		height: 50%;
	}
}

@media (max-width: 767px) {
	h2 {
    font-size: 28px;
	}
}

@media (max-width: 575px) {
	h2 {
		font-size: 24px;
	}
	.logo {
		text-align: left;
	}
	.main-block-item__inner {
    width: 100%;
    max-width: 380px;
	}
	.footer-social {
		margin-bottom: 10px;
	}
}