@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');

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

p#message {
    color: red;
    text-align: center;
    margin-top: 10px;
}
#welcomeMessage {
    margin: 0;
}

#logoutButton {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-left: 20px;
}

#logoutButton:hover {
    text-decoration: underline;
}
#loginButton {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-left: 20px;
}

#loginButton:hover {
    text-decoration: underline;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}


header {
    background-color: #444C3B;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
    position: relative; /* لجعل القائمة منسقة بشكل صحيح */
}

/* إعدادات قائمة الهامبورجر */
.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around; /* تحسين التباعد بين الشرائط */
    width: 30px;
    height: 20px;
    background-color: transparent; /* جعل الخلفية شفافة */
    border: none; /* إزالة الحدود */
}

/* إعدادات شريط الهامبورجر */
.bar {
    height: 4px;
    width: 100%;
    background-color: #fff; /* لون الشريط */
    border-radius: 5px; /* إضافة زوايا مستديرة */
    transition: all 0.3s ease; /* تأثير الانتقال */
}

/* إعدادات قائمة التنقل */
.navigation {
    display: none; /* إخفاء القائمة بشكل افتراضي */
    flex-direction: column;
    position: absolute;
    top: 60px; /* تحديد المسافة من الأعلى */
    right: 20px; /* تحديد المسافة من اليمين */
    background-color: #444C3B; /* لون خلفية القائمة */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* إضافة ظل */
    z-index: 1;
    opacity: 0; /* إخفاء القائمة في البداية */
    transform: translateY(-10px); /* تحريك القائمة للأعلى */
    transition: all 0.3s ease; /* تأثير الانتقال */
}

/* تأثير تفعيل القائمة */
.nav-active {
    display: flex; /* إظهار القائمة */
    opacity: 1; /* جعل القائمة مرئية */
    transform: translateY(0); /* إرجاع القائمة لمكانها */
}

/* إعدادات الروابط في القائمة */
.navigation a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s, transform 0.2s; /* تأثير الانتقال */
}

/* تأثير عند التمرير على الروابط */
.navigation a:hover {
    background-color: #555; /* تغيير لون الخلفية عند التمرير */
    transform: translateX(5px); /* إضافة تأثير الحركة */
}

/* تأثير التحول للقائمة عند النقر */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg); /* تغيير شكل الشريط الأول */
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0; /* إخفاء الشريط الثاني */
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg); /* تغيير شكل الشريط الثالث */
}

.logo{
    text-decoration: none;
    color: #ffcc00;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;    
}

section {
    padding: 0 200px;
}

body{
    background: url("images/background.webp") no-repeat;
    background-size: cover;
    background-position: center;
    /* test */
    background-attachment: fixed;
}
.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.main h2 {
    font-family: 'Brush Script MT', cursive;
    color: #fff;
    font-size: 1.4em;
    font-weight: 500;
}

.main h2 span {
    display: inline-block;
    margin-top: 10px;
    color: #ffcc00;
    font-size: 3em;
    font-weight: 600;
}

.main h3 {
    color: #000;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main-btn {
    color: #fff;
    background-color: #907137;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.7s ease;
}

.main-btn:hover {
    background-color: #f0c000;
    transform: scale(1.1);
}
.social-icons {
    display: flex;
    justify-content: center; /* لضمان تمركز الأيقونات */
    align-items: center; /* لضبط الأيقونات في منتصف المحور العمودي */
    flex-wrap: wrap; /* السماح بلف الأيقونات إلى سطر جديد */
}

.social-icons a {
    color: #F5DE84;
    font-size: 1.7em;
    padding: 0; /* إزالة padding-right */
}

.social-fx {
    font-size: 2rem;
    display: inline-block;
    cursor: pointer;
    margin: 5px;
    width: 50pt;
    height: 50px;
    line-height: 50px; /* تعديل هذه القيمة لمطابقة الارتفاع */
    border-radius: 50%;
    text-align: center;
    position: relative;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 300ms;
}

.social-fx:after {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    box-sizing: content-box;
    box-shadow: 0 0 0 3px #fff;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 300ms;
}

.social-fx:hover {
    background-color: #fff;
    color: #151515;
}

.social-fx:hover:after {
    opacity: 1;
    transform: scale(1.15);
}

.title {
    display: flex;
    justify-content: center;
    color: #ffcc00;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    text-decoration: none;
    align-items: center;
}

.content a {
    text-decoration: none;
    color: inherit;
}

.card {
    background-color: #fff;
    width: 11.8em;
    height: 11.5em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    padding: 5px;
    margin: 8px;
    transition: 0.7s ease;
    text-decoration: none;
}

.card:hover {
    transform: scale(1.1);
}

.icon {
    text-decoration: none;
    color: #A98542;
    font-size: 2em;
    text-align: center;
}

.info {
    text-decoration: none;
    text-align: center;
}

.info p {
    font-size: 0.8em;
    text-decoration: none;
}

.info h3 {
    color: #e9ce63;
    font-size: 1em;
    font-weight: 600;
    margin: 10px;
    text-decoration: none;
}

.twitch-embed {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin: 5px;
    width: 80vw;
    height: 100%;
}

