





/*    ____  _____ __  __ ____  ____   ___ ___ _     __  __ _____ _   _ _____ 
  / __ \| ____|  \/  | __ )|  _ \ / _ \_ _| |   |  \/  | ____| \ | |_   _|
 / / _` |  _| | |\/| |  _ \| |_) | | | | || |   | |\/| |  _| |  \| | | |  
| | (_| | |___| |  | | |_) |  _ <| |_| | || |___| |  | | |___| |\  | | |  
 \ \__,_|_____|_|  |_|____/|_| \_\\___/___|_____|_|  |_|_____|_| \_| |_|  
  \____/                                                                   */

   


.article-card,
#about-box,
#members-box,
#contact-box {
  transition: opacity 1s ease-in-out, visibility 1.5s ease-in-out;

}




@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@400&display=swap");

@font-face {
	font-family:"Minecraftia";font-style:normal;src:local("Minecraftia"),url("https://fonts.cdnfonts.com/s/31977/Minecraftia.woff") format("woff");
}

@import url("https://example.com/path-to/Minecraftia.ttf");

.center {
  transform: scale(1);
}

.menu, .hamburger {
  position: fixed;
  display: flex;
  flex-direction: column;
}

.hamburger {
  top: 11.25pt;
  left: 15px;
  width: 0.3125in;
  height: 25px;
  justify-content: space-between;
  user-select: none;
  cursor: crosshair;
  z-index: 1100;
  color: rgba(50,50,50,0.8);
  display: flex;
  flex-direction: column;
}

.hamburger div {
  width: 100%;
  height: 0.041666667in;
  background: rgba(156, 156, 156, 0.384);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu.open {
  left: 0;
}

.menu {
  top: 0;
  left: -150pt;
  width: 180px;
  height: 100%;
  transition: left 0.7s ease-in-out;
  backdrop-filter: blur(5px);
}

.menu a {
  display: block;
  margin-left: 0;
  margin-right: 0;
  color: rgba(255, 255, 255, 0.534);
  font-family: "Minecraftia", sans-serif;
  text-shadow: 0.0625pc 1px 0.0625pc #000;
  text-decoration: none;
  text-align: center;
}

h1 {
  height: 5pc;
  text-align: center;
}

* {
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: border-box;
}

h1 {
  color: rgba(207, 207, 207, 0.87);
  font-size: 1.875pc;
}

/* القائمة الجانبية */
.menu {
  justify-content: center;
  border-right-width: 0.020833333in;
  border-right-style: solid;
  border-right-color: rgba(68, 68, 68, 0.705);
  border-image: none;
  z-index: 1000;
}

.menu a {
  font-size: 0.15625in;
  margin-top: 0.3125pc;
  margin-bottom: 0.3125pc;
  padding-left: 0.208333333in;
  padding-bottom: 0.125in;
}

/* قسم السحب والعناصر المرتبطة */
.draggable-section,
#about-box {
  font-weight: bold;
}

.draggable-section {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* تأثيرات الماوس */
.mouse-effect {
  position: fixed;
  width: 0.3125in;
  height: 0.3125in;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.438) 80%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  filter: blur(40px);
}

/* كروت الأعضاء */
.member-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0.15625in white;
}


.menu a {
	padding-right: .208333333in;
	padding-top: .125in;
	transition: all .4s ease-in-out;
	position: relative;
	overflow: hidden;
}

.member-card:hover {
	cursor: url("cursor.cur"), auto !important;
}

.draggable-section {
	left: 50%;
	width: auto;
padding-left: 25px;
padding-bottom: 25px;
padding-right: 25px;
padding-top: 25px;
}

#about-box {
padding-left: 20px;
padding-bottom: 10px;
padding-right: 20px;
padding-top: 10px;
padding: auto;
	width: 700px;
		text-align: center;

}

#contact-box {
	padding: auto;
	width: 600px;
padding-left: 40px;
padding-bottom: 40px;
padding-right: 40px;
padding-top: 40px;
	text-align: center;
}

h1 {
	text-shadow: .0625pc .75pt 1px rgba(255,250,250,.767);
	width: 100%; /* أو أي عرض */
	text-align: center;
	margin: 0 auto; /* يحط العنصر في الوسط */
}

.popup-content h2, h2, h3, .draggable-section {
	text-align: center;
}

h2, h3 {
	color: #ccc;
}

h3, h2 {
	font-size: 30px;
	text-shadow: 1px .75pt 1px #cecece;
	font-style: bold;
}

