@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');


*::selection {
    color: var(--primaryColor);
    background-color: var(--shadow);
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

main {
    margin: 10px auto 0px auto;
    width: 99%;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* background-color: var(--primaryColor); */
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
}

header h3,
p {
    margin: 0px;
}

.header-container {
    width: 98%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header-text {
    width: 50%;
    margin: auto;
    color: var(--primaryColor);
    text-align: center;
}

.header-text h1 {
    font-size: 3.5rem;
    width: 80%;
    margin: 0px auto 30px auto;
    line-height: 4.4rem;
    color: var(--text-header);
}

.header-text h2 {
    width: fit-content;
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin: 0px auto;
    color: var(--primaryColor);
}

.types-list {
    width: 90%;
    margin: auto;
    font-weight: bold;
    text-align: start;
    list-style: circle;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));

    gap: 20px;
    color: var(--primaryColor);

}

.features-list {
    width: fit-content;
    margin: 10px auto 0px auto;
    font-size: 1rem;
    line-height: 1.6rem;
    text-align: start;
    list-style: disc;
    color: var(--primaryColor);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header-text {
    padding-top: 40px;
}

.header-text h4 {
    width: fit-content;
    font-size: 1.3rem;
    line-height: 2.3rem;
    color: var(--text-header);
    margin: 0px auto 30px auto;
}

header a {

    display: inline-block;
    margin: auto;
    padding: 10px;
    background: var(--helperColor);
    color: var(--text-header);
    font-weight: bold;
    font-size: large;
    text-decoration: none;
    border-radius: 20px;

}

/* ------------------------------------------------- */

.header-image {
    width: 40%;
    margin: auto;
    text-align: center;
    border-radius: 10px;
    box-shadow: 4px 4px 6px var(--shadow);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.header-image img {
    width: 90%;
    margin: auto;
}

.upper-in-headerImage {
    width: 50%;
    position: relative;
    background-color: var(--helperColor);
    border-radius: 20px 0px;
    top: 0px;
    height: 100px;
}

.details-div {
    width: 90%;
    background-color: var(--lightHelper);
    padding: 10px 10px;
    position: relative;
    bottom: -15px;
    right: -10px;
    border-radius: 20px 0px;
    height: 100px;

}

.mark-div {
    position: absolute;
    top: -5px;
    right: -10px;
    width: 50px;
    background-color: transparent;
    padding: 10px;


}




/* ----------------------- */

.later-in-headerImage {
    width: 50%;
    position: relative;
    background-color: var(--helperColor);
    border-radius: 20px 0px;
    bottom: 30px;
    right: 55%;
    height: 100px;
}

/*  @@@@@@@@@@@@@@@@@@@@@@@@@@@*/

@media (max-width: 603px) {
    main {
        gap: 40px;
        margin: auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }


    header {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 30px 5px 10px 5px;
    }

    header a {
        margin: 0px auto 10px auto;
        font-weight: 300;
        font-size: medium;
    }

    .header-container {
        display: flex;
        flex-direction: column;
        gap: 25px;

    }

    .header-text {
        padding-top: 0px;
        width: 99%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
    }

    .header-text h1 {
        font-size: 1.4rem;
        width: 100%;
        margin: 0px auto;
        line-height: 2.4rem;
        color: var(--text-header);
    }

    .header-text h3 {
        width: 88%;
        font-size: 1.2rem;
        line-height: 2rem;
        margin: 0px auto 10px auto;
    }

    .header-text h3 li {
        font-size: 0.9rem;
    }

    .header-image {
        width: 80%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
        position: relative;
    }

    .later-in-headerImage {
        display: none;
    }

    .mark-div {
        position: absolute;
        top: -15px;
        right: -15px;
        width: 60px;
        background-color: transparent;

        padding: 10px;
    }

    .upper-in-headerImage {
        /* width: 50%;
        position: relative;
        background-color: var(--helperColor);
        border-radius: 20px 0px;
        top: -10px;
        height: 100px; */
        display: none;
    }

    .details-div {
        width: 90%;
        background-color: var(--lightHelper);
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: 90px;

    }

    .types-list {
        width: 90%;
        margin: auto;
        font-weight: bold;
        text-align: start;
        list-style: circle;
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        column-gap: 20px;
        row-gap: 5px;
        color: var(--primaryColor);

    }

}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
@media screen and (min-width: 604px) and (max-width: 799px) {

    /* غيرت بس ال main والباقى زى ما هو */
    main {
        margin: auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }

    header {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 30px 5px 10px 5px;

    }

    header a {
        margin: 0px auto 10px auto;
        font-weight: 400;
        font-size: medium;
    }

    .header-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .header-text {
        padding-top: 0px;

        width: 99%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
    }

    .header-text h1 {
        font-size: 1.6rem;
        width: 100%;
        margin: 0px auto 10px auto;
        line-height: 2.4rem;
    }

    .header-text h3 {
        width: 88%;
        font-size: 1.2rem;
        line-height: 2rem;
        margin: 0px auto 10px auto;
    }


    .header-image {
        width: 80%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
        position: relative;
    }

    .later-in-headerImage {
        display: none;
    }

    .mark-div {
        position: absolute;
        top: -10px;
        right: -10px;
        width: 50px;
        background-color: transparent;
        padding: 10px;
    }

    .upper-in-headerImage {
        width: 50%;
        position: relative;
        background-color: var(--helperColor);
        border-radius: 20px 0px;
        top: -20px;
        height: 100px;
    }

    .details-div {
        width: 90%;
        background-color: var(--lightHelper);
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: 100px;

    }

}

@media screen and (min-width: 800px) and (max-width: 992px) {

    /* غيرت بس ال main + header-text(margin top) + later-in-headerImage (display block , margins of h3 , p) والباقى زى ما هو */
    main {
        margin: auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }

    header {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 30px 5px 10px 5px;

    }

    header a {
        margin: 0px auto 10px auto;
        font-weight: 400;
        font-size: larger;
    }

    .header-container {
        display: flex;
        flex-direction: column;
        gap: 25px;

    }

    .header-text {
        padding-top: 0px;
        width: 99%;
        margin: 50px auto 0px auto;
        color: var(--primaryColor);
        text-align: center;
    }

    .header-text h1 {
        font-size: 1.6rem;
        width: 100%;
        margin: 0px auto 10px auto;
        line-height: 2.4rem;
    }

    .header-text h3 {
        width: 88%;
        font-size: 1.2rem;
        line-height: 2rem;
        margin: 0px auto 10px auto;
    }


    .header-image {
        width: 80%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
        position: relative;
    }

    .later-in-headerImage {
        display: block;
    }

    .later-in-headerImage h3,
    p {
        margin: 0;
        padding: 0;
    }

    .mark-div {
        position: absolute;
        top: -10px;
        right: -10px;
        width: 50px;
        background-color: transparent;

        padding: 10px;
    }

    .upper-in-headerImage {
        width: 50%;
        position: relative;
        background-color: var(--helperColor);
        border-radius: 20px 0px;
        top: -20px;
        height: 100px;
    }

    .details-div {
        width: 90%;
        background-color: var(--lightHelper);
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: 100px;

    }

}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@media screen and (min-width: 993px) and (max-width: 1200px) {

    /* غيرت بس ال main + header-text(margin top) + later-in-headerImage (display block , margins of h3 , p) + .header-container(row)والباقى زى ما هو */
    main {
        margin: auto;
        width: 99%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    header {
        display: flex;
        flex-direction: column;
        /* ---------- */
        gap: 50px;
        padding: 30px 5px 10px 5px;

    }

    header a {
        margin: 0px auto 10px auto;
        font-weight: bold;
        font-size: x-large;
    }

    .header-container {
        display: flex;
        /* ------- */
        flex-direction: row;
        /* ------- */
        gap: 30px;

    }

    .header-text {
        /* ---------------- */
        width: 50%;
        margin: 0px auto 0px auto;
        color: var(--primaryColor);
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .header-text h1 {
        /* -------------------- */
        font-size: 2rem;
        width: 100%;
        margin: auto;
        line-height: 3.5rem;
    }

    .header-text h3 {
        width: 88%;
        /* ------------------ */
        font-size: 1.8rem;
        line-height: 2.5rem;
        margin: auto;
    }


    .header-image {
        width: 50%;
        height: 400px;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
        position: relative;
    }

    .later-in-headerImage {
        display: block;
    }

    .later-in-headerImage h3,
    p {
        margin: 0;
        padding: 0;
    }

    .mark-div {
        position: absolute;
        top: -10px;
        right: -10px;
        width: 50px;
        background-color: transparent;

        padding: 10px;
    }

    .upper-in-headerImage {
        width: 50%;
        position: relative;
        background-color: var(--helperColor);
        border-radius: 20px 0px;
        top: -20px;
        height: 100px;
    }

    .details-div {
        width: 90%;
        background-color: var(--lightHelper);
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: 100px;

    }

}

/* @@@@@@@@@@@@@@@@@@@@@ */

@media screen and (min-width: 1201px) and (max-width: 1600px) {
    main {
        margin: auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }

    header {
        display: flex;
        flex-direction: column;
        /* ---------- */
        gap: 5px;
        padding: 30px 5px 10px 5px;

    }

    .header-text {
        /* ---------------- */
        width: 60%;
        margin: 0px auto 0px auto;
        color: var(--primaryColor);
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .later-in-headerImage h3,
    p {
        margin: 0;
        padding: 0;
    }
}