@font-face {
    font-family: 'vazir';
    src: url('/font/vazir.eot'); /* IE9 Compat Modes */
    src: url('/font/vazir.eot') format('embedded-opentype'), /* IE6-IE8 */
         url('/font/Vazir.woff2') format('woff2'), /* Super Modern Browsers */
         url('/font/vazir.woff') format('woff'), /* Pretty Modern Browsers */
         url('/font/vazir.ttf')  format('truetype'); /* Safari, Android, iOS */
        /* url('webfont.svg#svgFontName') format('svg');*/ /* Legacy iOS */
  }

  * , *::after , *::before {
      box-sizing: border-box;
      padding: 0;
      margin: 0;
}
html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    background-color: #000;
    font-family: vazir;
    font-size: 1.5rem;
    height: 2300px;
}

.menu {
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content:space-between;
    padding: 0 20px;
    width: 100%;
    height: 100px;
    background-color: black;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

.menu.down {
    height: 50px;
    background-color: #fff;
}

.menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu ul li {
    padding: 10px 10px;
}

.menu ul li a {
    text-decoration: none;
    color: #fff;
}

.menu.down a {
    color: #000;
}

.menu ul li a:hover {
    color: peru;
}

.menu.down ul li a:hover {
    color: peru;
}

.menu a {
    text-decoration: none;
    color: #fff;
}

.menu a:hover {
    color: peru;
}

.menu.down a:hover {
    color: peru;
}

.main1 img {
    width: 100%;
    height: 100%;
}

.main2 img {
    width: 100%;
    height: 100%;
}

.main3 img {
    width: 100%;
    height: 100%;
}