.draggable-section {
	border-bottom-style: solid;
	border-right-style: solid;
	border-top-style: solid;
	border-left-color: rgba(184,184,184,.144);
	border-bottom-color: rgba(184,184,184,.144);
	border-right-color: rgba(184,184,184,.144);
	border-top-color: rgba(184,184,184,.144);
	border-image: none;
	background: rgba(226, 226, 226, 0.281);
	backdrop-filter: blur(2px);
	animation: lightsaber-glow 1s infinite alternate;
	border-radius: 18.75pt;
	color: #ffffffb7;
	font-family: "Minecraftia", sans-serif;
	box-shadow: 0 0 40px rgba(85,85,85,.7), 0 0 .520833333in rgba(230,230,230,.7);
	opacity: 0;
	visibility: hidden;
}

.members-grid {
	font-size: 15px;
	display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.card:hover .inner {
	transform: rotateY(180deg);
}

.menu a {
	cursor: url("https://cur.cursors-4u.net/cursors/cur-2/cur226.cur"), auto !important;
}

.popup-content h2 {
	font-size: 1px;
	margin-bottom: 10px;
	margin-top: -10px;
}



.members-grid {
	gap: .104166667in;
	padding-left: .15625in;
	padding-bottom: .15625in;
	padding-right: .15625in;
	padding-top: 20px;
	justify-items: center;
}

.card:hover .inner {
	box-shadow: 0 .125in .260416667in rgba(0,0,0,.15);
}

.popup-content p,
.member-card {
	text-align: center;
}

.member-card {
	width: 6.25pc;
	height: 1.354166667in;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0);
	border-left-width: .020833333in;
	border-bottom-width: .020833333in;
	border-right-width: .020833333in;
	border-top-width: .020833333in;
	border-left-style: solid;
	border-bottom-style: solid;
	border-right-style: solid;
	border-top-style: solid;
	border-left-color: rgba(255,255,255,.3);
	border-bottom-color: rgba(255,255,255,.3);
}

.member-card img {
	width: .833333333in;
	height: 60pt;
	border-radius: 60%;
	object-fit: cover;
	border-left-width: .020833333in;
	border-bottom-width: .020833333in;
	border-right-width: .020833333in;
	border-top-width: .020833333in;
	border-left-style: solid;
	border-bottom-style: solid;
	border-right-style: solid;
	border-top-style: solid;
}

