body {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    background-color: rgb(220, 220, 220);
    text-align: center;
    direction: rtl;
}

nav {
    padding: 20px;
    background-color: #00a884;
}

nav a {
    color: rgb(43, 43, 43);
    text-decoration: none;
    margin-right: 20px;
}

main {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    gap: 20px;
    background-color: #00a884;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
}

#main > * {
    margin-top: 5px;
    margin-bottom: 5px;
}

main a {
    display: inline-block;
    color: rgb(220, 220, 220);
}



p {
    margin: 0;
    padding: 0;
}

h1 {
    color: rgb(241, 241, 241);
    font-weight: 500;
    font-size: 64px;
    direction: rtl;
    text-align: center;
    margin: 0;



    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

}

p.preface {
    color: rgb(241, 241, 241);
    text-align: right;
    font-size: 20px;
}

p.postface {
    color: #ffd61c;
    text-align: center;
    font-size: 24px;
}

.active-users {
    display: inline-block;
    color:  rgb(220, 220, 220);
}

#active-users-num {
    color: #ffd61c;
}

button {
    font-family: "Fredoka", sans-serif;
    transform: translate(0%, -20px);
    margin-left: 50%;
    margin-right: 50%;
    font-size: 32px;
    border-radius: 28px;
    border-style: none;
    background-color: #25D366;
    color: white;
    padding: 15px;
    direction: rtl;
    text-align: center;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0px 0px 25px -5px rgba(0, 0, 0, 0.5);
}

img {
    height: 60px;
}

.faces-container img {
    height: 40px;
}

button img {
    height: 40px;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}



.emoji-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

p.disclaimer {
    color: rgb(43, 43, 43);
    font-size: 12px;
    padding-bottom: 5px;
    /* position: absolute; */
}

#policy, #faq, #contact {
    direction: rtl;
    text-align: right;
    margin: 0 auto;
    max-width: 95%;
    /* padding: 0; */
    display: block;
    /* Ensure it's a block-level element if it's not already */
}

.yellow {
    color: #ffd61c;
    font-size: larger;
}

#contact p.yellow {
    text-align: center;
}

nav .active-link {
    font-weight: bold;
}

/* Existing CSS rules optimized for mobile */

/* Media Queries for Desktop Screens */
@media screen and (min-width: 1024px) {

    #main,
    #policy,
    #contact,
    #faq {
        max-width: 800px;
        margin: 0 auto;
        padding: 40px 20px;
        padding: 0px 20px;
    }

    nav {
        justify-content: center;
        /* Center the nav items */
    }

    nav a {
        font-size: 20px;
        /* Larger font size for nav items */
        margin: 0 15px;
        /* Adjust spacing between nav items */
    }

    #how-it-works {
        font-size: 16px;
    }

    h1 {
        font-size: 80px;
        /* Larger font size for h1 */
    }

    p.preface,
    p.postface {
        font-size: 24px;
        /* Larger font size for text */
    }

    .emoji-container > img {
        height: 80px;
    }

    .taxi > img {
        height: 90px;
    }

    .faces-container > img {
        height: 60px;
    }

    button#btn {
        cursor: pointer;
        font-size: 36px;
        padding: 20px 40px;
        margin: 0 auto;
        display: block;
    }

    #main > * {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 680px) {
    .preface {
        text-align: right;
    }
}