
/*@import url('https://fonts.googleapis.com/css2?family=Vazir:wght@400;700&display=swap');*/


@font-face {
        font-family: 'Vazir';
        src: url('/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Regular.woff2') format('woff2');
        font-weight: normal;
        font-style: normal;
    }
    

html, body {
    height: 100%;
    margin: 0;
}
main {
    flex: 1 0 auto;
}
.body {
        font-family: 'Vazir', Arial, sans-serif;
        background-color: #f0f0f0;
        direction: rtl;
        text-align: right;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        line-height: 1.6;
    }


/*ÙÙˆØªØ± Ùˆ */
footer {
    flex-shrink: 0;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    width: 100%;
}

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 100%;
            margin: 0 auto;
        }
        .footer-text {
            flex-grow: 1;
        }
        .footer-links {
            display: flex;
        }
        .footer-links a {
            color: white;
            text-decoration: none;
            margin-right: 1rem;
        }
        
        .enamad-img {
            width: 40px;  /* Ø¹Ø±Ø¶ ØªØµÙˆÛŒØ± */
            height: 40px; /* Ø§Ø±ØªÙØ§Ø¹ ØªØµÙˆÛŒØ± */
            object-fit: cover; /* Ø¨Ø±Ø§ÛŒ Ø­ÙØ¸ Ù†Ø³Ø¨Øª ØªØµÙˆÛŒØ± */
        }
        
        
/*ØªÚ¯ Ù‡Ø§ÛŒ Ø¨ÙˆÙ„Ø¯*/
h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #4CAF50;
}

/*Ù„Ø§ÛŒÙ† Ø®Ø·Ø§Ù‡Ø§*/
.error-message {
    color: red;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
  }
   
.valid-message {
    color: green;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
  }
   
   
   
h2.center-title {
            text-align: center;
            margin: 0;
        }
h2.center-title a {
            color: white;
            text-decoration: none;
        }
   
   
   
   
   
   
   
   
   
   
   
   
   
   /*#####################################3#*/
   
   
   
    nav ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: #4CAF50;
  color: white;
}

.dropdown-content {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}

nav ul li:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle {
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
  /*background-color: #e8e41;*/
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav ul.show {
  animation: slideDown 0.3s ease forwards;
}
    
    
    
    
/* Ù‡Ø¯Ø± Ø§ØµÙ„ÛŒ */
header {
  background-color: #4CAF50;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}



.logo a {
    text-decoration: none; 
    display: flex; 
    align-items: center;
    font-family: 'Cinzel', serif; /* ÙÙˆÙ†Øª Ø¨Ø§ ØªÙ… Ú©Ù„Ø§Ø³ÛŒÚ© */
    color: #FFD700; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Ø³Ø§ÛŒÙ‡ Ù…ØªÙ† */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Ø§Ù†ØªÙ‚Ø§Ù„ Ù†Ø±Ù… Ø¨Ø±Ø§ÛŒ Ø§ÙÚ©Øª */
}


.logo {
    display: flex; 
    font-size: 1.5em;
    font-weight: bold;
}

.logo img {
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    margin-left: 10px; 
}

.logo a:hover {
    transform: scale(1.1); 
    background-color: rgba(255, 215, 0, 0.2);
}

/* Ù…Ù†ÙˆÛŒ Ù†Ø§ÙˆØ¨Ø±ÛŒ */
nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: 20px;
  padding: 10px;
}
.nav-menu li:hover {
  background-color: #4CAF50;
  border-radius: 5px;
}
.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 1em;
}

/* Ù…Ù†ÙˆÛŒ Ú©Ø´ÙˆÛŒÛŒ */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Ø¢ÛŒÚ©ÙˆÙ† Ù¾Ø±ÙˆÙØ§ÛŒÙ„ */
.profile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ffffff;
}

.profile-icon img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* Ø¯Ú©Ù…Ù‡ Ù…Ù†ÙˆÛŒ Ù‡Ù…Ø¨Ø±Ú¯Ø±ÛŒ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 5px 0;
  transition: 0.4s;
}

/* Ø±Ø³Ù¾Ø§Ù†Ø³ÛŒÙˆ Ø¨Ø±Ø§ÛŒ Ù…ÙˆØ¨Ø§ÛŒÙ„ */
@media screen and (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #0c1611e0;
    padding: 20px;
    margin : 20px;
  }

  .nav-menu.active {
    display: flex;
    align-items: center;
  }

  .nav-menu li {
      border-bottom: 2px solid #FFD700;
      margin: 10px 0;
  }

  .dropdown-content {
    position: static;
    /*background-color: transparent;*/
    background-color: #0c1611e0;
    box-shadow: none;
  }

  .dropdown-content a {
    color: white;
  }

  .menu-toggle {
    display: block;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
      .footer-content {
                flex-direction: column;
            }
            .footer-links {
                margin-top: 1rem;
            }
            .footer-links {
        margin-bottom: 1rem;
                          }
}