.twitch-embed iframe {
    width: auto;
    aspect-ratio: 16 / 9; 
    height: auto; 
    border-radius: 10px;
}

.family {
    /* background-color: #424B3C ; */
    font-size: 18px;
    font-weight: 700;
    margin: 0.5em;
    padding: 75px 15px;
}

.family p {
    font-family: 'Brush Script MT', cursive;
    color: #F8E086;
}

.family .names_space {
    font-weight: 500;
    font-size: 0.5em;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.family .hayasworld_card {
    background-color: #424B3C;
    color: #F8E086;
    margin-top: 10px;
    margin-bottom: 2px;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    transition: 0.7s ease;
    text-decoration: none;
    padding: 10px;
    margin: 2px;
    border: 2px solid #AC8742;
    width: 9em;
}

.family .names {
    background-color: #424B3C;
    color: #F8E086;
    margin-top: 10px;
    margin-bottom: 2px;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    transition: 0.7s ease;
    text-decoration: none;
    padding: 10px;
    margin: 2px;
    border: 2px solid #AC8742;
    width: 18em;
}

.youtube .content {
    margin-top: 30px;
}

.clearfix {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.float {
    width: 25.25em;
    height: 15em;
    padding: 15px;
    margin: 8px;
}

.frame {
    width: 25em;
    height: 15em;
    padding: 15px;
    margin: 8px;
}

.cards_contact .card {
    height: 9.5em;
}

.social-cards {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
.social-cards .s-icon {
    font-size: 1em;
}
.social-cards .content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    text-decoration: none;
}

.social-cards .content a {
    text-decoration: none;
    color: inherit;
}

.social-cards .card {
    background-color: #fff;
    width: 5.25em;
    height: 3.5em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 5px;
    padding: 7.5px;
    margin: 4px;
    transition: 0.7s ease;
    text-decoration: none;
}

.social-cards .card:hover {
    transform: scale(1.1);
}

.social-cards .s-icon {
    text-decoration: none;
    color: #A98542;
    font-size: 1em;
    text-align: center;
}

.social-cards .info {
    text-decoration: none;
    text-align: center;
}

.social-cards .info p {
    font-size: 0.4em;
    text-decoration: none;
}

.social-cards .info h3 {
    color: #000000;
    font-size: 0.6em;
    font-weight: 400;
    margin: 5px;
    text-decoration: none;
}

.contact .icon {
    font-size: 4.5em;
}

.contact .info h3 {
    color: #000;
}

#paintings {
    padding: 70px;
}

.gallery {
    display: grid;
    gap: 20px;
    padding: 70px;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
}

.item {
    background-color: #fff;
    border: 10px solid #D2B5B5;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0; /* Remove any default margin */
    max-width: 60%;
    min-width: 120px;
}

.item img {
    width: 100%;
    height: auto;
    display: block; /* Ensure there's no extra space under the image */
}

.footer {
    background-color: #000016;
    color: #fff;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title span {
    color: #ffcc00;
}

.footer .social-icons a {
    font-size: 1.3em;
    padding: 0 12px 0 0;
}
/* scroll bar */
::-webkit-Scrollbar{
    width: 5px; 
	background: rgba(5,5,5,1);
}
::-webkit-Scrollbar-thumb{
	border-radius: 10px;
	background: #ffcc00;
	box-shadow: inset #ffcc00;
}
::-webkit-Scrollbar-track{
	margin-top: 80px;
	border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A98542; 
}



@media (max-width:1023px){
    header {
        padding: 12px 20px;
    }
    
    .navigation a {
        padding-left: 10px;
    }
    
    .title {
        font-size: 1.8em;
    }
    
    section {
        padding: 80px 20px;
    }
    
    .main-content h2 {
        font-size: 1em;
    }
    
    .main-content h3 {
        font-size: 1.6em;
    }
    
    .family {
        margin: 0.5em;
        padding: 40px 10px;
    }
}

@media(min-wigth:1023){
    
    .frame{
        width: 45em;
        height: 35em;
        padding: 15px;
        margin: 8px;
    }
}


@media (max-width:641px){
    body {
        font-size: 12px;
    }
    
    .main-content h2 {
        font-size: 0.8em;
    }
    
    .main-content h3 {
        font-size: 1.4em;
    }
}


/*  */

@media (max-width: 600px) {
  .text {font-size: 18px;
  padding: 25px 50px;}
}

@media (min-width: 600px) {
  .text {font-size: 18.5px;
  padding: 30px 60px;}
}

@media (min-width: 768px) {
    .text {
        font-size: 19px;
        padding: 35px 70px;
    }
    .twitch-embed {
        width: 58%;
    }
} 

@media (min-width: 992px) {
  .text {font-size: 19.5px;
  padding: 65px 125px;}
} 

@media (min-width: 1200px) {
  .text {font-size: 20px;
  padding: 125px 250px}
}

@media (min-width: 1600px) {
  .text {font-size: 20.5px;
  padding: 250px 500px}
}

@media (min-width: 2200px) {
  .text {font-size: 32px;
  padding: 200px 600px}
}

