*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
     font-family: Vazir;
     font-style: normal;
     font-weight: normal;
     src: url('fonts/Vazir.eot');
     src: url('fonts/Vazir.eot?#iefix') format('embedded-opentype'), 
     url('fonts/Vazir.woff2') format('woff2'), 
     url('fonts/Vazir.woff') format('woff'), 
     url('fonts/Vazir.ttf') format('truetype');
}
.notif
{
    text-align:center;
    margin:0 auto;
    font-family:Vazir;
}
.page
{
    width: 100%;
    height: 100vh;
    background: #f7f7f7;
}

header
{
    height: 60px;
    background: #fff;
    box-shadow: 0 2px 12px silver;
}

header .menuicon
{
    display: none;
}
nav
{
    width: 90%;
    margin: 0 auto;
    z-index:99;

    
}

nav .logo img
{
    height:50px;
    width: 50px;
    padding: 5px;
    margin: 5px;
    float: left;
    border:1px solid black;
    border-radius:40px;
    
}

nav ul
{
    list-style: none;
    float: right;
}

nav ul li
{
    display: inline-block;
    padding:20px 10px;
    color:#777;    
}
nav ul li:hover
{
    color:#000;
    cursor: pointer;
 transform:color 1s;
}

.content h1
{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,50%);  
    text-align: center;
}


@media screen and (max-width:500px)
{    
    header
    {
        text-align: center;
    }
    header .menuicon
    {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        width: 20px;
        height: 20px;
    }
    
    .bar,.bar::before,.bar::after
    {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background: #333;
        transition: all 0.3s ease;
    }
    
    .bar::before{
        top:-7px;
    }
    .bar::after{
        top:7px;
    }
    
    nav
    {
        background:#222;
        width: 25%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        transition: all 0.8s ease;
    }
    
    nav ul li:hover
    {
         color: #eee;
    }
    
    
    .active .bar
    {
        background:transparent;
    }
    
    .active .bar::before
    {
        top: 0;
        transform: rotate(45deg);
    }
    
      .active .bar::after
    {
        top:0;
        transform: rotate(-45deg);
    }
    
    .openmenu nav
    {
        transform: translateX(0%);
    }
    
}


