#masthead.mainpage {
    position: absolute;
    top: 20px;
    width: 100%;
    z-index: 10;
    color: #fff;
}

.site-branding {
    display: flex;
    justify-content: space-between;
}
.toggled .site-branding {
    display: block;
}
.site-header {
    padding: 33px 24px;
}

.site-header.mainpage {
/*  background-image: url('/wp-content/themes/zbog-skis-ru/img/background_mob-min.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;

    position: relative;*/
}

.front-page-hero {
    background-image: url('/wp-content/themes/zbog-skis-ru/img/background_mob.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;

    position: relative;
}

* {
    font-family: 'Montserrat', sans-serif;
    color: #2C2C2C;
}

.main-page-description h1,.main-page-description p {
    color: #fff;
    text-align: center;
}

.main-page-description h1 {
    font-size: 50px;
}

.main-page-description p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
}

button.menu-toggle {
    background-image: url('/wp-content/themes/zbog-skis-ru/img/icon_menu_red.svg');
    width: 40px;
    height: 25px;
    background-size: contain;
    background-color: transparent;
    border: none;
    background-repeat: no-repeat;
}
.site-header.mainpage button.menu-toggle {
    background-image: url('/wp-content/themes/zbog-skis-ru/img/burger.png');
}

nav#site-navigation {
    width: auto;
/*    width: 100%;
    margin-left: 20px;*/
}

.logo img {
    max-width: 150px;
}
.mainpage.logo.toogled {
    display: none;
}
.site-header.mainpage .logo.toogled {
    display: none;
}
.site-header.mainpage .logo {
    display: block;
}

.site-header .logo.toogled {
    display: block;
    float: left;
}
.site-header .logo {
    display: none;
}

.s .logo.toogled {
    display: none;
}
.logo {display:flex;align-items: center;}
.logo.toogled{
    display: none;
}

#main-header {
    height: 100vh;
    width: 100vw;
    position: fixed;
    background: #fff;
    z-index: 12;
    top: 0;
    left: 0;
}

#masthead.toggled {
    position: fixed;
    background-color: #fff;
    background-image: none;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 1;

    z-index: 12;
}

#masthead .button {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

#masthead.toggled .button {
    display: block;
}

#masthead.toggled button.menu-toggle {
    background-image: url('/wp-content/themes/zbog-skis-ru/img/background_close.png');
    width: 25px;
    height: 25px;
    margin-left: auto;
}
#masthead.toggled .logo{
    display: none;
}
#masthead.toggled .logo.toogled{
    display: flex;
}

.toggled .menu-glavnoe-container {
   
}

#primary-menu {
/*    position: fixed;*/
/*    left: 24px;
    top: 100px;*/
    justify-content: space-around;
}

#primary-menu li {
    margin: 0 2vw;
}

#primary-menu  li a {
    color: #2C2C2C;
    font-weight: 400;
    font-size: 18px;
    line-height: 70px;
}

#primary-menu  li a:hover,
#primary-menu  li a:focus {
    color: #EC2E50;
    font-weight: 700;
}
.main-page-description {
    height: calc(100vh - 92px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-grow: revert;
    gap: 1px;
    flex-direction: column;

    position: relative;
    z-index: 4;
}

/* This is already mobile styles */
/*@media (max-width: 992px) {*/

.hero-video-wrap {
    /* display: none; */
    position: absolute;
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#hero-video {
    display: block;
    position: absolute;
    min-height: 100%;
    min-width: 100%;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/*}*/


