@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  direction: rtl;
  scroll-behavior: smooth;
  font-family: "El Messiri", sans-serif;

}
.container {
  width: 90%;
  margin: auto;
}
img {
  width: 100%;
  height: 100%;
}
a{
  text-decoration: none;
}

/* ======= up option ======== */
.up {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #00594f;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  position: fixed;
  bottom: 25px;
  left: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  opacity: 0.9;
  z-index: 99;
}
.up:hover {
  background-color: #00ad85;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
  opacity: 1;
}
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 173, 133, 0.6); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 173, 133, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 173, 133, 0); }
}
.up.pulse {
  animation: pulse 2s infinite;
}
.up.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.up.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
