@font-face {
    font-family: 'AMIR';
    src: url('IRAmir.ttf') format('truetype'); 
  }
body {
    width: 100%;
    height: 100vh;
    background-color: #000;
    background-image: radial-gradient(circle at top right, rgba(121, 68, 154, 0.13),       transparent),
      radial-gradient(circle at 20% 80%, rgba(41, 196, 255, 0.13), transparent);
    overflow: hidden;
    display: flex;
    color: #fff;
    font-family: 'AMIR';
    margin: 0;
    direction: rtl;
  }
  canvas {
    position: fixed;
    width: 100%;
    height: 100%;
  }
  
  a {
    color: rgb(0 229 255);
    font-size: larger;
    text-decoration: none;
  }
  
  .box{
    width: 60%;
    height: auto;
    border-radius: 12px;
    padding: 20px;
    padding-bottom: 40px;
    display: flex;
    position: relative;
    overflow: hidden;
    box-sizing: border-bo;
    flex-direction: column;
    align-items: center;
    background: rgba(5, 5, 5, 0.7);
    transition: box-shadow 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
    margin: auto;
  }
  .box:hover {
    background: rgba(5, 5, 5, 0.8);
    box-shadow: 0 20px 80px 4px hsla(0, 5%, 11%, 0.7); /* تغییر سایه هنگام هاور */
  }
  p{
    padding: 0 30px;
    text-align: justify;
    font-size: larger;
    text-shadow: 6px 6px 5px rgba(0, 0, 0, 0.3);
  }
  h1{
    text-shadow: 6px 6px 5px rgba(0, 0, 0, 0.3);
   }
  @media (max-width: 880px) {
    .box{
        width: 94%;
        padding: 15px 0;
      }
    img{
      height: 100px;
      width: 100px;
    }
    h1{
      font-size: large;
    }
    p{
      font-size: small;
    }
   }
   