@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #121212;
    color: #fff;
}

/* Header Styling */
header {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 200px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 5px solid #f8d91d;
    position: fixed;
    z-index: 1000;
}

header .logo {
    font-size: 35px;
    color: #f8d91d;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
}

header .navigation {
    margin-top: 10px;
}

header .navigation a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    margin: 0 15px;
    padding: 10px 20px;
    background-color: rgba(255, 215, 0, 0.8);
    border-radius: 5px;
    transition: all 0.3s ease;
}

header .navigation a:hover {
    background-color: rgba(255, 215, 0, 1);
    transform: scale(1.1);
}

#userMenuContainer a {
    display: flex;
    align-items: center;
    gap: 10px; /* مسافة بين الصورة والاسم */
    text-decoration: none;
  }
  
  #userMenuContainer img {
    width: 30px !important;    /* حجم الصورة */
    height: 30px !important;
    border-radius: 50%; /* يخلي الصورة دائرية */
    object-fit: cover;
  }
  
  #userMenuContainer span, 
  #userMenuContainer a {
    font-size: 18px;
    color: #4A63F3;
    font-weight: bold;
  }


/* Main Section Styling */
section.hxh {
    text-align: center;
    padding: 40px 20px;
}

section.hxh img {
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

section.hxh img:hover {
    transform: scale(1.05);
}

section.hxh h2 {
    font-size: 50px;
    margin-bottom: 20px;
    color: #f8d91d;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

section.hxh .div, .di, .door p{
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}

section p {
    font-size: 30px;
    margin-bottom: 10px;
    color: #fff;
}

section.hxh .div h3, section.hxh .di p, section.hxh .door p {
    font-size: 30px;
    margin-bottom: 10px;
    color: #fff;
}

section.hxh .door p {
    margin-bottom: 5px;
}

section.hxh hr {
    border: 1px solid #f8d91d;
    margin: 20px auto;
    width: 90%;
}

/* Episodes Section Styling */
section.ec {
    text-align: center;
    padding: 30px 20px;
    background-color: #333;
}

section.ec h2 {
    font-size: 40px;
    color: #f8d91d;
    margin-bottom: 20px;
}

section.ec hr {
    border: 1px solid #f8d91d;
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    margin-top: 30px;
}


/* تنسيق الحلقات */
.data {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    gap: 20px; /* المسافة بين العناصر */
    flex-direction: row-reverse; /* عكس العناصر */
}

/* تنسيق الروابط الخاصة بالحلقات */
.episode-list-display-box {
    background-color: #34495e;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease; /* إضافة تأثير عند التكبير */
    width: 150px; /* عرض ثابت لكل حلقة */
    text-align: center;
}

.episode-list-display-box:hover {
    background-color: #e74c3c;
    transform: scale(1.1); /* تكبير العنصر عند الهور */
}

.episode-list-item-title {
    font-size: 18px;
    font-weight: bold;
}

.episode-list-item-number {
    font-size: 16px;
    color: #e74c3c;
}

/* إضافة تنسيق للروابط الفردية */
.episode-list-display-box:active {
    background-color: #e74c3c;
}

/* فاصل */
hr {
    border: 1px solid #e74c3c;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* تنسيق النصوص الخاصة بالفصل */
h2 {
    text-align: center;
    color: #2c3e50;
    margin-top: 30px;
}

/* تنسيق الحلقات الخاصة بالانمي */
h3 {
    text-align: center;
    color: #2c3e50;
    margin-top: 20px;
}


/* تصغير الصورة في الصفحة */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}
