@font-face{
    font-family: "vazir";
    src: url(../fonts/Vazir.eot);
    src: url(../fonts/Vazir.eot?#iefix) format("emedded-opentype");
    src: url(../fonts/Vazir.woff2) format("woff2");
    src: url(../fonts/Vazir.woff) format("woff");
    src: url(../fonts/Vazir.ttf) format("truetype");
}
body{
    font-family: "vazir" !important;
    background: url(Resources/images/bg.jpg);
    background-size: cover;
    background-attachment: fixed;
   
}
.dark .dark-bg-black{
    background-color: black !important;
}
.dark .dark-text-white{
    color: aliceblue !important;
}
.dark .dark-bg-body-dark{
    background: url(Resources/images/bg-dark.jpg);
    background-size: cover;
    background-attachment: fixed;
}
.darkmode-switch{
    width: 2.5em !important;
    height: 1.5em !important;
}
.dark .dark-text-white{
    color: white;
}
.ityped-cursor{
    font-size: 2.2rem;
    opacity: 1;
    -webkit-animation: blink 0.3s infinite;
    -moz-animation: blink 0,3s infinite;
    animation: blink 0,3s infinite;
    animation-duration: alternate;
}
@keyframes blink{
    100%{
        opacity: 0;
    }
}
@-webkit-keyframes blink{
    100%{
        opacity: 0;
    }
}
/* countdown */
.countdown{
  display: flex;
}
.countdown div{
    text-align: center;
    border: 2px solid rgb(255, 255, 255 ,0.8);
    width: 150px;
    border-radius: 8px;
    margin: 10px 10px;
    padding: 10px 0;
} 
@media (max-width:575px){
    .countdown div {
        margin: 10px 8px;
        width: 70px;
        padding: 10px 0;
    }
}
sans-serif{
font-family: sans-serif;
      direction: rtl;
      background: linear-gradient(to bottom right, #8ecae6, #219ebc);
      color: #000;
      text-align: center;
      padding: 50px;
    }

    h2 {
      margin-bottom: 30px;
    }

    .container {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .card {
    
      padding: 20px;
      border: 2px solid white;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.2);
      opacity: 0;
      transform: translateY(40px);
      animation: fadeInUp 1s ease forwards;
    }
    .image{
      width: 206px;
      height: 206px;
    }
    /* انیمیشن ظاهر شدن */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* تأخیر برای هر div به ترتیب */
    .card:nth-child(1) { animation-delay: 0.5s; }
    .card:nth-child(2) { animation-delay: 1.5s; }
    .card:nth-child(3) { animation-delay: 2.s; }
    .card:nth-child(4) { animation-delay: 2.5s; }

    /* social-links */
    .social-links a {
      font-size: 16px;
      color:  rgba(170, 162, 162, 0.8);
      margin: 5px 3px;
      border-radius: 50px solid rgba(170, 162, 162, 0.8);
      align-items: center;
      /* justify-content: center; */
      width: 50%;
      height: 50px;
      transition: all 0.5s;
    }
    .social-links a:hover {
      border-radius: 50px solid red ;
      background: blue ;
      border-color: blue;

    }
    /* contact */
    .contact hr{
      width: 80px;
      height: 5px;
    }
    .contact card{
      border-top: 4px solid blue;
      border-bottom: 4px solid blue; 
      padding: 30px;
      border-radius: 0.25rem;
      background: green;
      width: 100%;
      box-shadow: 0 0 24px 0 rgd(0 0 0 /12%);
    }
    sans-serif{
    font-family: sans-serif;
    background: linear-gradient(to bottom right, #8ecae6, #219ebc);
    margin: 0;
    padding: 40px;
    direction: rtl;
    color: #333;
  }

  h2 {
    text-align: center;
    margin-bottom: 30px;
  }

  .contact-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .form-box, .info-box {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 10px;
  }

  form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #aaa;
    border-radius: 5px;
    font-size: 14px;
  }

  form button {
    background-color: #1976d2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  form button:hover {
    background-color: #0f4c81;
  }

  iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 10px;
  }