@font-face {
    font-family: DINNEXT;
    src: url(15765.otf); /* Путь к файлу со шрифтом */
   }

body{
    background-image: url(../imgs/bg.webp);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    margin: 0;
    background-attachment: fixed;
    font-family: "DINNEXT";
}

.header{
    background-color: #fff;
    position: static;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
}

.header_logo{
    margin-left: 30px;
    align-items: center;
    width: 100%;
    max-width: 250px;
    display: flex;
    justify-content: space-around;
    color: #8c7f45;
}

.header_logo svg{
    width: 44px;
    height: 44px;
    fill: #8c7f45;
}

.header_menu{
    margin-left: auto;
    display: flex;
    width: 100%;
    max-width: 1280px;
    justify-content: space-around;
    align-items: center;
    color: #8c7f45;
}

.header_menu a{
    text-decoration: none;
    color: #8c7f45;
    transition: .2s linear;
}

.active_link, .header_menu a:hover{
    color: #333 !important;
}

.header_menu-main{
    position: relative;
    cursor: default;
}

.header_menu-submenu {
    transition: .2s linear;
    text-align: center;
    margin-top: 8px;
    background: #fff;
    position: absolute;
    z-index: 5;
    width: 225px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: 0 0;
    padding: 16px 16px;
}

.header_menu-submenu il{
    display: block;
    padding: 5px;
    border-radius: 6px;
    transition: 0.25s linear;
}

.header_menu-submenu#sub1{
    left: -110%;
}

.header_menu-submenu#sub2{
    left: -25%;
}

.header_menu-submenu#sub3{
    left: -35%;
}

#main1:hover .header_menu-submenu#sub1{
  opacity: 1;
  transform: scaleY(1);
}

#main2:hover .header_menu-submenu#sub2{
  opacity: 1;
  transform: scaleY(1);
}

#main3:hover .header_menu-submenu#sub3{
  opacity: 1;
  transform: scaleY(1);
}

.main_title{
    max-width: 80%;
    color: #fff;
    font-size: 60px;
    text-align: center;
    margin: 150px auto;
    text-shadow: 1px 1px 1px #000;
    letter-spacing: 0.3em;
    font-weight: bold;
}

.text_block{
    background-color: rgba(255, 255, 255, 0.85);
    color: #292929;
    padding: 32px 64px;
    width: calc(100% - 128px);
    max-width: 900px;
    margin: auto;
    height: 100%;
    min-height: calc(100vh - 164px);
}

.big_title{
    font-family: sans-serif;
    font-size: 44px;
    margin-bottom: 32px;
}

.contacts_wrap{
    display: grid;
    grid-template-columns: 40% 40%;
}

.normal_text{
    color: #333;
    font-size: 18px;
}

.normal_text a{
    color: #333;
    text-decoration: none;
}

.contacts_item, .internet_item{
    margin-bottom: 20px;
}

.big_link{
    margin: 20px auto;
}

.big_link a{
    font-size: 27px;
    color: #333;
}

.internet_item a{
    color: #333;
    text-decoration: none;
}

.mes_title{
    font-size: 20px;
    font-weight: bold;
}

table{
    margin: auto;
    border-collapse: collapse;
}

table, td, th {
  border: 1px solid;
}

td{
    text-align: center;
    width: 20%;
}

.duty_sum{
    font-weight: bold;
    font-size: 18px;
    margin-top: 16px;
}

.month{
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 24px;
    margin-top: 24px;
}

.bold{
    font-weight: bold;
}

.normal{
    margin-left: 40px;
}

.link{
    margin-left: 80px;
}

.link a{
    color: #292929;
}

.menu-btn {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    display: none;
    margin-left: auto;
    margin-right: 20px;
}
.menu-btn span {
    width: 30px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #8c7f45;
    transition: all 0.5s;
}

.menu-btn span:nth-of-type(2) {
    top: calc(50% - 5px);
}

.menu-btn span:nth-of-type(3) {
    top: calc(50% + 5px);
}

.mob_menu{
    display: none;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #FBFBFB;
    height: auto;
    width: 100%;
    min-height: 100vh;
}

.mob_menu-main{
    position: relative;
}

.close{
    margin-right: 16px;
    font-size: 20px
}

.mob_menu-wrap{
    margin-top: 80px;
}

.mob_menu-wrap .active_link{
    color: #8c7f45 !important;
}

.mob_menu-wrap a{
    display: block;
    text-decoration: none;
    color: #292929;
    padding: 10px;
}

.mob_menu-submenu{
    display: none;
}

.mob_menu-close {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
}

.mob_menu-close:before, .mob_menu-close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 20px;
    width: 2px;
    background-color: #8c7f45;
}

.mob_menu-close:before {
    transform: rotate(45deg);
}

.mob_menu-close:after {
    transform: rotate(-45deg);
}

.underlined a{
	text-decoration: underline;
}


@media  (max-width: 768px) {
    .menu-btn{
        display: block;
    }

    .header_menu{
        display: none;
    }

    .main_title{
        font-size: 40px;
    }

}

@media  (max-width: 500px) {

    .main_title{
        font-size: 22px;
    }

}
