/*******************************************
 *** Файл стилей STYLE.CSS
 *** Собственность компании WEBBERRIES
 *** https://webberries.ru (C) 2005-2022
 *** Для вопросов: webberries@yandex.ru
 *** Дата обновления: 11.05.2022
 *** Версия файла: V4.00 
 *******************************************/

/*------------------------------------------------------------------------------
 ******************* ВСПОМОГАТЕЛЬНЫЕ СТИЛИ *************************************
-------------------------------------------------------------------------------*/

/*
Для изменения свойств элементов - раскомментировать и поменять со стандартных на нужные:
*/
/*------------------------------------------------------------------------------
		a.blue:link {color: #006699; text-decoration: underline; }
		a.blue:visited {color: #006699; text-decoration: underline; }
		a.blue:active {color: #006699; text-decoration: underline; }
		a.blue:hover {color: #009999; text-decoration: none; }

		body {
			background: #f5f5f5;
		}

		
		html, body, h1, h2, h3, h4, h5, h6, div, span, input, textarea, table, td, th, nav, section, nav, header, select, footer, button {
		  font-family: 'Montserrat', sans-serif;
		}




		///////////// Checkbox & Radio

		.checkbox:after {
			border-left: 4px solid #535353 !important;
			border-bottom: 4px solid #535353 !important;
		}

		.radio:after {
			background-color: #535353 !important;
		}

		.radio:before, .checkbox:before {
			border: 1px solid #dddddd !important;
			background-color: #dddddd !important;
		}

		<input type="checkbox" id="cb1" checked> <label class="checkbox" for="cb1">Флажок 1</label>
		<input type="radio" name="rb" id="rb1" checked> <label class="radio" for="rb1">Переключатель 1</label>




		///////////// Кнопки

		input[type=submit], button, .btn {
			background: #232323 !important;
		}

		input[type=submit]:hover, button:hover, .btn:hover {
			background: #363636 !important;
		}
		
-------------------------------------------------------------------------------*/

/*@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html, body, h1, h2, h3, h4, h5, h6, div, span, input, textarea, table, td, th, nav, section, nav, header, select, footer, button {
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0px;
  color: #283238;
}

body {
	background: #fefefe;
}

header, section, nav, footer {
	padding: 0;
}

@font-face{
	font-family:"Micradi";
	src:	local("0"),
				url("/sys/fonts/micradi_regular.woff2") format("woff2"),
				url("/sys/fonts/micradi_regular.woff") format("woff"),
				url("/sys/fonts/micradi_regular.ttf") format("ttf");
	font-style:normal;
	font-display:swap;
}

/*------------------------------------------------------------------------------
 ******************* SETTINGS **************************************************
-------------------------------------------------------------------------------*/


:root {
	--color-main: #283238;
	--button: #009E60;
	--button-hover: #2E8B57;
}

.root {
	color: var(--color-main);
}

.def-btn {
	display: inline-block;
	background: #e53935;
	color:#fff;
	padding: 0 50px;
	height: 50px;
	line-height: 50px;
	font-size: 1em;
	font-weight: 400;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	transition: 0.1s;
	text-align: center;
	&:hover {
		background: #a00a00;
		transition: 0.2s;
	}
}


.hamburger-close,
.hamburger {
	display: none;
}


nav {
	height: 80px;
	background: var(--color-main);
	right: 0;
}

nav .menu-btn {
	position: relative;
	color: #fff;
	height: 42px;
	line-height: 42px;
	cursor: pointer;
}

nav .menu-btn:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	height: 1px;
	width: 0;
	transition: 0.1s;
	background: #fff;
}

nav .menu-btn:hover:before {
	width: 100%;
	transition: 0.3s;
}

.button-main {
	height: 54px;
	line-height: 54px;
	border-radius: 12px;
	padding: 0 32px;
	background: var(--button);
	color: #fff;
	cursor: pointer;
	transition: 0.1s;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, .20);
	&:hover {
		background: var(--button-hover);
		transition: 0.3s;
	}
}

