
@font-face {
  font-family: "Vazir";
  src: url("/static/fonts/Vazir.woff") format("woff"); 
  /* Add additional formats if necessary */
}

body {
  font-family: "Vazir", Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #0d1b26e7; /*linear-gradient(120deg, #c1c5cc, #c2e9fb);*/
  background-image: url('/static/images/backweb.png');
  background-size: cover;      /* Adjusts the image to cover the entire background */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-position: center;  /* Centers the image */
}

h1 {
  font-size: 3rem;
  color: #a4ffbe;
  margin-bottom: 20px;
}

/* p {
  font-size: 1.2rem;
  color: #a4ffbe;
  text-align: center;
  margin: 0 20px;
} */


.button-container {
  position: absolute;
  top: 20px; /* Adjust vertical offset */
  right: 20px; /* Adjust horizontal offset */
  display: flex;
  gap: 10px; /* Space between buttons */
}
/* Style for the Login button (blue) */
.login-btn {
  padding: 10px 20px;
  background-color: #3498db;
  border: none;
  color: white;
  font-size: 1em;
  cursor: pointer;
  border-radius: 4px;
}
/* Style for the Sign Up button (red) */
.signup-btn {
  padding: 10px 20px;
  background-color: #e74c3c;
  border: none;
  color: white;
  font-size: 1em;
  cursor: pointer;
  border-radius: 4px;
}

/* Modal Styles */
#login-modal {
  display: none; /* Ensure the modal is hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}

.modal-content h2 {
  margin: 0 0 20px;
}

.modal-content label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
}

.modal-content input {
  width: calc(100% - 20px); /* Prevent overflow */
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.modal-content button {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.modal-content button:hover {
  background-color: #45a049;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}


.custom-alert.hide-alert {
    opacity: 0;
    transform: scale(0.7) translateY(-30px);
    pointer-events: none;
}