@import url('title.css');
@import url('mainfont.css');

* {
    margin: 0;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
    user-select: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: #e9e7e2;
}

header {
    background-color: #566E3D;
    color: white;
    height: 50px;
    padding-top: 1.5px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 100%;
    margin-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.onlyComputerText {
    font-size: 15px;
}

.home {
    height: 47px;
    margin-left: calc(100% - 52px);
}

h1 {
    font-size: 30px;
    font-family: 'Aref Ruqaa', serif;
    grid-column: 2/4;
}

main {
    width: 100%;
    background-color: #e9e7e2;
    border-top: 7.5px solid #bdbbb8;
    border-bottom: 7.5px solid #bdbbb8;
    border-right: 11px solid #566E3D;
    border-left: 11px solid #566E3D;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 1s;
    color: #566E3D;
    overflow: hidden;
}

div {
    width: 100%;
    min-height: auto;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    transition: transform 0.3s;
    font-family: 'Readex Pro', sans-serif;
}

.one {
    background-color: #e9e7e2;
    font-family: 'Readex Pro', sans-serif;
}

.two {
    background-color: #d5d3ce;
    font-family: 'Readex Pro', sans-serif;
}

h3 {
    font-size: 22px;
    font-family: 'Readex Pro', sans-serif;
}

div:hover {
    transform: scale(1.1);
    box-shadow: 1px 1px 5px black;
}

a {
    text-decoration: none;
    color: #566E3D;
    width: 100%;
    font-family: 'Readex Pro', sans-serif;
}

.other-mus {
    padding-left: 7px;
}

.head-icons {
    all: unset;
    grid-column: 1 / 2;
    display: flex;
    margin-left: 15px;
    margin-top: 21px;
    transform: translateY(-50%);
}
.head-icons:hover {
    all: unset;    all: unset;
    grid-column: 1 / 2;
    display: flex;
    margin-left: 15px;
    margin-top: 21px;
    transform: translateY(-50%);
}

.app-download {
    filter: invert(1);
    height: 35px;
    margin-right: 15px;
    cursor: pointer;
}

.main-share-btn {
    filter: invert(1);
    height: 35px;
    cursor: pointer;
}

/* النافذة المنبثقة */
.share-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.share-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    direction: rtl;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.opt {
    padding: 12px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.wa { background-color: #25D366; }
.fb { background-color: #1877F2; }
.cp { background-color: #6c757d; }

.close-btn {
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    text-decoration: underline;
}

@media screen and (max-height: 511px) {
    h3 {
        font-size: 18px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #212224;
    }

    header {
        background-color: #1D2E28;
    }

    main {
        border-color: #1D2E28;
    }

    .one {
        background-color: #14452F;
        font-family: 'Readex Pro', sans-serif;
        color: white;
    }

    .two {
        background-color: #18392B;
        font-family: 'Readex Pro', sans-serif;
        color: white;
    }
}





/* .body-dark {
    background-color: #212224;
}
.header-dark {
    background-color: #1D2E28;
}
.main-dark {
    border-color: #1D2E28;
}
.one-dark {
    background-color: #14452F;
    font-family: 'Readex Pro', sans-serif;
    color: white;
}
.two-dark {
        background-color: #18392B;
        font-family: 'Readex Pro', sans-serif;
        color: white;
}
.dtit-dark {
    background-color: #14452F;
}
.snap-ex-dark {
    color: black;
    background-color: white;
}
.label-dark{
    color: #58bc8f;
}
.button-dark {
    background-color: #14452F;
}
.besm-dark {
    filter: invert(1);
}
.section-dark {
    background-color: #14452F;
    border: 10px solid #14452F;
}
.dline-dark {
    background-color: #14452F;
} */