nav .menu-btn a {
	position: relative;
	display: block;
	height: 100%;
}



header {
	position: relative;
}

header .con {
	z-index: 10;
	padding: 25px 0;
}

header .video {
	z-index: 5;
	position: absolute;
	inset: 0;
	overflow: hidden;
}

header .video video {
	min-width: 100%;
	height: inherit;
	position: relative;
	inset: 0;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
}

header .video:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.5);
}

header .con .logo {
	width: 300px;
	height: 300px;
	background: url(/sys/images/main/logo.png) left center / contain no-repeat;
}

header .con .left,
header .con .right {
	width: calc((100% - 300px) / 2);
}

header .con .right {
	text-align: right;
}

header .con .left .address {
	color: #fff;
	font-size: 1.25em;
	height: 44px;
	line-height: 44px;
}

header .con .right .phone span:nth-child(1) {
	font-size: 1.5em;
	color: #fff;
	font-weight: 700;
	height: 44px;
	line-height: 44px;
}

header .con .right .phone span:nth-child(2) {
	margin-left: 20px;
	display: inline-block;
	height: 42px;
	width: 42px;
	border: 1px solid #fff;
	text-align: center;
	line-height: 40px;
	border-radius: 1000px;
	background: #fff;
	font-size: 1.5em;
	transition: 0.1s;
}

header .con .right .phone span:nth-child(2):hover {
	background: transparent;
	color: #fff;
	transition: 0.3s;
}

strong {
	font-weight: 700;
}


section.about {
	padding: 50px 0;
}

section.about .left {
	width: 400px;
	background: url(/sys/images/main/class.jpg) left center / cover repeat;
	transition: background 5s ease;
	border-radius: 12px;
	animation: movement 50s infinite linear;
}
@keyframes movement {
	0% {
		background-position: 0 0;
	}
	50% {
		background-position: 100% 0;
	}
	100% {
		background-position: 0 0;
	}
}

section.about .right {
	width: calc(100% - 450px);
}

section.about h1 {
	margin-bottom: 0;
	font-size: 3em;
	text-align: center;
	font-weight: 700;
}

section.about .line {
	margin-bottom: 75px;
}

section.about .right p {
	margin-bottom: 15px;
}

section.about .right p:last-child {
	margin-bottom: 0;
}

h2 {
	text-align: center;
}

.line {
	height: 8px;
	width: 200px;
	position: relative;
	margin: 25px auto 75px auto;
	background: var(--button);
	border-radius: 1000px;
}



section.classes {
	padding: 50px 0;
}

section.classes .items > div {
	width: calc(50% - 50px);
}

section.classes .items > div .image {
	overflow: hidden;
	position: relative;
	margin-bottom: 15px;
	display: block;
	border-radius: 12px;
}

section.classes .items > div:nth-child(1) .image {
	background: url(/sys/images/classes/1.jpg) center center / cover;
}

section.classes .items > div:nth-child(2) .image {
	background: url(/sys/images/classes/2.jpg) center center / cover;
}

section.classes .items > div:nth-child(3) .image {
	background: url(/sys/images/classes/3.jpg) center center / cover;
}

section.classes .items > div:nth-child(3) .image {
	background: url(/sys/images/classes/4.jpg) center center / cover;
}


section.classes .items > div .image:before {
	content: "";
	float: left;
	padding-top: 58%;
}

section.classes .items > div h3 {
	font-size: 1.5em;
	margin-bottom: 25px;
}

section.classes .items > div p:nth-child(3) {
	margin-bottom: 25px;
	background: #efefef;
	border-radius: 12px;
	padding: 10px 15px;
}

section.classes .items > div p:nth-child(4) {
	font-size: 1.25em;
	font-weight: 700;
	margin-bottom: 15px;
}

section.classes .items > div .button-main {
	display: inline-block;
	height: 54px;
	line-height: 54px;
}



