body{
    background-color: #000212;
    direction: rtl;
    font-family: iransans;
    font-size: 12px;
}
@font-face {
    font-family: iransans;
    src: url(IRANSansWeb_Medium.woff);
    
  }

.main-menu{
    background-color: #1f233d;
    box-shadow: 0 22px 65px 0 rgba(255, 255, 255,.10);
    transform: translate(50%,-50%);
    position: absolute;
    top: 50%;
    right: 50%;
    width: 50%;
    min-height: 510px;
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 46px;
}
.topnav {
    overflow: hidden;
    background-color: #333;
    font-family: iransans;
    font-size: 12px;
  }
  
  .topnav a {
    float: right;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 12px;
  }
  
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .topnav a.active {
    background-color: #7d37a6;
    color: white;
  }

  .info-panel{
    float: left;
    background-image: linear-gradient(-135deg,#414141,#000000);
    width: 100%;
    height: 20px;
    padding-bottom: 46px;
  }
    .title-info{
    color: #fff;
    margin-bottom: 14px;
    font-size: 13px;
    margin-top: 38px;
    margin-right: 10px;
    position: relative;
    top: 20px;
  }
  .title-info:hover{
    color: red;
  }
  .logo{
    border-radius: 15%;
    width: 50px;
    height: 50px;
    position: relative;
    top: 7px;
    float: left;
    margin-left: 10px;
    border: 2px solid #7d37a6;
  }
  .logo:hover{
    animation: shake 0.5s;
    animation-iteration-count: infinite;
  }
  .inputAmount{
    background: #fff;
    border: 1px solid #dcdee0;
    border-radius: 6px;
    width: 80%;
    height: 43px;
    box-sizing: border-box;
    font-family: iransans;
    font-size: 14px;
    color: #5a627a;
    outline: 0 none;
    padding: 0 10px;
    margin-bottom: 3px;
    margin-right: 60px;
    margin-top: 20px;
  }

  button{
    width: 80%;
    height: 47px;
    box-sizing: border-box;
    font-size: 12px;
    font-family: iransans;
    color: #fff;
    letter-spacing: 0;
    background: #7d37a6 0 0 no-repeat padding-box;
    border-radius: 6px;
    outline: 0 none;
    border: none;
    margin-right: 60px;
    margin-top: 10px;
    border: 1px solid #dcdee0;
  }
  button:hover{
    background: #612a82 0 0 no-repeat padding-box;
  }
  .head-image{
    width: 40%;
    height: 40%;
    margin-right: 160px;
  }
  .head-image:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
  }
  @keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }
  .header {
    position: absolute;
    padding: 14px;
    margin-right: 250px;
    bottom: 0;
    color: white;
  }
  
  .head-image-confirm{
    width: 30%;
    height: 30%;
    margin-right: 190px;
  }
  .head-image-confirm:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
  }

  @media (max-width: 768px) {
    .main-menu {
      width: 100%;
      height: 100%;
      border-radius: inherit;
      position: inherit;
      top: inherit;
      right: inherit;
      transform: none;
    }
    }

    @media (max-width: 768px) {
        .topnav {
          width: 100%;
        }
        }
    @media (max-width: 768px) {
    .info-panel {
        width: 100%;
    }
    }
    @media (max-width: 768px) {
        .head-image {
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 50%;
        }
        }
        @media (max-width: 768px){
            .header {
              position: inherit;
              display: block;
              text-align: center;
              margin: 20px auto auto;
            }
            }
            @media (max-width: 768px){
                .inputAmount {
                    position: inherit;
                    display: block;
                    text-align: center;
                    margin: 20px auto auto;
                }
                }
                @media (max-width: 768px){
                    button {
                        position: inherit;
                        display: block;
                        text-align: center;
                        margin: 20px auto auto;
                    }
                    }
                    @media (max-width: 768px) {
        .head-image-confirm {
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 50%;
        }
        }