* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    overflow-x: hidden;
}

.menu {
    display: none;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 75px;
    background: #222;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* تأكد من أن الهيدر فوق المحتوى */
}

header img {
    height: 65px;
}

header span {
    color: #eee;
    font-size: 24px;
    font-weight: 600;
}

header article a {
    display: flex;
    align-items: center;
    gap: 15px;
}

header ul {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 50px;
}
.mynav {
    position: absolute;
    top: 75px;
    right: 0;
    width: 100vw;
    padding: 10px;
    background: #222;
}
.mynav ul {
    flex-direction: column;
}
.mynav li {
    margin-top: 15px;
}
header li a {
    color: #eee;
    font-size: 20px; /* يجب إضافة 'px' لوحدة القياس */
    font-weight: 600;
}

.top {
    width: 100%;
    height: calc(100vh - 75px); /* تحديث ارتفاع القمة حسب الهيدر */
    margin-top: 75px; /* نستخدم نفس ارتفاع الهيدر */
    background-image: url(../img/dIMG_7570.jpg);
    background-size: cover; /* اجعل الخلفية تغطي العنصر بالكامل */
    background-position: center; /* محاذاة إلى المركز */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* استخدام 'flex-end' بدلاً من 'end' */
    padding: 40px;
    position: relative;

}
.top article {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top h2 {
    font-size: 28px;
    color: #642424;
    margin: 10px;
}

.top p {
    max-width: 42vw;
    font-size: 20px;
    color: antiquewhite;
}

.top a {
    padding: 10px 50px;
    background: #642424;
    color: aliceblue;
    max-width: fit-content;
    border-radius: 15px 0 15px 0;
}

.vitiligo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.vitiligo .img,
.vitiligo .text {
    width: 50%;
    padding: 40px;
}

.vitiligo .img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vitiligo img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 0px 30px 0 30px;
}

.vitiligo .text h2 {
    font-size: 35px;
    color: #642424;
    font-weight: 800;
    margin-bottom: 20px;
}

.vitiligo .text p {
    font-size: 22px;
    font-weight: 600;
}
.vitiligo .text p a{
    font-size: 20px;
    font-weight: 600;
  	color: #fa3423
}

.vitiligo .text-about p {
    font-size: 18px;
}

.images {
    width: 100%;
    height: calc(100vh - 100px);
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.images img {
    max-width: 28%;
    max-height: 100%;
    border-radius: 30px 0 30px 0;
    padding-bottom: 40px;
}

.end {
    width: 100%;
    height: calc(100vh - 75px); /* تحديث ارتفاع القمة حسب الهيدر */
    margin-top: 75px; /* نستخدم نفس ارتفاع الهيدر */
    background-size: cover; /* اجعل الخلفية تغطي العنصر بالكامل */
    background-position: center; /* محاذاة إلى المركز */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* استخدام 'flex-end' بدلاً من 'end' */
    padding: 40px;
    position: relative;
    background-image: url(../img/end.jpg);
}
.paintings-images {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 10px;
}
.paintings-images article {
    width: 270px;
    padding-bottom: 20px;
    position: relative;
    border-radius: 30px 0 30px 0 ;
    box-shadow: 0 0 5px #222;
    margin: 0 15px;
}
.paintings-images span {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 5px 20px;
    background: #e2e2e28a;
    font-size: 20px;
    border-radius: 30px 0 0 0;
}
.available {
    color: #128912;
}
.sold {
    color: #642424;
}
.paintings-images img {
    width: 100%;
    border-radius: 30px 0 0 0;
}
.paintings-images h2 {
    padding: 15px 20px;
}
.paintings-images a {
    padding: 10px 50px;
    background: #642424;
    color: antiquewhite;
    border-radius: 0 0 30px 0;
}
@media screen and (max-width: 600px) {
  #myNav {
    display: none;

}

    header ul {
      display: none;
    }
    .menu {
        display: block;
    }
    .top {
        background-image: url(../img/IMG_7570.JPG);
    }
    .top article {
        display: none;
    }
    .vitiligo {
        flex-direction: column-reverse;
    }
    .vitiligo .img , .vitiligo .text {
        width: 100%;
        padding: 10px 30px;
    }
    .images img {
        max-height: unset;
    }    
    .images {
        height: unset;
    }
    .vitiligo-two {
        flex-direction: column;
    }
    .end {
        background-image: url(../img/IMG_4509.JPG);
    }
  }
  