section.organization {
	padding: 50px 0;
	background: #efefef;
}

section.organization .items {

}

section.organization .items > div:nth-child(1) {
	width: 60%;
	order: 1;
	padding: 0 0 25px 0;
}

section.organization .items > div:nth-child(2) {
	width: calc(40% - 50px);
	order: 2;
}

section.organization .items > div:nth-child(4) {
	width: calc(40% - 50px);
	order: 3;
}

section.organization .items > div:nth-child(3) {
	width: 60%;
	order: 4;
	padding: 25px 0 0 0;
}

section.organization .items > div:nth-child(1) h3,
section.organization .items > div:nth-child(3) h3 {
	font-size: 1.75em;
	margin-bottom: 15px;
	margin-top: 50px;
}

section.organization .items > div:nth-child(1) h3:first-child,
section.organization .items > div:nth-child(3) h3:first-child {
	margin-top: 0;
}

ul {
	line-height: 2;
}

ul > li {
	line-height: 1.25;
	line-height: 2
}

section.organization .items > div:nth-child(1) p,
section.organization .items > div:nth-child(3) p {
	margin-bottom: 15px;
}

section.organization .items > div:nth-child(1) p:last-child,
section.organization .items > div:nth-child(3) p:last-child {
	margin-bottom: 0;
}




section.organization .items > div:nth-child(2) {
	background: url(/sys/images/main/kadr1.jpg) right center / cover repeat;
	transition: background 5s ease;
	animation: movement1 100s infinite linear;
	border-radius: 12px;
}
@keyframes movement1 {
	0% {
		background-position: 100% 0;
	}
	50% {
		background-position: 0 0;
	}
	100% {
		background-position: 100% 0;
	}
}

section.organization .items > div:nth-child(4) {
	background: url(/sys/images/main/kadr2.jpg) left center / cover repeat;
	transition: background 5s ease;
	animation: movement2 100s infinite linear;
	border-radius: 12px;
}
@keyframes movement2 {
	0% {
		background-position: 0 0;
	}
	50% {
		background-position: 100% 0;
	}
	100% {
		background-position: 0 0;
	}
}







section.contacts {
	padding: 50px 0;
}

section.contacts .items > div {
	width: 50%;
}

section.contacts .items > div:nth-child(1) {
	width: calc(50% - 50px);
}

section.contacts .items > div:nth-child(1) .items2 {
	margin-top: 50px;
}

section.contacts .items > div:nth-child(1) .items2 > div {
	position: relative;
	overflow: hidden;
	background: red;
	width: calc(33.333% - 10px);
	border: 1px solid #efefef;
	border-radius: 12px;
}

section.contacts .items > div:nth-child(1) .items2 > div:before {
	content: "";
	float: left;
	padding-top: 129.412%;
}

section.contacts .items > div:nth-child(1) .items2 > div:nth-child(1) {
	background: url(/sys/images/ustav/1.jpg) center center / cover;
}

section.contacts .items > div:nth-child(1) .items2 > div:nth-child(2) {
	background: url(/sys/images/ustav/2.jpg) center center / cover;
}

section.contacts .items > div:nth-child(1) .items2 > div:nth-child(3) {
	background: url(/sys/images/ustav/3.jpg) center center / cover;
}

section.contacts .items > div:nth-child(1) .items2 > div a {
	display: block;
	position: absolute;
	inset: 0;
}

section.contacts .items .button-main {
	display: inline-block;
	margin-top: 25px;
}

section.contacts .items > div:nth-child(2) {
	border-radius: 12px;
	overflow: hidden;
}



div.popup,
.viewbox-container  {
	backdrop-filter: blur(10px);
	background: rgba(0, 0, 0, .70);
}

div.popup .window button {
	background: var(--button);
}

div.popup .window button:hover {
	background: var(--button-hover);
}




footer {
	padding: 50px 0;
	background: var(--color-main);
}

footer .con {
	font-size: 1em;
	color: #fff;
	text-align: center;
}