@charset "utf-8";
/* css/style_common.css */

html {
    --bg-color: #1e9ad2;
    --bg-color-1: #10AA56;
    scroll-behavior: smooth;
    --color-1: #FBE8A6;
    --color-2: #F4976C;
    --color-3: #303C6C;
    --color-4: #B4DFE5;
    --color-5: #D2FDFF;
}

body {
    margin: 0px;
    width: 100vw;
    background-size: cover;
    overflow-x: hidden;
    background-attachment: fixed;
    font-family: "roboto v20 latin cyrillic regular";
    background: var(--color-2);
}

/* roboto-regular - latin_cyrillic */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v20-latin_cyrillic-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/roboto-v20-latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto-v20-latin_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto-v20-latin_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto-v20-latin_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto-v20-latin_cyrillic-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

#logo {
    display: inline-block;
}
#h_menu {
    display: inline-block;
    position: relative;
    top: -50px;
}
.div_header {
    position: fixed;
    left: 0px;
    top: 0px;
    background-color: var(--color-1);
    width: 100%;
    z-index: 10;
    text-align: center;
    height: 140px;
    color: var(--color-2);
    }
.sub_header {
    width: 1000px;
    margin: auto;
}
#h_title {
    display: none;
}
.main_content {
    text-align: center; 
    padding-top: 140px;
    width: 1200px;
    margin: auto auto 20px auto;
    min-height: 600px;
    scroll-behavior: smooth;
}
.div_footer {
    text-align: center;
    background-color: var(--color-1);
    /*
    background: linear-gradient(to left, var(--bg-color-1), var(--bg-color));
    */
    height: 100px;
    width: 100%;
}
.footer_menu{
    padding-left: 0;
}
.clr {clear:both}
.clr_10 {clear:both; padding: 10px 0}
.menu-button-container {
}
.m_menu_li {
        display: inline-block;
        background: var(--color-4);
        border: solid var(--color-4);
        border-radius: 10px;
        padding: 5px;
        margin: 5px;
        color: black;
    }
.m_menu_li:hover {
        background-color:  var(--color-3);
        color: var(--color-1);
        transform: scale(1.1);
    }
.m_select {
        background-color: var(--color-5);
        color: var(--color-2);
        cursor: default;
    }
.m_select:hover {
        transform: scale(1);
        background-color: var(--color-5);
        color: var(--color-2);
    }
.m_f_menu_li {
        display: inline-block;
        background: var(--color-4);
        border: solid var(--color-4);
        border-radius: 10px;
        padding: 5px;
        margin: 5px;
    /*
        --select-bg-color: cornsilk;
    */
        color: black;
        font-size: x-small;
    }
.m_f_menu_li:hover {
        background-color:  var(--color-3);
        color: var(--color-1);
        transform: scale(1.2);
        cursor: pointer;
    }
#menu-toggle { display: none; }
.btn_up {
    position: fixed;
    bottom: 0px;
    height: 84px;
    right: 0px;
    opacity: 0.7;
    }
.top-nav {
    height: 30px;
}

.closebg {right:30px;}
a.close:before, a.close:after {right:25px;}
a.close:before, a.close:after {opacity: 0; content:" "; width: 24px; height: 2px; top:30px; position:fixed; display:block; background:#1f1f1f;animation: opa 0.5s;animation-delay: 1s; animation-fill-mode:both; cursor:pointer;}
a.close:before {transform: rotate(45deg);}
a.close:after {transform: rotate(-45deg);}
@keyframes opa {
    from {opacity:0}
    to {opacity:1}
    }
.closebg{opacity:0; display:block; position:fixed; top:15px; width:30px; height:30px; cursor:pointer; }
.closebg:hover ~ a.close:before {background: #d4009c; transition: 0.4s;}
.closebg:hover ~ a.close:after {background: #d4009c; transition: 0.4s;}
a.close:hover:before {background: #d4009c; transition: 0.4s;}
a.close:hover:after {background: #d4009c; transition: 0.4s;}

.div_ft_cr {
    color: var(--color-3); 
    padding-top: 0px;
}

@media screen and (max-width: 1025px) {
    .main_content {
        width: auto;
    }
}

@media screen and (max-width: 900px) {
    #logo {
        display: none;
    }
    #h_menu {
        top: -85px;
    }
    #h_title {
        display: inline-block;
        position: relative;
        top: -25px;
    }
    .main_content {
        text-align: center; 
        padding-top: 70px;
        width: auto;
        margin: auto auto 20px auto;
    }
    
    .sub_header {
        width: auto;
        margin: auto;
        height: 60px;
    }
    .top-nav {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      height: 80px;
      padding: 1em;
    }    
    .div_header {
        height: 60px;
    }
    .menu-button-container {
      display: none;
      height: 100%;
      width: 30px;
      cursor: pointer;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin-top: 120px;
    }
    
    .menu-button, .menu-button::before, .menu-button::after {
      display: block;
      background-color: #fff;
      position: absolute;
      height: 4px;
      width: 30px;
      transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
      border-radius: 2px;
    }
    .menu-button::before {
      content: '';
      margin-top: -8px;
    }
    .menu-button::after {
      content: '';
      margin-top: 8px;
    }
    #menu-toggle:checked + .menu-button-container .menu-button::before {
      margin-top: 0px;
      transform: rotate(405deg);
    }
    #menu-toggle:checked + .menu-button-container .menu-button {
      background: rgba(255, 255, 255, 0);
    }
    #menu-toggle:checked + .menu-button-container .menu-button::after {
      margin-top: 0px;
      transform: rotate(-405deg);
    }
  .menu-button-container { display: flex; }
  .menu {
    position: absolute;
    margin-top: 30px;
    left: -330px;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 1.3em;
    padding: 0.5em;
    width: 300px;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle ~ ul { display: none; }
  #menu-toggle:checked ~ ul { display: block; }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
    .btn_up {
        height: 60px;
    }
}