/*-----------------------------------*\
 * #style.css
\*-----------------------------------*/

:root {
    /**
     * colors
     */
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --blue: #1554B3;

    /**
     * typography
     */
    --ff-poppins: "Cairo", sans-serif;

    --fs-1: 46px;
    --fs-2: 30px;
    --fs-3: 22px;
    --fs-4: 18px;
    --fs-5: 16px;
    --fs-6: 14px;

    --fw-500: 500;
    --fw-600: 600;
}

/*-----------------------------------*\
   * #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--blue);
}

img,
span,
button,
ion-icon {
    display: block;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

html {
    font-family: var(--ff-poppins);
    color: var(--white);
    scroll-behavior: smooth;
    direction: ltr;
}

body {
    overflow-x: hidden;
    background: var(--blue);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

body>div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: 100vh;
    background: var(--black);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 10px;
}

::-webkit-scrollbar-button {
    height: 10px;
    background: var(--black);
}

/*-----------------------------------*\
   * #MAIN
\*-----------------------------------*/

main {
    background: var(--black);
    height: 100%;
}

/*-----------------------------------*\
   * #HERO
\*-----------------------------------*/

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: var(--fs-6);
}

.hero img:first-of-type {
    width: 40%;
    max-width: 140px;
    border-radius: 20%;
}

.hero-title {
    margin-bottom: 15px;
    font-size: var(--fs-1);
    text-align: center;
}

.hero-body {
    margin-bottom: 15px;
    padding: 0 20px;
    font-size: var(--fs-4);
    line-height: 1.8;
    text-align: center;
    direction: rtl;
}

.fr {
    float: left;
    text-align: start;
    direction: ltr;
}

.showcase img:first-of-type {
    margin: 0;
    padding-bottom: 0;
    padding-top: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-width: 260px;
}

/*-----------------------------------*\
   * #DOWNLOAD
\*-----------------------------------*/

.download {
    margin-top: 70px;
    padding: 20px 15px;
}

.download p {
    font-size: var(--fs-6);
    font-weight: 400;
    margin-bottom: 30px;
}

.download-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.download-link {
    max-width: 150px;
    color: var(--white);
    font-size: var(--fs-4);
    text-align: center;
}

/*-----------------------------------*\
   * #SHOWCASE
\*-----------------------------------*/

.showcase {
    padding-bottom: 40px;
}

/*-----------------------------------*\
   * #FOOTER
\*-----------------------------------*/

footer {
    background: var(--black);
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 16vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .container {
    padding: 80px 15px;
}

.footer-brand p {
    bottom: 0;
    font-size: var(--fs-6);
    font-weight: 400;
}

.social-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    fill: var(--blue);
    filter: brightness(0) saturate(100%) invert(24%) sepia(52%) saturate(3088%) hue-rotate(205deg) brightness(89%) contrast(91%);
    overflow: hidden;
}

.social-icon:hover {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(30deg) brightness(105%) contrast(104%);
}

.copyright {
    color: var(--white);
    padding: 20px 15px;
    text-align: center;
    direction: ltr;
    font-size: var(--fs-6);
}

/*-----------------------------------*\
 * #RESPONSIVE 
\*-----------------------------------*/

/**
 * responsive smaller than 600px screen
 */

@media (max-width: 600px) {
    .download {
        margin-top: 40px;
    }

    .download-list {
        flex-direction: column;
        align-items: center;
    }

    .showcase {
        padding-bottom: 20px;
    }

    .showcase img:first-of-type {
        width: 100%;
    }

    .hero img:first-of-type {
        width: 50%;
        max-width: 200px;
    }

    .hero-content {
        display: none;
    }
}

/**
 * responsive larger than 768px screen
 */

@media (min-width: 768px) and (max-width: 1024px) {
    .download-list {
        grid-template-columns: 1fr 1fr;
    }

    .core {
        display: grid;
        grid-template-columns: 3fr 2fr;
        gap: 20px;
    }

    .showcase img:first-of-type {
        width: 100%;
    }
}

/**
 * responsive larger than 1024px screen
 */

@media (min-width: 1024px) {

    .footer-brand,
    .container {
        max-width: 1024px;
        margin: auto;
    }


    .download-list {
        grid-template-columns: 1fr 1fr;
    }

    .core {
        display: grid;
        grid-template-columns: 5fr 2fr;
        gap: 20px;
    }

    .showcase img:first-of-type {
        width: 100%;
    }
}