@font-face {
    font-family: shabnam;
    src: url('/fonts/Shabnam-FD.eot');
    src: url('/fonts/Shabnam-FD.eot?#iefix') format('/fonts/Shabnam-FD-opentype'),
         url('/fonts/Shabnam-FD.woff') format('woff'),
         url('/fonts/Shabnam-FD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'shabnam','tahoma';
    direction: rtl;

}
.itemlist{text-align: center;}
img,picture{max-width: 100%;}
header {
    background-color: #333;
    padding: 20px;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    list-style: none;
    display: flex;
}

.menu li {
    margin-right: 20px;
    position: relative;
}

.menu li:last-child {
    margin-right: 0;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown {
    position: absolute;
    background-color: #333;
    display: none;
    top: 100%;
    left: 0;
    width: 200px;
    padding: 20px;
}

.dropdown li {
    margin-bottom: 10px;
}

.dropdown li:last-child {
    margin-bottom: 0;
}

.dropdown li a {
    color: #fff;
    text-decoration: none;
}
main{padding: 20px 80px;}

.article {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    padding: 5px 5px 50px 5px;
  }
  .article:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  }




h2,h3,h4{margin-top: 30px; margin-bottom: 10px;}

  

.btn {
    --border: 5px;    /* the border width */
    --slant: 0.7em;   /* control the slanted corners */
    --color: #37E8FC; /* the color */
    max-width: 100%;
    font-size: 25px;
    padding: 0.4em 1.2em;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    margin: 10px;
    color: var(--color);
    background: 
       linear-gradient(to bottom left,var(--color)  50%,#0000 50.1%) top right,
       linear-gradient(to top   right,var(--color)  50%,#0000 50.1%) bottom left;
    background-size: calc(var(--slant) + 1.3*var(--border)) calc(var(--slant) + 1.3*var(--border));
    background-repeat: no-repeat;
    box-shadow:
      0 0 0 200px inset var(--s,#0000),
      0 0 0 var(--border) inset var(--color);
    clip-path: 
        polygon(0 0, calc(100% - var(--slant)) 0, 100% var(--slant),
                100% 100%, var(--slant) 100%,0 calc(100% - var(--slant))
               );
    transition: color var(--t,0.3s), background-size 0.3s;
    display: inline-block;
  }
  .btn:focus-visible {
    outline-offset: calc(-1*var(--border));
    outline: var(--border) solid #000c;
    clip-path: none;
    background-size: 0 0;
  }
  .btn:hover,
  .btn:active{
    background-size: 100% 100%;
    color: #fff;
    --t: 0.2s 0.1s;
  }
  .btn:active {
    --s: #0005;
    transition: none;
  }

.btn-success{
    --color:#69db3a;
  }
.btn-warning{
    --color:#e48509;
  }
hr{margin: 30px;}
.mainpic{
min-height: 600px;
}
  @media only screen and (max-width: 768px) {
    .mainpic{
        height: 300px;
        min-height: 300px;
        }
    .menu {
        flex-direction: column;
        align-items: flex-start;
    }
    .menu li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .has-dropdown {
        position: static;
    }

    .dropdown {
        position: static;
        display: none;
    }

    .has-dropdown:hover .dropdown {
        display: block;
    }
    main{padding: 20px;}

    .btn{ font-size: 20px;}
}
.mbox{text-align: right; max-width: 860px;margin-left: auto;margin-right: auto;}
.text-center{text-align: center;}
.abox{max-width: 600px;margin: auto;}
h1{margin-top: 30px; margin-bottom: 20px; padding-bottom: 10px; text-align: center;border-bottom: 1px #eee solid;width: auto;}
.requestlist{margin-top: 30px;color: #666;}
.postlist{text-align: center;}
.postlink{padding: 20px; margin: 20px; border: 1px #ccc solid; display: inline-block;text-decoration: none; background-color: black;color: white;}