@font-face {
    font-family: Ftahoma;
    src: url("fonts/FMBF_Tahoma.ttf");
}
@font-face {
    font-family: FtahomaBold;
    src: url("fonts/FMBF_Tahoma_0.ttf");
}
*{
    //text-transform: uppercase;
    color: rgb(221,199,135);
    transition: background 0.3s, color 0.3s,left 0.3s, top 0.3s,transform 0.3s;
    
}
button:hover{
    cursor: pointer;
}
body{
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
}
section{
    background-color: #081005;
    background: url(images/background.jpg);
    background-size: cover;
    min-height: 100vh;
    width: calc(100% - 300px);
    min-width: 300px;
    font-family: Ftahoma;
}
p{
    display: inline-block;
}
a{
    display: inline-block;
}
a:hover{
    cursor: pointer;
}
.flags{
    padding-top: 20px;
}
.flags button{
    margin: 0 5px;
    width: 40px;
    height: 20px;
    border: none;
}
button.arm{
    background: url(images/arm_flag_dark.png);
    background-size: cover;
}
button.arm:hover, button.arm.active{
    background: url(images/arm_flag.png);
    background-size: cover;
}
button.rus{
    background: url(images/rus_flag_dark.png);
    background-size: cover;
}
button.rus:hover, button.rus.active{
    background: url(images/rus_flag.png);
    background-size: cover;
}
button.eng{
    background: url(images/usa_flag_dark.png);
    background-size: cover;
}
button.eng:hover, button.eng.active{
    background: url(images/usa_flag.png);
    background-size: cover;
}
button:focus {
    outline: none; 
}
div.arm.active,div.eng.active,div.rus.active,div p.arm.active,div p.rus.active,div p.eng.active,div h3.arm.active,div h3.rus.active,div h3.eng.active, a.arm.active,a.rus.active,a.eng.active{
    display: inherit;
}
div.arm,div.rus,div.eng,div p.arm,div p.rus, div p.eng,div h3.arm,div h3.rus,div h3.eng,a.arm,a.rus,a.eng{
    display: none;
}
span.arm,span.rus,span.eng{
    display: none;
}
span.arm.active,span.rus.active,span.eng.active{
    display: inline;
}
.sidebar div.rus a{
    font-size: 17px;
}
.flexLow{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.flexTop{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.col{
    flex-direction: column;
}
.flex{
    display: flex;
    flex-wrap: wrap;
}
header,section{
    display: inline-block;
}
.holder{
    width: 346px;
}
.menu-icon{
    width:50px;
    height:50px;
    padding:4px 8px;
    box-sizing: border-box;
    background: none;
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
    z-index: 400;
}
.menu-icon > span{
    width:100%;
    height:4px;
    margin:6px 0;
    background: #f1f1f1;
    display: block;
}
.menu-icon.active{
    z-index: 200;
    
}
.menu-icon.active:hover{
    background: #f1f1f1;
    border-radius: 25px;
}
.menu-icon.active:hover span{
    background: #080808;
}
.menu-icon.active > span{
    position: absolute;
    width: calc(50% - 6px);
    top: 50%;
}
.menu-icon.active > span:nth-child(1){
    transform: rotate(315deg);
    top:calc( 50% - 7.5px);
    left:10px;
    width: 30px;

}
.menu-icon.active > span:nth-child(3){
    transform: rotate(-315deg);
    top: calc( 50% - 7.5px);
    left:10px;
    width: 30px;
}
.menu-icon.active > span:nth-child(2){
    display: none;
}
.shadow{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #f1f1f1;
    opacity: 0.8;
    left: -100vw;
    z-index: 100;
    top: 0;
}
.shadow.active{
    left: 0;
}
.sidebar{
    display: inline-block;
    height: 100vh;
    background: rgb(4,13,0);
    text-align: center;
    line-height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    text-transform: uppercase;
}
.sidebar > img{
    //width: 300px;
}
.sidebar a{
    color: rgb(221,199,135);
    text-decoration: none;
    font-size: 19px;
    font-family: Ftahoma;
}
.sidebar > div > a{
    width: 180px;
    text-align: center;
    font-family: FtahomaBold;
}
.sidebar > div > a:hover{
    color: rgb(4,13,0);
    background: rgb(221,199,135);
    border-radius: 1px;
    text-decoration: none;
}
.social{
    display: flex;
    text-align: center;
    height: calc(100vh - 595px);
    min-height: 40px;
    justify-content: center;
    align-items: flex-end;
}
div.social > a{
    width: auto;
}
.social button{
    margin: 10px;
    margin-bottom: 40px;
    width: 30px;
    height: 30px;
    border:none;
    
}
.social button:hover{
    cursor: pointer;
}
.fb{
    background: url(images/fb_dark.png);
    background-size: cover;
}
.fb:hover{
    background: url(images/fb_light.png);
    background-size: cover;
}
.twitter:hover{
    background: url(images/twitter_dark.png);
    background-size: cover;
}
.twitter{
    background: url(images/twitter_light.png);
    background-size: cover;
}
.mainContent{
    max-width: 1165px;
    padding-left: 2mm;
}
.mainImg a p{
    font-family: FtahomaBold;
    font-size: 19px;
    text-transform: uppercase;
}
@media (max-width: 900px){
   .menu-icon{
        display: block;
    }
    .sidebar{
        width:250px !important;
        left: -250px;
        top: 0;
    }
    .sidebar img{
        width: 100%;
    }
    .sidebar.active{
        left: 0;
        z-index: 200;
    }
    .holder{
        display: none;
    }
    section{
        width: 100% !important;
        padding: 0;
        box-sizing: border-box;
    }

}
@media (max-height: 680px){
    .social a{
        height: 40px;
    }
    .sidebar{
            overflow: scroll;
    }
}
