body {
    background: url('space.gif') repeat;
    color: lime;
    font-family: 'Georgia', serif;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

#main-wrapper  {
    margin: auto auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

h1 {
    color: yellow;
    font-size: 48px;
    text-shadow: 2px 2px purple;
    border: 3px solid red;
    padding: 10px;
    background-color: blue;
}

h2 {
    color: orange;
    font-size: 36px;
    text-shadow: 1px 1px black;
    border: 3px dashed green;
    padding: 5px;
    background-color: purple;
}

h3 {
    color: cyan;
    font-size: 24px;
    text-shadow: 1px 1px pink;
}

a {
    color: fuchsia;
    font-weight: bold;
    text-decoration: blink;
}

a:hover {
    color: orange;
}

ul {
    list-style-type: square;
    background-color: black;
    padding: 10px 10px 10px 20px;
    border: 2px solid white;
    max-width: 700px;
}

li {
    margin: 10px;
    font-size: 20px;
    text-align: left;
}

marquee {
    font-size: 20px;
    color: red;
    background-color: yellow;
}

.counter {
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    color: green;
    background-color: black;
    padding: 10px;
    border: 3px solid lime;
    width: fit-content;
    margin: 20px auto;
    text-align: center;
}

/* Media Query for Mobile Devices */
@media screen and (max-width: 992px) {
    body {
        font-size: 18px; /* Increase base font size */
        line-height: 1.6; /* Increase line height for better readability */
    }

    h1 {
        font-size: 40px; /* Slightly smaller for mobile */
        padding: 15px; /* Increase padding for easier tapping */
    }

    h2 {
        font-size: 32px;
        padding: 10px;
    }

    h3 {
        font-size: 51px;
    }

    li {
        font-size: 22px; /* Increase font size for list items */
    }

    marquee {
        font-size: 34px;
    }

    a {
        font-size: 22px; /* Increase font size for links */
    }

    ul {
        padding: 10px 10px 10px 35px;
    }

    .counter {
        font-size: 28px; /* Increase font size for counter */
    }
}
