@media screen and (max-width: 900px) {

html {    position: relative;}
body {font-size: 15px;width:100%;-webkit-overflow-scrolling: auto;
overflow-y: scroll;    position: relative;}


td {
    padding-top: 3px;
    padding-bottom: 3px;
}

/* шапка */
header {
    /*box-shadow: 0px 0px 0px 1px;*/
    position: sticky;
}

body {
	background: var(--blue_1);
}

content {
	background: var(--body);
}

content2 {
	box-shadow: 0px -11px 0px var(--body);
}

footer {
	box-shadow: 0px -11px 0px var(--body);
}

.header-block {
    height: 50px;
    justify-content: space-between;
}

.menu-block {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    z-index: 99;
    background: var(--blue_1);
    width: -webkit-fill-available;
    height: calc(100vh - var(--header-height));
    visibility: hidden;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    opacity: 0;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
	box-shadow: 0px 50px 0px #000;
}    

logo {
}
logo-text {
    line-height: 50px;
    width: 100%;
    margin-right: 42px;
    text-align: left;
    display: none;
}
text-name-page {
    color: var(--white);
    line-height: 50px;
    margin: 0px;
    /* margin-right: 42px; */
    text-align: center;
    font-size: x-large;
    letter-spacing: 0.1em;
    font-family: Pixel;
    overflow: hidden;
    width: 100%;
    display: block;
}


/* BURGER */

.menu-burger-btn {
    z-index: 100;
    color: aliceblue;
    display: block;
    height: 50px;
    /* line-height: 50px; */
    width: 32px;
    cursor: pointer;
    position: relative;
    /* top: 0; */
    /* right: 10px; */
    flex: none;
}    

.menu-burger-btn > span,
.menu-burger-btn > span::before,
.menu-burger-btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: var(--white);
  top: 23px;
  transition-duration: .5s;
  border-radius: 2px;
}
.menu-burger-btn > span::before {
  content: '';
  top: -12px;
}
.menu-burger-btn > span::after {
  content: '';
  top: 12px;
}

    
#menu-burger-input:checked ~ .menu-block {
  visibility: visible;
  right: 0;
  opacity: 1;
}
#menu-burger-input:checked ~ body {
  overflow: hidden;
  position: fixed;
}
#menu-burger-input:checked ~ .menu-burger-btn > span {
  transform: rotate(45deg);
}
#menu-burger-input:checked ~ .menu-burger-btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu-burger-input:checked ~ .menu-burger-btn > span::after {
  top: 0;
  transform: rotate(90deg);
}

/* top_menu */
nav {
    overflow: auto;
    height: calc(100vh - var(--header-height) * 2);
}

nav ul {
    flex-direction: column;
}

.topmenu > li {
    display: block;
    transition: 0s;
}

.topmenu > li:hover {
    box-shadow: none;
    background: none;
}

.submenu {
    padding: 0px;
    position: relative;
    left: 0px;
    visibility: inherit;
    opacity: 1;
    width: 100%;
    transform: inherit;
    transform-origin: 0% 0%;
    transition: 0s;
}

.submenu li a {
    color: var(--white);
}

.topmenu > li:hover .submenu {
    border: none;
    background: none;
}

.topmenu > li > a, .topmenu > li > span {
    display: block;
    line-height: normal;
    background: #ffffff21;
}

.topmenu > li > a:before, .topmenu > li > span:before, .submenu > li > a:before, .submenu > li > span:before {
    padding-right: 16px;
}

.topmenu > li > a, .topmenu > li > span, .submenu > li > a, .submenu > li > span {
    padding: 0px;
    padding-left: 16px;
    line-height: 70px;
    font-size: 130%;
}

.submenu > li > a, .submenu > li > span {
    padding-left: 52px;
}

a.night_btn {
    width: 100%;
    text-align: center;
}
a.night_btn:before {
    content: 'День/ночь ';
    font-family: sans-serif;
}
li.menu_vibor {
    box-shadow: none;
}

.box_night_btn {
	position: fixed;
    bottom: 0;
    left: 0;
    width: -webkit-fill-available;
    height: var(--header-height);
}

/* /шапка /top_menu*/


head-log {
	height: calc(100vh - 50px);
}
scroll {
	height: 50px;
}
a.scroll {
	bottom: 120px;
}


/* HELLO BLOCK */
.hello_block_1 object {display: none;}
.hello_block {
    font-size: 150%;
}
.hello_block_1 {
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 50%;
}
.hello_block_2 {
    flex-direction: column;
    justify-content: space-evenly;
    height: 50%;
}
.hello_block_3 {
    display: none;
}
.hello_block_1 div {
    width: 100%;
}
.hello_block_2 div{
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}


/* /HELLO BLOCK */






/* блоки модулей */

.box-module .preview {
    max-height: 200px;
}

.box-module .description {
    padding-top: 0px;
}
/* подвал */



.footer-content-center {
    background: url(/img/svg/logo.svg) 0px 50% / contain no-repeat;
    background-size: 32px;
    margin: 0px 20px;
    width: 32px;
}

/* /подвал */
}
@media screen and (max-height: 500px) {
.hello_block_1 {
    display: none;
}
.hello_block_2 {
    height: 100%;
}
}