@font-face {
    font-family: "NautilusPompiliusRegular";
    src: url("../fonts/NautilusPompiliusRegular/NautilusPompiliusRegular.eot");
    src: url("../fonts/NautilusPompiliusRegular/NautilusPompiliusRegular.eot?#iefix")format("embedded-opentype"),
    url("../fonts/NautilusPompiliusRegular/NautilusPompiliusRegular.woff") format("woff"),
    url("../fonts/NautilusPompiliusRegular/NautilusPompiliusRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

html, body, ul, img, button, form , header, section, footer, aside, nav, article, aside, figcaption, figure, main , 
left, vcard, righ, menu
{
margin: 0;
padding: 0;
border: 0;
}
header, section, footer, aside, nav, article, aside, figcaption, figure, main, left, vcard, righ, menu {
 display: block; /* Блочный элемент */
}
html {
height: 100%;
}
body {
    font: 100% Arial,Helvetica,sans-serif;
}


header {width: 100%;
}
.left_aside, .left, aside {width: 25%;float: left;margin: 0;
}
.right, .righ_aside {width: 25%;float: right;
}
header h2{width: 50%;float: left;
}

header h3 {text-align: center;margin: 0;
    color: #634f12;
    font-size: 250%;
    font-weight: bold;
    text-shadow: 0 -1px 0 #858585, 0 1px 2px rgba(0, 0, 0, 0.6), 0 2px 1px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.25), 0 4px 3px rgba(0, 0, 0, 0.2), 0 6px 4px rgba(0, 0, 0, 0.15);
}
#text3d {
    letter-spacing: .15em;
    text-shadow: 
      -1px -1px 1px #634f12, 
      0px 1px 0 #FFFFFF, 
      0px 2px 0 #2c2c2c, 
      0px 3px 0 #FFFFFF, 
      0px 4px 0 #282828, 
      0px 5px 0 #FFFFFF, 
      0px 6px 0 #242424, 
      0px 7px 0 #FFFFFF,
      2px 20px 5px rgba(0, 0, 0, 0.5),
      5px 23px 5px rgba(0, 0, 0, 0.2),
      8px 27px 8px rgba(0, 0, 0, 0.3),
      8px 28px 35px rgba(0, 0, 0, 0.1);
 }

h2, h1 {    color: #634f12;
  font-family: NautilusPompiliusRegular, CyrilNormal, 'Lato', sans-serif;
  font-size: 400%;
  text-align: center;
  text-rendering: optimizeLegibility;
  }
h3, h4 {text-align: center;}
  h1 {   font-size: 200%;
  }
  h2 {    color: #634f12;
  }
  
  
aside {width: 30%;float: left;
}
  
  @media screen and (max-width: 1480px) {
header h2 { line-height: 50px;}
header h3 { font-size: 200%;
}
}
  @media screen and (max-width: 980px) {
.left, .right, header h2 {width: 100%;
}
header h3, header h2 {margin: 0;
}
header h2{ line-height: 100px;
}
}

  .clearing {
    clear: both;
    font-size: 1px;
    height: 0;
}

nav { font-family: NautilusPompiliusRegular,CyrilNormal,"Lato",sans-serif;
   text-shadow: 0 2px #000;
}	

	
nav {
list-style-type: none;
	background-color: #634f12;
	float: right;
	height: 31px;
	margin-bottom: 5px;
	font-size: 150%;
	width: 100%;
	display: table;
	text-shadow: #000 1px 1px 1px;
	}

nav li {
	margin: 5px 0;
	display: table-cell;
	padding: 12px 18px 0px 15px;
	height: 29px;
	text-align: center;
	font-weight: bold;
}

nav a:hover,
nav a {
	color: #FFF;
	text-decoration: none;
}

nav a:hover {
	text-decoration: underline;
}

 @media screen and (max-width: 1480px) {
nav {
	text-shadow: 0;
	}
	nav li {
padding: 0;
	}
		
}

menu  {
list-style-type: none;
	background-color: #3fa31b;
	margin: 20px;
	font-size: 120%;
	float: left;
    width: 90%;
	}
	
  h3, h4 {  
  font-size: 150%;}
    p {  
  margin: 10px;}
	
	menu  li {
	margin: 15px;
	font-weight: bold;
	}
	
menu a:hover,
menu a {
	color: #FFF;
	text-decoration: none;
}

menu a:hover {
	text-decoration: underline;
}

.left_aside, .righ_aside { margin: 0;
    overflow: hidden;
    width: 20%;
	text-align: center;
}
section {float: right;margin: 0px;
    width: 60%;
}

section figure { float: left;
	text-align: center;
    border: 1%  solid #dedede;
    float: left;
    margin: 1%;
    overflow: hidden;
    position: relative;
    width: 46%;
}


  @media screen and (max-width: 1400px) {
section {width: 50%;
}
.left_aside, .righ_aside {width: 25%;
}
}

  @media screen and (max-width: 800px) {
section {width: 100%;
}
.left_aside, .righ_aside {width: 50%;
}
}

section  article {float: left;
    width: 50%;
}
  @media screen and (max-width: 780px) {
section  article, figure {float: none !important;
    width: 98% !important; 
    margin: 5px auto !important;
}
section {
    width: 100% !important; 
    margin: 5px auto !important;
}
}

.galereya figure {
    background: #634f12 none repeat scroll 0 0;
    border: 1% solid #dedede;
    float: left;
    height: 260px;
    margin: 5px;
    overflow: hidden;
    position: relative;
    width: 15%;
}
.galereya figure img {
    height: 75%; width: 100%;
}
aside .galereya figure {
width: 90%;
}

  @media screen and (max-width: 1400px) {
.galereya figure {
    width: 30%;
}
}
  @media screen and (max-width: 1100px) {
.galereya figure {
    width: 47%;
}
}
  @media screen and (max-width: 780px) {
.galereya figure {
    height: 360px;
}
}

.galereya2 img {
    height:100%;
    margin: 1%;
    width: 14%;
}
  @media screen and (max-width: 1280px) {
.galereya2 img {
    width: 30%;
}
}
  @media screen and (max-width: 600px) {
.galereya2 img {
    width: 47%;
}
}
  @media screen and (max-width: 480px) {
.galereya2 img {
    width: 97%;
}
aside .galereya figure {
   height: 250px;
}
}
.galereya figcaption, .galereya figcaption a {
    color: #fff; line-height: 1px;
    font-family: "Open Sans Condensed",sans-serif;
    font-size: 100%;
    text-align: center;
    width: 100%;
}
p {
    text-align: justify;
}
.clear {
    clear: both;
}

footer   {background-color: #634f12; color: #fff;
    font-size: 100%;
    margin: 20px;
    overflow: hidden;
    padding: 15px;
}

.vcard {background-color: #3fa31b; color: #fff;
    font-size: 140%;
    margin: 20px;
    overflow: hidden;
    padding: 15px;
}



  @media screen and (max-width: 800px) {
aside, section {width: 100%;
}
}
  @media screen and (max-width: 360px) {
header h2 { font-size: 300%;
}
header h2{ line-height: 70px;
}
}

@media screen and (max-width: 850px) {

nav li {
    display: block;
width: 100%; 
}
}

@media screen and (max-width: 640px) {

	footer, header {
  font-size: 120%;
}
}
 @media screen and (max-width: 480px) {

header h3, header  h2 {   
  font-size: 200%;
  }
}

header .left h3 { color: #ffff00 !important;
}

.himg img { width: 31%; margin: 1%; float: left;
}
 @media screen and (max-width: 780px) {
.himg img {   
  width: 98%; margin: 1% auto;
  }
}

.right a, h3 a, center a {
  text-decoration: none;
}
center a {
 color: #fff !important;
}

.obr, .obr img {
display: flex;
}
.verh2 {
    justify-content: space-around;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 1.0rem;
}
.vizov, .zvon {
    flex-direction: column;
}
.vizov p, .zvon p {
    margin: 5px 0;
}
.obr {gap: 10px;
    justify-content: center;
}
.obr a {
    width: 30px;
}