.popup-box.visible {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.hamburger.active div:nth-child(1) {
	transform: translateY(10px) rotate(45deg);
}

#about-box,
.member-card,
.member-card img {
	border-bottom-style: solid;
	border-right-style: solid;
	border-top-style: solid;
}

html {
	scroll-behavior: smooth;
}

.member-card {
	border-right-color: rgba(255,255,255,.3);
	border-top-color: rgba(255,255,255,.3);
	border-image: none;
	padding-left: 6pt;
	padding-bottom: 6pt;
	padding-right: 6pt;
	padding-top: 10pt;
	transition: transform .3s ease, box-shadow .3s ease;
}

.member-card img {
	border-left-color: rgba(255,255,255,.514);
	border-bottom-color: rgba(255,255,255,.514);
}

.popup-box {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 3.125in;
	height: 112.5pt;
}

.card, .popup-box {
	width: 3.125in;
}



* {
	padding-right: 0;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  -moz-user-select: none;
  align-items: center;
  justify-content: center;
   user-select: none;
    background: no-repeat center center fixed;
    background-size: cover;
    -webkit-user-drag: none;
  background-size: cover;
  position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	font-family: "Minecraftia", sans-serif;
	cursor: url("https://cur.cursors-4u.net/cursors/cur-2/cur226.cur"), auto !important;
	background: linear-gradient(rgba(0, 0, 0, 0.562), #00000062), url("forest.gif") no-repeat center center fixed;
	background-size: cover;
}

*, body {
	padding-top: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.popup-box {
	padding: 15pt;
	background: rgba(0, 0, 0, 0.8);
	color: rgb(255, 255, 255);
	border-radius: 10px;
	box-shadow: 0 0 15px rgba(150, 150, 150, 0.5);
	visibility: hidden;
	opacity: 0;
	align-items: center;
	transition: opacity 1s ease-in-out, visibility 0s linear 1s;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-shadow: .75pt .0625pc .0625pc #000;
}

.popup-box.visible {
	transition: opacity 1s ease-in-out, visibility 0s linear 0s;
}

.member-card img {
	display: block;
	border-right-color: rgba(255, 255, 255, 0.514);
	border-top-color: rgba(255, 255, 255, 0.514);
	border-image: none;
	-webkit-user-drag: none;
	user-select: none;
}

.card {
	  background-color: transparent;
  height: 200pt;
  width: 260pt; /* عرض ثابت */
  margin: auto; /* يوسّط الكرت */          /* يوسّطها في الصفحة */
	
}

.inner {
	position: relative;
	width: 100%;
	height: 100%;
	
	transform-style: preserve-3d;
	transition: transform 2s cubic-bezier(.4, 0, .2, 1), box-shadow 1.5s ease-in-out;
	will-change: transform, box-shadow;
}

.inner:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	border-radius: 15px;
	z-index: -1;
}

.front, .back {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	text-align: center;
	backface-visibility: hidden;
	font-weight: bold;
	transition: opacity 1.5s ease-in-out;
	display: flex;                /* استخدام Flexbox لسهولة المحاذاة */
	flex-direction: column;       /* ترتيب المحتوى عمودياً */
	justify-content: center;      /* المحاذاة رأسياً في المنتصف */
	align-items: center;          /* المحاذاة أفقياً في المنتصف */
	padding: 1rem;                /* إضافة padding بسيط للحشو */
	box-sizing: border-box;       /* لاحتساب البادينج ضمن الأبعاد */
}

.front h1, .back h1 {
	position: relative;           /* غير absolute عشان المحاذاة عن طريق Flexbox */
	margin: 0;                    /* إزالة الهوامش الافتراضية */
	padding-top: 0.714em !important;
	padding-bottom: 0 !important;
	text-align: center;
	width: 100%;                  /* عشان النص ياخذ كامل عرض الحاوية */
	box-sizing: border-box;
}

.back p {
	padding-top: 0 !important;
}

.back img {
	width: 55%;
	height: 55%;
	object-fit: cover;
}

.front {
	border: .125pc solid rgba(150, 150, 150, 0.425);
	border-image: none;
}

.back {
	border: .125pc solid rgba(150, 150, 150, 0.425);
	border-image: none;
	animation: lightsaber-glow 1s infinite alternate;
	transform: rotateY(-180deg);
}

#about-box {
	border: .125pc solid rgba(158, 158, 158, 0.863);
	border-image: none;
	justify-content: center;
}

#enter-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
		background: linear-gradient(rgba(0, 0, 0, 0.562), #00000062), url("forest.gif") no-repeat center center fixed;
	background-size: cover;
	z-index: 9999;
	transition: opacity .8s ease-in-out;
}

.hamburger.active div:nth-child(2) {
	opacity: 0;
}

.menu a:hover {
	background: rgba(150, 150, 150, 0.158);
}

.draggable-section p {
	text-shadow: .0625pc .010416667in 1px #494949;
}
.hamburger.active div:nth-child(3) {
	transform: translateY(-10px) rotate(-45deg);
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

#enter-btn {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: 'Minecraftia', sans-serif;
  font-size: 17px;
  color: rgb(156, 156, 156);
  cursor: pointer;
  	cursor: url(cursor.cur), auto !important;

  outline: none;
  user-select: none;
  text-decoration: none;
  transition: transform 0.3s, opacity 0.5s;
  text-shadow: 0 0 5px #838282, 0 0 10px #636363, 0 0 15px #555555;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
#enter-btn:hover {
    color: #a7a7a7b0;

    text-decoration: underline;
    text-decoration-thickness: 2px; /* غلظ الخط */
    transform: translate(-50%, -60%);
    text-shadow: 0 0 5px #8a8a8a, 0 0 10px #979797, 0 0 15px #a7a7a7;
}







.snowflake {
position: absolute;
width: 4px;
height: 4px;
background-color: rgba(122, 122, 122, 0.979);
border-radius: 50%;
animation: snowfall  linear infinite;
zoom: 100%;
}
@keyframes snowfall {
0% {
transform: translateY(0) rotate(0);
}
100% {
transform: translateY(110vh);
}
}

  .snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
  
  }

.snowflake {
	animation: snowfall 25s linear infinite;
}
.snowflake {
	width: 4px;
}
@keyframes snowfall {
	0% {
		transform: translateY(0) rotate(0);
		opacity: 1;
	}

	25% {
		transform: translateY(25vh);
		opacity: .25;
	}

	100% {
		transform: translateY(100vh) rotate(180deg);
		opacity: 1;
	}
}